JP3430589B2 - Communication method and communication device - Google Patents

Communication method and communication device

Info

Publication number
JP3430589B2
JP3430589B2 JP30070693A JP30070693A JP3430589B2 JP 3430589 B2 JP3430589 B2 JP 3430589B2 JP 30070693 A JP30070693 A JP 30070693A JP 30070693 A JP30070693 A JP 30070693A JP 3430589 B2 JP3430589 B2 JP 3430589B2
Authority
JP
Japan
Prior art keywords
data
master station
station
communication
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP30070693A
Other languages
Japanese (ja)
Other versions
JPH07154403A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP30070693A priority Critical patent/JP3430589B2/en
Publication of JPH07154403A publication Critical patent/JPH07154403A/en
Application granted granted Critical
Publication of JP3430589B2 publication Critical patent/JP3430589B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、通信方法及び通信装置
に関し、特に1つの親局と複数の子局をリング状に接続
し、親局と子局の間で調歩同期方式により通信を行う通
信方法及び通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication method and a communication device, and in particular, one master station and a plurality of slave stations are connected in a ring shape, and communication is performed between the master station and the slave stations by an asynchronous method. The present invention relates to a communication method and a communication device.

【0002】[0002]

【従来の技術】従来、図7に示すように、1つの親局7
1と複数の子局72を、リング状に接続し、調歩同期方
式により通信を行なう通信システムでは、親局71から
子局72に対する通信の単位である1フレームは、同期
情報、子局を識別するアドレス情報及びデータとからな
っていた。
2. Description of the Related Art Conventionally, as shown in FIG.
In a communication system in which one and a plurality of slave stations 72 are connected in a ring shape and communication is performed by the start-stop synchronization method, one frame which is a unit of communication from the master station 71 to the slave station 72 identifies synchronization information and slave stations. It consists of address information and data.

【0003】したがって、子局72の数が多くなると、
各子局72に対してアドレス情報を送信しているため、
伝送効率が低下するという欠点があった。
Therefore, when the number of slave stations 72 increases,
Since the address information is transmitted to each slave station 72,
There is a drawback that the transmission efficiency is reduced.

【0004】そこで、例えば特開平2ー309730号
公報等に開示されているように、同期信号の後に、各子
局に対するデータを連続させて、一括したフレームを構
成し、各子局のアドレス情報を削除して伝送効率を高め
た通信システムが知られている。
Therefore, as disclosed in, for example, Japanese Patent Application Laid-Open No. Hei 2-309730, after the synchronization signal, data for each slave station is made continuous to form a collective frame, and address information of each slave station is formed. There is known a communication system in which is eliminated to improve transmission efficiency.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述の通信
システムでは、調歩同期方式により通信を行なっている
ため、子局72が具備するクロックの誤差によって1つ
の子局72を通過する毎に伝送信号のタイミングが変化
し、子局の数が多くなると、一活したフレームの先頭部
分に設けられた同期信号では一活したフレームの後半部
分において同期を取ることができなくなるという問題が
あった。
By the way, in the above-mentioned communication system, since the communication is performed by the start-stop synchronization method, the transmission signal is transmitted every time one slave station 72 is passed due to the error of the clock included in the slave station 72. If the number of slave stations increases due to a change in the timing of No. 1, there is a problem that the synchronization signal provided at the beginning of the live frame cannot synchronize in the latter half of the live frame.

【0006】本発明は、上述のような問題点に鑑みてな
されたものであり、伝送効率を向上させることができ、
また、子局の数が多くなっても確実に同期を取ることが
できる通信方法及び通信装置の提供を目的とする。
The present invention has been made in view of the above problems, and can improve the transmission efficiency.
Another object of the present invention is to provide a communication method and a communication device that can reliably achieve synchronization even if the number of slave stations increases.

【0007】[0007]

【課題を解決するための手段】上述の課題を解決するた
めに、本発明に係る通信方法は、1つの親局と複数の子
局をリング状の伝送路に接続して通信を行う通信方法に
おいて、1つの親局から各子局に送信する通信データの
1フレームをそれぞれ同期情報とデータから構成すると
共に、全子局に対するフレームを集め、先頭にヘッダ情
報を付加した一連のフレームから成る通信データを構成
し、親局は、伝送路を介して複数の子局に通信データを
送信する。各子局は、通信データを受信し、一連のフレ
ームの同期情報を検出すると共に同期情報を計数して自
局フレームに対応した親局からの通信データを受信す
る。そして、親局からの通信データを受信した子局は、
自局フレームを親局に対する親局宛フレームに置き換え
て伝送路に通信データを順次送信する。
In order to solve the above problems, a communication method according to the present invention is a communication method in which one master station and a plurality of slave stations are connected to a ring-shaped transmission line for communication. In the above, one frame of communication data transmitted from one master station to each slave station is composed of synchronization information and data, and a frame consisting of all slave stations is collected and a series of frames is added with header information at the beginning. The master station configures data, and the master station transmits the communication data to the plurality of slave stations via the transmission path. Each slave station receives the communication data, detects the synchronization information of a series of frames, counts the synchronization information, and receives the communication data from the master station corresponding to the own frame. And the slave station that received the communication data from the master station,
The own station frame is replaced with a frame addressed to the master station, and communication data is sequentially transmitted to the transmission path.

【0008】また、本発明に係る通信装置は、1つの親
局と複数の子局をリング状の伝送路に接続して通信を行
う通信装置において、1つの親局から各子局に送信する
通信データの1フレームをそれぞれ同期情報とデータか
ら構成すると共に、全子局に対するフレームを集め、先
頭にヘッダ情報を付加した一連のフレームから成る通信
データを構成すると共に、通信データを伝送路を介して
複数の子局に送信する親局送信手段と、通信データを受
信し、一連のフレームの同期情報を検出すると共に同期
情報を計数して自局フレームに対応した親局からの通信
データを受信する子局受信手段と、親局からのデータを
受信した子局は、自局フレームを親局に対する親局宛フ
レームに置き換えて伝送路に通信データを順次送信する
子局送信手段とを備える。
Further, the communication device according to the present invention is a communication device for communicating by connecting one master station and a plurality of slave stations to a ring-shaped transmission path, and transmitting from one master station to each slave station. Each frame of communication data is composed of synchronization information and data, and frames for all slave stations are collected to form communication data consisting of a series of frames with header information added to the head, and communication data is transmitted through a transmission line. And transmitting communication data to a plurality of slave stations, receiving communication data, detecting synchronization information of a series of frames, counting synchronization information and receiving communication data from the parent station corresponding to the own frame The slave station receiving unit that receives the data from the master station, and the slave station transmitting unit that sequentially transmits the communication data to the transmission line by replacing the own station frame with the frame addressed to the master station with respect to the master station. Obtain.

【0009】[0009]

【0010】[0010]

【0011】[0011]

【作用】本発明では、1つの親局から各子局に送信する
通信データの1フレームをそれぞれ同期情報とデータか
ら構成すると共に、全子局に対するフレームを集め、先
頭にヘッダ情報を付加した一連のフレームから成る通信
データを構成し、親局は、伝送路を介して複数の子局に
通信データを送信する。各子局は、通信データを受信
し、一連のフレームの同期情報を検出すると共に同期情
報を計数して自局フレームに対応した親局からの通信デ
ータを受信する。そして、親局からの通信データを受信
した子局は、自局フレームを親局に対する親局宛フレー
ムに置き換えて伝送路に通信データを順次送信する。
In the present invention, one frame of communication data transmitted from one master station to each slave station is composed of synchronization information and data, and a frame for all slave stations is collected and header information is added at the beginning. Composing communication data composed of frames, and the master station transmits the communication data to a plurality of slave stations via the transmission path. Each slave station receives the communication data, detects the synchronization information of a series of frames, counts the synchronization information, and receives the communication data from the master station corresponding to the own frame. Then, the slave station, which has received the communication data from the master station, replaces its own frame with a frame addressed to the master station, and sequentially transmits the communication data to the transmission path.

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【実施例】以下、本発明に係る通信方法及び通信装置の
一実施例を図面を参照しながら詳細に説明する。この実
施例は、本発明を1つの親局と複数の子局をリング状に
接続して通信を行う通信システムに適用したものであ
り、図1は親局の構成を示すブロック図であり、図2は
子局の構成を示すブロック図であり、図3はこの通信シ
ステムの構成を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a communication method and a communication device according to the present invention will be described below in detail with reference to the drawings. In this embodiment, the present invention is applied to a communication system in which one master station and a plurality of slave stations are connected in a ring shape for communication, and FIG. 1 is a block diagram showing the configuration of the master station. 2 is a block diagram showing the configuration of the slave station, and FIG. 3 is a block diagram showing the configuration of this communication system.

【0016】まず、通信システムについて説明する。こ
の通信システムは、例えば図3に示すように、1つの親
局10とn個の子局30i (i=1〜n)とから構成さ
れ、親局10とn個の子局30i がリング状に接続され
ている。そして、これらの局間の通信方式として調歩同
期方式が用いられている。
First, the communication system will be described. For example, as shown in FIG. 3, this communication system includes one master station 10 and n slave stations 30 i (i = 1 to n), and the master station 10 and n slave stations 30 i are It is connected in a ring. The start-stop synchronization method is used as a communication method between these stations.

【0017】つぎに、親局10及び子局30i の構成に
ついて説明する。親局10は、例えば図1に示すよう
に、各子局30i に送信するデータを記憶する送信デー
タ記憶部11と、該送信データ記憶部11に記憶されて
いるデータを読み出し、これらのデータにスタートビッ
トをそれぞれ付加して各子局30iに送信するフレーム
を構成すると共に、全子局30i に対するフレームを集
めて一連のフレームを構成し、この一連のフレームの先
頭に先頭を示すヘッダ情報を付加して伝送信号を形成す
るパラレル/シリアル変換部12と、該パラレル/シリ
アル変換部12からの伝送信号を伝送路に出力するトラ
ンスミッタ13と、上記子局30n からの伝送信号を受
信するレシーバ14と、基本クロックを生成する基本ク
ロック生成部15と、該基本クロック生成部15からの
基本クロックにより、上記レシーバ14で受信された伝
送信号のスタートビットを検出するスタートビット検出
部16と、該スタートビット検出部16で検出されたス
タートビットと上記基本クロック生成部15からの基本
クロックに基づいて受信クロックを生成する受信クロッ
ク生成部17と、該受信クロック生成部17からの受信
クロックにより、上記レシーバ14で受信された伝送信
号の波形を整形する波形整形部18と、上記受信クロッ
ク生成部17からの受信クロックにより、上記波形整形
部18で波形整形された伝送信号から各子局30i のデ
ータを抽出するシリアル/パラレル変換部19と、該シ
リアル/パラレル変換部19からの各子局30i のデー
タを記憶する受信データ記憶部20とを備える。
Next, the configurations of the master station 10 and the slave stations 30 i will be described. As shown in FIG. 1, for example, the master station 10 reads a transmission data storage unit 11 that stores data to be transmitted to each slave station 30 i and data stored in the transmission data storage unit 11, by adding a start bit, respectively as well as a frame to be transmitted to each slave station 30 i to constitute a series of frames to collect frames for all slave station 30 i, a header indicating the head to the top of the series of frames A parallel / serial conversion unit 12 that adds information to form a transmission signal, a transmitter 13 that outputs the transmission signal from the parallel / serial conversion unit 12 to a transmission path, and a transmission signal from the slave station 30 n Receiver 14, a basic clock generator 15 for generating a basic clock, and the receiver 14 using the basic clock from the basic clock generator 15. A start bit detector 16 for detecting a start bit of the received transmission signal, and a receiver for generating a reception clock based on the start bit detected by the start bit detector 16 and the basic clock from the basic clock generator 15. With the clock generation unit 17, the waveform shaping unit 18 that shapes the waveform of the transmission signal received by the receiver 14 by the reception clock from the reception clock generation unit 17, and the reception clock from the reception clock generation unit 17, A serial / parallel conversion unit 19 for extracting data of each slave station 30 i from the transmission signal waveform-shaped by the waveform shaping unit 18 and data of each slave station 30 i from the serial / parallel conversion unit 19 are stored. The reception data storage unit 20 is provided.

【0018】一方、子局30i は、例えば図2に示すよ
うに、伝送信号を受信するレシーバ31と、基本クロッ
クを生成する基本クロック生成部32と、該基本クロッ
ク生成部32からの基本クロックにより、上記レシーバ
31で受信された伝送信号のスタートビットを検出する
スタートビット検出部33と、該スタートビット検出部
33からのスタートビットの数をカウントして、自局に
対するデータであることを示すセレクト信号を出力する
スタートビットカウンタ34と、上記スタートビット検
出部33からのスタートビットと上記基本クロック生成
部32からの基本クロックに基づいて伝送クロックを生
成する伝送クロック生成部35と、該伝送クロック生成
部35からの伝送クロックにより、上記レシーバ31で
受信された伝送信号の波形を整形する波形整形部36
と、上記伝送クロック生成部35からの伝送クロックに
より、上記波形整形部36からの伝送信号からデータを
抽出するシリアル/パラレル変換部37と、上記スター
トビットカウンタ34からのセレクト信号により、上記
シリアル/パラレル変換部37からのデータから自局に
対するデータを選択するセレクタ38と、該セレクタ3
8からの自局のデータを記憶する受信データ記憶部39
と、上記親局10に送信するデータを記憶する送信デー
タ記憶部40と、上記伝送クロック生成部35からの伝
送クロックにより、上記送信データ記憶部40に記憶さ
れているデータを読み出し、このデータにスタートビッ
トを付加してフレームを構成するパラレル/シリアル変
換部41と、上記スタートビットカウンタ34からのセ
レクト信号に基づいて、上記パラレル/シリアル変換部
41からのフレームと上記波形整形部36からの自局に
対するフレームを切換え選択して伝送信号を形成するセ
レクタ42と、該セレクタ42からの伝送信号を送信す
るトランスミッタ43とを備える。
On the other hand, the slave station 30 i , for example, as shown in FIG. 2, has a receiver 31 for receiving a transmission signal, a basic clock generating section 32 for generating a basic clock, and a basic clock from the basic clock generating section 32. With this, the start bit detection unit 33 that detects the start bit of the transmission signal received by the receiver 31 and the number of start bits from the start bit detection unit 33 are counted to indicate that the data is for the own station. A start bit counter 34 that outputs a select signal, a transmission clock generator 35 that generates a transmission clock based on the start bit from the start bit detector 33 and the basic clock from the basic clock generator 32, and the transmission clock. Transmission transmitted by the receiver 31 according to the transmission clock from the generation unit 35 Waveform shaping unit 36 for shaping the waveform
And a serial / parallel conversion unit 37 for extracting data from the transmission signal from the waveform shaping unit 36 by the transmission clock from the transmission clock generation unit 35, and a serial / parallel conversion unit by a select signal from the start bit counter 34. A selector 38 for selecting the data for its own station from the data from the parallel converter 37, and the selector 3
Received data storage unit 39 for storing data of its own station from 8
And a transmission data storage unit 40 for storing data to be transmitted to the master station 10 and a transmission clock from the transmission clock generation unit 35 to read the data stored in the transmission data storage unit 40, Based on a select signal from the parallel / serial converter 41 that adds a start bit to form a frame, and the start bit counter 34, the frame from the parallel / serial converter 41 and the waveform from the waveform shaper 36 are automatically generated. A selector 42 for switching and selecting frames for stations to form a transmission signal and a transmitter 43 for transmitting the transmission signal from the selector 42 are provided.

【0019】ここで、伝送信号のフォーマットについて
説明する。伝送信号の1フレーム(以下、フレーム52
i という)は、例えば図4Aに示すように、1つの子局
30i に対するスタートビット50i とデータ51i
から構成される。また、全子局30i に対するフレーム
52i を集めて一連のフレーム54が構成され、この一
連のフレーム54の先頭には、先頭を示すヘッダ53が
付加されている。すなわち、ヘッダ53に続けて各子局
30i のフレーム52 i が続くフォーマットとなってい
る。そして、ヘッダ53としては、例えばローレベルの
信号が2フレーム以上続くブレーク信号が用いられる。
Here, regarding the format of the transmission signal
explain. One frame of the transmission signal (hereinafter referred to as frame 52
i Is a single slave station, for example, as shown in FIG. 4A.
Thirtyi Start bit for 50i And data 51i When
Composed of. Also, all child stations 30i Against the frame
52i Are assembled into a series of frames 54.
At the beginning of the continuous frame 54, a header 53 indicating the beginning is
Has been added. That is, following the header 53, each slave station
Thirtyi Frame 52 i Is a format that continues
It As the header 53, for example, a low level
A break signal in which the signal continues for two or more frames is used.

【0020】つぎに、親局10及び子局30i の動作に
ついて説明する。親局10のパラレル/シリアル変換部
12は、送信データ記憶部11に記憶されている各子局
30i に対するデータをパラレル信号として読み出し、
これらのデータ毎にスタートビットを付加してフレーム
を構成すると共に、全子局30iに対するフレームを集
めて一連のフレームを構成し、この一連のフレームの先
頭にブレーク信号をヘッダとして付加して、通信データ
を形成する。そして、パラレル/シリアル変換部12
は、形成した通信データをシリアル信号(伝送信号)と
してトランスミッタ13に供給し、トランスミッタ13
は、この伝送信号を伝送路を介して子局30i に送信す
る。
Next, the operations of the master station 10 and the slave stations 30 i will be described. The parallel / serial conversion unit 12 of the master station 10 reads the data for each slave station 30 i stored in the transmission data storage unit 11 as a parallel signal,
A start bit is added to each of these data to form a frame, frames for all slave stations 30 i are collected to form a series of frames, and a break signal is added as a header to the beginning of the series of frames, Form communication data. Then, the parallel / serial conversion unit 12
Supplies the formed communication data to the transmitter 13 as a serial signal (transmission signal), and the transmitter 13
Transmits this transmission signal to the slave station 30 i via the transmission path.

【0021】子局30i のレシーバ31は、伝送路を介
して伝送信号を受信し、この受信した伝送信号をスター
トビット検出部33と波形整形部36に供給する。スタ
ートビット検出部33は、基本クロック生成部32から
の基本クロックにより、レシーバ31から供給される伝
送信号のスタートビットを検出し、この検出したスター
トビットをスタートビットカウンタ34と伝送クロック
生成部35に供給する。
The receiver 31 of the slave station 30 i receives the transmission signal via the transmission path and supplies the received transmission signal to the start bit detecting section 33 and the waveform shaping section 36. The start bit detection unit 33 detects the start bit of the transmission signal supplied from the receiver 31 by the basic clock from the basic clock generation unit 32, and outputs the detected start bit to the start bit counter 34 and the transmission clock generation unit 35. Supply.

【0022】スタートビットカウンタ34は、スタート
ビット検出部33から供給されるスタートビットの数を
カウントし、このカウント値が予め設定された自局の値
となったときに、セレクト信号をセレクタ38、42に
供給する。また、スタートビットカウンタ34は、上述
したブレーク信号(ヘッダ53)によりリセットされ
る。すなわち、スタートビットカウンタ34は、上述の
図4Aに示すブレーク信号53からのスタートビット5
i の数を計数して、自局に対するフレーム52 i が受
信されたときにセレクト信号をセレクタ38、42に供
給する。
The start bit counter 34 starts
The number of start bits supplied from the bit detector 33
Count, and this count value is the preset value of your station
The select signal to the selectors 38 and 42 when
Supply. The start bit counter 34 is
Is reset by the break signal (header 53)
It That is, the start bit counter 34 is
Start bit 5 from break signal 53 shown in FIG. 4A
0i Of the frame 52 i Received
When the signal is received, the select signal is supplied to the selectors 38 and 42.
To pay.

【0023】伝送クロック生成部35は、スタートビッ
ト検出部33で検出されたスタートビットと基本クロッ
ク生成部32から供給される基本クロックに基づいて、
例えば伝送信号の1ビットに相当する周期の伝送クロッ
クを生成し、この伝送クロックを波形整形部36、シリ
アル/パラレル変換部37及びパラレル/シリアル変換
部41に供給する。
The transmission clock generator 35 is based on the start bit detected by the start bit detector 33 and the basic clock supplied from the basic clock generator 32.
For example, a transmission clock having a cycle corresponding to 1 bit of the transmission signal is generated, and this transmission clock is supplied to the waveform shaping unit 36, the serial / parallel conversion unit 37, and the parallel / serial conversion unit 41.

【0024】波形整形部36は、レシーバ31から供給
される伝送信号の波形を、伝送クロック生成部35から
の伝送クロックに基づいて整形し、シリアル/パラレル
変換部37とセレクタ42に供給する。
The waveform shaping section 36 shapes the waveform of the transmission signal supplied from the receiver 31 based on the transmission clock from the transmission clock generation section 35 and supplies it to the serial / parallel conversion section 37 and the selector 42.

【0025】シリアル/パラレル変換部37は、上記伝
送クロック生成部35からの伝送クロックに同期させ
て、波形整形部36で波形整形された伝送信号からデー
タを抽出してセレクタ38に供給する。
The serial / parallel converter 37 synchronizes with the transmission clock from the transmission clock generator 35, extracts data from the transmission signal waveform-shaped by the waveform shaping unit 36, and supplies it to the selector 38.

【0026】セレクタ38は、スタートビットカウンタ
34から供給されるセレクト信号により、シリアル/パ
ラレル変換部37から供給されるデータから自局のデー
タを選択し、この自局のデータを受信データ記憶部39
に供給する。この結果、自局のデータ51i が受信デー
タ記憶部39に記憶される。
The selector 38 selects the data of its own station from the data supplied from the serial / parallel conversion section 37 in response to the select signal supplied from the start bit counter 34, and receives the data of this station from the received data storage section 39.
Supply to. As a result, the data 51 i of the own station is stored in the received data storage unit 39.

【0027】一方、パラレル/シリアル変換部41は、
送信データ記憶部40に記憶されているデータを読み出
し、このデータにスタートビットを付加してフレームを
構成し、このフレームをセレクタ42に供給する。
On the other hand, the parallel / serial converter 41
The data stored in the transmission data storage unit 40 is read, a start bit is added to this data to form a frame, and this frame is supplied to the selector 42.

【0028】セレクタ42は、スタートビットカウンタ
34から供給されるセレクト信号に基づいて、パラレル
/シリアル変換部41からのフレームと、波形整形部3
6から供給される自局に対するフレームとを切換え選択
して伝送信号を形成し、この伝送信号をトランスミッタ
43に供給する。そして、トランスミッタ43は、パラ
レル/シリアル変換部41からの伝送信号を伝送路を介
して次段の子局である子局30i+1 に送信する。
The selector 42, based on the select signal supplied from the start bit counter 34, receives the frame from the parallel / serial converter 41 and the waveform shaping unit 3.
The transmission signal is formed by switching and selecting the frame for the own station, which is supplied from 6, and the transmission signal is supplied to the transmitter 43. Then, the transmitter 43 transmits the transmission signal from the parallel / serial conversion unit 41 to the slave station 30 i + 1 which is the slave station at the next stage via the transmission path.

【0029】この結果、例えば子局30i を1段目の子
局301 とすると、この子局301は、例えば図4Bに
示すように、必要に応じて自局宛のフレーム521 を親
局宛のフレーム521 に置き換え、親局10からの伝送
信号に対して1ビット遅延した伝送信号を子局302
送信する。
[0029] As a result, for example, the slave station 30 i to 1 stage Menoko station 30 1, the slave station 30 1, for example as shown in FIG. 4B, the master station frame 52 1 of the own station as necessary The transmission signal is replaced with the addressed frame 52 1 and the transmission signal delayed by 1 bit from the transmission signal from the master station 10 is transmitted to the slave station 30 2 .

【0030】以下同様に、子局302 は、必要に応じて
自局宛のフレーム52i を親局宛のフレーム52i に置
き換え、すなわち、例えば図4Cに示すように、子局3
2宛のフレーム522 を親局宛のフレーム522 に置
き換え、子局301 からの伝送信号に対して1ビット遅
延した伝送信号を子局303 に送信する。また、子局3
3 〜30n においても上記動作が同様に繰り返され、
子局30n は、例えば図4Dに示すように、各子局30
i 宛のフレーム52i を、必要に応じて子局30n から
親局宛のフレーム52n に置き換え、親局10からの伝
送信号に対してnビット遅延した伝送信号を親局10に
送信する。
Similarly, the slave station 30 2 replaces the frame 52 i addressed to itself with the frame 52 i addressed to the master station as required, that is, as shown in FIG.
0 2 replaces frame 52 2 destined to the frame 52 and second main station, and transmits a transmission signal obtained by 1-bit delayed with respect to the transmission signal from the slave station 30 1 to the remote station 30 3. In addition, child station 3
The above operation is similarly repeated at 0 3 to 30 n ,
Slave station 30 n, for example, as shown in FIG. 4D, each slave station 30
The frame 52 i addressed to i is replaced with a frame 52 n addressed to the master station from the slave station 30 n as necessary, and a transmission signal delayed by n bits from the transmission signal from the master station 10 is transmitted to the master station 10. .

【0031】そして、親局10のレシーバ14は、子局
30n からの伝送信号を受信し、この伝送信号をスター
トビット検出部16と波形整形部18に供給する。スタ
ートビット検出部16は、基本クロック生成部15から
の基本クロックにより、レシーバ14からの伝送信号の
スタートビットを検出する。
Then, the receiver 14 of the master station 10 receives the transmission signal from the slave station 30 n, and supplies this transmission signal to the start bit detecting section 16 and the waveform shaping section 18. The start bit detector 16 detects the start bit of the transmission signal from the receiver 14 by the basic clock from the basic clock generator 15.

【0032】受信クロック生成部17は、スタートビッ
ト検出部16から供給されるスタートビットと基本クロ
ック生成部15から供給される基本クロックに基づい
て、伝送信号の1ビットに相当する周期の受信クロック
を生成し、この受信クロックを波形整形部18とシリア
ル/パラレル変換部19に供給する。
The reception clock generator 17 generates a reception clock having a cycle corresponding to 1 bit of the transmission signal based on the start bit supplied from the start bit detector 16 and the basic clock supplied from the basic clock generator 15. The received clock is generated and supplied to the waveform shaping section 18 and the serial / parallel conversion section 19.

【0033】波形整形部18は、レシーバ14からの伝
送信号の波形を、受信クロック生成部17からの受信ク
ロックに基づいて整形して、シリアル/パラレル変換部
19に供給する。
The waveform shaping section 18 shapes the waveform of the transmission signal from the receiver 14 based on the reception clock from the reception clock generation section 17 and supplies it to the serial / parallel conversion section 19.

【0034】シリアル/パラレル変換部19は、受信ク
ロック生成部17からの受信クロックに同期させて、波
形整形部18で波形整形された伝送信号から、各子局3
iからのデータを抽出して受信データ記憶部20に供
給する。この結果、各子局30i からのデータが受信デ
ータ記憶部20に記憶される。
The serial / parallel conversion unit 19 synchronizes with the reception clock from the reception clock generation unit 17, and from the transmission signal waveform-shaped by the waveform shaping unit 18, each slave station 3
The data from 0 i is extracted and supplied to the reception data storage unit 20. As a result, the data from each slave station 30 i is stored in the reception data storage unit 20.

【0035】上述のように、この通信システムでは、親
局10は、送信データ記憶部11に記憶された各子局3
i に送信する通信データの1フレーム(フレーム52
i )をそれぞれスタートビット50i とデータ51i
ら構成すると共に、全子局30i に対するフレーム52
i を集めて一連のフレーム54を構成し、この一連のフ
レーム54の先頭に先頭を示すブレーク信号(ヘッダ5
3)を付加して伝送信号を形成し、この伝送信号を伝送
路に送出し、各子局30i は、伝送信号のブレーク信号
53を検出し、検出されたブレーク信号53からのスタ
ートビット50の数をカウントして自局に対するデータ
51i を検出し、親局10からのデータ51i を受信す
る。すなわち、この通信システムは、伝送信号中に子局
を識別するアドレス情報を必要とせず、伝送効率を高め
ることができる。また、この通信システムでは、伝送信
号の各フレームにスタートビットを挿入していることか
ら、子局数が多くなっても調歩同期における同期を確実
に取ることができる。
As described above, in this communication system, the master station 10 has each slave station 3 stored in the transmission data storage section 11.
0 i , one frame of communication data (frame 52
i ) each of which is composed of a start bit 50 i and data 51 i, and a frame 52 for all slave stations 30 i .
i is collected to form a series of frames 54, and a break signal (header 5
3) is added to form a transmission signal, and this transmission signal is sent to the transmission path. Each slave station 30 i detects the break signal 53 of the transmission signal, and the start bit 50 from the detected break signal 53. The data 51 i for the local station is detected by counting the number of the data, and the data 51 i from the master station 10 is received. That is, this communication system does not need address information for identifying the slave station in the transmission signal, and can improve the transmission efficiency. Further, in this communication system, since the start bit is inserted in each frame of the transmission signal, it is possible to reliably achieve the synchronization in the start-stop synchronization even if the number of slave stations increases.

【0036】ところで、子局の数が増加、例えば64局
程度になると、伝送信号のタイミングがずれ、最悪の場
合にはデータ51i と次のスタートビット50i+1 が重
なり、例えば親局から離れた子局において同期が取れな
くなることがある。そこで、例えば図5に示すように、
スタートビット50i とデータ51i を合計したビット
数をkビットとし、このkビットからなる各フレーム5
2間にmビットの間隔59を設け、親局10において、
この間隔59のビット数mを子局30i の数nに基づい
て可変として伝送信号を構成するようにする。すなわ
ち、親局10のパラレル/シリアル変換部12は、上述
の全子局30i のフレームを集めて、一連のフレームを
構成する際に、各フレーム間に間隔59を設ける。
By the way, when the number of slave stations increases, for example, about 64 stations, the timing of the transmission signal is deviated, and in the worst case, the data 51 i and the next start bit 50 i + 1 overlap each other. The remote stations may become out of sync with each other. So, for example, as shown in FIG.
The total number of bits of the start bit 50 i and the data 51 i is k bits, and each frame 5 consisting of this k bits
An m-bit interval 59 is provided between the two, and in the master station 10,
The number m of bits at this interval 59 is made variable based on the number n of the slave stations 30 i to configure the transmission signal. That is, when the parallel / serial conversion unit 12 of the master station 10 collects the frames of all the slave stations 30 i described above to form a series of frames, an interval 59 is provided between the frames.

【0037】具体的には、パラレル/シリアル変換部1
2は、例えば図6に示すように、各子局30i に送信す
るデータを上記送信データ記憶部11から読み出し、こ
れらのデータ毎に、スタートビットを付加してフレーム
を構成するパラレル/シリアル変換器61と、伝送クロ
ックを生成する発振器62と、間隔59のビット数mを
設定する設定スイッチ63と、該設定スイッチ63の設
定と、上記発振器62からの伝送クロックに基づいて制
御信号とゲート信号を出力する出力カウンタ64と、該
出力カウンタ64からのゲート信号に基づいて、上記パ
ラレル/シリアル変換器61の出力をトランスミッタ1
3に出力するゲート65とから構成される。
Specifically, the parallel / serial converter 1
For example, as shown in FIG. 6, reference numeral 2 is a parallel / serial conversion in which data to be transmitted to each slave station 30 i is read from the transmission data storage unit 11 and a start bit is added to each of these data to form a frame. 61, an oscillator 62 for generating a transmission clock, a setting switch 63 for setting the number m of bits at intervals 59, a setting of the setting switch 63, and a control signal and a gate signal based on the transmission clock from the oscillator 62. Based on a gate signal from the output counter 64, and the output of the parallel / serial converter 61 based on the gate signal from the transmitter 1
3 and a gate 65 for outputting to 3.

【0038】そして、パラレル/シリアル変換器61
は、出力カウンタ64から供給される制御信号により動
作を開始し、送信データ記憶部11からデータを読み出
し、スタートビットを付加してkビットからなるフレー
ムを構成すると共に、発振器62からの伝送クロックに
同期して通信データを出力する。また、このときパラレ
ル/シリアル変換部61は、開始信号を出力カウンタ6
4に供給する。
Then, the parallel / serial converter 61
Starts an operation in response to a control signal supplied from the output counter 64, reads data from the transmission data storage unit 11, adds a start bit to form a k-bit frame, and uses it as a transmission clock from the oscillator 62. Communication data is output synchronously. At this time, the parallel / serial converter 61 outputs the start signal to the output counter 6
Supply to 4.

【0039】出力カウンタ64は、開始信号が供給され
ると、例えばkビットに相当する期間ハイレベルとなる
ゲート信号をゲート65に供給する。ゲート65はゲー
ト信号がハイレベルの期間、パラレル/シリアル変換器
61の出力をトランスミッタ13に供給する。
When the start signal is supplied, the output counter 64 supplies to the gate 65 a gate signal which is at a high level for a period corresponding to, for example, k bits. The gate 65 supplies the output of the parallel / serial converter 61 to the transmitter 13 while the gate signal is at the high level.

【0040】パラレル/シリアル変換器61は、1つの
フレームの通信データの出力が終了すると、出力カウン
タ64に終了信号を供給する。出力カウンタ64は、終
了信号が供給されると、例えばmビットに相当する期間
ローレベルとなるゲート信号をゲート65に供給した
後、上述した制御信号をパラレル/シリアル変換器61
に供給する。
The parallel / serial converter 61 supplies an end signal to the output counter 64 when the output of the communication data of one frame is completed. When the end signal is supplied, the output counter 64 supplies a gate signal, which is at a low level for a period corresponding to, for example, m bits, to the gate 65 and then supplies the control signal described above to the parallel / serial converter 61.
Supply to.

【0041】この結果、ゲート65の出力は、mビット
の期間ローレベルとなる。
As a result, the output of the gate 65 is at the low level during the m-bit period.

【0042】かくして、パラレル/シリアル変換部12
は、上述の図5に示すように、kビットの各フレーム5
2間にmビットの間隔59を設けた一連のフレーム(伝
送信号)をトランスミッタ13に供給する。
Thus, the parallel / serial conversion unit 12
Is, as shown in FIG.
The transmitter 13 is supplied with a series of frames (transmission signals) having an m-bit interval 59 between the two.

【0043】そして、子局30i は、上述のように構成
された伝送信号を受信する。すなわち、基本クロックに
多少の誤差があり、伝送信号のタイミングが変動して
も、間隔59により、データ51i と次のスタートビッ
ト50i+1 間を確実に分離することができ、子局30i
は、確実に同期を取って自局宛のデータを受信すること
ができる。なお、上述の実施例では、子局30i の局数
nに対応させて設定スイッチ63を操作することにより
ビット数m(間隔59)の設定を、行なっているが、例
えば親局10において子局30i の局数nを検出して、
間隔59の長さ制御を行なってもよい。
Then, the slave station 30 i receives the transmission signal configured as described above. That is, even if there is some error in the basic clock and the timing of the transmission signal fluctuates, the interval 59 can reliably separate the data 51 i and the next start bit 50 i + 1 , and the slave station 30. i
Can reliably receive data addressed to itself by synchronizing. In the embodiment described above, the bit number m (interval 59) is set by operating the setting switch 63 in correspondence with the number n of stations of the slave station 30 i. Detecting the number n of stations 30 i ,
The length of the space 59 may be controlled.

【0044】なお、本発明は上述の実施例に限定される
ものではなく、例えばヘッダとしては、ブレーク信号以
外に、例えば2フレームのハイレベルの信号、データの
所定のビットを固定した信号、特定の値のデータからな
る信号等を用いることができる。
The present invention is not limited to the above-described embodiment. For example, as the header, in addition to the break signal, for example, a high-level signal of two frames, a signal in which a predetermined bit of data is fixed, or a specified bit is specified. It is possible to use a signal or the like composed of the data of the value of.

【0045】[0045]

【発明の効果】以上の説明から明らかなように、本発明
では、1つの親局と複数の子局をリング状の伝送路に接
続して通信を行う際に、1つの親局から各子局に送信す
る通信データの1フレームをそれぞれ同期情報とデータ
から構成すると共に、全子局に対するフレームを集め、
先頭にヘッダ情報を付加した一連のフレームから成る通
信データを構成し、親局は、伝送路を介して複数の子局
に通信データを送信する。各子局は、通信データを受信
し、一連のフレームの同期情報を検出すると共に同期情
報を計数して自局フレームに対応した親局からの通信デ
ータを受信する。そして、親局からの通信データを受信
した子局は、自局フレームを親局に対する親局宛フレー
ムに置き換えて伝送路に通信データを順次送信する。こ
れにより、子局を判別するアドレス情報を必要とせず、
伝送効率を向上させることができ、また、各フレームに
同期情報を付加していることにより、子局数が多くなっ
ても確実に同期を取ることができる。
As is apparent from the above description, according to the present invention, when one master station and a plurality of slave stations are connected to a ring-shaped transmission line for communication, each master station transmits each child. Each frame of communication data to be transmitted to the station is composed of synchronization information and data, and frames for all slave stations are collected,
The communication data is composed of a series of frames with header information added to the head, and the master station transmits the communication data to a plurality of slave stations via the transmission path. Each slave station receives the communication data, detects the synchronization information of a series of frames, counts the synchronization information, and receives the communication data from the master station corresponding to the own frame. Then, the slave station, which has received the communication data from the master station, replaces its own frame with a frame addressed to the master station, and sequentially transmits the communication data to the transmission path. This eliminates the need for address information to identify the slave station,
The transmission efficiency can be improved, and since the synchronization information is added to each frame, the synchronization can be surely achieved even if the number of slave stations increases.

【0046】また、本発明では、各フレーム間に間隔を
設け、間隔を子局の数に基づいて可変することにより、
子局数が多くなっても確実に同期を取ることができる。
Further, according to the present invention, by providing an interval between each frame and varying the interval based on the number of slave stations,
Even if the number of slave stations increases, it is possible to reliably synchronize.

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

【図1】本発明を適用した通信システムを構成する親局
の具体的な構成を示すブロック図である。
FIG. 1 is a block diagram showing a specific configuration of a master station included in a communication system to which the present invention is applied.

【図2】上記通信システムを構成する子局の具体的な構
成を示すブロック図である。
FIG. 2 is a block diagram showing a specific configuration of a slave station included in the communication system.

【図3】上記通信システムの構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a configuration of the communication system.

【図4】伝送信号のフォーマットの一例を示す図であ
る。
FIG. 4 is a diagram showing an example of a format of a transmission signal.

【図5】伝送信号のフォーマットの一例を示す図であ
る。
FIG. 5 is a diagram showing an example of a format of a transmission signal.

【図6】上記親局を構成するパラレル/シリアル変換部
の具体的な構成を示すブロック図である。
FIG. 6 is a block diagram showing a specific configuration of a parallel / serial conversion unit that constitutes the master station.

【図7】従来の通信システムの構成を示すブロック図で
ある。
FIG. 7 is a block diagram showing a configuration of a conventional communication system.

【符号の説明】[Explanation of symbols]

10・・・親局 11・・・送信データ記憶部 12・・・パラレル/シリアル変換部 13・・・トランスミッタ 14・・・レシーバ 15・・・基本クロック生成部 16・・・スタートビット検出部 17・・・受信クロック生成部 18・・・波形成形部 19・・・シリアル/パラレル変換部 20・・・受信データ記憶部 30i ・・・子局 31・・・レシーバ 32・・・基本クロック生成部 33・・・スタートビット検出部 34・・・スタートビットカウンタ 35・・・伝送クロック生成部 36・・・波形整形部 37・・・シリアル/パラレル変換部 38、42・・・セレクタ 39・・・受信データ記憶部 40・・・送信データ記憶部 41・・・パラレル/シリアル変換部 43・・・トランスミッタ10 ... Parent station 11 ... Transmission data storage unit 12 ... Parallel / serial conversion unit 13 ... Transmitter 14 ... Receiver 15 ... Basic clock generation unit 16 ... Start bit detection unit 17 ... Reception clock generation unit 18 ... Waveform shaping unit 19 ... Serial / parallel conversion unit 20 ... Reception data storage unit 30 i ... Slave station 31 ... Receiver 32 ... Basic clock generation Unit 33 ... start bit detection unit 34 ... start bit counter 35 ... transmission clock generation unit 36 ... waveform shaping unit 37 ... serial / parallel conversion units 38, 42 ... selector 39 ... -Reception data storage unit 40 ... Transmission data storage unit 41 ... Parallel / serial conversion unit 43 ... Transmitter

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−146041(JP,A) 特開 平1−291548(JP,A) 特開 平4−233351(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/423 ─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-62-146041 (JP, A) JP-A-1-291548 (JP, A) JP-A-4-233351 (JP, A) (58) Field (Int.Cl. 7 , DB name) H04L 12/423

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つの親局と複数の子局をリング状の伝
送路に接続して通信を行う通信方法において、 上記1つの親局から各子局に送信する通信データの1フ
レームをそれぞれ同期情報とデータから構成すると共
に、全子局に対する上記フレームを集め、先頭にヘッダ情報を付加した一連のフレームから成る通
信データを構成し、 上記親局は上記伝送路を介して複数の子局に上記通信デ
ータを送信し、 上記各子局は、上記通信データを受信し、上記一連のフ
レームの同期情報を検出すると共に上記同期情報を計数
して自局フレームに対応した親局からの通信データを受
信し、 上記親局からの通信データを受信した子局は、自局フレ
ームを親局に対する親局宛フレームに置き換えて上記伝
送路に通信データを順次送信する通信方法。
1. A ring-shaped transmission of one master station and a plurality of slave stations.
In a communication method of connecting to a transmission path to perform communication, one frame of communication data to be transmitted from one master station to each slave station is composed of synchronization information and data, respectively, and collects the frames for all slave stations, A communication consisting of a series of frames with header information added to the beginning.
Signal data, and the master station transmits the communication data to a plurality of slave stations via the transmission path.
Data, each of the slave stations receives the communication data , and transmits the series of data.
Detects synchronization information of frames and counts the above synchronization information
Then, the communication data from the master station corresponding to its own frame is received.
The slave station that received the communication data from the above master station
Replace the frame with a frame addressed to the master station
A communication method that sequentially transmits communication data to a transmission path.
【請求項2】 1つの親局と複数の子局をリング状の伝
送路に接続して通信を行う通信装置において、 上記1つの親局から各子局に送信する通信データの1フ
レームをそれぞれ同期情報とデータから構成すると共
に、全子局に対する上記フレームを集め、先頭にヘッダ
情報を付加した一連のフレームから成る通信データを構
成すると共に、上記通信データを上記伝送路を介して複
数の子局に送信する親局送信手段と、 上記通信データを受信し、上記一連のフレームの同期情
報を検出すると共に上記同期情報を計数して自局フレー
ムに対応した親局からの通信データを受信する子局受信
手段と、 上記親局からのデータを受信した子局は、自局フレーム
を親局に対する親局宛フレームに置き換えて上記伝送路
に通信データを順次送信する子局送信手段とを備える通
信装置。
2. A ring-shaped transmission of one master station and a plurality of slave stations.
In a communication device that communicates by connecting to a transmission path, one frame of communication data transmitted from one master station to each slave station is composed of synchronization information and data, and the above frames for all slave stations are collected, Header at the beginning
Constructs communication data consisting of a series of frames with information added.
And the communication data is transmitted via the transmission line.
Master station transmitting means for transmitting to a certain number of slave stations and the synchronization information of the series of frames which receives the communication data.
Information is detected and the above synchronization information is counted to determine the local frame
Slave station reception that receives communication data from the master station corresponding to the
Means and the slave station that has received the data from the master station,
Replace the above with the frame addressed to the master station
To a slave station for sequentially transmitting communication data.
Communication device.
【請求項3】 上記親局送信手段は、上記各フレーム間
に間隔を設け、該間隔を子局の数に基づいて可変するこ
とを特徴とする請求項2記載の通信装置。
3. The master station transmitting means is provided between the frames.
A space is provided between the stations, and the space can be changed based on the number of slave stations.
The communication device according to claim 2, wherein
JP30070693A 1993-11-30 1993-11-30 Communication method and communication device Expired - Fee Related JP3430589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30070693A JP3430589B2 (en) 1993-11-30 1993-11-30 Communication method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30070693A JP3430589B2 (en) 1993-11-30 1993-11-30 Communication method and communication device

Publications (2)

Publication Number Publication Date
JPH07154403A JPH07154403A (en) 1995-06-16
JP3430589B2 true JP3430589B2 (en) 2003-07-28

Family

ID=17888114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30070693A Expired - Fee Related JP3430589B2 (en) 1993-11-30 1993-11-30 Communication method and communication device

Country Status (1)

Country Link
JP (1) JP3430589B2 (en)

Also Published As

Publication number Publication date
JPH07154403A (en) 1995-06-16

Similar Documents

Publication Publication Date Title
EP0320882B1 (en) Demultiplexer system
CA1109168A (en) T.d.m. transmission systems
JP3439649B2 (en) Path trace check method and apparatus
EP0503657B1 (en) Pulse stuffing apparatus and method
JP3333053B2 (en) Digital communication device
JP3430589B2 (en) Communication method and communication device
JP2786170B2 (en) Frame data conversion circuit
US4688233A (en) Digital data transmitting device for communication paths of restricted and unrestricted transmission characteristics
JP2785755B2 (en) Hitless switching device
JP3030783B2 (en) Receive data synchronization circuit
JP2594765B2 (en) Time division multiplex circuit
JPH07118708B2 (en) Burst signal phase control circuit
KR0138596B1 (en) Apparatus for matching broadcasting line in a exchanger
JP3063291B2 (en) Line monitoring circuit
JPS5911222B2 (en) Multi-frame synchronization method
JPS6350896B2 (en)
KR920001548B1 (en) Apparatus and method transmitting/receiving data through channels to have clear channel capability
JP2004032458A (en) Segment divider/multiplexer and segment dividing/multiplexing method using the same
JPH09172425A (en) Data error monitoring device
JPH088556B2 (en) Time division multiplexer
JPH06125356A (en) Synchronization circuit
JPS6059872A (en) Frame synchronization system
JPH03286639A (en) Digital data transmitter
JPH0338931A (en) Data transmission equipment by pulse stuffing method
JPH09307540A (en) Multi-frame synchronizing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030422

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees