JPH01278144A - Time setting device - Google Patents

Time setting device

Info

Publication number
JPH01278144A
JPH01278144A JP10545388A JP10545388A JPH01278144A JP H01278144 A JPH01278144 A JP H01278144A JP 10545388 A JP10545388 A JP 10545388A JP 10545388 A JP10545388 A JP 10545388A JP H01278144 A JPH01278144 A JP H01278144A
Authority
JP
Japan
Prior art keywords
time
slave station
time setting
setting frame
station device
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
JP10545388A
Other languages
Japanese (ja)
Inventor
Kinji Itsugaya
五ケ谷 欣司
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP10545388A priority Critical patent/JPH01278144A/en
Publication of JPH01278144A publication Critical patent/JPH01278144A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the error of time set by each slave station by producing a new time setting frame in consideration of delay time caused by the slave station when a slave station device receives the time setting frame from a master station and sending said new time setting frame to the slave station device. CONSTITUTION:A master station device 54 transmits a time setting frame including time information 16, delay time information 17 and passing slave station number information via a transmission means. A slave station device 55 receives said frame and adds the product of the delay time and the number of passing slave stations included in the received frame to the time information also included in the frame. The value of this addition is used as the set time and 1 is added to the number of passing slave stations included in the time setting frame as a new time setting frame. This new frame is sent to the device 55. Thus it is possible to correct the delay time of the device 55 and to eliminate the error of the time set by each device 55.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ループネットワークにおける時刻設定装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a time setting device in a loop network.

〔従来の技術〕[Conventional technology]

一定のパルスの規則的な配列を符号として表わしたデー
タを送受信端末の間でやりとりするデータ伝送において
は、伝送制御という一定の規則的な手順が定められてい
る。伝送制御には、回線制御、同期、誤り制御、伝送制
御手順の4つの制御がある。データ符号の送受信を正し
く行い、送信側と受信側のタイミングを合わせるには同
期制御が重要になる。さて、本願に係わるこの種の時刻
設定方式には、従来、次のようなものが知られている。
In data transmission in which data representing a regular array of constant pulses as a code is exchanged between transmitting and receiving terminals, a constant regular procedure called transmission control is defined. There are four types of transmission control: line control, synchronization, error control, and transmission control procedure. Synchronous control is important to correctly transmit and receive data codes and to synchronize the timing between the transmitting and receiving sides. Now, the following types of time setting methods related to the present application are conventionally known.

すなわち、親局装置が、N台の子局装置の全てに対して
一斉に時刻を設定してデータ通信を行う。このため、親
局装置には、時刻情報部と時刻設定フレームを示す制御
部とで構成された時刻設定フレームを送信する手段が設
けられる。そして、子局装置には、上記時刻設定フレー
ムを受信したときに、上記時刻情報を設定された時刻と
して使用し、受信した上記時刻設定フレームをそのまま
次の子局装置に送信する手段が設けられる。
That is, the master station device sets the time for all N slave station devices at the same time and performs data communication. For this reason, the master station device is provided with means for transmitting a time setting frame, which includes a time information section and a control section indicating the time setting frame. The slave station device is provided with means for using the time information as the set time when receiving the time setting frame, and transmitting the received time setting frame as it is to the next slave station device. .

これにより、親局装置は金子局装置に対して一斉に時刻
を設定するように構成される。
Thereby, the master station device is configured to set the time for the Kaneko station devices all at once.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の時刻設定方式において
は、時刻設定フレームが子局装置を通過する度に、遅延
時間が加算されるので、子局装置間の設定に誤差が生じ
ると言う問題があった。
However, in such conventional time setting methods, a delay time is added each time the time setting frame passes through a slave station device, so there is a problem in that an error occurs in the settings between slave station devices. .

そこで本発明の目的は、子局装置が親局からの時刻設定
フレームを受信したとき、子局による遅延時間を考慮し
て新たに時刻設定フレームを作成し、次の子局装置に送
出することにより、各子局が設定する時刻の誤差をなく
すことができる時刻設定装置を提供することにある。
Therefore, an object of the present invention is to create a new time setting frame in consideration of the delay time caused by the slave station when the slave station device receives a time setting frame from the master station, and send it to the next slave station device. Therefore, it is an object of the present invention to provide a time setting device that can eliminate errors in the time set by each slave station.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の時刻設定装置は、1台の親局装置とN台の子局
装置がループ状に設定され、親局装置がN台の子局装置
の全てに対して一斉に時刻を設定するループネットワー
クにおいて、時刻情報と、伝送フレームが上記子局装置
の1つで遅延される時間を示す遅延時間情報と、上記伝
送フレームが通過した上記子局装置の数を示す通過子局
数情報とを含む時刻設定フレームを送信する送信手段を
上記親局装置に具備し、かつ上記時刻設定フレームを受
信し、この時刻設定フレームに含まれる、上記遅延時間
情報が示す遅延時間と上記通過子局数情報が示す通過子
局数との債を、上記時刻設定フレームに含まれる上記時
刻情報に加算し、その値を設定された時刻として使用し
、更に上記時刻設定フレームの通過子局数に1を加算し
、これを新たな時刻設定フレームとして次の子局装置に
送信する送信手段を上記子局装置に具備している。
In the time setting device of the present invention, one master station device and N slave station devices are set in a loop, and the master station device sets the time for all N slave station devices at once. In the network, time information, delay time information indicating the time by which the transmission frame is delayed by one of the slave station devices, and passed slave station number information indicating the number of the slave station devices through which the transmission frame has passed. The master station device is provided with a transmitting means for transmitting a time setting frame including the time setting frame, and the master station device receives the time setting frame and transmits the delay time indicated by the delay time information and the number of passed slave stations information included in the time setting frame. Add the bond with the number of passed slave stations indicated by to the above time information included in the above time setting frame, use that value as the set time, and further add 1 to the number of passed slave stations in the above time setting frame. The slave station device is provided with transmitting means for transmitting this as a new time setting frame to the next slave station device.

従って、本発明による時刻設定装置を用いると、親局装
置は、時刻情報と、遅延時間情報と、通過子局数情報と
を含む時刻設定フレームを送信手段を介して送信する。
Therefore, when using the time setting device according to the present invention, the master station device transmits a time setting frame including time information, delay time information, and passed slave station number information via the transmitting means.

子局装置は、この時刻設定フレームを受信し、これに含
まれる遅延時間と通過子局数との積を、同様に時刻設定
フレームに含まれる時刻情報に加算し、その値を設定さ
れた時刻として使用し、更に上記時刻設定フレームの通
過子局数に1を加算し、これを新たな時刻設定フレーム
として次の子局装置に送信する。これにより、子局装置
の遅延時間を補正することができ、各子局装置が設定す
る時刻の誤差をなくすことができる。
The slave station device receives this time setting frame, adds the product of the delay time included in it and the number of passed slave stations to the time information similarly included in the time setting frame, and uses that value as the set time. Furthermore, 1 is added to the number of passing slave stations of the time setting frame, and this is transmitted to the next slave station device as a new time setting frame. Thereby, the delay time of the slave station device can be corrected, and an error in the time set by each slave station device can be eliminated.

〔実施例〕〔Example〕

以下、実施例につき本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail with reference to Examples.

第1図は、本発明による時刻設定装置の一実施例の、親
局装置における送信手段を示すブロック図である。
FIG. 1 is a block diagram showing a transmitting means in a master station device in an embodiment of a time setting device according to the present invention.

以下、この送信手段11について説明する。This transmitting means 11 will be explained below.

図において、時刻レジスタ12、遅延時間レジスタ13
、通過子局数レジスタ14は、それぞれ送信制御回路1
5に接続される。時刻レジスタ12は時刻情報16を格
納し、遅延時間レジスタ13は、伝送フレームが子局装
置の1つで遅延される時間を示す遅延時間情報17を格
納する。また、通過子局数レジスタ14は、上記伝送フ
レームが通過した子局装置の数を示す通過子局数情報1
8を格納する。送信制御回路15、は送信インタフェー
ス回路19に接続される。そして、この送信制御回路1
5は、時刻レジスタ12、遅延時間レジスタ13、通過
子局数レジスタ14にそれぞれ格納された時刻情報16
、遅延時間情報17、通過子局数情報18を用いて、後
に示す時刻設定フレーム20を生成し、送信インタフェ
ース回路19に送出する。送信インタフェース回路19
はこの時刻設定フレーム20を送信データ22として子
局装置に送信する。この場合、通過子局数レジスタ14
の内容は予め0としておく。受信インタフェース回路2
3と、これに接続された受信制御回路24は、後に説明
するループネットワークを一巡してきた上記時刻設定フ
レーム20を終端するように動作する。
In the figure, a time register 12, a delay time register 13
, the passing slave station number register 14 are respectively transmitted by the transmission control circuit 1.
Connected to 5. The time register 12 stores time information 16, and the delay time register 13 stores delay time information 17 indicating the time by which a transmission frame is delayed by one of the slave station devices. The passed slave station number register 14 also contains passed slave station number information 1 indicating the number of slave station devices through which the transmission frame has passed.
Store 8. The transmission control circuit 15 is connected to the transmission interface circuit 19. And this transmission control circuit 1
5 is time information 16 stored in the time register 12, delay time register 13, and passed slave station number register 14, respectively.
, delay time information 17, and passed slave station number information 18, a time setting frame 20 shown later is generated and sent to the transmission interface circuit 19. Transmission interface circuit 19
transmits this time setting frame 20 as transmission data 22 to the slave station device. In this case, the passing slave station number register 14
The content of is set to 0 in advance. Receiving interface circuit 2
3 and a reception control circuit 24 connected thereto operate to terminate the time setting frame 20 that has made one circuit around a loop network to be described later.

第2図は、本発明による時刻設定装置の一実施例の、子
局装置における送信手段を示すプロ7り図である。
FIG. 2 is a schematic diagram showing a transmitting means in a slave station device in an embodiment of the time setting device according to the present invention.

以下、この送信手段25について説明する。This transmitting means 25 will be explained below.

図において、受信インクフェース回路26は、第1図の
親局装置の送信インタフェース回路19からの送信デー
タを受信データ27として受信する。そして、この受信
データ27を、受信制御回路28、時刻情報レジスタ2
9、遅延時間レジスタ30、通過子局数レジスタ31に
それぞれ送出する。受信制御回路28は、受信データ2
7の、後に説明する制御部32を識別する。そして、こ
れを時刻設定フレームと判断すると、タイミングパルス
34を発生し、時刻情報レジスタ29、遅延時間レジス
タ30、通過子局数レジスタ31にそれぞれ時刻情報1
6、遅延時間情報17、通過子局数情報18を格納する
。乗算器37は、遅延時間レジスタ30に格納された遅
延時間情報17と通過子局数レジスタ31に格納された
通過子局数情報18を乗算する。また、加算器38は、
この乗算器37の乗算結果39と時刻情報レジスタ29
に格納された時刻情報16とを加算する。この加算結果
41は、受信制御回路28がらのタイミングパルス42
により時刻レジスタ43に格納される。+1加算器45
は、時刻情報レジスタ29に格納された時刻情報16と
遅延時間レジスタ30に格納された遅延時間情報17と
、通過子局数レジスタ31に格納された通過子局数情報
18をそれぞれ+1だけインクリメントし、インクリメ
ントされた情報46を送信制御回路47に送出する。こ
れにより送信制御回路47は次の子局装置に送信する時
刻設定フレーム49を生成し、送(g インタフェース
回路50に送出する。送信インタフェース回路50は、
この時刻設定フレーム49を送信データ51として次の
子局装置に送信する。このようにして、親局装置は、金
子局装置に対して一斉に時刻を設定することができる。
In the figure, a reception ink interface circuit 26 receives transmission data from the transmission interface circuit 19 of the master station device in FIG. 1 as reception data 27. Then, this received data 27 is transferred to the reception control circuit 28 and the time information register 2.
9, the signal is sent to the delay time register 30 and the passed slave station number register 31, respectively. The reception control circuit 28 receives the received data 2
7, the control unit 32, which will be explained later, is identified. When this is determined to be a time setting frame, a timing pulse 34 is generated, and time information 1 is stored in the time information register 29, delay time register 30, and passing slave station number register 31, respectively.
6. Delay time information 17 and number of passed slave stations information 18 are stored. The multiplier 37 multiplies the delay time information 17 stored in the delay time register 30 by the number of passed slave stations information 18 stored in the passed slave station number register 31. Further, the adder 38 is
The multiplication result 39 of this multiplier 37 and the time information register 29
and the time information 16 stored in . This addition result 41 is a timing pulse 42 from the reception control circuit 28.
is stored in the time register 43. +1 adder 45
increments the time information 16 stored in the time information register 29, the delay time information 17 stored in the delay time register 30, and the number of passed slave stations information 18 stored in the passed slave station number register 31 by +1, respectively. , and sends the incremented information 46 to the transmission control circuit 47. As a result, the transmission control circuit 47 generates a time setting frame 49 to be transmitted to the next slave station device, and sends it to the transmission (g) interface circuit 50.
This time setting frame 49 is transmitted as transmission data 51 to the next slave station device. In this way, the master station device can set the time for the Kaneko station devices all at once.

ここで、第3図は上記時刻設定フレーム20.49を示
すデータフォーマットを表わしたものである。このデー
タフォーマットは、すでに1部説明したように、制御部
32と情報部52から構成される。また、情報部52は
、すでに説明した時刻惰性16、遅延時間情報17、通
過子局数情報18から構成される。
Here, FIG. 3 shows a data format showing the above-mentioned time setting frame 20.49. This data format is composed of the control section 32 and the information section 52, as already explained in part. Further, the information section 52 includes the time inertia 16, delay time information 17, and passed slave station number information 18, which have already been described.

第4図は、以上説明した本実施例の時刻設定装置を備え
る親局装置54と、N台の子局装置55、.552 ・
・・・・・55Nをループ状に接続し、親局装置54が
子局装置551.552、・・・・・・、558に対し
て時刻を一斉に設定する状況を表わしたものである。
FIG. 4 shows a master station device 54 equipped with the time setting device of the present embodiment described above, and N slave station devices 55, . 552 ・
. . 55N are connected in a loop, and the master station device 54 sets the time for the slave station devices 551, 552, . . . , 558 all at once.

〔発明の効果〕〔Effect of the invention〕

このように、本発明の時刻設定装置は、親局装置に設け
た送信手段が、時刻情報と遅延時間情報と通過子局数情
報から構成された時刻設定フレームを子局装置に送信し
、これを受信した子局装置、が受信した時刻設定フレー
ムに含まれる遅延時間と通過子局数との積を、時刻情報
に加算し、その値を設定時刻として使用し、更に通過子
局数に1を加算し、これを新たな時刻設定フレームとし
て次の子局装置に送信することにより、子局装置の遅延
時間を補正することができ、各子局装置が設定する時刻
の誤差をなくすことができる効果がある。
As described above, in the time setting device of the present invention, the transmitting means provided in the master station device transmits a time setting frame composed of time information, delay time information, and information on the number of passed slave stations to the slave station device; The slave station device that received this adds the product of the delay time included in the received time setting frame and the number of passed slave stations to the time information, uses that value as the set time, and also adds 1 to the number of passed slave stations. By adding this and sending it as a new time setting frame to the next slave station device, the delay time of the slave station device can be corrected, and the error in the time set by each slave station device can be eliminated. There is an effect that can be done.

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

第1図は、本発明による時刻設定装置の一実施例の、親
局装置における送信手段を示すブロック図、第2図は、
本発明による時刻設定装置の一実施例の、子局装置にお
ける、送信手段を示すブロック図、第3図は、本発明で
使用する時刻設定フレームのデータフォーマットを示す
図、第4図は、本発明の実施例を備える親局装置とN台
の子局装置をループ状に接続した場合の時刻設定の状況
を示す図である。 11・・・・・・親局装置の送信回路、25・・・・・
・子局装置の送信回路、54・・・・・・親局装置、 55、・・・・・・55.・・・・・・子局装置。 出 願 人  日本電気株式会社 代 理 人  弁理士 山内梅雄 惠1図 n %4図
FIG. 1 is a block diagram showing a transmitting means in a master station device of an embodiment of a time setting device according to the present invention, and FIG.
FIG. 3 is a block diagram showing the transmitting means in the slave station device of an embodiment of the time setting device according to the present invention. FIG. 3 is a diagram showing the data format of the time setting frame used in the present invention. FIG. FIG. 6 is a diagram showing a time setting situation when a master station device including an embodiment of the invention and N slave station devices are connected in a loop. 11... Transmission circuit of master station device, 25...
- Transmission circuit of slave station device, 54... Master station device, 55,...55. ...Slave station device. Applicant NEC Co., Ltd. Agent Patent Attorney Umeo Yamauchi Figure 1 Figure n % 4

Claims (1)

【特許請求の範囲】 1台の親局装置とN台の子局装置がループ状に設定され
、親局装置がN台の子局装置の全てに対して一斉に時刻
を設定するループネットワークにおいて、 時刻情報と、伝送フレームが前記子局装置の1つで遅延
される時間を示す遅延時間情報と、前記伝送フレームが
通過した前記子局装置の数を示す通過子局数情報とを含
む時刻設定フレームを送信する送信手段を前記親局装置
に具備し、かつ前記時刻設定フレームを受信し、この時
刻設定フレームに含まれる、前記遅延時間情報が示す遅
延時間と前記通過子局数情報が示す通過子局数との積を
、前記時刻設定フレームに含まれる前記時刻情報に加算
し、その値を設定された時刻として使用し、更に前記時
刻設定フレームの通過子局数に1を加算し、これを新た
な時刻設定フレームとして次の子局装置に送信する送信
手段を前記子局装置に具備することを特徴とする時刻設
定装置。
[Claims] In a loop network in which one master station device and N slave station devices are set in a loop, and the master station device sets the time for all N slave station devices at the same time. , time information including time information, delay time information indicating the time by which the transmission frame is delayed by one of the slave station devices, and passed slave station number information indicating the number of the slave station devices through which the transmission frame has passed. The master station device includes a transmitting means for transmitting a setting frame, and receives the time setting frame, and the delay time indicated by the delay time information and the passed slave station number information included in the time setting frame are indicated. Adding the product with the number of passing slave stations to the time information included in the time setting frame, using that value as the set time, and further adding 1 to the number of passing slave stations of the time setting frame, A time setting device characterized in that the slave station device includes a transmitting means for transmitting this as a new time setting frame to the next slave station device.
JP10545388A 1988-04-30 1988-04-30 Time setting device Pending JPH01278144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10545388A JPH01278144A (en) 1988-04-30 1988-04-30 Time setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10545388A JPH01278144A (en) 1988-04-30 1988-04-30 Time setting device

Publications (1)

Publication Number Publication Date
JPH01278144A true JPH01278144A (en) 1989-11-08

Family

ID=14408004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10545388A Pending JPH01278144A (en) 1988-04-30 1988-04-30 Time setting device

Country Status (1)

Country Link
JP (1) JPH01278144A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05235973A (en) * 1991-10-31 1993-09-10 Internatl Business Mach Corp <Ibm> Method for generating time reference value at node and computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05235973A (en) * 1991-10-31 1993-09-10 Internatl Business Mach Corp <Ibm> Method for generating time reference value at node and computer system

Similar Documents

Publication Publication Date Title
US4999834A (en) Communication method and apparatus
US4592050A (en) Apparatus and method for providing a transparent interface across a satellite communications link
GB1356751A (en) Remote station address verification using address conditioned encoding
JPH01278144A (en) Time setting device
JP2000197111A (en) Synchronization control method for mobile communication system and controller for mobile communication
JPH05161181A (en) Time synchronization system
JP3190760B2 (en) Batch data transmission method
SU987830A1 (en) Information transmitting and receiving device
JPH02268044A (en) Optical star type communication equipment
SU960891A1 (en) Tv data signal transmitting device
JPH11122253A (en) Multi-drop system and its system synchronization method
JPH07118674B2 (en) Communication method
JP2511551B2 (en) Common bus control method
JP2602350B2 (en) Communication device
JPS6046632A (en) Remote supervisory and controlling transmission system
JPS6320930A (en) Burst timing signal generating circuit
JPS60137198A (en) Synchronous communication system of time-division optical exchange
JPS6253530A (en) Control information generating circuit for tdma communication equipment
JPH0456545A (en) Time synchronization control system
JPS60180244A (en) Cyclic data transmission system
JPH044637A (en) Optical data transmitter
JPS63314936A (en) Start-stop synchronizing type data communication system
JPH10243483A (en) Time synchronization system
JPH0550904B2 (en)
JPH0115181B2 (en)