JP2002368764A - Access control method in communication system - Google Patents

Access control method in communication system

Info

Publication number
JP2002368764A
JP2002368764A JP2002126209A JP2002126209A JP2002368764A JP 2002368764 A JP2002368764 A JP 2002368764A JP 2002126209 A JP2002126209 A JP 2002126209A JP 2002126209 A JP2002126209 A JP 2002126209A JP 2002368764 A JP2002368764 A JP 2002368764A
Authority
JP
Japan
Prior art keywords
frame
address
channel
uplink
slave station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002126209A
Other languages
Japanese (ja)
Other versions
JP3878050B2 (en
Inventor
Shinichiro Omi
慎一郎 近江
Yuji Oue
裕司 大植
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002126209A priority Critical patent/JP3878050B2/en
Publication of JP2002368764A publication Critical patent/JP2002368764A/en
Application granted granted Critical
Publication of JP3878050B2 publication Critical patent/JP3878050B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an access control method that efficiently utilizes a communication channel so as to enhance the response and the throughput of substations accommodated in a communication system. SOLUTION: A downlink frame generating/transferring portion 12 detects a free channel from a plurality of previously assigned uplink channels. The downlink frame generating/transferring portion 12 elects a substation 2 to which the free channel is to be assigned by referring to an address table 11 every time it detects a free channel. Then the downlink frame generating/transferring portion 12 sends out onto a downlink channel a downlink frame in which the substation address of the selected secondary station is set in an address slot corresponding to the free channel.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、アクセス制御方法
に関し、より特定的には、ポイント−マルチポイントの
回線構成を用いた通信システムにおけるアクセス制御方
法に関する。
The present invention relates to an access control method, and more particularly, to an access control method in a communication system using a point-to-multipoint line configuration.

【0002】[0002]

【従来の技術】最近、放送と通信との融合が両者の規制
緩和とともに進み、ケーブルテレビ網等を用いて双方向
通信実験が行われるようになってきた。ケーブルテレビ
システムのようなポイント−マルチポイントの回線構成
を用いた通信システムでは、親局は、通信チャネルを子
局に割り当てる。子局は、割り当てられた通信チャネル
を用いて親局と通信を行う。かかる通信チャネルを割り
当てる方法の1つであるポーリング方式は、親局が送信
メッセージの有無を子局に問い合わせる方式である。し
かしながら、従来より、通信システム内に多くの子局を
収容しようとした場合、ある子局で送信メッセージが発
生してから、実際に当該メッセージが送信されるまで長
時間要するという問題が指摘されていた。
2. Description of the Related Art In recent years, the integration of broadcasting and communication has progressed along with the deregulation of both, and two-way communication experiments using a cable television network or the like have been conducted. In a communication system using a point-to-multipoint line configuration such as a cable television system, a master station allocates communication channels to slave stations. The slave station communicates with the master station using the assigned communication channel. The polling method, which is one of the methods for allocating such a communication channel, is a method in which a master station inquires of a slave station whether or not there is a transmission message. However, conventionally, when a large number of slave stations are to be accommodated in a communication system, a problem has been pointed out that it takes a long time after a transmission message is generated in a certain slave station until the message is actually transmitted. Was.

【0003】かかる問題に対処し、かつ通信システム内
に多くの子局を収容するために、次のような方法が考え
られる。つまり、子局をいくつかのグループに分割し、
各グループに専用の通信チャネルを割り当てる。そし
て、親局は、そのグループ毎に送信メッセージの有無を
問い合わせるという方法である。
In order to deal with such a problem and accommodate a large number of slave stations in a communication system, the following method is conceivable. In other words, the slave station is divided into several groups,
Assign a dedicated communication channel to each group. Then, the master station inquires of each group whether or not there is a transmission message.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
ような方法を適用した場合、あるグループ(以下、「第
1のグループ」という)には、送信メッセージを有する
子局が多く、他のグループ(以下、「第2のグループ」
という)には、送信メッセージを有する子局が少ないと
いう状況が起こりうる。つまり、グループ間相互でトラ
フィック差が生じる。そのため、第1のグループに属す
る子局において送信メッセージが発生してから、それが
実際に送信されるまで長時間要するという問題が生じ
る。また、第2のグループに割り当てられた通信チャネ
ルが利用されていないにもかかわらず、第1のグループ
に割り当てられた通信チャネルのトラフィックが輻輳状
態に陥った場合であっても、第1のグループに属する子
局は、当該第1のグループに割り当てられた通信チャネ
ルが空くまで通信を行えない。したがって、第1のグル
ープに属する子局のレスポンスとスループットが、第2
のグループに属する子局と比較して、著しく低下してし
まうという問題が生じる。すなわち、上述した方法で
は、通信システムにおける通信チャネル(周波数等)の
利用率が悪くなるという問題を生じることとなる。
However, when the above-described method is applied, a certain group (hereinafter, referred to as a "first group") has many slave stations having a transmission message and another group (hereinafter referred to as a "first group"). Hereinafter, the "second group"
), There may be a situation where there are few slave stations having transmission messages. That is, a traffic difference occurs between the groups. Therefore, there is a problem that it takes a long time from when a transmission message is generated in a slave station belonging to the first group to when the transmission message is actually transmitted. Further, even when the traffic of the communication channel assigned to the first group falls into a congested state even though the communication channel assigned to the second group is not used, the first group Are unable to communicate until the communication channel allocated to the first group becomes free. Therefore, the response and the throughput of the slave stations belonging to the first group are equal to the second station.
In this case, there is a problem that the number of mobile stations significantly decreases as compared with the slave stations belonging to the group. That is, the above-described method causes a problem that the utilization rate of the communication channel (frequency, etc.) in the communication system is deteriorated.

【0005】それゆえに、本発明の目的は、通信システ
ムにおいて、通信チャネルを効率的に利用し、当該通信
システムに収容される子局のレスポンスとスループット
を向上させることができるアクセス制御方法を提供する
ことである。
[0005] Therefore, an object of the present invention is to provide an access control method capable of efficiently using a communication channel in a communication system and improving the response and throughput of a slave station accommodated in the communication system. That is.

【0006】[0006]

【課題を解決するための手段及び発明の効果】この目的
を達成するために、以下の各発明は、以下に述べるよう
な手段を有しており、それによって、以下のような効果
を奏する。
Means for Solving the Problems and Effects of the Invention In order to achieve this object, the following inventions have the means described below, and have the following effects.

【0007】第1の発明は、親局と複数の子局とが、双
方向通信可能な通信システムにおいて、当該子局から当
該親局へのアクセスを制御するための方法であって、親
局は、下り信号を送出するために下りチャネルを使用可
能であり、各子局は、上り信号を送出するために複数の
上りチャネルを使用可能である。親局は、現在空いてい
る上りチャネル(以下、「空きチャネル」という)を検
出し、検出した空きチャネルに相当する数の子局を選択
し、選択した子局に対して、空きチャネルを個別的に割
り当て、選択した子局に割り当てた空きチャネルを通知
するための下り信号を作成して下りチャネルに送出す
る。また、子局は、下りチャネルから入力した下り信号
によって、上りチャネルが自局に割り当てられているか
否かを判断する。
A first invention is a method for controlling access from a slave station to the master station in a communication system in which the master station and a plurality of slave stations are capable of two-way communication. Can use a downlink channel to transmit a downlink signal, and each slave station can use a plurality of uplink channels to transmit an uplink signal. The master station detects a currently available uplink channel (hereinafter, referred to as an “empty channel”), selects a number of slave stations corresponding to the detected idle channel, and individually assigns the idle channels to the selected slave stations. A downlink signal for notifying the allocated and selected slave station of the vacant channel is created and transmitted to the downlink channel. In addition, the slave station determines whether an uplink channel is allocated to the own station based on a downlink signal input from the downlink channel.

【0008】第1の発明では、親局は、空きチャネルが
生じる毎に子局を選択し、当該空きチャネルを選択した
子局に個別的に割り当てる。そのため、親局は、たと
え、ある子局がある上りチャネルを長時間使用して通信
を行ったとしても、他に空きチャネルが生じれば、他の
子局に上りチャネルを割り当てることができる。これに
よって、上りチャネルは、常にいずれかの子局に割り当
てられていることとなり、上りチャネルのトラフィック
が輻輳状態に陥ることによる影響は、ある特定の子局に
及ぶのではなく、すべての子局に分散的に及ぶこととな
る。そのため、通信システムに収容されるすべての子局
のレスポンスとスループットが向上する。
In the first invention, the master station selects a slave station every time an idle channel is generated, and individually assigns the idle channel to the selected slave station. Therefore, even if a certain slave station performs communication using a certain uplink channel for a long time, the master station can allocate an uplink channel to another slave station if another free channel occurs. As a result, the uplink channel is always allocated to one of the slave stations, and the effect of the traffic of the uplink channel in a congested state is distributed to all slave stations, not to a specific slave station. Will be extended. Therefore, the response and throughput of all slave stations accommodated in the communication system are improved.

【0009】第2の発明は、親局と複数の子局とが、双
方向通信可能な通信システムにおいて、当該子局から当
該親局へのアクセスを制御するための方法であって、親
局は、下り信号を送出するために下りチャネルを使用可
能であり、各子局は、上り信号を送出するために複数の
上りチャネルを使用可能である。親局は、現在空いてい
る上りチャネル(以下、「空きチャネル」という)を検
出し、 検出した空きチャネルを子局に通知するため
の下り信号を作成して下りチャネルに送出する。また、
子局は、下りチャネルから入力した下り信号によって、
現在空きチャネルである上りチャネルを認識し、当該空
きチャネルに上り信号を送出する。
A second invention is a method for controlling access from a slave station to the master station in a communication system in which the master station and a plurality of slave stations are capable of two-way communication. Can use a downlink channel to transmit a downlink signal, and each slave station can use a plurality of uplink channels to transmit an uplink signal. The master station detects a currently vacant uplink channel (hereinafter referred to as an “empty channel”), creates a downlink signal for notifying the detected vacant channel to the slave station, and sends it to the downlink channel. Also,
The slave station uses the downlink signal input from the downlink channel to
It recognizes the upstream channel that is currently a free channel and sends an upstream signal to the free channel.

【0010】第2の発明では、親局は、検出した空きチ
ャネルの情報を、即座に子局に通知しているので、上り
チャネル上のトラフィックが輻輳状態に陥ることを防止
している。しかも、子局は、親局によって検出された空
きチャネルを使用して上り信号を送出するので、たとえ
他の上りチャネルのトラフィックが輻輳状態に陥ったと
しても、その影響は、すべての子局に分散的に及ぶこと
となる。そのため、通信システムに収容されるすべての
子局のレスポンスとスループットが向上する。
In the second invention, the master station immediately notifies the slave station of the information on the detected empty channel, thereby preventing traffic on the upstream channel from becoming congested. Moreover, since the slave station transmits an uplink signal using the idle channel detected by the master station, even if traffic of another uplink channel is congested, the effect is exerted on all slave stations. It will be distributed. Therefore, the response and throughput of all slave stations accommodated in the communication system are improved.

【0011】[0011]

【発明の実施の形態】図1は、本発明の第1の実施形態
に係るアクセス制御方法を適用した通信システムの全体
構成を示すブロック図である。図1において、通信シス
テムには、親局1と、11台の子局2(図示は4台)と
が、伝送路3を介して接続されている。この伝送路3に
は、下りフレームを親局1が送出するための下りチャネ
ルと、上りフレームを子局2が送出するための5つの上
りチャネルch1 〜ch5 とが設定されている。5つの
上りチャネルには、互いに別々の周波数帯域が割り当て
られている。つまり、本通信システムでは、周波数分割
多重方式が用いられる。また、子局2には、互いに重複
しない子局アドレス(「a」〜「k」)が予め与えられ
ている。なお、以下の説明では、子局アドレス「a」が
与えられた子局2を、子局2aと記す。他の子局2も同
様に、子局2b〜2kと記す。
FIG. 1 is a block diagram showing an overall configuration of a communication system to which an access control method according to a first embodiment of the present invention is applied. In FIG. 1, a master station 1 and eleven slave stations 2 (four in the figure) are connected to a communication system via a transmission line 3. The transmission path 3, and downlink channel for transmitting the downstream frame master station 1, and five uplink channels ch 1 to CH 5 for sending an uplink frame slave station 2 is set. Different frequency bands are assigned to the five uplink channels. That is, the present communication system uses the frequency division multiplexing method. The slave station 2 is given in advance slave station addresses (“a” to “k”) that do not overlap with each other. In the following description, the slave station 2 to which the slave station address “a” is given is referred to as a slave station 2a. The other slave stations 2 are similarly described as slave stations 2b to 2k.

【0012】図2は、図1に示す親局1の構成を示すブ
ロック図である。図2において、親局1は、メモリ部1
1と、下りフレーム作成/送出部12と、上りフレーム
受信部13とを備える。メモリ部11は、アドレステー
ブル111と、受信コマンド112と、衝突検出コマン
ド113と、データエラーコマンド114と、送信可コ
マンド115とを、所定のアドレス領域に格納してい
る。まず、アドレステーブル111について説明する。
本通信システムでは、空きチャネル(後述)を子局に割
り当てるための順序が予め定められている。アドレステ
ーブル111は、順番と子局アドレスを対応させて格納
する。より具体的には、図3に示すように、順番「1」
〜「11」を付けられた子局アドレス「a」〜「k」が
アドレステーブル111に格納される。なお、上述した
4つのコマンド、受信コマンド112、衝突検出コマン
ド113、データエラーコマンド114、および送信可
コマンド115については、後で明らかになるので、こ
こでは説明を省略する。下りフレーム作成/送出部12
は、下りフレームを作成し、下りチャネルに送出する。
なお、下りフレームの作成手順については、図8、図9
および図11を参照し、後で述べるので、ここでは省略
する。
FIG. 2 is a block diagram showing a configuration of master station 1 shown in FIG. In FIG. 2, the master station 1 is a memory unit 1
1, a downstream frame creation / transmission unit 12, and an upstream frame reception unit 13. The memory unit 11 stores an address table 111, a reception command 112, a collision detection command 113, a data error command 114, and a transmission enable command 115 in a predetermined address area. First, the address table 111 will be described.
In the present communication system, an order for allocating an empty channel (to be described later) to a slave station is predetermined. The address table 111 stores the order and the slave station address in association with each other. More specifically, as shown in FIG.
The slave station addresses “a” to “k” assigned to “−11” are stored in the address table 111. Note that the above-described four commands, the reception command 112, the collision detection command 113, the data error command 114, and the transmission enable command 115 will be clarified later, and thus description thereof will be omitted. Downstream frame creation / transmission unit 12
Creates a downlink frame and sends it to the downlink channel.
Note that the procedure for creating a downlink frame is described in FIGS.
11 and will be described later with reference to FIG.

【0013】ここで、図4は、下りフレームの構成を示
す図である。図4において、下りフレームは、16スロ
ット(32bit/スロット)を1フレームとして構成
され、ヘッダスロットと、5つのアドレススロットAS
1 〜AS5 と、メッセージスロットとを含む。ヘッダス
ロットには、プリアンブルや同期パターン(図4には
「UW」(Unique Word)と示している)等
が格納される。同期パターンUWは、所定のビットパタ
ーンを有しており、各種の同期を確立するために用いら
れる。アドレススロットAS1 〜AS5 にはそれぞれ、
1つの子局アドレス、または、1つのコマンドが設定さ
れる。本通信システムでは、アドレススロットAS1
AS5 は、上りチャネルch1 〜ch5 に対応してい
る。例えば、アドレススロットAS1 に子局アドレス
「a」が設定されることは、親局1が子局2aに上りチ
ャネルch1 を割り当てることを意味する。メッセージ
スロットには、親局1から子局2へのメッセージが格納
される。これによって、親局1から子局2へデータを送
信することが可能になるが、本発明の趣旨とは関連性が
ないため、メッセージスロットの説明を省略する。ま
た、プリアンブルや同期パターンUW、アドレススロッ
トAS1 〜AS5 およびメッセージスロットは、図4に
示すように、下りフレームにおいて予め定められたビッ
ト位置に設定される。
FIG. 4 is a diagram showing the structure of a downlink frame. In FIG. 4, the downlink frame is configured with 16 slots (32 bits / slot) as one frame, and includes a header slot and five address slots AS.
And 1 ~AS 5, and a message slot. The header slot stores a preamble, a synchronization pattern (shown as “UW” (Unique Word) in FIG. 4), and the like. The synchronization pattern UW has a predetermined bit pattern and is used to establish various types of synchronization. Address slots AS 1 to AS 5 respectively
One slave station address or one command is set. In the present communication system, the address slots AS 1 to AS 1
AS 5 corresponds to the up channel ch 1 ~ch 5. For example, setting the slave station address “a” in the address slot AS 1 means that the master station 1 allocates the upstream channel ch 1 to the slave station 2 a. A message from the master station 1 to the slave station 2 is stored in the message slot. This allows data to be transmitted from the master station 1 to the slave station 2, but has no relevance to the gist of the present invention, and a description of the message slot is omitted. Also, a preamble and synchronization pattern UW, the address slots AS 1 ~AS 5 and message slots, as shown in FIG. 4, are set to predetermined bit positions in the downstream frame.

【0014】また、図5は、子局アドレスおよび各種コ
マンドのビット構成を示す図である。図5(a)は、子
局アドレスのビット構成を示している。前述したよう
に、子局アドレス「a」〜「k」は、互いに重複しない
ように子局2に与えられる。しかし、実際の通信システ
ムには、多くの子局2が収容されるので、実際の各子局
アドレスは、図5(a)に示すように、32bitの2
進数で表現されており、先頭の1bitを「0」とし、
残りの31bitを用い、互いに重複しないように構成
される。また、図5(b)は、各種コマンドのビット構
成を示している。これらのコマンドはいずれも、図5
(b)に示すように、32ビットの2進数で表現されて
おり、先頭の1bitを「1」とし、最後の2bitを
「1」、「0」とされる。そして、各コマンドにおける
残りの29bitは、互いに異なるビットパターンとさ
れる。つまり、受信コマンド112、衝突検出コマンド
113、データエラーコマンド114および送信可コマ
ンド115は、互いに異なるビット構成を有する。
FIG. 5 is a diagram showing a bit configuration of a slave station address and various commands. FIG. 5A shows the bit configuration of the slave station address. As described above, the slave station addresses “a” to “k” are given to the slave station 2 so as not to overlap each other. However, since many slave stations 2 are accommodated in an actual communication system, the actual address of each slave station is, as shown in FIG.
It is expressed in hexadecimal, with the first 1 bit being “0”,
The remaining 31 bits are used so as not to overlap each other. FIG. 5B shows a bit configuration of various commands. Each of these commands is
As shown in (b), it is represented by a 32-bit binary number, with the first 1 bit being “1” and the last 2 bits being “1” and “0”. The remaining 29 bits in each command have different bit patterns. That is, the reception command 112, the collision detection command 113, the data error command 114, and the transmission enable command 115 have different bit configurations.

【0015】ここで、再度、図2を参照して説明をす
る。上りフレーム受信部13は、上りチャネルの数に相
当する、第1〜第5の上りフレーム受信部131〜13
5を含んでいる(ただし、図示は3つ)。第1〜第5の
上りフレーム受信部131〜135は、上りチャネルc
1 〜ch5 上を伝送されてくる上りフレームについ
て、以下に説明する処理を実行する。なお、以下には、
第1の上りフレーム受信部131の処理を説明し、第2
〜第5の上りフレーム受信部132〜135は、第1の
上りフレーム131と同様の処理を実行するため、それ
らの説明を省略する。まず、第1の上りフレーム受信部
131は、内部に有する比較器(図示せず)を用い、上
りフレームが上りチャネルch1 上を伝送されてくるか
どうかを、下りフレームが送出された後、第1の所定時
間の間だけ監視する。ここで、第1の所定時間とは、上
りフレームが子局から親局に到達するまでの遅延時間等
を考慮した時間である。比較器は、参照信号と上りチャ
ネルch1 からの受信信号とのレベルを比較する。この
参照信号は、予め定められた一定レベルを有する。比較
器は、受信信号レベルが一定レベル未満から一定レベル
以上に変化したことを検出すると、第1の比較出力を出
力する。つまり、第1の比較出力は、第1の上りフレー
ム受信部131が、上りフレームの先頭を検出したこと
を示すための情報である。また、比較器は、上りフレー
ムの先頭を検出できなかった場合であって、第1の所定
時間が経過した時点において、受信信号のレベルが参照
信号のレベル以上であることを検出すると、第2の比較
出力を出力し、また、その時点において、受信信号のレ
ベルが参照信号のレベル未満であることを検出すると、
第3の比較出力を出力する。第2の比較出力は、上りチ
ャネルch1 上に上りフレームが継続的に送出されてい
ることを示すための情報である。また、第3の比較出力
は、上りチャネルch1 が空きチャネルであることを示
すための情報である。このようにして、第1の上りフレ
ーム受信部131は、上りチャネルch1 上に上りフレ
ームが送出されているか否かを監視する。また、第1の
上りフレーム受信部131は、上りフレームの先頭を検
出すると、同期パターンUWの検出を実行する。同期パ
ターンUWの検出は、上りフレームの先頭が検出された
時点から、第2の所定時間の間だけ行われる。第2の所
定時間とは、上りフレームにおいて、その先頭から同期
パターンUWが格納されていると推測されるビット位置
までの距離を参照して定められる。第1の上りフレーム
受信部131は、第2の所定時間の間に同期パターンU
Wを検出すると、その旨を示す第1の受信情報(UW検
出)を出力し、また、それを検出できなかった場合、そ
の旨を示す第1の受信情報(UW不検出)を当該第2の
所定時間が経過した時点で出力する。第1の上りフレー
ム受信部131は、上りフレームが継続的に送出されて
いると判断した場合、各フレームに対してFCS(Fr
ame Check Sequence)を実行し、各
上りフレームが上りチャネルch1 上をデータエラーな
く、正しく伝送されてきていると判断すると、その旨を
示す第2の受信情報(正常)を出力する。一方、第1の
上りフレーム受信部131は、上りフレームにデータエ
ラーが生じていると判断すると、その旨を示す第2の受
信情報(エラー)を出力する。第1の上りフレーム受信
部131は、その他にも、上りフレームからメッセージ
を取り出したりするが、本発明の趣旨とは関係がないの
で、その説明を省略する。
Here, description will be made again with reference to FIG. Uplink frame receiving sections 13 correspond to first to fifth uplink frame receiving sections 131 to 13 corresponding to the number of uplink channels.
5 (however, three are shown). The first to fifth uplink frame receiving units 131 to 135 are connected to the uplink channel c
For uplink frame that is transmitted to h 1 to CH 5 above, it executes the process described below. In addition, below
The processing of the first uplink frame receiving unit 131 will be described, and the second
The fifth to fifth uplink frame receiving units 132 to 135 execute the same processing as the first uplink frame 131, and thus the description thereof will be omitted. First, a first upstream frame receiving unit 131, using a comparator (not shown) included therein, after the uplink frame whether transmitted thereto an uplink channel ch 1 above, the downlink frame is sent, Monitor only during a first predetermined time. Here, the first predetermined time is a time in consideration of a delay time or the like until the upstream frame reaches the master station from the slave station. Comparator compares the reference signal and the level of the received signal from the up channel ch 1. This reference signal has a predetermined constant level. The comparator outputs a first comparison output when detecting that the received signal level has changed from less than a certain level to more than a certain level. That is, the first comparison output is information indicating that the first uplink frame receiving unit 131 has detected the head of the uplink frame. Further, when the comparator does not detect the head of the uplink frame and detects that the level of the received signal is equal to or higher than the level of the reference signal when the first predetermined time has elapsed, the second comparator Is output, and at that time, when it is detected that the level of the received signal is lower than the level of the reference signal,
And outputting a third comparison output. The second comparison output is information for indicating that the uplink frame is continuously sent on the uplink channel ch 1. The third comparison output is information for indicating that uplink channel ch 1 is empty channel. In this way, the first uplink frame receiving unit 131 monitors whether the uplink frame is sent onto the upstream channel ch 1. Further, when detecting the head of the upstream frame, the first upstream frame receiving unit 131 executes the detection of the synchronization pattern UW. The detection of the synchronization pattern UW is performed only for a second predetermined time from the time when the head of the upstream frame is detected. The second predetermined time is determined with reference to the distance from the head of the upstream frame to the bit position where the synchronization pattern UW is assumed to be stored. The first uplink frame receiving section 131 sets the synchronization pattern U during the second predetermined time.
When W is detected, the first reception information (UW detection) indicating that fact is output, and when it is not detected, the first reception information (UW non-detection) indicating that fact is output to the second reception information. Is output when a predetermined time has elapsed. When the first upstream frame receiving unit 131 determines that the upstream frame is continuously transmitted, the first upstream frame receiving unit 131 performs FCS (Fr
Run the ame the Check Sequence), each upstream frame data without errors up channel ch 1 above, if it is determined that it has been correctly transmitted, and outputs the second reception information indicating that (normal). On the other hand, when the first uplink frame receiving section 131 determines that a data error has occurred in the uplink frame, it outputs second reception information (error) indicating the fact. The first upstream frame receiving unit 131 also extracts a message from the upstream frame, but does not relate to the gist of the present invention, and a description thereof will be omitted.

【0016】図6は、子局2(図1参照)の詳細な構成
を示すブロック図である。図6において、子局2は、コ
マンド/アドレス検出部21と、上りフレーム作成/送
出部22とを備えており、親局1によって上りフレーム
を送出してもよいと通知された空きチャネルを用いて上
りフレームを送出する。コマンド/アドレス検出部21
の動作については、図10を参照し、後で述べるので、
ここでは省略する。ここで、上りフレーム作成/送出部
22が上りフレームを作成する際の手順について概説す
る。子局2は、例えば、映像データや音声データである
送信データを生成する。送信データは、子局2が内部に
備えるバッファメモリ(図示せず)に格納される。上り
フレーム作成/送出部22は、バッファメモリ内の送信
データを120bit毎に分割し、最初の120bit
に相当する送信データには8bitのヘッダを付加し
て、上りフレームを構成するが(図7(a)参照)、そ
れ以降の送信データには8bitのFCSを付加して、
上りフレームを構成する(図7(b)参照)。
FIG. 6 is a block diagram showing a detailed configuration of the slave station 2 (see FIG. 1). In FIG. 6, the slave station 2 includes a command / address detection unit 21 and an upstream frame creation / transmission unit 22, and uses a vacant channel notified that the parent station 1 may transmit an upstream frame. And sends an upstream frame. Command / address detector 21
The operation of will be described later with reference to FIG.
Here, it is omitted. Here, an outline of the procedure when the upstream frame creation / transmission unit 22 creates an upstream frame will be described. The slave station 2 generates transmission data that is, for example, video data or audio data. The transmission data is stored in a buffer memory (not shown) provided in the slave station 2. The upstream frame creation / transmission unit 22 divides the transmission data in the buffer memory into 120 bits, and
An 8-bit FCS is added to the transmission data corresponding to the above-mentioned transmission data by adding an 8-bit header to the transmission data (see FIG. 7A).
An upstream frame is configured (see FIG. 7B).

【0017】上述のような通信システムでは、親局1
は、下りフレームを用いて各子局2からのアクセスを制
御する。ここで、図8は、フレーム作成/送出部12が
下りフレームを作成する際の動作手順を示すフローチャ
ートである。初期的な状態では、上りフレームは、上り
チャネルch1 〜ch5 にも送出されていない。この状
況では、第1〜第5の上りフレーム受信部131〜13
5は、同期パターンUWの検出およびFCSを実行しな
いので、第3の比較出力のみを出力する。なお、第1〜
第5の上りフレーム受信部131〜135は、所定のタ
イミングで、比較出力等を下りフレーム作成/送出部1
2に出力する。それぞれのタイミングについては、後で
明らかになるので、ここでは述べない。また、以下、比
較出力、第1の受信情報および第2の受信情報の組合せ
をステータス情報という。このような状況下で、下りフ
レーム作成/送出部12は、第1回目の下りフレームを
作成する。下りフレーム作成/送出部12は、モードフ
ラグmode、カウンタC1、C2およびT、スロット
ポインタmならびにアドレスポインタn(図示せず)を
含んでおり、モードフラグmode、ならびにカウンタ
C1、C2およびTをそれぞれ「0」に、さらに、アド
レスポインタnを「1」に設定する(図8;ステップS
1)。ここで、モードフラグmodeは、下りフレーム
作成/送出部12がコンテンションモード(後述するス
テップS3)に進むか、ポーリングモード(後述するス
テップS9)に進むかを判断するためのフラグであり、
「0」または「1」の値をとる。また、カウンタC1
は、通信衝突が生じている上りチャネルの数を計数する
ためのカウンタであり、カウンタC2は、空きチャネル
の数を計数するためのカウンタである。ここで、空きチ
ャネルとは、上りフレームが送出されていない(データ
通信が行われていない)上りチャネルのことをいう。さ
らに、カウンタTは、通信衝突数および空きチャネル数
を計数するための時間区間を計測するためのカウンタで
ある。アドレスポインタnは、上述したアドレステーブ
ル111における順番「n」を指示して、アドレススロ
ットASに設定すべき子局アドレスを指定する。そのた
め、本通信システムでは、アドレスポインタnは、
「1」〜「11」までを1ずつカウントアップする。な
お、スロットポインタmについては、後で必要となる箇
所において述べる。次に、下りフレーム作成/送出部1
2は、モードフラグmodeが「0」を示しているか否
かを判断し(ステップS2)、「0」を示している場合
には、コンテンションモードで下りフレームを作成する
方がよいと判断し、ステップS3に進む。一方、下りフ
レーム作成/送出部12は、モードフラグmodeが
「0」を示していない場合(「1」の場合)には、ポー
リングモードで下りフレームを作成する方がよいと判断
し、後述するステップS9に進む。現時点では、上述か
ら明らかなように、下りフレーム作成/送出部12はス
テップS3に進む。
In the communication system described above, the master station 1
Controls access from each slave station 2 using a downstream frame. Here, FIG. 8 is a flowchart showing an operation procedure when the frame creation / transmission unit 12 creates a downstream frame. The initial state, the uplink frame is not also sent to the uplink channel ch 1 ~ch 5. In this situation, the first to fifth uplink frame receiving units 131 to 13
No. 5 outputs only the third comparison output because the detection of the synchronization pattern UW and the execution of FCS are not performed. Note that the first to first
The fifth upstream frame receiving units 131 to 135 transmit the comparison output and the like at a predetermined timing to the downstream frame generation / transmission unit 1.
Output to 2. The respective timings will not be described here because they will be clarified later. Hereinafter, a combination of the comparison output, the first reception information, and the second reception information is referred to as status information. Under such circumstances, the downlink frame creation / transmission unit 12 creates a first downlink frame. The downstream frame creation / transmission unit 12 includes a mode flag mode, counters C1, C2, and T, a slot pointer m, and an address pointer n (not shown), and stores the mode flag mode, and the counters C1, C2, and T, respectively. It is set to "0" and the address pointer n is set to "1" (FIG. 8; step S
1). Here, the mode flag mode is a flag for determining whether the downlink frame creation / transmission unit 12 proceeds to the contention mode (step S3 described later) or the polling mode (step S9 described later).
Takes a value of "0" or "1". Also, the counter C1
Is a counter for counting the number of uplink channels in which communication collision has occurred, and the counter C2 is a counter for counting the number of empty channels. Here, an empty channel refers to an uplink channel to which no uplink frame is transmitted (data communication is not performed). Further, the counter T is a counter for measuring a time section for counting the number of communication collisions and the number of free channels. The address pointer n indicates the order “n” in the address table 111, and specifies a slave station address to be set in the address slot AS. Therefore, in the present communication system, the address pointer n is
"1" to "11" are counted up by one. The slot pointer m will be described later where necessary. Next, the downstream frame creation / transmission unit 1
2 judges whether or not the mode flag mode indicates “0” (step S2), and when it indicates “0”, judges that it is better to create a downstream frame in the contention mode. Then, the process proceeds to step S3. On the other hand, when the mode flag mode does not indicate “0” (“1”), the downlink frame creation / transmission unit 12 determines that it is better to create a downlink frame in the polling mode, and will be described later. Proceed to step S9. At this time, as is clear from the above, the downstream frame creation / transmission unit 12 proceeds to step S3.

【0018】ここで、コンテンションモードと、ポーリ
ングモードとの相違点について簡単に説明する。コンテ
ンションモードは、複数の子局2が1つの空きチャネル
に上りフレームを送出できるので、ポーリングモードよ
りも、通信衝突が起こりやすいという特質を持つ。しか
し、コンテンションモードは、各子局2が上りフレーム
を空きチャネルに自由に送出するので、ポーリングモー
ドよりもレスポンスが一般的に高くなるという特質を持
つ。一方、ポーリングモードは、送信データを保有する
か否かに関わらず、1つの子局2に1つの空きチャネル
を親局1が割り当てるので、コンテンションモードより
も、レスポンスが低くなるという特質を持つ。しかし、
ポーリングモードは、原則として、1つの上りチャネル
上に、複数の子局2が上りフレームを送出することがな
いので、コンテンションモードよりも、通信衝突が起こ
りにくいという性質を持つ。しかし、空きチャネル数が
相対的に多い場合には、コンテンションモードで下りフ
レームを作成しても通信衝突が起こりにくく、レスポン
スが高くなると考えられる。そのため、すべての上りチ
ャネルが空きチャネルである初期状態では、モードフラ
グmodeが「0」に設定され、コンテンションモード
で下りフレームが作成されるようにしておくことが好ま
しい。一方、空きチャネルが相対的に少ない場合には、
通信衝突が起こりにくいポーリングモードの方が、コン
テンションモードよりもレスポンスが高くなると考えら
れる。
Here, the difference between the contention mode and the polling mode will be briefly described. The contention mode has a characteristic that a communication collision is more likely to occur than in the polling mode because the plurality of slave stations 2 can transmit an upstream frame to one free channel. However, the contention mode has the characteristic that the response is generally higher than in the polling mode because each slave station 2 freely sends an upstream frame to an empty channel. On the other hand, the polling mode has the characteristic that the response is lower than in the contention mode because one free channel is assigned to one slave station 2 regardless of whether or not transmission data is held. . But,
In principle, the polling mode has a property that communication collisions are less likely to occur than in the contention mode, since a plurality of slave stations 2 do not transmit an uplink frame on one uplink channel. However, when the number of vacant channels is relatively large, communication collision hardly occurs even if a downlink frame is created in the contention mode, and the response is considered to be high. Therefore, in an initial state where all uplink channels are empty channels, it is preferable that the mode flag mode is set to “0” and a downlink frame is created in the contention mode. On the other hand, if there are relatively few free channels,
It is considered that the response is higher in the polling mode in which communication collision is less likely to occur than in the contention mode.

【0019】ここで、図9は、図8に示すステップS3
(コンテンションモード)の処理手順を詳細に示すフロ
ーチャートである。まず、下りフレーム作成/送出部1
2は、スロットポインタmを「1」に設定する(図9;
ステップS901)。スロットポインタmは、子局アド
レスまたは前述したコマンドを設定すべきアドレススロ
ットASを指定するポインタである。本通信システムで
は、5つのアドレススロットASが設定されているの
で、スロットポインタmは、「1」〜「5」までを1ず
つカウントアップする。なお、このとき、下りフレーム
作成/送出部12には、第mの上りフレーム受信部13
m(この「m」もスロットポインタmの指示値に対応す
る)からステータス情報が入力されているように、下り
フレーム作成/送出部12と上りフレーム受信部13と
の間でタイミングが制御される。現時点では、スロット
ポインタmが「1」を示しているので、第1の上りフレ
ーム受信部131から出力されたステータス情報が入力
される。次に、下りフレーム作成/送出部12は、スロ
ットポインタmが指定する上りチャネル(以下、「上り
チャネルchm 」と記す)からの受信信号のレベルが一
定レベル未満から一定レベル以上に変化したか否かを判
断する(ステップS902)。下りフレーム作成/送出
部12は、ステータス情報が第1の比較出力を含んでい
る場合、受信信号のレベルが変化したと判断し、後で述
べるステップS908に進むが、ステータス情報が第1
の比較出力を含んでいない場合、当該レベルが変化して
いないと判断し、ステップS903に進む。現時点で
は、上述したように、下りフレーム作成/送出部12
は、第1の上りフレーム受信部131から第3の比較出
力を受け取っているので、ステップS903に進む。次
に、下りフレーム作成/送出部12は、上りチャネルc
m からの受信信号のレベルが一定レベル未満か否かを
判断する(ステップS903)。下りフレーム作成/送
出部12は、ステータス情報が第2の比較出力を含んで
いる場合、受信信号のレベルが一定レベル以上であると
判断し、後で述べるステップS912に進むが、ステー
タス情報が第3の比較出力を含んでいる場合、当該レベ
ルが一定レベル未満であると判断し、ステップS904
に進む。現時点では、下りフレーム作成/送出部12
は、第3の比較出力を受け取っているので、ステップS
904に進む。次に、下りフレーム作成/送出部12
は、メモリ部11にアクセスして、送信可コマンド11
5を取り出した後、スロットポインタmにより指定され
るアドレススロットAS(以下、「アドレススロットA
m 」と記す)に、当該送信可コマンド115を設定す
る(ステップS904)。こうして、親局1は、各子局
2に上りチャネルchm が空きチャネルであることを通
知する。現時点では、スロットポインタmは「1」を示
しているので、送信可コマンド115がアドレススロッ
トAS1 に設定される。次に、下りフレーム作成/送出
部12は、すべてのアドレススロットASにいずれかの
コマンドを設定したか否かを判断する(ステップS90
5)。下りフレーム作成/送出部12は、すべてのアド
レススロットASにコマンドを設定したと判断すると、
後で述べるステップS907に進む。一方、下りフレー
ム作成/送出部12は、すべてのアドレススロットAS
にコマンドを設定していないと判断すると、ステップS
906に進む。本通信システムでは、5つのアドレスス
ロットが設定されているので、ステップS905での判
断は、スロットポインタmが「5」を示しているか否か
によって行われる。現時点では、スロットポインタmは
「1」を示しているので、下りフレーム作成/送出部1
2はステップS906に進む。次に、下りフレーム作成
/送出部12は、スロットポインタmを「m+1」に更
新し(ステップS906)、次のアドレススロットAS
に設定するコマンドを決定するために、ステップS90
2に戻る。現時点では、スロットポインタmは「1」か
ら「2」に更新される。このとき、下りフレーム作成/
送出部12には、更新された後のスロットポインタmの
指示値が表す、第mの上りフレーム受信部13mからス
テータス情報が入力されているように、タイミングが制
御されている。現時点では、第2の上りフレーム受信部
132から出力されたステータス情報が入力される。初
期状態では、すべての上りチャネルが空きチャネルであ
る。したがって、下りフレーム作成/送出部12は、ス
テップS902〜S906の順序で示される処理手順を
3回繰り返した後、ステップS902〜S905の順序
で示される処理手順を実行する。その結果、アドレスス
ロットAS2 〜AS5 にも、送信可コマンド115が設
定される。そして、下りフレーム作成/送出部12は、
スロットポインタmが「5」を示している場合に、ステ
ップS905を実行すると、ステップS907に進む。
次に、下りフレーム作成/送出部12は、プリアンブル
や同期パターンUWをヘッダスロットに、そして、場合
によってはメッセージをメッセージスロットに設定して
下りフレーム(図4参照)を組み立てた後、この下りフ
レームを下りチャネル上に送出し(ステップS90
7)、図8に示すステップS3を終了する。なお、この
下りフレームを受信する子局2の動作については、後で
述べる。
Here, FIG. 9 is a flowchart showing step S3 shown in FIG.
It is a flowchart which shows the processing procedure of (contention mode) in detail. First, the downstream frame creation / transmission unit 1
2 sets the slot pointer m to "1" (FIG. 9;
Step S901). The slot pointer m is a pointer that specifies a slave station address or an address slot AS in which the above-described command is to be set. In the present communication system, since five address slots AS are set, the slot pointer m counts up from “1” to “5” by one. At this time, the downlink frame creation / transmission unit 12 includes the m-th uplink frame reception unit 13
The timing is controlled between the downstream frame generation / transmission unit 12 and the upstream frame reception unit 13 so that status information is input from m (this “m” also corresponds to the indication value of the slot pointer m). . At this time, since the slot pointer m indicates “1”, the status information output from the first uplink frame receiving unit 131 is input. Next, the downlink frame creation / transmission unit 12 checks whether the level of the received signal from the uplink channel designated by the slot pointer m (hereinafter referred to as “uplink channel ch m ”) has changed from less than a certain level to more than a certain level. It is determined whether or not it is (step S902). When the status information includes the first comparison output, the downlink frame creation / transmission unit 12 determines that the level of the received signal has changed, and proceeds to step S908 described later.
If the comparison output is not included, it is determined that the level has not changed, and the process proceeds to step S903. At this time, as described above, the downlink frame creation / transmission unit 12
Has received the third comparison output from the first uplink frame receiving unit 131, the process proceeds to step S903. Next, the downlink frame creation / transmission unit 12 transmits the uplink channel c
level of the received signal from h m determines whether less than a predetermined level (step S903). If the status information includes the second comparison output, the downlink frame creation / transmission unit 12 determines that the level of the received signal is equal to or higher than a certain level, and proceeds to step S912 described later. In the case where the comparison output of No. 3 is included, it is determined that the level is less than the certain level, and step S904
Proceed to. At this time, the downstream frame creation / transmission unit 12
Has received the third comparison output, so step S
Proceed to 904. Next, the downstream frame creation / transmission unit 12
Accesses the memory unit 11 and sends the transmission enable command 11
5 is taken out, the address slot AS designated by the slot pointer m (hereinafter referred to as “address slot A
S m ) is set in the transmission permission command 115 (step S904). Thus, the master station 1 notifies the uplink channel ch m is free channel to each slave station 2. At this time, since the slot pointer m indicates “1”, the transmission enable command 115 is set in the address slot AS 1 . Next, the downstream frame creation / transmission unit 12 determines whether any command has been set for all address slots AS (step S90).
5). Upon determining that the command has been set in all the address slots AS, the downstream frame creation / transmission unit 12 determines
The process proceeds to step S907 described later. On the other hand, the downstream frame creating / sending unit 12 transmits all address slots AS
If it is determined that no command is set in step S
Proceed to 906. In the present communication system, since five address slots are set, the determination in step S905 is made based on whether or not the slot pointer m indicates “5”. At this time, since the slot pointer m indicates “1”, the downstream frame creation / transmission unit 1
2 proceeds to step S906. Next, the downlink frame creation / transmission unit 12 updates the slot pointer m to “m + 1” (Step S906), and then updates the next address slot AS.
In order to determine the command to be set to
Return to 2. At this time, the slot pointer m is updated from “1” to “2”. At this time,
The transmission unit 12 is controlled in timing so that status information is input from the m-th upstream frame receiving unit 13m, which is indicated by the updated value of the slot pointer m. At this time, the status information output from the second uplink frame receiving unit 132 is input. In the initial state, all uplink channels are empty channels. Therefore, after repeating the processing procedure shown in the order of steps S902 to S906 three times, the downlink frame creation / transmission unit 12 executes the processing procedure shown in the order of steps S902 to S905. As a result, the address slot AS 2 ~AS 5, Send command 115 is set. Then, the downstream frame creation / transmission unit 12
If step S905 is executed when the slot pointer m indicates “5”, the process proceeds to step S907.
Next, the downlink frame creation / transmission unit 12 sets the preamble and the synchronization pattern UW in the header slot, and in some cases, sets the message in the message slot, and assembles the downlink frame (see FIG. 4). Is transmitted on the downlink channel (step S90).
7), the step S3 shown in FIG. 8 ends. The operation of the slave station 2 that receives this downstream frame will be described later.

【0020】再度、図8を参照して説明する。次に、下
りフレーム作成/送出部12は、ステップS3を終了す
ると、カウンタC1が第1の所定値以上か否かを判断す
る(ステップS4)。ここで、第1の所定値は、モード
フラグmodeを「0」から「1」に更新するか否かを
判断するための値であり、上述したコンテンションモー
ド及びポーリングモードの特質を考慮しつつ、通信シス
テムの仕様に応じた妥当な値に設定される。以下、第1
の所定値を「3」と仮定して説明を行う。ステップS4
において、下りフレーム作成/送出部12は、カウンタ
C1が第1の所定値以上の数を示していると、ポーリン
グモードで下りフレームを作成する方がよいと判断し、
後で述べるステップS5に進む。一方、下りフレーム作
成/送出部12は、カウンタC1が第1の所定値未満の
数を示していると、コンテンションモードで下りフレー
ムを作成する方がよいと判断し、ステップS6に進む。
現時点では、カウンタC1の指示値「0」は第1の所定
値「3」以上ではないので、下りフレーム作成/送出部
12はステップS6に進む。次に、下りフレーム作成/
送出部12は、カウンタTの指示値を「T+1」に更新
した後(ステップS6)、カウンタTの指示値が第3の
所定値になったか否かを判断する(ステップS7)。下
りフレーム作成/送出部12は、カウンタTの指示値が
第3の所定値になったと判断すると、後で述べるステッ
プS8に進み、当該指示値が第3の所定値になっていな
いと判断すると、ステップS2に戻る。ここで、第3の
所定値は、通信衝突数および空きチャネル数を下りフレ
ーム作成/送出部12が計測する時間区間の終了を規定
するための数値である。つまり、本通信システムでは、
カウンタTが「0」から「第3の所定値」までをカウン
トする時間当たりの、通信衝突数または空きチャネル数
が計測される。なお、以下、第3の所定値を「3」と仮
定して説明を行う。現時点では、下りフレーム作成/送
出部12は、カウンタTを「0」から「1」に更新した
後(ステップS6)、カウンタTの指示値が第3の所定
値「3」になっていないので(ステップS7)、ステッ
プS2に戻る。
Description will be made again with reference to FIG. Next, when step S3 ends, the downstream frame creation / transmission unit 12 determines whether the counter C1 is equal to or greater than a first predetermined value (step S4). Here, the first predetermined value is a value for determining whether or not to update the mode flag mode from “0” to “1”. Is set to an appropriate value according to the specifications of the communication system. Hereinafter, the first
The description will be made assuming that the predetermined value of “3” is “3”. Step S4
In, when the counter C1 indicates a number equal to or more than the first predetermined value, the downlink frame creation / transmission unit 12 determines that it is better to create a downlink frame in the polling mode,
The process proceeds to step S5 described later. On the other hand, if the counter C1 indicates a number less than the first predetermined value, the downstream frame creation / transmission unit 12 determines that it is better to create a downstream frame in the contention mode, and proceeds to step S6.
At this time, since the indicated value “0” of the counter C1 is not equal to or more than the first predetermined value “3”, the downlink frame creation / transmission unit 12 proceeds to step S6. Next, create a downstream frame /
After updating the indicated value of the counter T to “T + 1” (step S6), the sending unit 12 determines whether the indicated value of the counter T has reached the third predetermined value (step S7). When determining that the indicated value of the counter T has reached the third predetermined value, the downstream frame creation / transmission unit 12 proceeds to step S8 described below, and determines that the indicated value has not reached the third predetermined value. Then, the process returns to step S2. Here, the third predetermined value is a numerical value for defining the end of the time section in which the downlink frame creation / transmission unit 12 measures the number of communication collisions and the number of free channels. That is, in this communication system,
The number of communication collisions or the number of free channels per time when the counter T counts from “0” to “third predetermined value” is measured. Hereinafter, the description will be made assuming that the third predetermined value is “3”. At this time, the downlink frame creation / transmission unit 12 updates the counter T from “0” to “1” (step S6), and then the indicated value of the counter T is not the third predetermined value “3”. (Step S7), returning to step S2.

【0021】ここで、本通信システムにおける子局2の
動作の一部分を、当該子局2の動作手順を示すフローチ
ャートである図10を参照して説明する。各子局2が内
部に備えるコマンド/アドレス検出部21は、「0」、
「1」または「2」の値をとる状態フラグSを含んでお
り、本通信システムの起動時に、状態フラグSを「0」
に設定する(ステップS101)。ここで、ある子局2
において、状態フラグSが「0」を示している場合は、
当該子局2が親局1への送信データを保有していないこ
とを意味する。また、ある子局2において、状態フラグ
Sが「1」を示している場合は、当該子局2が親局1へ
の送信データを保有しており、しかも当該データを先頭
から送信しなければならないことを意味する。さらに、
ある子局2において、状態フラグSが「2」を示してい
る場合は、当該子局2親局1に送信データを送信してい
る最中であることを意味する。次に、コマンド/アドレ
ス検出部21は、状態フラグSが「1」を示しているか
否かを判断し(ステップS102)、「1」を示してい
る場合には、後で述べるステップS106に進み、
「1」以外を示している場合にはステップS103に進
む。次に、各コマンド/アドレス検出部21は、状態フ
ラグSが「2」を示しているか否かを判断し(ステップ
S103)、「2」を示している場合には、後で述べる
ステップS111に進み、「2」以外を示している場合
(つまり「0」を示している場合)にはステップS10
4に進む。現時点では、すべての子局2の状態フラグS
は「0」を示しているので、すべてのコマンド/アドレ
ス検出部21は、ステップS102およびS103を実
行し、ステップS104に進む。次に、各コマンド/ア
ドレス検出部21は、各子局2が親局1に送信すべきデ
ータを保有しているか否かを判断する(ステップS10
4)。前述したように、子局2は、送信データを生成し
てバッファメモリに格納する。ステップS104の判断
は、バッファメモリに送信データが格納されているか否
かを検出することによって行われる。各コマンド/アド
レス検出部21は、バッファメモリに送信データが格納
されていない場合、ステップS102に戻る。つまり、
子局2は、送信データが発生するまで、状態フラグSを
「0」に設定した状態で待機する。コマンド/アドレス
検出部21は、送信データがバッファメモリに格納され
ている場合にはステップS105に進み、状態フラグS
を「1」に設定して、ステップS102に戻る。このよ
うに、各子局2は、送信データが発生すると、状態フラ
グSを「1」に設定した状態で、下りフレームが送信さ
れてくるのを待機する。今回の下りフレームは、すべて
の子局2のコマンド/アドレス検出部21によって受信
される。現時点では、各子局2の状態フラグSは、
「0」か「1」を示している。しかし、以下には、状態
フラグSが「1」を示している子局2の動作についての
み説明する。コマンド/アドレス検出部21は、下りチ
ャネルから下りフレームが伝送されてきた時点で、状態
フラグSが「1」を示していると(ステップS10
2)、ステップS106に進む。次に、コマンド/アド
レス検出部21は、自局の子局アドレスが、いずれかの
アドレススロットASに設定されているか否かを判断す
る(ステップS106)。しかし、子局アドレスは、前
述からも明らかなように、コンテンションモード(図
8;ステップS3参照)で作成された下りフレームには
設定されない。そのため、コマンド/アドレス検出部2
1はステップS107に進む。ステップS106につい
ては、後で必要となる箇所で詳細に説明する。次に、コ
マンド/アドレス検出部21は、今回受信した下りフレ
ームにおいて、送信可コマンドがどのアドレススロット
ASに設定されているか否かを検出する(ステップS1
07)。ステップS107での判断は、典型的には、以
下のように行われる。コマンド/アドレス検出部21
は、内部に有するレジスタ(図示せず)などに予め送信
可コマンドのビットパターンを保持しておく。コマンド
/アドレス検出部21は、このビットパターンが下りフ
レームのアドレススロットAS1 に設定されているもの
と一致するかどうかを比較し、一致する場合に、当該ア
ドレススロットAS1 に送信可コマンドが設定されてい
ると判断する。その後、アドレススロットAS2 〜AS
5 についても、同様の処理が行われる。コマンド/アド
レス検出部21は、アドレススロットASm に送信可コ
マンドが設定されていると、当該スロットASm に対応
する上りチャネルchm が空きチャネルであることを認
識する。そして、コマンド/アドレス検出部21は、い
ずれかのアドレススロットASに送信可コマンドが設定
されている場合ステップS108に進む。今回の下りフ
レームのアドレススロットAS1 〜AS5 には、送信可
コマンドが設定されているので、コマンド/アドレス検
出部21は、ステップS108に進む。なお、コマンド
/アドレス検出部21は、すべてのアドレススロットA
Sに送信可コマンドが設定されていない場合、空きチャ
ネルがないと判断してステップS102に戻り、新たな
下りフレームが送られてくるのを待機する。次に、コマ
ンド/アドレス検出部21は、送信可コマンドが設定さ
れているアドレススロットASの中から、1つのアドレ
ススロットASm をランダムに選択し(ステップS10
8)、当該スロットASm に対応する上りチャネルch
m を用いて上りフレームを送出するように上りフレーム
作成/送出部22に通知する(ステップS109)。そ
の後、コマンド/アドレス検出部21は、ステップS1
08で選択したアドレススロットASm を、使用チャネ
ル情報としてレジスタ(図示せず)にラッチしておく。
この使用チャネル情報は、後で述べるステップS111
で用いられる。ところで、上りフレーム作成/送出部2
2は、状態フラグSが「1」に設定された時点で、図7
(a)に示すような上りフレームを作成しており、これ
をコマンド/アドレス検出部21により通知された上り
チャネルchm に送出する。コマンド/アドレス検出部
21は、ステップS109を終えると、状態フラグSを
「1」から「2」に変更し(ステップS110)、上り
フレーム作成/送出部22が上りフレームを親局1に送
信している最中であることを示しておく。なお、以下の
説明を具体的にするため、第1回目の下りフレームに応
答して、子局2aが上りチャネルch1 に、子局2bが
上りチャネルch2 に、子局2cと子局2dとが上りチ
ャネルch5 に、子局2fと子局2jとが上りチャネル
ch4 に上りフレームを送出するものとする。また、上
りチャネルch5 には上りフレームは送出されないもの
とする。このような状況では、上りチャネルch1 上で
通信衝突が生じないので、子局2aが送出した上りフレ
ーム内の同期パターンUWは破壊されない。そのため、
第1の上りフレーム受信部131は、上りフレームの先
頭および同期パターンUWを検出でき、第1の比較出力
および第1の受信情報(UW検出)をステータス情報と
して出力する。また、上りチャネルch2 は、上りチャ
ネルch1 と同様の状況にあるので、第2の上りフレー
ム受信部132は、第1の上りフレーム受信部131と
同様のステータス情報を出力する。また、上りチャネル
ch3 上では通信衝突が生じるので、子局2cおよび子
局2dがそれぞれ送出した上りフレーム内の同期パター
ンUWは破壊される。そのため、第3の上りフレーム受
信部133は、上りフレームの先頭を検出できるが、同
期パターンUWを検出できず、第1の比較出力および第
1の受信情報(UW不検出)をステータス情報として出
力する。また、上りチャネルch4 は、上りチャネルc
3 と同様の状況にあるので、第4の上りフレーム受信
部134は、第3の上りフレーム受信部133と同様の
ステータス情報を出力する。さらに、第5の上りフレー
ム受信部135は、上りチャネルch5 が空きチャネル
であることから、第3の比較出力のみをステータス情報
として出力する。
Here, a part of the operation of the slave station 2 in the communication system will be described with reference to FIG. 10 which is a flowchart showing the operation procedure of the slave station 2. The command / address detection unit 21 provided in each slave station 2 has “0”,
A status flag S having a value of “1” or “2” is included. When the communication system is started, the status flag S is set to “0”.
Is set (step S101). Here, a certain child station 2
In the case where the status flag S indicates “0”,
This means that the slave station 2 does not hold data to be transmitted to the master station 1. If the status flag S indicates “1” in a certain slave station 2, the slave station 2 has data to be transmitted to the master station 1 and the data must be transmitted from the beginning. Means not to be. further,
When the status flag S indicates “2” in a certain slave station 2, it means that transmission data is being transmitted to the slave station 2 master station 1. Next, the command / address detection unit 21 determines whether or not the status flag S indicates “1” (step S102). If the status flag S indicates “1”, the process proceeds to step S106 described later. ,
If it indicates a value other than "1", the process proceeds to step S103. Next, each command / address detector 21 determines whether or not the status flag S indicates “2” (step S103). If the status flag S indicates “2”, the process proceeds to step S111 described later. Proceed to step S10 if it indicates a value other than “2” (that is, if it indicates “0”).
Proceed to 4. At present, the status flags S of all the slave stations 2
Indicates "0", so that all the command / address detection units 21 execute steps S102 and S103 and proceed to step S104. Next, each command / address detection unit 21 determines whether each slave station 2 has data to be transmitted to the master station 1 (step S10).
4). As described above, the slave station 2 generates transmission data and stores it in the buffer memory. The determination in step S104 is made by detecting whether transmission data is stored in the buffer memory. If no transmission data is stored in the buffer memory, each command / address detection unit 21 returns to step S102. That is,
The slave station 2 waits in a state where the state flag S is set to “0” until transmission data is generated. If the transmission data is stored in the buffer memory, the command / address detection unit 21 proceeds to step S105, and the status flag S
Is set to “1”, and the process returns to step S102. Thus, when transmission data is generated, each slave station 2 waits for a downstream frame to be transmitted with the status flag S set to “1”. The current down frame is received by the command / address detection units 21 of all the slave stations 2. At present, the status flag S of each slave station 2 is
Indicates “0” or “1”. However, only the operation of the slave station 2 whose status flag S indicates “1” will be described below. The command / address detection unit 21 determines that the status flag S indicates “1” at the time when the downlink frame is transmitted from the downlink channel (step S10).
2), proceed to step S106. Next, the command / address detection unit 21 determines whether or not the slave station address of the own station is set in any of the address slots AS (Step S106). However, the child station address is not set in the downstream frame created in the contention mode (see FIG. 8; step S3), as is clear from the above. Therefore, the command / address detection unit 2
1 proceeds to step S107. Step S106 will be described in detail later on where necessary. Next, the command / address detection unit 21 detects in the currently received downlink frame which address slot AS has the transmission enable command set (step S1).
07). The determination in step S107 is typically made as follows. Command / address detector 21
Stores the bit pattern of the transmission enable command in a register (not shown) or the like provided therein in advance. The command / address detection unit 21 compares whether or not this bit pattern matches the one set in the address slot AS 1 of the downstream frame. If the bit pattern matches, the transmission enable command is set in the address slot AS 1. It is determined that it has been done. Then, the address slots AS 2 to AS
The same processing is performed for 5 as well. Command / address detecting section 21, the Send command to the address slot AS m is set, it recognizes that uplink channel ch m corresponding to the slot AS m is empty channel. Then, the command / address detection unit 21 proceeds to step S108 when the transmission enable command is set in any of the address slots AS. The address slot AS 1 ~AS 5 of this downstream frame, since the Send command is set, the command / address detecting section 21 proceeds to step S108. It should be noted that the command / address detection unit 21 checks all address slots A
If the transmission enable command is not set in S, it is determined that there is no available channel, and the process returns to step S102 to wait for a new downlink frame to be sent. Next, the command / address detecting section 21, from among the address slots AS the Send command set, select an address slot AS m randomly (step S10
8), up channel ch corresponding to the slot AS m
The upstream frame creation / transmission unit 22 is notified to transmit the upstream frame using m (step S109). Thereafter, the command / address detection unit 21 determines in step S1
An address slot AS m selected in 08, previously latched in the register (not shown) as a used channel information.
This used channel information is stored in step S111 described later.
Used in By the way, the upstream frame creation / transmission unit 2
FIG. 7 shows the state when the status flag S is set to “1”.
Are prepared in the uplink frame as (a), the sending this to the uplink channel ch m that is notified by the command / address detecting portion 21. After step S109, the command / address detection unit 21 changes the status flag S from “1” to “2” (step S110), and the upstream frame creation / transmission unit 22 transmits the upstream frame to the master station 1. It is shown that it is in the middle of being. In order to give a specific description below, in response to the first downlink frame, the slave station 2a uplink channel ch 1, the slave station 2b is in the upstream channel ch 2, slave station 2c and the slave station 2d Doo is the uplink channel ch 5, it is assumed that the slave station 2f and the slave station 2j sends out an upstream frame to the uplink channel ch 4. Further, the uplink frame to the uplink channel ch 5 shall not be sent. In this situation, since the communication collision on the up channel ch 1 does not occur, the synchronization pattern UW in the uplink frame slave station 2a is sent is not destroyed. for that reason,
The first uplink frame receiving section 131 can detect the head of the uplink frame and the synchronization pattern UW, and outputs the first comparison output and the first reception information (UW detection) as status information. Further, the uplink channel ch 2, since in the same situation as the uplink channel ch 1, the second upstream frame receiving unit 132 outputs the same status information as the first uplink frame receiving unit 131. Further, since the communication collision on the up channel ch 3 occurs, the synchronization pattern UW in the uplink frame slave station 2c and the slave stations 2d were respectively transmitted is destroyed. Therefore, the third upstream frame receiving unit 133 can detect the head of the upstream frame but cannot detect the synchronization pattern UW, and outputs the first comparison output and the first reception information (UW non-detection) as status information. I do. Also, the uplink channel ch 4 is the uplink channel c
Since the similar situation as h 3, fourth upstream frame receiving unit 134 outputs the same status information as the third upstream frame receiving unit 133. A fifth upstream frame receiving unit 135, since the upstream channel ch 5 is empty channel, and outputs only the third comparison output as the status information.

【0022】現在、下りフレーム作成/送出部12は、
図8に示すステップS2に戻っており、モードフラグm
odeが「0」を示しているので、前回と同様にステッ
プS3に進む。下りフレーム作成/送出部12は、前回
の下りフレームを送出してから第2の所定時間が経過し
た直後に、ステップS3を実行するように予めタイミン
グを制御されている。ここで、第2の所定時間もまた、
上りフレームが子局2から親局1に到達するまでの遅延
時間等を考慮した時間であるが、前述した第1の所定時
間とは異なる。次に、下りフレーム作成/送出部12
は、スロットポインタmを「1」に設定し(図9;ステ
ップS901)、第1の上りフレーム受信部131から
のステータス情報に基づいて、アドレススロットAS1
に今回設定すべきコマンドを決定する。次に、下りフレ
ーム作成/送出部12は、現時点で、第1の比較出力を
受け取っているので、ステップS902を実行して、ス
テップS908に進む。次に、下りフレーム作成/送出
部12は、上りチャネルchm 上の上りフレームから同
期パターンUWが検出されたか否かを判断する(ステッ
プS908)。ステップS908における判断は、第1
の受信情報に基づいて行われる。具体的には、下りフレ
ーム作成/送出部12は、第1の受信情報(UW不検
出)を受け取っている場合、第mの上りフレーム受信部
13mが同期パターンUWを検出できなかったと判断
し、後で述べるステップS910に進む。一方、下りフ
レーム作成/送出部12は、第1の受信情報(UW検
出)を受け取っている場合、第mの上りフレーム受信部
13mが同期パターンUWを検出できたと判断し、ステ
ップS909に進む。現時点では、下りフレーム作成/
送出部12は、第1の上りフレーム受信部131から第
1の受信情報(UW検出)を受け取っているので、ステ
ップS909に進む。次に、下りフレーム作成/送出部
12は、メモリ部11にアクセスして、受信コマンド1
12を取り出した後、当該コマンド112をアドレスス
ロットASmに設定する(ステップS909)。これに
よって、親局1は、上りチャネルch m を使用中の子局
2に、上りフレームを正しく受信していることを通知す
ることができる。現時点では、アドレススロットAS1
に受信コマンド112が設定され、子局2aに上りフレ
ームを正しく受信していることが通知される。次に、下
りフレーム作成/送出部12は、現時点で「1」である
スロットポインタmの指示値を「2」に更新して(ステ
ップS905,S906)、ステップS902に戻る。
そして、下りフレーム作成/送出部12は、第2の上り
フレーム受信部132からのステータス情報に基づい
て、アドレススロットAS2 に今回設定すべきコマンド
を決定する。このステータス情報は、上述した第1の上
りフレーム受信部131からのものと同一の内容である
から、下りフレーム作成/送出部12は、ステップS9
02→S908→S909→S905→S906の順序
で示される処理(上述)を実行する。その結果、アドレ
ススロットAS2 にも受信コマンド112が設定され
(ステップS909)、スロットポインタmの指示値は
「2」から「3」に更新される(ステップS906)。
その後、下りフレーム作成/送出部12は、ステップS
902に戻り、第3の上りフレーム受信部133からの
ステータス情報に基づいて、アドレススロットAS3
今回設定すべきコマンドを決定する。下りフレーム作成
/送出部12は、現時点で、第1の比較出力を受け取っ
ているので、ステップS902を実行した後、第1の受
信情報(UW不検出)を受け取っているので、ステップ
S908を実行して、ステップS910に進む。次に、
下りフレーム作成/送出部12は、メモリ部11にアク
セスして衝突検出コマンド113を取り出し、アドレス
スロットASm に設定する(ステップS910)。これ
によって、親局1は、上りチャネルchm を使用中の子
局2に、上りフレームを正しく受信していないことを通
知することができ、当該子局2に再送制御(後述)を促
す。現時点では、アドレススロットAS3 に衝突検出コ
マンド113が設定され、これによって、子局2cと2
dに再送制御を促すこととなる。次に、下りフレーム作
成/送出部12は、上りチャネルchm 上で通信衝突が
生じていると判断したので、カウンタC1を「C1+
1」に更新する(ステップS911)。現時点では、カ
ウンタC1の指示値は「0」から「1」に更新される。
次に、下りフレーム作成/送出部12は、現時点で
「3」であるスロットポインタmの指示値を「4」に更
新して(ステップS905,S906)、ステップS9
02に戻る。そして、下りフレーム作成/送出部12
は、第4の上りフレーム受信部134からのステータス
情報に基づいて、アドレススロットAS4 に今回設定す
べきコマンドを決定する。このステータス情報は、上述
した第3の上りフレーム受信部133からのものと同一
の内容であるから、下りフレーム作成/送出部12は、
ステップS902→S908→S910→S911→S
905→S906の順序で示される処理(上述)を実行
する。その結果、今回、アドレススロットAS4 には衝
突検出コマンド113が設定され(ステップS91
0)、カウンタC1の指示値は「1」から「2」に更新
され(ステップS911)、さらに、スロットポインタ
mの指示値は「4」から「5」に更新される(ステップ
S905,S906)。その後、下りフレーム作成/送
出部12は、ステップS902に戻り、第5の上りフレ
ーム受信部135からのステータス情報に基づいて、ア
ドレススロットAS5 に今回設定すべきコマンドを決定
する。このステータス情報は、下りフレーム作成/送出
部12が前回の下りフレームを作成する際に参照した第
1の上りフレーム受信部131等からのものと同一の内
容であることから、当該下りフレーム作成/送出部12
は、ステップS902→S903→S904→S905
の順序で示される処理(前述)を実行する。その結果、
今回、アドレススロットAS5 には送信可コマンド11
5が設定される(ステップS904)。下りフレーム作
成/送出部12は、現時点でスロットポインタmが
「5」を示しているので(ステップS905)、同期パ
ターンUW等をヘッダスロットに設定する等して下りフ
レームを組み立て、この下りフレームを下りチャネル上
に送出する(ステップS907)。こうして、下りフレ
ーム作成/送出部12は、図8に示すステップS3の処
理を終了し、ステップS4に進む。なお、第2回目の下
りフレームを受信する各子局2の動作については、後で
述べる。次に、下りフレーム作成/送出部12は、現時
点で、カウンタC1の指示値が「2」であり、この指示
値「2」が第1の所定値「3」未満であるので(ステッ
プS4)、カウンタTの指示値を「1」から「2」に更
新した後(ステップS6)、この指示値「2」が第3の
所定値「3」になっていないので(ステップS7)、ス
テップS2に戻る。
At present, the downstream frame creation / transmission unit 12
Returning to step S2 shown in FIG. 8, the mode flag m
mode indicates “0”, so that the step
Proceed to step S3. The downstream frame creation / transmission unit 12
The second predetermined time has passed since the
Immediately after the time
Is controlled. Here, the second predetermined time is also
Delay until upstream frame reaches slave station 1 from slave station 2
This is a time considering the time, etc., but at the first predetermined time described above.
Different from between. Next, the downstream frame creation / transmission unit 12
Sets the slot pointer m to “1” (FIG. 9;
Step S901), from the first uplink frame receiving unit 131
Address slot AS based on the status information of1 
The command to be set this time is determined. Next,
The frame creation / transmission unit 12 outputs the first comparison output at this time.
Since it has been received, step S902 is executed, and
Proceed to step S908. Next, create / transmit downlink frame
The unit 12 includes an uplink channel chm Same from upstream frame
It is determined whether the initial pattern UW has been detected (step
S908). The determination in step S908 is the first
Is performed on the basis of the received information. Specifically,
The frame creation / transmission unit 12 receives the first reception information (UW undetected).
Out), the m-th upstream frame receiving unit
13m determined that synchronization pattern UW could not be detected
Then, the process proceeds to step S910 described later. On the other hand,
The frame creation / transmission unit 12 receives the first reception information (UW detection
Out), the m-th upstream frame receiving unit
13m determines that the synchronization pattern UW has been detected, and
Proceed to step S909. At the moment, the creation of downstream frames /
The sending unit 12 sends the first upstream frame receiving unit 131
1 received information (UW detection),
Proceed to step S909. Next, a downstream frame creation / transmission unit
12 accesses the memory unit 11 and receives the received command 1
12 is taken out, the command 112 is
Lot ASm(Step S909). to this
Therefore, the master station 1 transmits the uplink channel ch m Slave station using
Notify 2 that uplink frame is received correctly
Can be At present, the address slot AS1 
Command 112 is set in the
Is notified that the game is being received correctly. Then, below
The frame creation / transmission unit 12 is “1” at the moment.
Update the indicated value of the slot pointer m to “2” (step
(Steps S905 and S906), and returns to step S902.
Then, the downstream frame creation / transmission unit 12 transmits the second upstream
Based on status information from frame receiving unit 132
And address slot ASTwo Command to set this time
To determine. This status information is based on the first
Has the same content as that from the frame receiving unit 131
From step S9, the downlink frame creation / transmission unit 12 performs step S9.
02 → S908 → S909 → S905 → S906
(The above) is executed. As a result,
Slot Slot ASTwo Is also set to receive command 112
(Step S909) The indicated value of the slot pointer m is
"2" is updated to "3" (step S906).
After that, the downstream frame creation / transmission unit 12 performs step S
Returning to 902, the third uplink frame receiving unit 133
Address slot AS based on status informationThree To
Determine the command to be set this time. Down frame creation
/ Sending unit 12 receives the first comparison output at this time
Therefore, after executing step S902, the first reception
Since the communication information (UW non-detection) has been received,
After executing step S908, the process proceeds to step S910. next,
The downstream frame creation / transmission unit 12 accesses the memory unit 11
Fetches the collision detection command 113 to
Slot ASm (Step S910). this
In response, the master station 1m Child using
Notify station 2 that the uplink frame has not been received correctly.
And prompts the slave station 2 to perform retransmission control (described later).
You. At present, the address slot ASThree Collision detection
Command 113 is set, whereby the slave stations 2c and 2c are set.
This prompts d to perform retransmission control. Next, the downstream frame
The generation / transmission unit 12 is configured to transmitm Communication collision on
Since it is determined that the error has occurred, the counter C1 is set to “C1 +
"1" (step S911). At the moment,
The indicated value of the counter C1 is updated from “0” to “1”.
Next, the downstream frame creation / transmission unit 12
Update the indicated value of the slot pointer m of “3” to “4”.
Newly (Steps S905 and S906), Step S9
Return to 02. Then, the downstream frame creation / transmission unit 12
Is the status from the fourth uplink frame receiving unit 134
Based on the information, the address slot ASFour Set this time
Determine the command to be performed. This status information is
Same as that from the third uplink frame receiving unit 133
Therefore, the downstream frame creation / transmission unit 12
Step S902 → S908 → S910 → S911 → S
Execute the processing (described above) shown in the order of 905 → S906
I do. As a result, this time, the address slot ASFour Opposition
The collision detection command 113 is set (step S91).
0), the indicated value of the counter C1 is updated from “1” to “2”
(Step S911), and further, the slot pointer
The indicated value of m is updated from “4” to “5” (step
S905, S906). After that, downlink frame creation / transmission
Returning to step S902, the output unit 12 returns to the fifth upstream frame.
Based on the status information from the
Dress slot ASFive Command to set this time
I do. This status information is used for creating / transmitting downlink frames.
The unit 12 referred to when creating the previous downlink frame
Of the same as those from the upstream frame receiving unit 131 etc.
The downstream frame creation / transmission unit 12
Are steps S902 → S903 → S904 → S905
(The above) are executed. as a result,
This time, the address slot ASFive Has a send available command 11
5 is set (step S904). Down frame
The generating / sending unit 12 determines that the slot pointer m is
Since “5” is indicated (step S905), the synchronization
Turn UW, etc. in the header slot, etc.
Frame and place this downstream frame on the downstream channel.
(Step S907). In this way,
The frame creation / transmission unit 12 performs the processing in step S3 shown in FIG.
After that, the process proceeds to step S4. In addition, under the second
The operation of each slave station 2 that receives a frame will be described later.
State. Next, the downstream frame creation / transmission unit 12
At this point, the indicated value of the counter C1 is “2”,
Since the value “2” is less than the first predetermined value “3” (step
Step S4), the value of the counter T is changed from “1” to “2”.
After the update (step S6), the indicated value "2"
Since it is not the predetermined value “3” (step S7),
Return to step S2.

【0023】ここで、図6に示す子局2の動作につい
て、再度図10を参照して説明する。現時点で通信シス
テム内には、状態フラグSを「0」、「1」または
「2」に設定した状態で待機している子局2が存在す
る。今回の下りフレームも、すべての子局2のコマンド
/アドレス検出部21によって受信される。しかし、状
態フラグSが「0」または「1」を示している子局2の
動作については、既に説明したので、以下には、状態フ
ラグSが「2」を示しているものの動作について説明す
る。コマンド/アドレス検出部21は、状態フラグSが
「2」を示している場合、ステップS102およびS1
03を実行して、ステップS111に進む。次に、コマ
ンド/アドレス検出部21は、上りフレーム作成/送出
部22が現在使用中の上りチャネルchm に対応するア
ドレススロットASm に受信コマンド112もしくは自
身の子局アドレスが設定されているかどうかを判断する
(ステップS111)。なお、今回の下りフレームは、
コンテンションモードで作成されているので、子局アド
レスがアドレススロットASに設定されていることはな
い。そのため、ここでは、受信コマンド112に関する
説明のみを行う。ステップS111の判断は、以下のよ
うにして行われる。まず、コマンド/アドレス検出部2
1は、現在ラッチされている使用チャネル情報(前述)
によって特定されるアドレススロットASm からコマン
ドを取り出した後、当該コマンドのビットパターンが、
内部に予め保持している受信コマンド112のビットパ
ターンに一致するか否かを判断する。コマンド/アドレ
ス検出部21は、両者が一致していない場合、受信コマ
ンド112が設定されていないと判断して、使用チャネ
ル情報をレジスタからクリアした後、後で述べるステッ
プS115に進む。コマンド/アドレス検出部21は、
両者が一致する場合、受信コマンド112が設定されて
いると判断して、使用チャネル情報をクリアせずに、ス
テップS112に進む。次に、コマンド/アドレス検出
部21は、データの送信を継続するように上りフレーム
作成/送出部22に通知する(ステップS112)。上
りフレーム作成/送出部22は、図7(a)に示したよ
うな上りフレームを送出した後には、図7(b)に示す
ような上りフレームを作成し、同じ上りチャネルを用い
て送出している。上りフレーム作成/送出部22は、上
記の通知をコマンド/アドレス検出部21から受け取る
と、上りフレームの送出を中断することなく、継続す
る。次に、コマンド/アドレス検出部21は、上りフレ
ーム作成/送出部22がデータの送信を完了したか否か
を判断する(ステップS113)。ステップS113の
判断は、バッファメモリが空かどうかを調べれば容易に
できる。コマンド/アドレス検出部21は、データの送
信が完了したと判断すると、状態フラグSを「0」に設
定し(ステップS114)、新たな送信データが発生す
るのを待機する。一方、コマンド/アドレス検出部21
は、データの送信が完了していないと判断すると、状態
フラグSを「2」に設定したまま、ステップS102に
戻る。一方、コマンド/アドレス検出部21は、ステッ
プS111において、受信コマンド112が設定されて
いないと判断すると、上りフレーム作成/送出部22が
送出した上りフレームが親局1によって正しく受信され
ていないと判断する。つまり、コマンド/アドレス検出
部21は、上りフレーム作成/送出部22が無駄なデー
タ通信を行っていると判断し、データの送信を中断する
ように上りフレーム作成/送出部22に通知する(ステ
ップS115)。このとき、上りフレーム作成/送出部
22は、上述したように、上りチャネルchm を用いて
作成した上りフレームを送出しているが、上記の中断通
知に応答して、上りフレームの送出を中断し、無駄なデ
ータ通信を中断する。このように、本通信システムで
は、子局2は、無駄なデータ通信のために上りチャネル
を長時間使用しない。これによって、上りチャネルの利
用率を向上させることができる。この後、コマンド/ア
ドレス検出部21は、状態フラグSを「1」に設定して
(ステップS105)、ステップS102に戻る。この
ように、状態フラグSが「1」に設定されると、コマン
ド/アドレス検出部21は、次回の下りフレームに応答
して、前述したステップS109を実行する。つまり、
子局2は、自身が送出した上りフレームが親局1によっ
て正しく受信されなかった場合、再送制御を実行する。
ここで、現時点では、子局2a、2b、2c、2d、2
fおよび2jがステップS111を実行する。また、今
回の下りフレームにおいて、アドレススロットAS1
よびAS2 には受信コマンド112が、また、アドレス
スロットAS3およびAS4 には衝突検出コマンド11
3が、さらに、アドレススロットAS5には送信可コマ
ンド115が設定されている。そのため、子局2aおよ
び子局2bの上りフレーム作成/送出部22のみが、そ
れぞれのコマンド/アドレス検出部21から継続通知を
受け取る(ステップS112)。ここで、子局2aおよ
び2bのバッファメモリは、まだ空になっていないとす
ると、子局2aおよび2bの上りフレーム作成/送出部
22は、上りフレームを上りチャネルch1 およびch
2 上に送出し続ける。なお、子局2aから送出された上
りフレームは、上りチャネルch1 上で、データエラー
を生じないものとする。しかし、子局2bから送出され
た上りフレームは、上りチャネルch2 上でデータエラ
ーを生じるものとする。また、子局2c、2d、2fお
よび2jの上りフレーム作成/送出部22は、それぞれ
のコマンド/アドレス検出部21から中断通知を受け取
るので(ステップS115)、上りフレームの送出を中
断する。そのため、上りチャネルch3 およびch4
空きチャネルとなる。さらに、子局2eおよび2gは、
今回の下りフレームに応答して、ステップS102、S
106〜S110を実行して、上りフレームを上りチャ
ネルch5 に送出したとする。そのため、上りチャネル
ch5 上では通信衝突が生じる。このような状況では、
第1の上りフレーム受信部131は第2の比較出力およ
び第2の受信情報(正常)を、第2の上りフレーム受信
部132は第2の比較出力および第2の受信情報(エラ
ー)を、第3の上りフレーム受信部133および第4の
上りフレーム受信部134はそれぞれ、第3の比較出力
のみを、さらに、第5の上りフレーム受信部135は、
第1の比較出力および第2の受信情報(UW不検出)を
ステータス情報として出力する。
Here, the operation of the slave station 2 shown in FIG. 6 will be described with reference to FIG. 10 again. At present, there is a slave station 2 in the communication system that is waiting with the status flag S set to “0”, “1”, or “2”. The current down frame is also received by the command / address detection units 21 of all the slave stations 2. However, the operation of the slave station 2 in which the status flag S indicates “0” or “1” has already been described, and therefore, the operation in the case where the status flag S indicates “2” will be described below. . When the status flag S indicates “2”, the command / address detection unit 21 determines in steps S102 and S1
03, and then proceeds to step S111. Then, whether the command / address detecting section 21, the slave station address of the received command 112 or own address slot AS m uplink frame creation / transmission section 22 corresponds to the upstream channel ch m currently in use is set Is determined (step S111). In addition, this down frame is
Since the slave station address is created in the contention mode, the slave station address is not set in the address slot AS. Therefore, only the description regarding the reception command 112 will be given here. The determination in step S111 is performed as follows. First, the command / address detection unit 2
1 is used channel information currently latched (described above)
After extracting a command from the address slot AS m specified by
It is determined whether the bit pattern matches the bit pattern of the received command 112 stored in advance therein. If the two do not match, the command / address detection unit 21 determines that the reception command 112 has not been set, clears the used channel information from the register, and proceeds to step S115 described later. The command / address detection unit 21
If they match, it is determined that the reception command 112 has been set, and the process proceeds to step S112 without clearing the used channel information. Next, the command / address detection unit 21 notifies the upstream frame creation / transmission unit 22 to continue data transmission (Step S112). After transmitting the upstream frame as shown in FIG. 7A, the upstream frame generation / transmission unit 22 generates an upstream frame as shown in FIG. 7B and transmits the same using the same upstream channel. ing. When receiving the above notification from the command / address detection unit 21, the upstream frame creation / transmission unit 22 continues transmission of the upstream frame without interruption. Next, the command / address detection unit 21 determines whether or not the upstream frame creation / transmission unit 22 has completed data transmission (Step S113). The determination in step S113 can be easily made by checking whether the buffer memory is empty. When determining that the data transmission has been completed, the command / address detection unit 21 sets the status flag S to “0” (step S114), and waits for generation of new transmission data. On the other hand, the command / address detection unit 21
Determines that the data transmission has not been completed, and returns to step S102 with the status flag S set to “2”. On the other hand, if the command / address detection unit 21 determines that the reception command 112 is not set in step S111, it determines that the upstream frame transmitted by the upstream frame creation / transmission unit 22 is not correctly received by the master station 1. I do. That is, the command / address detection unit 21 determines that the upstream frame creation / transmission unit 22 is performing useless data communication, and notifies the upstream frame creation / transmission unit 22 to interrupt the data transmission (step S115). In this case, the uplink frame generating / sending unit 22, as described above, is sending the uplink frame created by using an uplink channel ch m, in response to the interruption notification, interrupts the transmission of uplink frames Then, useless data communication is interrupted. Thus, in the present communication system, the slave station 2 does not use the uplink channel for a long time for useless data communication. As a result, it is possible to improve the utilization rate of the uplink channel. Thereafter, the command / address detection unit 21 sets the status flag S to "1" (step S105), and returns to step S102. As described above, when the status flag S is set to “1”, the command / address detection unit 21 executes the above-described step S109 in response to the next downlink frame. That is,
The slave station 2 executes retransmission control when the upstream frame transmitted by the slave station 2 is not correctly received by the master station 1.
Here, at present, the slave stations 2a, 2b, 2c, 2d, 2
f and 2j execute step S111. In the current down frame, a reception command 112 is placed in the address slots AS 1 and AS 2 , and a collision detection command 11 is placed in the address slots AS 3 and AS 4.
3 further, the Send command 115 is set in the address slot AS 5. Therefore, only the upstream frame creation / transmission units 22 of the slave stations 2a and 2b receive the continuation notification from the respective command / address detection units 21 (step S112). Here, the buffer memory of the slave station 2a and 2b, when a not yet empty, the uplink frame generating / sending unit 22 of the slave station 2a and 2b, the uplink channel ch 1 and ch uplink frame
Keep sending out on 2 . Incidentally, the uplink frame sent from the slave station 2a is on the uplink channel ch 1, and shall not cause data errors. However, the uplink frame sent from the slave station 2b shall cause data error on the uplink channel ch 2. In addition, the upstream frame creation / transmission units 22 of the slave stations 2c, 2d, 2f, and 2j receive the interruption notification from the respective command / address detection units 21 (Step S115), and thus interrupt the transmission of the upstream frame. Therefore, uplink channel ch 3 and ch 4 become free channel. Further, the slave stations 2e and 2g are:
In response to the current down frame, steps S102, S
Run the 106~S110, and has sent an uplink frame to the uplink channel ch 5. Therefore, communication collision occurs on the uplink channel ch 5. In such a situation,
The first uplink frame receiver 131 receives the second comparison output and the second reception information (normal), the second uplink frame receiver 132 receives the second comparison output and the second reception information (error), Each of the third uplink frame receiving unit 133 and the fourth uplink frame receiving unit 134 outputs only the third comparison output, and further, the fifth uplink frame receiving unit 135 outputs
The first comparison output and the second reception information (UW non-detection) are output as status information.

【0024】現在、下りフレーム作成/送出部12は、
図8に示すステップS2に戻っており、モードフラグm
odeが「0」を示しているので、前回と同様にステッ
プS3に進む。次に、下りフレーム作成/送出部12
は、スロットポインタmを「1」に設定し(図9;ステ
ップS901)、第1の上りフレーム受信部131から
のステータス情報に基づいて、アドレススロットAS1
に今回設定すべきコマンドを決定する。下りフレーム作
成/送出部12は、現時点で、第2の比較出力を受け取
っているので、ステップS902およびS903を実行
して、ステップS912に進む。次に、下りフレーム作
成/送出部12は、上りチャネルchm 上の上りフレー
ムにデータエラーが発生しているか否かを判断する(ス
テップS912)。下りフレーム作成/送出部12は、
第2の受信情報(エラー)を受け取っている場合、上記
データエラーが発生したと判断し、後で述べるステップ
S913に進むが、第2の受信情報(正常)を受け取っ
ている場合、上記データエラーが発生していないと判断
し、ステップS909に進む。現時点では、下りフレー
ム作成/送出部12は、第2の受信情報(正常)を受け
取っているので、前述したステップS909に進み、ア
ドレススロットAS1 に受信コマンド112を設定す
る。次に、下りフレーム作成/送出部12は、現時点で
「1」であるスロットポインタmの指示値を「2」に更
新して(ステップS905,S906)、ステップS9
02に戻る。そして、下りフレーム作成/送出部12
は、第2の上りフレーム受信部132からのステータス
情報に基づいて、アドレススロットAS2 に今回設定す
べきコマンドを決定する。次に、下りフレーム作成/送
出部12は、現時点で、第2の比較出力を受け取ってい
るので、ステップS902およびS903を実行して、
ステップS912に進む。下りフレーム作成/送出部1
2は、第2の受信情報(エラー)を受け取っているの
で、前述したステップS912を実行した後、メモリ部
11にアクセスし、データエラーコマンド114を取り
出してアドレススロットASm に設定する(ステップS
913)。これによっても、親局1は、上りチャネルc
m を使用中の子局2に、上りフレームを正しく受信し
ていないことを通知することができ、当該子局2に再送
制御を促すこととなる。現時点では、アドレススロット
AS2 にデータエラーコマンド113が設定され、これ
によって、子局2bに再送制御を促すこととなる。次
に、下りフレーム作成/送出部12は、現時点で「2」
であるスロットポインタmの指示値を「3」に更新して
(ステップS905,S906)、ステップS902に
戻る。そして、下りフレーム作成/送出部12は、第3
の上りフレーム受信部133からのステータス情報に基
づいて、アドレススロットAS3 に今回設定すべきコマ
ンドを決定する。以降、下りフレーム作成/送出部12
は、第3〜第5の上りフレーム受信部133〜135か
らのステータス情報を順次的に受け取り、それぞれに基
づいて、アドレススロットAS3 〜AS5 に設定すべき
コマンドを順次決定していく。しかし、それぞれの場合
に下りフレーム作成/送出部12が実行する動作につい
ては、既に説明している。そのため、それぞれの場合の
動作については、説明を省略する。なお、アドレススロ
ットAS3 およびAS4 には送信可コマンド115が設
定される(ステップS904)。また、アドレススロッ
トAS5 には衝突検出コマンド113が設定され(ステ
ップS910)、さらにカウンタC1の指示値は「2」
から「3」に更新される(ステップS911)。下りフ
レーム作成/送出部12は、アドレススロットAS1
AS5 に設定するコマンドを決定すると、下りフレーム
を組み立てて送出し(ステップS907)、ステップS
3(図8参照)の処理を終了し、ステップS4に進む。
なお、第3回目の下りフレームを受信する各子局2の動
作については、後で述べる。次に、下りフレーム作成/
送出部12は、前述したステップS4を実行する。現時
点では、カウンタC1の指示値は「3」であり、この指
示値「3」は第1の所定値「3」と同じであるので(ス
テップS4)、下りフレーム作成/送出部12は、ステ
ップS5に進み、モードフラグmodeを「1」に更新
し、さらに、カウンタC1およびTを「0」にそれぞれ
更新する(ステップS5)。ここで、下りフレーム作成
/送出部12は、ステップS4において、カウンタTが
「0」から第3に所定値をカウントする間に、上りチャ
ネル上では通信衝突が第1の所定値以上の回数起こって
いることを認識し、コンテンションモード(図8;ステ
ップS3)で下りフレームを作成するのに適さないと判
断する。モードフラグmodeが「1」に変更されるこ
とにより、次回は、ポーリングモード(図8;ステップ
S9)で下りフレームが作成される。また、カウンタC
1は、指示値を「0」に更新されることにより、次回コ
ンテンションモードで下りフレームが作成される場合
に、通信衝突が起こっている回数を新たにカウントでき
るように準備する。さらに、カウンタTは、指示値を
「0」に更新されることにより、空きチャネル数を測定
するための時間区間の始まりを規定する。次に、下りフ
レーム作成/送出部12は、現時点で「0」であるカウ
ンタTの指示値を「1」に更新した後(ステップS
6)、当該指示値「1」が第3の所定値「3」になって
いないので(ステップS7)、ステップS2に戻る。
At present, the downstream frame creation / transmission unit 12
Returning to step S2 shown in FIG. 8, the mode flag m
Since mode indicates “0”, the process proceeds to step S3 as in the previous case. Next, the downstream frame creation / transmission unit 12
Sets the slot pointer m to "1" (FIG. 9; step S901), and based on the status information from the first uplink frame receiving unit 131, the address slot AS 1
The command to be set this time is determined. Since the downlink frame creation / transmission unit 12 has received the second comparison output at this time, the downstream frame creation / transmission unit 12 executes steps S902 and S903 and proceeds to step S912. Next, a downlink frame generating / sending unit 12 determines whether the data error in the uplink frame of the uplink channel ch m is occurring (step S912). The downstream frame creation / transmission unit 12
If the second reception information (error) has been received, it is determined that the data error has occurred, and the process proceeds to step S913 described later. If the second reception information (normal) has been received, the data error has occurred. Is determined not to have occurred, and the process proceeds to step S909. At present, the downstream frame creation / delivery portion 12, since the received second reception information (normal), the process proceeds to step S909 described above, sets the received command 112 into the address slot AS 1. Next, the downlink frame creation / transmission unit 12 updates the indicated value of the slot pointer m, which is currently "1", to "2" (steps S905, S906), and proceeds to step S9.
Return to 02. Then, the downstream frame creation / transmission unit 12
Based on the status information from the second upstream frame receiving unit 132, determines a command to be set this time into the address slot AS 2. Next, since the downlink frame creation / transmission unit 12 has received the second comparison output at this time, it executes steps S902 and S903, and
Proceed to step S912. Downlink frame creation / transmission unit 1
2, since the received second reception information (error), after executing step S912 described above, accesses the memory unit 11 retrieves the data error command 114 is set in the address slot AS m (Step S
913). This also allows the master station 1 to transmit the uplink channel c
the slave station 2 in use h m, it is possible to notify that no correctly received the uplink frame, and to encourage retransmission control the child station 2. At present, the data error command 113 into the address slot AS 2 is set, which makes it possible to prompt the retransmission control in the slave station 2b. Next, the downstream frame creation / transmission unit 12 outputs “2” at this time.
Is updated to "3" (steps S905 and S906), and the process returns to step S902. Then, the downstream frame creation / transmission unit 12 performs the third
Based on the status information from the uplink frame receiver 133, determines the command to be set this time into the address slot AS 3. Thereafter, the downstream frame creation / transmission unit 12
It is sequential to receive status information from the third to fifth upstream frame receiving unit 133 to 135, based on the respective, successively determining the command to be set in the address slot AS 3 ~AS 5. However, the operations performed by the downlink frame creation / transmission unit 12 in each case have already been described. Therefore, the description of the operation in each case is omitted. Incidentally, the address slots AS 3 and AS 4 are set Send command 115 (step S904). Further, the address slot AS 5 is set collision detection command 113 (step S910), the indicated value of the further counter C1 is "2"
Is updated to "3" (step S911). The downstream frame creation / transmission unit 12 sends the address slots AS 1 to
When determining the command to set the AS 5, it sends assembles the downstream frame (step S907), step S
3 (see FIG. 8), and the process proceeds to step S4.
The operation of each slave station 2 that receives the third downstream frame will be described later. Next, create a downstream frame /
The sending unit 12 performs step S4 described above. At this time, the indicated value of the counter C1 is “3”, and this indicated value “3” is the same as the first predetermined value “3” (step S4). Proceeding to S5, the mode flag mode is updated to "1", and the counters C1 and T are each updated to "0" (step S5). Here, in step S4, while the counter T counts the third predetermined value from “0” in step S4, the communication collision on the uplink channel occurs more than the first predetermined value. It is determined that it is not suitable for creating a downlink frame in the contention mode (FIG. 8; step S3). By changing the mode flag mode to “1”, the next time a downstream frame is created in the polling mode (FIG. 8; step S9). Also, counter C
1 prepares to update the instruction value to “0” so that the next time a downlink frame is created in the contention mode, the number of times of communication collision can be newly counted. Further, the counter T updates the indicated value to “0”, thereby defining the beginning of a time section for measuring the number of available channels. Next, the downstream frame creation / transmission unit 12 updates the indicated value of the counter T, which is currently “0”, to “1” (Step S
6) Since the indicated value "1" is not the third predetermined value "3" (step S7), the process returns to step S2.

【0025】ここで、図6に示す子局2の動作につい
て、再度図10を参照して説明する。前述からも明らか
なように、現時点で通信システム内には、状態フラグS
を「0」、「1」または「2」に設定した状態で待機し
ている子局2が存在する。これらの子局2の動作につい
ては、前述したとおりであるので、それぞれの説明を省
略する。以下には、衝突検出コマンド113やデータエ
ラーコマンド114によって、再送制御を実行するよう
に促された子局2の動作を説明する。上りフレームを再
送する子局2のコマンド/アドレス検出部21は、前述
したように、状態フラグSを「1」に設定して待機し、
下りフレームが送信されてくると、前述した処理手順
(ステップS102からS106〜S110)を実行し
することにより、子局2では再送制御が実行される。こ
こで、子局2aが内部に備えるバッファメモリは、第3
回目の下りフレームを受信した時点で、空になっている
とすると、子局2aのコマンド/アドレス検出部21
は、状態フラグSを「0」に設定して(ステップS11
3)、新たな送信データが発生するのを待機する。その
ため、上りチャネルch1 は空きチャネルとなる。ま
た、子局2bの上りフレーム作成/送出部22は、今回
の下りフレームのアドレススロットAS2 にはデータエ
ラーコマンド114が設定されており、コマンド/アド
レス検出部21から中断通知を受け取るので(ステップ
S115)、上りフレームの送出を中断する。そのた
め、上りチャネルch2 は空きチャネルとなる。また、
子局2c、2d、2fおよび2jは再送制御を実行す
る。前述したように、第3回目の下りフレームで送信可
コマンド115が設定されているのは、アドレススロッ
トAS3 およびAS4 である。このとき、子局2jのみ
が上りチャネルch3 上に上りフレームを送出し、子局
2c、2dおよび2fが上りチャネルch4 上に上りフ
レームを送出するとする。また、子局2eおよび2gの
上りフレーム作成/送出部22は、今回の下りフレーム
のアドレススロットAS5 には衝突検出コマンド113
が設定されており、それぞれのコマンド/アドレス検出
部21から中断通知を受け取るので(ステップS11
5)、上りフレームの送出を中断する。そのため、上り
チャネルch 5 は空きチャネルとなる。このような状況
では、第1の上りフレーム受信部131、第2の上りフ
レーム受信部132および第5の上りフレーム受信部1
35は、第3の比較出力のみをステータス情報として出
力する。第3の上りフレーム受信部132は、第1の比
較出力および第1の受信情報(UW検出)をステータス
情報として出力する。第4の上りフレーム受信部134
は、第1の比較出力および第1の受信情報(UW不検
出)をステータス情報として出力する。
Here, the operation of the slave station 2 shown in FIG.
The description will be made again with reference to FIG. Clear from the above
Thus, at present, in the communication system, the status flag S
Waits with the set to "0", "1" or "2".
There is a slave station 2 which is located. Regarding the operation of these slave stations 2,
As described above, each explanation is omitted.
Abbreviate. The following describes the collision detection command 113 and data
Error command 114 to execute retransmission control.
The operation of the slave station 2 urged by the user will be described. Repeat upstream frame
The command / address detection unit 21 of the slave station 2 to be sent
As described above, the status flag S is set to “1” and the process waits.
When the downstream frame is transmitted,
(Steps S102 to S106 to S110)
By doing so, retransmission control is executed in the slave station 2. This
Here, the buffer memory provided inside the slave station 2a is the third buffer memory.
Empty when the first downstream frame is received
Then, the command / address detection unit 21 of the slave station 2a
Sets the status flag S to "0" (step S11).
3) Wait for new transmission data to be generated. That
Therefore, the uplink channel ch1 Becomes an empty channel. Ma
The upstream frame creation / transmission unit 22 of the slave station 2b
Address slot AS of downstream frame ofTwo Data
Command 114 is set, and the command / add
Since the interruption notification is received from the
S115), the transmission of the upstream frame is interrupted. That
ChannelTwo Becomes an empty channel. Also,
The slave stations 2c, 2d, 2f and 2j execute retransmission control
You. As described above, transmission is possible in the third downlink frame
Command 115 is set in the address slot.
ASThree And ASFour It is. At this time, only the slave station 2j
Is the upstream channel chThree Sends an upstream frame to the slave station
2c, 2d and 2f are uplink channels chFour Go up
Suppose a frame is sent. In addition, the slave stations 2e and 2g
The upstream frame creating / sending unit 22 outputs the current downstream frame.
Address slot ASFive Has a collision detection command 113
Is set, and each command / address is detected.
Since the interruption notification is received from the unit 21 (step S11)
5) The transmission of the upstream frame is interrupted. Therefore, going up
Channel ch Five Becomes an empty channel. This situation
Now, the first uplink frame receiving unit 131 and the second uplink frame
Frame receiving section 132 and fifth upstream frame receiving section 1
35 outputs only the third comparison output as status information.
Power. The third uplink frame receiving unit 132 performs the first ratio
Compare output and first received information (UW detection) status
Output as information. Fourth upstream frame receiving section 134
Is the first comparison output and the first reception information (UW undetected).
Out) is output as status information.

【0026】ここで、再度、図8を参照して、下りフレ
ーム作成/送出部12の動作を説明する。現時点で、下
りフレーム作成/送出部12は、ステップS2に戻って
おり、モードフラグmodeが「0」を示していないた
め、ステップS9に進む。モードフラグmodeが
「1」を示している場合、下りフレーム作成/送出部1
2は、相対的に多くの上りチャネル上で通信衝突が起こ
っていることを認識し、ポーリングモードで下りフレー
ムを作成した方がよいと判断する。ここで、図11は、
図8に示すステップS9(ポーリングモード)の処理手
順を詳細に示すフローチャートである。まず、下りフレ
ーム作成/送出部12は、スロットポインタmを「1」
に設定し(図11;ステップS1101)、第1の上り
フレーム受信部131からのステータス情報に基づい
て、アドレススロットAS1 に今回設定すべき子局アド
レスまたはコマンドを決定する。次に、下りフレーム作
成/送出部12は、ステップS902(図9参照)と同
様のステップS1102を実行する。下りフレーム作成
/送出部12は、ステータス情報が第1の比較出力を含
む場合、後で述べるS1110に進み、ステータス情報
が第1の比較出力を含まない場合、ステップS1103
に進む。現時点では、下りフレーム作成/受信部12
は、第3の比較出力を受け取っているので、ステップS
1103に進む。次に、下りフレーム作成/送出部12
は、ステップS903(図9参照)と同様のステップS
1103を実行し、ステータス情報が第2の比較出力を
含む場合、後で述べるステップS1112に進み、ステ
ータス情報が第3の比較出力を含む場合、ステップS1
104に進む。現時点では、下りフレーム作成/送出部
12は、上述から明らかなように、ステップS1104
に進む。前述したように、第mの上りフレーム受信部1
3mが第3の比較出力を出力する場合、上りチャネルc
m は、空きチャネルである。そのため、下りフレーム
作成/送出部12は、空きチャネル数を計数するための
カウンタC2を「C2+1」に更新する(ステップS1
104)。現時点では、カウンタC2の指示値は「0」
から「1」に更新される。次に、下りフレーム作成/送
出部12は、メモリ部11にアクセスして、アドレスポ
インタnの指示値によって表される順番が付けられてい
る子局アドレスを、アドレステーブル111(図3参
照)から取り出した後、当該子局アドレスをアドレスス
ロットASm に設定する(ステップS1105)。これ
によって、親局1は、単一の子局2に空きチャネルであ
る上りチャネルchm を割り当てることができる。現時
点では、アドレスポインタnの指示値が「1」であるの
で、アドレススロットAS1 には子局アドレス「a」が
設定される。次に、下りフレーム作成/送出部12は、
最後の順番が付けられた子局アドレス(以下、単に「最
後の子局アドレス」と記す)をアドレススロットASm
に設定したか否かを判断する(ステップS1106)。
下りフレーム作成/送出部12は、最後の子局アドレス
を設定したと判断すると、後で述べるステップS111
4に進み、最後の子局アドレスを設定していないと判断
すると、ステップS1107に進む。本通信システムに
は11の子局2が収容されるので、ステップS1106
の判断は、アドレスポインタnが「11」を示している
か否かにより行われる。次に、下りフレーム作成/送出
部12は、現時点でアドレスポインタnが「1」を示し
ているので、アドレステーブル111から子局アドレス
を順番どおりに取り出せるように、アドレスポインタn
の指示値を「n+1」に更新する(ステップS110
7)。現時点では、アドレスポインタnの指示値は
「1」から「2」に更新される。次に、下りフレーム作
成/送出部12は、現時点で「1」であるスロットポイ
ンタmの指示値を「2」に更新して(ステップS110
8,S1109)、ステップS1102に戻る。そし
て、下りフレーム作成/送出部12は、第2の上りフレ
ーム受信部132からのステータス情報に基づいて、ア
ドレススロットAS 2 に今回設定すべきコマンドまたは
子局アドレスを決定する。このステータス情報は、上述
した第1の上りフレーム受信部131からのものと同一
の内容であるから、下りフレーム作成/送出部12は、
ステップS1102〜S1109の順序で示される処理
(上述)を実行する。その結果、カウンタC2の計数値
は「1」から「2」に更新され(ステップS110
4)、今回アドレススロットAS2には子局アドレス
「b」が設定され(ステップS1105)、アドレスポ
インタnの指示値は「2」から「3」に更新され(ステ
ップS1107)、さらにスロットポインタmの指示値
は「2」から「3」に更新される(ステップS110
9)。その後、下りフレーム作成/送出部12は、ステ
ップS1102に戻り、第3の上りフレーム受信部13
3からのステータス情報に基づいて、アドレススロット
AS3 に今回設定すべきコマンドを決定する。下りフレ
ーム作成/送出部12は、現時点で、第1の比較出力を
受け取っているので、ステップS1102を実行した
後、ステップS908(図9参照)と同様のステップS
1110を実行する。下りフレーム作成/受信部12
は、現時点で、第1の受信情報(UW検出)を受け取っ
ているので、ステップS1111に進み(ステップS1
110)、ステップS909(図9参照)と同様にし
て、アドレススロットASm に受信コマンド112を設
定する(ステップS1111)。なお、本ステップ11
11では、アドレススロットASm に前回設定した子局
アドレスが設定されてもよい。現時点では、アドレスス
ロットAS3 に受信コマンド112が設定される。次
に、下りフレーム作成/送出部12は、現時点で「3」
であるスロットポインタmの指示値を「4」に更新して
(ステップS1108,S1109)、ステップS11
02に戻る。そして、下りフレーム作成/送出部12
は、第4の上りフレーム受信部134からのステータス
情報に基づいて、アドレススロットAS 4 に今回設定す
べきコマンドまたは子局アドレスを決定する。下りフレ
ーム作成/送出部12は、現時点で、第1の比較出力を
受け取っているので、ステップS1102を実行した
後、第1の受信情報(UW不検出)を受け取っているの
で、ステップS1105に進む(ステップS111
0)。次に、下りフレーム作成/送出部12は、現時点
で「3」を示しているアドレスポインタnによって指定
される子局アドレス「c」をアドレススロットAS4
設定する(ステップS1105)。その後、アドレスポ
インタnの指示値は「3」から「4」に更新され(ステ
ップS1107)、現時点で「4」を示しているスロッ
トポインタmの指示値は「5」に更新される(ステップ
S1108,S1109)。そして、下りフレーム作成
/送出部12は、ステップS1102に戻り、第5の上
りフレーム受信部135からのステータス情報に基づい
て、アドレススロットAS5 に今回設定すべきコマンド
または子局アドレスを決定する。このステータス情報
は、上述した第1の上りフレーム受信部131からのも
のと同一の内容を有する。そのため、下りフレーム作成
/送出部12は、ステップS1102〜S1108の順
序で示される処理(上述)を実行する。その結果、カウ
ンタC2の計数値は「2」から「3」に更新され(ステ
ップS1104)、アドレススロットAS 5 には子局ア
ドレス「d」が設定され(ステップS1105)、アド
レスポインタnの指示値は「4」から「5」に更新され
る(ステップS1107)。その後、下りフレーム作成
/送出部12は、スロットポインタmの指示値が「5」
であるので(ステップS1108)、ステップS111
3に進む。次に、下りフレーム作成/送出部12は、ス
テップS907(図9参照)と同様のステップS111
3を実行し、下りフレーム(図4参照)を組み立てて下
りチャネルに送出する。図8に示すステップS9を終了
する。なお、第4回目の下りフレームを受信する子局2
の動作については、後で述べる。
Here, referring again to FIG.
The operation of the frame creation / transmission unit 12 will be described. At the moment, below
The frame creation / transmission unit 12 returns to step S2
And the mode flag mode does not indicate “0”.
To step S9. Mode flag mode
If “1” is indicated, the downstream frame creation / transmission unit 1
2 means that communication collision occurs on relatively many uplink channels.
The polling mode, and
Judge that it is better to create a program. Here, FIG.
Step S9 (polling mode) shown in FIG.
It is a flowchart which shows an order in detail. First, the downfall
The frame creation / transmission unit 12 sets the slot pointer m to “1”.
(FIG. 11; step S1101), and the first uplink
Based on status information from frame receiving unit 131
And address slot AS1 To be set this time
Address or command. Next, the downstream frame
The generation / transmission unit 12 performs the same processing as in step S902 (see FIG. 9).
Step S1102 is executed. Down frame creation
/ Sending unit 12 determines that the status information includes the first comparison output.
If not, the process proceeds to S1110 to be described later, and the status information
Does not include the first comparison output, step S1103
Proceed to. At this time, the downstream frame creation / reception unit 12
Has received the third comparison output, so step S
Proceed to 1103. Next, the downstream frame creation / transmission unit 12
Is the same as step S903 (see FIG. 9).
1103 is executed, and the status information indicates the second comparison output.
If it does, the process proceeds to step S1112 described later,
If the status information includes the third comparison output, step S1
Proceed to 104. At present, downlink frame creation / transmission unit
12, step S1104, as is clear from the above.
Proceed to. As described above, the m-th uplink frame receiving unit 1
3m outputs the third comparison output, the uplink channel c
hm Is an empty channel. Therefore, the downstream frame
The creating / sending unit 12 counts the number of empty channels.
The counter C2 is updated to “C2 + 1” (Step S1
104). At present, the indicated value of the counter C2 is "0"
Is updated to "1". Next, create / transmit downlink frame
The output unit 12 accesses the memory unit 11 and stores the address
The order represented by the indicated value of int n
The slave station address is stored in the address table 111 (see FIG. 3).
), The slave station address is
Lot ASm Is set (step S1105). this
As a result, the master station 1 has an idle channel for a single slave station 2.
Upstream channel chm Can be assigned. Now
At this point, the value indicated by the address pointer n is “1”.
And the address slot AS1 Has a slave station address "a"
Is set. Next, the downstream frame creation / transmission unit 12
The slave station addresses with the last order (hereinafter simply referred to as
Address) as the address slot ASm 
It is determined whether or not is set (step S1106).
The downstream frame creation / transmission unit 12 outputs the last slave station address.
When it is determined that is set, step S111 described later is performed.
Proceed to 4 and determine that the last slave station address has not been set
Then, the process proceeds to step S1107. This communication system
Since 11 slave stations 2 are accommodated, step S1106
Is determined that the address pointer n indicates “11”.
It depends on whether or not. Next, create / transmit downlink frame
The unit 12 indicates that the address pointer n indicates “1” at this time.
The slave station address from the address table 111.
Address pointer n so that
Is updated to "n + 1" (step S110).
7). At present, the indicated value of the address pointer n is
"1" is updated to "2". Next, the downstream frame
The generating / sending unit 12 outputs the slot
The instruction value of the counter m is updated to “2” (step S110)
8, S1109), and returns to step S1102. Soshi
Thus, the downstream frame creation / transmission unit 12 transmits the second upstream frame.
Based on the status information from the
Dress slot AS Two Command to set this time or
Determine the slave station address. This status information is
Same as that from the first uplink frame receiving unit 131
Therefore, the downstream frame creation / transmission unit 12
Processing shown in the order of steps S1102 to S1109
(Described above). As a result, the count value of the counter C2
Is updated from “1” to “2” (step S110)
4), this time address slot ASTwoIs the slave station address
“B” is set (step S1105), and the address
The indicated value of the n is updated from “2” to “3” (step
(Step S1107), and the indicated value of the slot pointer m
Is updated from “2” to “3” (step S110)
9). After that, the downstream frame creation / transmission unit 12
Returning to step S1102, the third uplink frame receiving unit 13
Address slot based on status information from
ASThree The command to be set this time is determined. Downfall
The frame creation / transmission unit 12 outputs the first comparison output at this time.
Since it has been received, step S1102 has been executed.
Thereafter, step S908 similar to step S908 (see FIG. 9) is performed.
Execute 1110. Downlink frame creation / reception unit 12
Receives the first reception information (UW detection) at this time
Therefore, the process proceeds to step S1111 (step S1
110), as in step S909 (see FIG. 9).
And address slot ASm Receive command 112
(Step S1111). This step 11
11, the address slot ASm Slave station previously set to
An address may be set. At this time, Addresses
Lot ASThree Is set to the reception command 112. Next
At this time, the downstream frame creation / transmission unit 12
Update the indicated value of the slot pointer m to "4"
(Steps S1108 and S1109), Step S11
Return to 02. Then, the downstream frame creation / transmission unit 12
Is the status from the fourth uplink frame receiving unit 134
Based on the information, the address slot AS Four Set this time
Determine the command or slave address to be sent. Downfall
The frame creation / transmission unit 12 outputs the first comparison output at this time.
Since it has been received, step S1102 has been executed.
Later, the first reception information (UW non-detection) has been received.
Then, the process proceeds to step S1105 (step S111).
0). Next, the downstream frame creation / transmission unit 12
Is specified by the address pointer n indicating "3"
The slave station address "c" to be assigned to the address slot ASFourTo
It is set (step S1105). After that,
The indicated value of the n is updated from “3” to “4” (step
Step S1107), the slot showing “4” at the moment
The pointer pointer m is updated to “5” (step
S1108, S1109). And create a downstream frame
/ The sending unit 12 returns to step S1102 and
Based on the status information from the frame receiving unit 135
And address slot ASFive Command to set this time
Or determine the slave station address. This status information
Is transmitted from the first uplink frame receiving unit 131 described above.
Has the same content as Therefore, create a downstream frame
/ Sending unit 12 performs the order of steps S1102 to S1108
The process described above (described above) is executed. As a result, cow
The count value of the counter C2 is updated from “2” to “3” (step
S1104), address slot AS Five The child station a
The dress “d” is set (step S1105), and the
The pointer pointer n is updated from "4" to "5".
(Step S1107). After that, create a downstream frame
/ The sending unit 12 sets the value indicated by the slot pointer m to “5”.
(Step S1108), step S111
Proceed to 3. Next, the downstream frame creation / transmission unit 12
Step S111 similar to step S907 (see FIG. 9)
3 to assemble the downstream frame (see Fig. 4)
To the channel. Finish step S9 shown in FIG.
I do. The slave station 2 receiving the fourth downstream frame
The operation of will be described later.

【0027】再度、図8を参照して説明する。次に、下
りフレーム作成/送出部12は、ステップS9を終了す
ると、カウンタC2が第2の所定値以上か否かを判断す
る(ステップS10)。ここで、第2の所定値は、モー
ドフラグmodeを「1」から「0」に更新するか否か
を判断するための値であり、第1の所定値(前述)と同
様に、通信システムの仕様に応じた妥当な値に設定され
る。以下、第2の所定値を「4」と仮定して説明を行
う。ステップS10において、下りフレーム作成/送出
部12は、カウンタC2が第2の所定値以上の数を示し
ていると、コンテンションモードで下りフレームを作成
する方がよいと判断し、後で述べるステップS11に進
む。一方、下りフレーム作成/送出部12は、カウンタ
C2が第2の所定値未満の数を示していると、ポーリン
グモードで下りフレームを作成する方がよいと判断し、
ステップS6に進む。現時点では、カウンタC2の指示
値は「3」であり、この指示値は第2の所定値「4」以
上ではないので、下りフレーム作成/送出部12はステ
ップS6に進む。次に、カウンタTの指示値は「1」か
ら「2」に更新され(ステップS6)、この指示値
「2」が第3の所定値「3」になっていないので(ステ
ップS7)、ステップS2に戻る。
The description will be continued with reference to FIG. Next, when step S9 ends, the downstream frame creation / transmission unit 12 determines whether the counter C2 is equal to or greater than a second predetermined value (step S10). Here, the second predetermined value is a value for determining whether or not to update the mode flag mode from “1” to “0”, and is the same as the first predetermined value (described above). Is set to an appropriate value according to the specification of. Hereinafter, description will be made assuming that the second predetermined value is “4”. In step S10, if the counter C2 indicates a number greater than or equal to the second predetermined value, the downlink frame creation / transmission unit 12 determines that it is better to create a downlink frame in the contention mode, and proceeds to step S10. Proceed to S11. On the other hand, if the counter C2 indicates a number less than the second predetermined value, the downstream frame creation / transmission unit 12 determines that it is better to create the downstream frame in the polling mode,
Proceed to step S6. At this time, the indicated value of the counter C2 is "3", and since the indicated value is not equal to or more than the second predetermined value "4", the downstream frame creation / transmission unit 12 proceeds to step S6. Next, the indicated value of the counter T is updated from "1" to "2" (step S6). Since the indicated value "2" is not the third predetermined value "3" (step S7), Return to S2.

【0028】ここで、ポーリングモードで作成された下
りフレームに対する子局2の応答動作について、図10
を参照して説明する。なお、状態フラグSが「0」およ
び「2」を示している子局2の応答については、コンテ
ンションモードの場合も、ポーリングモードの場合も同
様であるため、その説明を省略し、状態フラグSが
「1」を示している子局2の応答についてのみ説明す
る。前述したように、ある子局2において、コマンド/
アドレス検出部21が内部に有する状態フラグSが
「1」を示している場合、当該子局2が親局1への送信
データを保有しており、しかも当該データを先頭から送
信しなければならないことを意味する。状態フラグSが
「1」を示している子局2のコマンド/アドレス検出部
21は、下りフレームが伝送されてくると、ステップS
102を実行した後、自局の子局アドレスが、いずれか
のアドレススロットASに設定されているか否かを判断
する(ステップS106)。ステップS106での判断
は、典型的には、以下のように行われる。コマンド/ア
ドレス検出部21は、内部に有するレジスタ(図示せ
ず)などに自局の子局アドレスのビットパターンを予め
保持しておく。コマンド/アドレス検出部21は、この
ビットパターンが下りフレームのアドレススロットAS
1 〜AS5 に設定されているか否かを判断する。コマン
ド/アドレス検出部21は、いずれかのアドレススロッ
トASm に自局の子局アドレスが設定されていると、当
該スロットASm に対応する上りチャネルchm が親局
1によって割り当てられたことを認識し、ステップS1
09に進む。なお、コマンド/アドレス検出部21は、
すべてのアドレススロットASに自局の子局アドレスが
設定されていない場合、今回上りチャネルm が割り当て
られなかったと判断し、ステップS107に進む。しか
し、ポーリングモードでは、送信可コマンド115がア
ドレススロットASに設定されることはない。そのた
め、コマンド/アドレス検出部12は、ステップS10
2に戻り、新たな下りフレームが送られてくるのを待機
する。コマンド/アドレス検出部21は、ステップS1
09に進むと、自局の子局アドレスを検出したアドレス
スロットASm に対応する上りチャネルchm を用いて
上りフレームを送出するよう上りフレーム作成/送出部
22に通知する(ステップS109)。その後、コマン
ド/アドレス検出部21は、ステップS106で割り当
てられたアドレススロットASm を、使用チャネル情報
としてレジスタ(図示せず)にラッチしておく。この使
用チャネル情報は、前述したようにステップS111で
用いられる。以降の子局2の動作については、コンテン
ションモードの場合も、ポーリングモードの場合も同様
であるため、その説明を省略する。ここで、子局2aお
よび2bのコマンド/アドレス検出部21は、今回の下
りフレームが受信した時点で、状態フラグSを「0」に
設定しており、かつ送信データがバッファメモリに格納
されていないとすると、ステップS102〜S104を
実行して、ステップS102に戻る。そのため、子局2
aおよび2bの上りフレーム作成/送出部22は、上り
チャネルch1 およびch2 に上りフレームを送出しな
いので、上りチャネルch1 およびch2 は空きチャネ
ルとなる。ここで、子局2bは、前回(第3回目)の下
りフレームに応答して、上りフレームの送出を中断して
いるが、本通信システムの説明の便宜上、上述のよう
に、子局2bは上記のような状態にあると仮定してい
る。また、子局2jのコマンド/アドレス検出部21
は、今回の下りフレームを受信した時点で、状態フラグ
を「2」に設定している。子局2jの上りフレーム作成
/送出部22は、今回の下りフレームのアドレススロッ
トAS3 には受信コマンド112が設定されており、当
該コマンド/アドレス検出部21から継続通知を受け取
るので(ステップS112)、上りフレームを上りチャ
ネルch3 上に送出し続ける。なお、この上りフレーム
には、上りチャネルch3 上でデータエラーが発生しな
いものとする。また、子局2cおよび子局2dのコマン
ド/アドレス検出部21は、今回の下りフレームが受信
した時点で、状態フラグSを「1」に設定しているの
で、ステップS106、S109およびS110を実行
して、当該フレームのアドレススロットAS4 およびA
5 から、子局アドレス「c」および「d」を検出す
る。そのため、子局2cおよび2dの上りフレーム作成
/送出部22は、上述から明らかなように、上りチャネ
ルch4 およびch5 に上りフレームを送出する。しか
し、上りチャネルch5 上には、他の子局2gが誤って
上りフレームを送出したとする。このような状況では、
第1の上りフレーム受信部131および第2の上りフレ
ーム受信部132は、第3の比較出力のみをステータス
情報として出力する。第3の上りフレーム受信部132
は、第1の比較出力および第2の受信情報(正常)をス
テータス情報として出力する。第4の上りフレーム受信
部134は、第1の比較出力および第1の受信情報(U
W検出)を出力する。また、第5の上りフレーム受信部
135は、第1の比較出力および第1の受信情報(UW
不検出)をステータス情報として出力する。
FIG. 10 shows the response operation of the slave station 2 to the downstream frame created in the polling mode.
This will be described with reference to FIG. Note that the response of the slave station 2 in which the status flag S indicates “0” and “2” is the same in the case of the contention mode and the case of the polling mode. Only the response of the slave station 2 in which S indicates “1” will be described. As described above, in one slave station 2, the command /
When the status flag S included in the address detecting unit 21 indicates "1", the slave station 2 has data to be transmitted to the master station 1, and the data must be transmitted from the head. Means that. The command / address detection unit 21 of the slave station 2 in which the status flag S indicates “1”, when the downstream frame is transmitted, returns to step S
After executing step 102, it is determined whether or not the slave station address of the own station is set in any of the address slots AS (step S106). The determination in step S106 is typically made as follows. The command / address detection unit 21 stores the bit pattern of the slave station address of the own station in advance in a register (not shown) provided therein. The command / address detection unit 21 determines that the bit pattern is the address slot AS of the downstream frame.
It determines whether it is set to 1 ~AS 5. When the slave station address of the own station is set in any of the address slots AS m , the command / address detection unit 21 determines that the uplink channel ch m corresponding to the slot AS m has been assigned by the master station 1. Recognize, step S1
Go to 09. Note that the command / address detection unit 21
If the slave station addresses of the own station are not set in all the address slots AS, it is determined that the uplink channel m has not been allocated this time, and the process proceeds to step S107. However, in the polling mode, the transmission enable command 115 is not set in the address slot AS. Therefore, the command / address detection unit 12 determines in step S10
2 and waits for a new downstream frame to be sent. The command / address detection unit 21 determines in step S1
When the process proceeds to step S09, the upstream frame generation / transmission unit 22 is notified to transmit the upstream frame using the upstream channel ch m corresponding to the address slot AS m in which the local station address of the own station has been detected (step S109). Then, the command / address detecting section 21, the address slot AS m assigned in step S106, keep latched in the register (not shown) as a used channel information. This used channel information is used in step S111 as described above. Subsequent operations of the slave station 2 are the same in the contention mode and the polling mode, and a description thereof will be omitted. Here, the command / address detection units 21 of the slave stations 2a and 2b set the status flag S to “0” at the time of receiving the current down frame, and the transmission data is stored in the buffer memory. If not, steps S102 to S104 are executed, and the process returns to step S102. Therefore, slave station 2
uplink frame generating / sending unit 22 of a and 2b, does not send an uplink frame to the uplink channel ch 1 and ch 2, up channel ch 1 and ch 2 is a free channel. Here, the slave station 2b interrupts the transmission of the upstream frame in response to the previous (third) downstream frame, but for convenience of description of the present communication system, as described above, the slave station 2b It is assumed that it is in the above state. The command / address detection unit 21 of the slave station 2j
Sets the status flag to “2” at the time of receiving the current downlink frame. Uplink frame generating / sending unit 22 of the slave station 2j is the address slot AS 3 of this downstream frame is set with a reception command 112, the receive continuation notice from the command / address detecting section 21 (Step S112) continues to sends an uplink frame on an uplink channel ch 3. Note that this upstream frame, it is assumed that data errors on the uplink channel ch 3 does not occur. Also, the command / address detection units 21 of the slave stations 2c and 2d set the status flag S to "1" at the time of receiving the current down frame, and thus execute steps S106, S109 and S110. The address slots AS 4 and A 4 of the frame
From S 5, detects the slave station address "c" and "d". Therefore, the upstream frame creation / sending unit 22 of the slave station 2c and 2d, as is clear from the above, and sends the upstream frame to the uplink channel ch 4 and ch 5. However, on the uplink channel ch 5 shall be sent the uplink frame incorrectly other slave station 2g. In such a situation,
The first uplink frame receiving section 131 and the second uplink frame receiving section 132 output only the third comparison output as status information. Third upstream frame receiving section 132
Outputs the first comparison output and the second reception information (normal) as status information. The fourth uplink frame receiving unit 134 outputs the first comparison output and the first reception information (U
W detection). Further, the fifth uplink frame receiving section 135 outputs the first comparison output and the first reception information (UW
(Not detected) is output as status information.

【0029】現在、下りフレーム作成/送出部12は、
図8に示すステップS2に戻っており、現時点では、モ
ードフラグmodeが「1」を示しているので、前回と
同様にステップS9に進む。次に、下りフレーム作成/
送出部12は、スロットポインタmを「1」に設定する
(図11;ステップS1101)。ここで、上述からも
明らかなように、第1の上りフレーム受信部131から
のステータス情報と第2の上りフレーム受信部132か
らのものとは、下りフレーム作成/送出部12が前回の
下りフレームを作成する際に参照した第1の上りフレー
ム受信部131等からのものと同一の内容である。その
ため、下りフレーム作成/送出部12は、ステップS1
102〜S1109の順序で示される処理(上述)を2
回繰り返し実行する。その結果、カウンタC2は「5」
を示すこととなり(ステップS1104)、アドレスス
ロットAS1 およびAS2 には子局アドレス「e」およ
び「f」が設定され(ステップS1105)、アドレス
ポインタnは「7」を示すこととなり(ステップS11
07)、さらにスロットポインタmは「3」を示すこと
となる(ステップS1109)。その後、下りフレーム
作成/送出部12は、ステップS1102に戻り、第3
の上りフレーム受信部133からのステータス情報に基
づいて、アドレススロットAS3 に今回設定すべきコマ
ンドまたは子局アドレスを決定する。下りフレーム作成
/送出部12は、現時点で、第2の比較出力を受け取っ
ているので、ステップS1102およびS1103を実
行した後、ステップS912(図9参照)と同様のステ
ップS1112を実行する。下りフレーム作成/受信部
12は、第2の受信情報(エラー)を受け取っている場
合、前述したステップS1105に進み、第2の受信情
報(正常)を受け取っている場合、ステップS1111
に進む。下りフレーム作成/送出部12は、現時点で第
2の受信情報(正常)を受け取っているので、アドレス
スロットASm に受信コマンド112を設定する(ステ
ップS1111)。現時点では、アドレススロットAS
3 に受信コマンド112が設定される。次に、下りフレ
ーム作成/送出部12は、現時点で「3」であるスロッ
トポインタmの指示値を「4」に更新して(ステップS
1108,S1109)、ステップS1102に戻る。
そして、下りフレーム作成/送出部12は、第4の上り
フレーム受信部134からのステータス情報に基づい
て、アドレススロットAS 4 に今回設定すべきコマンド
または子局アドレスを決定する。このステータス情報
は、下りフレーム作成/送出部12が前回の下りフレー
ムを作成する際に参照した第3の上りフレーム受信部1
33からのものと同一の内容であることから、当該下り
フレーム作成/送出部12は、ステップS1102→S
1110→S1111→S1108→S1109の順序
で示される処理(上述)を実行する。その結果、アドレ
ススロットAS4 には受信コマンド112(または子局
アドレス「c」)が設定され(ステップS1111)、
さらにスロットポインタmは「5」を示すこととなる
(ステップS1109)。その後、下りフレーム作成/
送出部12は、ステップS1102に戻り、第5の上り
フレーム受信部135からのステータス情報に基づい
て、アドレススロットAS5 に今回設定すべきコマンド
または子局アドレスを決定する。下りフレーム作成/送
出部12は、現時点で、第1の比較出力を受け取ってい
るので、ステップS1102を実行した後、第1の受信
情報(UW不検出)を受け取っているので、ステップS
1110に進み、アドレススロットAS5 に子局アドレ
ス「g」を設定する(ステップS1111)。次に、下
りフレーム作成/送出部12は、現時点で「7」である
アドレスポインタnの指示値を「8」に更新した後(ス
テップS1107)、スロットポインタmが「5」を示
しているので(ステップS1108)、下りフレームを
組み立てて送出する(ステップS1113)。こうし
て、下りフレーム作成/送出部12は、図8に示すステ
ップS9を終了し、ステップS10に進む。次に、下り
フレーム作成/送出部12は、現時点では、カウンタC
2の指示値「5」が第2の所定値「4」以上であるので
(ステップS10)、ステップS11に進む。下りフレ
ーム作成/送出部12は、モードフラグmodeを
「0」に更新し、さらに、カウンタC2およびTをそれ
ぞれ「0」に更新する(ステップS10)。下りフレー
ム作成/送出部12は、ステップS10により、カウン
タTが「0」から第3の所定値をカウントする間に、空
きチャネルが第2の所定値以上の数発生していることを
認識し、現時点の上りチャンネルの状況がポーリングモ
ード(図8;ステップS9)で下りフレームを作成する
のに適さないと判断する。モードフラグmodeが
「0」に更新されることにより、次回は、コンテンショ
ンモード(図8;ステップS3)で下りフレームが作成
されることとなる。また、カウンタC2は、指示値を
「0」に更新されることにより、次回ポーリングモード
で下りフレームが作成される場合に、空きチャネルの数
を新たにカウントできるように準備する。さらに、カウ
ンタTは、指示値を「0」に更新されることにより、通
信衝突が起こっている回数を測定するための時間区間の
始まりを規定する。 次に、下りフレーム作成/送出部
12は、現時点で「0」であるカウンタTの指示値を
「1」に更新した後(ステップS6)、この指示値
「1」が第3の所定値「3」になっていないので(ステ
ップS7)、ステップS2に戻る。
At present, the downstream frame creation / transmission unit 12
Returning to step S2 shown in FIG.
Since the mode flag mode indicates “1”, the
Similarly, the process proceeds to step S9. Next, create a downstream frame /
The sending unit 12 sets the slot pointer m to “1”.
(FIG. 11; step S1101). Here, from above
As is apparent, from the first uplink frame receiving unit 131
Status information of the second uplink frame receiving unit 132
These means that the downstream frame creation / transmission unit 12
The first upstream frame referenced when creating the downstream frame
The contents are the same as those from the system receiving unit 131 and the like. That
Therefore, the downstream frame creation / transmission unit 12 performs step S1
The processing (described above) shown in the order of 102 to S1109 is
Execute repeatedly. As a result, the counter C2 becomes "5".
(Step S1104), and the address
Lot AS1 And ASTwo Has the slave station address "e" and
And “f” are set (step S1105), and the address is set.
The pointer n indicates "7" (step S11).
07), and the slot pointer m indicates “3”
(Step S1109). Then the downstream frame
The creation / transmission unit 12 returns to step S1102, and
Based on the status information from the upstream frame
Address slot ASThree Frame to set this time
Command or slave station address. Down frame creation
/ Sending unit 12 receives the second comparison output at this time
Therefore, steps S1102 and S1103 are executed.
After that, the same steps as in step S912 (see FIG. 9) are performed.
Step S1112 is executed. Downlink frame creation / reception unit
12 is a case where the second reception information (error) is being received.
In this case, the process proceeds to step S1105, and the second
If the information (normal) has been received, step S1111
Proceed to. The downstream frame creation / transmission unit 12
2 received information (normal)
Slot ASm Is set to receive command 112 (step
Step S1111). At present, the address slot AS
Three Is set to the reception command 112. Next,
The frame creation / transmission unit 12 outputs the slot “3” at the moment.
The pointer pointer m is updated to “4” (step S
1108, S1109), and returns to step S1102.
Then, the downstream frame creation / transmission unit 12 outputs the fourth upstream
Based on status information from frame receiving unit 134
And address slot AS Four Command to set this time
Or determine the slave station address. This status information
Indicates that the downstream frame generation / transmission unit 12
Third upstream frame receiving unit 1 referred to when creating a system
Since the content is the same as that from 33,
The frame creation / transmission unit 12 determines in step S1102 → S
1110 → S1111 → S1108 → S1109
(The above) is executed. As a result,
Slot Slot ASFour Contains the reception command 112 (or slave station)
Address “c”) is set (step S1111),
Further, the slot pointer m indicates "5".
(Step S1109). Then, create a downstream frame /
The sending unit 12 returns to step S1102 and performs the fifth uplink
Based on status information from frame receiving unit 135
And address slot ASFive Command to set this time
Or determine the slave station address. Downlink frame creation / transmission
The output unit 12 is currently receiving the first comparison output.
Therefore, after executing step S1102, the first reception
Since information (UW non-detection) has been received, step S
Go to 1110, address slot ASFive Child station address
Is set (step S1111). Then, below
The frame creation / transmission unit 12 is “7” at the moment.
After updating the indicated value of the address pointer n to “8” (the
(Step S1107) The slot pointer m indicates “5”.
(Step S1108), the downlink frame
Assembled and transmitted (step S1113). Like this
Thus, the downstream frame creation / transmission unit 12 performs the steps shown in FIG.
Step S9 ends, and the process proceeds to step S10. Then go down
At this time, the frame creation / transmission unit 12
2 is greater than or equal to the second predetermined value “4”
(Step S10), the process proceeds to step S11. Downfall
The frame creation / transmission unit 12 sets the mode flag mode
Update to "0" and further increase counters C2 and T
Each is updated to "0" (step S10). Down frame
In step S10, the system creation / transmission unit 12
While T is counting the third predetermined value from “0”,
That there are more channels than the second predetermined value.
Recognizes the current upstream channel status and
(FIG. 8; step S9) to create a downstream frame
Judge that it is not suitable. Mode flag mode
By being updated to "0", the contention
Frame is created in the download mode (FIG. 8; step S3)
Will be done. Further, the counter C2 outputs the indicated value.
By updating to "0", the next polling mode
Number of empty channels when downlink frames are created in
Prepare for a new count. In addition, cow
By updating the indicated value to “0”, the communication
Time interval for measuring the number of
Specify the beginning. Next, a downstream frame creation / transmission unit
12 indicates the indicated value of the counter T which is currently “0”.
After updating to "1" (step S6), the designated value
Since “1” is not the third predetermined value “3” (step
Step S7), and return to step S2.

【0030】以上、説明したように第1の実施形態に係
る通信システムによれば、下りフレーム作成/送出部1
2は、上りチャネルが混雑していない場合、コンテンシ
ョンモードで下りフレームを作成し、また、当該上りチ
ャネルが混雑している場合には、ポーリングモードで下
りフレームを作成する。これによって、通信システムに
収容される子局は、上りチャネルが混雑している、混雑
していないにかかわらず、常に高いスループットとレス
ポンスとを得ることができる。
As described above, according to the communication system according to the first embodiment, the downlink frame creation / transmission unit 1
2 generates a downstream frame in a contention mode when the upstream channel is not congested, and generates a downstream frame in a polling mode when the upstream channel is congested. Thereby, the slave station accommodated in the communication system can always obtain high throughput and response regardless of whether the uplink channel is congested or not.

【0031】ところで、ステップS7(図8参照)で、
カウンタTの指示値が第3の所定値になった場合には、
ステップS8が実行される。下りフレーム作成/送出部
12は、ステップS8において、カウンタC1、C2お
よびTをそれぞれ「0」に更新する。このステップS8
は、カウンタTが「0」から第3の所定値をカウントす
る間に、上りチャネル上で通信衝突が第1の所定数以上
の回数起こっておらず、または空きチャネルが第2の所
定回数以上の数発生していないため、再度通信衝突数ま
たは空きチャネル数を計測するために必要となるステッ
プである。また、ポーリングモード(図9;ステップS
9)が繰り返し実行されると、やがて、アドレスポイン
タnの指示値は「11」になる。このとき、下りフレー
ム作成/送出部12は、アドレスポインタnの指示値を
「1」に更新する(図11;ステップS1114)。
In step S7 (see FIG. 8),
When the indicated value of the counter T reaches a third predetermined value,
Step S8 is executed. In step S8, the downstream frame creation / transmission unit 12 updates the counters C1, C2, and T to “0”. This step S8
Means that communication collision has not occurred more than the first predetermined number on the uplink channel while the counter T has counted from the "0" to the third predetermined value, or the number of empty channels has exceeded the second predetermined number. This is a step necessary to measure the number of communication collisions or the number of free channels again because the number of has not occurred. The polling mode (FIG. 9; step S)
When 9) is repeatedly executed, the designated value of the address pointer n eventually becomes “11”. At this time, the downstream frame creation / transmission unit 12 updates the indicated value of the address pointer n to “1” (FIG. 11; step S1114).

【0032】次に、本発明の第2の実施形態に係るアク
セス制御方法を適用した通信システムについて説明す
る。第2の実施形態は、第1の実施形態と比較して、ポ
ーリングモード(図11参照)のみを実行する点のみが
異なる(ただし、本実施形態では、下りフレーム作成/
送出部12は、ポーリングモードで下りフレームを作成
するか、コンテンションモードで下りフレームを作成す
るかを判断する必要がないので、ステップS1104を
実行しない)。それ以外の通信システムの構成等につい
ては、第1の実施形態と同様であるため、相当する部分
については同一の参照番号を用いることとする。ここ
で、図12は、本第2の実施形態に係るアクセス制御方
法を適用した場合において、下りフレームのアドレスス
ロットASに設定される子局アドレスの状態の遷移およ
び上りチャネルの通信状態を示す図である。下りフレー
ム作成/送出部12は、スロットポインタmの指示値を
「1」に設定する(ステップS1101)。なお、本実
施形態では、アドレスポインタnの指示値も同時にステ
ップS1101で「1」に更新される。以降の処理につ
いては、第1の実施形態から明らかであるため、その説
明を省略する。通信システムが初期状態の場合には、ど
の上りチャネルにも上りフレームが送出されていないた
め、下りフレーム作成/送出部12は、上述したステッ
プS1101が実行された後、ステップS1102→S
1103→S1105〜S1109の順序で示される処
理手順を4回繰り返した後、ステップS1102→S1
103→S1105〜S1108→S1113を実行
し、それぞれのステップにおいて前述と同様の動作を実
行する。したがって、スロットポインタmおよびアドレ
スポインタnの指示値は、「1」→「2」→「3」→
「4」→「5」と遷移する。そして、ステップS110
8において、指示値mが「5」であれば、下りフレーム
作成/送出部12は、第1回目の下りフレームの作成を
終了し、当該下りフレームを下りチャネルに送出する
(ステップS1113)。したがって、下りフレーム作
成/送出部12は、スロットポインタmおよびアドレス
ポインタnの指示値が「1」のとき、アドレステーブル
111から順番「1」が付された子局アドレス「a」を
取り出し(図3参照)、当該子局アドレス「a」を、ア
ドレススロットAS1 に設定する。同様にして、下りフ
レーム作成/送出部12は、子局アドレス「b」をアド
レススロットAS2 に、子局アドレス「c」をアドレス
スロットAS3 に、子局アドレス「d」をアドレススロ
ットAS4 に、さらに、子局アドレス「e」をアドレス
スロットAS5 に設定する(図12,第1回目の下りフ
レームのAS1 〜AS5 参照)。この結果、下りフレー
ム作成/送出部12は、子局2a〜2eに上りチャネル
ch1 〜ch5 を割り当てることとなる。なお、親局1
が第1回目の下りフレームを送出した時点では、アドレ
スポインタの指示値nは「6」である。
Next, a communication system to which the access control method according to the second embodiment of the present invention is applied will be described. The second embodiment is different from the first embodiment only in that only the polling mode (see FIG. 11) is executed.
The transmitting unit 12 does not need to determine whether to create a downlink frame in the polling mode or create a downlink frame in the contention mode, and thus does not execute step S1104). Other configurations of the communication system and the like are the same as those in the first embodiment, and the same reference numerals are used for corresponding parts. Here, FIG. 12 is a diagram showing the transition of the state of the slave station address set in the address slot AS of the downstream frame and the communication state of the upstream channel when the access control method according to the second embodiment is applied. It is. The downlink frame creation / transmission unit 12 sets the indicated value of the slot pointer m to “1” (Step S1101). In this embodiment, the value indicated by the address pointer n is also updated to “1” in step S1101. Subsequent processing is clear from the first embodiment, and a description thereof will be omitted. When the communication system is in the initial state, since no uplink frame has been transmitted on any uplink channel, the downlink frame creation / transmission unit 12 executes step S1102 → S
After repeating the processing procedure shown in the order of 1103 → S1105 to S1109 four times, step S1102 → S1
Steps 103 → S1105 to S1108 → S1113 are executed, and the same operation as described above is executed in each step. Therefore, the indicated values of the slot pointer m and the address pointer n are “1” → “2” → “3” →
Transition is made from “4” to “5”. Then, step S110
In 8, if the instruction value m is “5”, the downlink frame creation / transmission unit 12 ends the creation of the first downlink frame and transmits the downlink frame to the downlink channel (step S1113). Therefore, when the indicated values of the slot pointer m and the address pointer n are “1”, the downstream frame creation / transmission unit 12 extracts the slave station addresses “a” assigned with the order “1” from the address table 111 (see FIG. 3 see), the child station address "a" is set in the address slot AS 1. Similarly, the downstream frame creation / transmission unit 12 assigns the slave station address “b” to the address slot AS 2 , the slave station address “c” to the address slot AS 3 , and the slave station address “d” to the address slot AS 4. to further set the slave station address "e" into the address slot AS 5 (FIG. 12, reference AS 1 ~AS 5 of the first downlink frame). As a result, the downstream frame creation / delivery portion 12, so that the allocating the uplink channel ch 1 to CH 5 to slave station 2a to 2e. In addition, master station 1
Has transmitted the first downstream frame, the indicated value n of the address pointer is “6”.

【0033】次に、第1回目の下りフレームに対する各
子局2の動作については、第1の実施形態で説明したも
のと同様であるため、その説明を省略する。なお、第1
回目の下りフレームに応答して、子局2a〜2eが上り
チャネルch1 〜ch5 に、各自の上りフレームを送出
する(図12,上りチャネルch1 〜ch5 参照)。
Next, the operation of each slave station 2 for the first downlink frame is the same as that described in the first embodiment, and a description thereof will be omitted. The first
In response to the rotating first downstream frame, the slave station 2a~2e is the uplink channel ch 1 to CH 5, and sends their upstream frames (see Fig. 12, up channel ch 1 ~ch 5).

【0034】下りフレーム作成/送出部12は、第1回
目の下りフレームを送出してから第2の所定時間が経過
した後、第2回目の下りフレームを作成する。このと
き、子局2a〜2eからの上りフレームは、上りチャネ
ルch1 〜ch5 に送出されている。また、上りチャネ
ルch1 〜ch3 からの上りフレームは、通信衝突を起
こさないものとする。しかし、上りチャネルch4 およ
びch5 からの上りフレームは、当該上りチャネルch
4 またはch5 を割り当てられていない子局が誤って上
りフレームを送出したこと等によって、通信衝突を起こ
すものとする。下りフレーム作成/送出部12は、第1
の実施形態の説明を参照すれば明らかなように、第2回
目の下りフレームにおいて、アドレススロットAS1
AS3に子局アドレス「a」〜「c」を再度設定し、ア
ドレススロットAS4 およびAS5 に子局アドレス
「f」および「g」を設定する。下りフレーム作成/送
出部12は、第2回目の下りフレームの作成を終了する
と、当該下りフレームを下りチャネルに送出する(図1
2,第2回目の下りフレームのAS1 〜AS5 参照)。
第2回目の下りフレームによって、子局2fおよび2g
が、新たに上りチャネルを割り当てられることとなる。
The downstream frame generation / transmission unit 12 generates a second downstream frame after a second predetermined time has passed since the transmission of the first downstream frame. At this time, the upstream frame from the slave station 2a to 2e, and is sent to the uplink channel ch 1 ~ch 5. Further, the upstream frame from the upstream channel ch 1 to CH 3 shall not cause communication collisions. However, the upstream frame from the upstream channel ch 4 and ch 5 is the uplink channel ch
It is assumed that a communication collision occurs due to, for example, an incorrect transmission of an uplink frame by a slave station to which channel 4 or channel 5 is not assigned. The downstream frame creation / transmission unit 12 performs the first
Of As it is clear by referring to the description of embodiments, in the second downlink frame, the address slots AS 1 ~
Slave station address "a" to the "c" is set again to AS 3, sets the address slots AS 4 and AS 5 slave station address "f" to and "g". After completing the creation of the second downlink frame, the downlink frame creation / transmission unit 12 sends the downlink frame to the downlink channel (FIG. 1).
2, reference AS 1 ~AS 5 of the second downlink frame).
By the second downlink frame, slave stations 2f and 2g
Is newly assigned an uplink channel.

【0035】次に、第1回目の下りフレームに対する各
子局2の動作については、第1の実施形態で説明したも
のと同様であるため、その説明を省略する。なお、第2
回目の下りフレームに応答して、子局2a、2b、2f
および2gは上りチャネルch1 、ch2 、ch4 およ
びch5 に、各自の上りフレームを送出するが、子局2
cは上りチャネルch3 に上りフレームを送出しない
(図12,上りチャネルch1 〜ch5 参照)。
Next, the operation of each slave station 2 for the first downlink frame is the same as that described in the first embodiment, and a description thereof will be omitted. The second
In response to the second downstream frame, the slave stations 2a, 2b, 2f
And 2g is the up channel ch 1, ch 2, ch 4 and ch 5, but sends their upstream frame, the slave station 2
c does not send an uplink frame to the uplink channel ch 3 (see FIG. 12, the uplink channel ch 1 ~ch 5).

【0036】下りフレーム作成/送出部12は、第2回
目の下りフレームを送出してから第2の所定時間が経過
した後、第3回目の下りフレームを生成する。このと
き、上りフレームは、上りチャネルch1 、ch2 、c
4 およびch5 に送出されている。また、上りチャネ
ルch1 、ch2 、ch4 およびch5 からの上りフレ
ームはエラーを生じず、また通信衝突を起こさないもの
とする。下りフレーム作成/送出部12は、第1の実施
形態の説明を参照すれば明らかなように、第3回目の下
りフレームにおいて、アドレススロットAS1 、A
2、AS4 およびAS5 に子局アドレス「a」、
「b」、「f」および「g」(または受信コマンド11
2)を再度設定し、アドレススロットAS3 に子局アド
レス「h」を設定する。下りフレーム作成/送出部12
は、第3回目の下りフレームの作成を終了すると、当該
下りフレームを下りチャネルに送出する(図12,第3
回目の下りフレームのAS1 〜AS5 参照)。第3回目
の下りフレームによって、子局2hが、新たに上りチャ
ネルを割り当てられることとなる。
The downstream frame generating / transmitting section 12 generates a third downstream frame after a second predetermined time has passed since the transmission of the second downstream frame. At this time, the uplink frame is composed of uplink channels ch 1 , ch 2 , c
It is sent to h 4 and ch 5. Also, it is assumed that the uplink frames from the uplink channels ch 1 , ch 2 , ch 4 and ch 5 do not cause an error and do not cause a communication collision. As apparent from the description of the first embodiment, the downstream frame creation / transmission unit 12 sets the address slots AS 1 and A 1 in the third downstream frame.
The slave station address “a” is assigned to S 2 , AS 4 and AS 5 ,
“B”, “f” and “g” (or the reception command 11
2) Set again, to set the slave station address "h" in the address slot AS 3. Downstream frame creation / transmission unit 12
Transmits the downlink frame to the downlink channel after completing the creation of the third downlink frame (FIG. 12, third
See AS 1 ~AS 5 times eyes of the downstream frame). By the third downlink frame, the child station 2h is newly assigned an uplink channel.

【0037】以上説明したようにして、下りフレーム作
成/送出部12は、ポーリングモードのみを実行した場
合でも以下のような効果を奏する。下りフレーム作成/
送出部12は、空きチャネルを検出する毎に、アドレス
テーブル111に設定されている順番に従って、子局2
に上りチャネルを割り当てる。これによって、ある特定
の上りチャネルのみが輻輳状態に陥るということがなく
なる。さらに、下りフレーム作成/送出部12は、上り
フレーム受信部13からのステータス情報によって、無
駄なデータ通信を検出する。下りフレーム作成/送出部
12は、かかる無駄なデータ通信を行っている子局2に
対する上りチャネルの割り当てを解放し、この無駄なデ
ータ通信に用いられていた上りチャネルを、上記順番に
従って、新たな子局2に割り当てていく。すなわち、下
りフレーム作成/送出部12は、無駄なデータ通信によ
って子局2のレスポンスやスループットが低下するとい
うことを未然に防止している。これによって、上りチャ
ネルは効率的に利用される。なお、この効果は、上述し
た第1の実施形態におけるポーリングモードにおいても
該当する。
As described above, the downstream frame creation / transmission unit 12 has the following effects even when only the polling mode is executed. Down frame creation /
Each time the sending unit 12 detects a free channel, it sends the slave station 2 in accordance with the order set in the address table 111.
To the uplink channel. As a result, it is possible to prevent only a specific uplink channel from being in a congestion state. Further, the downstream frame generation / transmission unit 12 detects useless data communication based on the status information from the upstream frame reception unit 13. The downlink frame creation / transmission unit 12 releases the allocation of the uplink channel to the slave station 2 performing the useless data communication, and renews the uplink channel used for the useless data communication according to the above-described order. Assigned to slave station 2. That is, the downlink frame creation / transmission unit 12 prevents the response and throughput of the slave station 2 from being reduced due to useless data communication. Thereby, the uplink channel is used efficiently. This effect also applies to the polling mode in the first embodiment described above.

【0038】なお、上述した第1および第2の実施形態
においては、アドレステーブル111には、図3に示す
テーブルが用いられていた。図3に示すアドレステーブ
ル111は、子局2aが最も早く上りチャネルを割り当
てられ、子局2kが最も遅く上りチャネルを割り当てら
れるという面では、優先度が規定されていることとな
る。しかし、いずれの子局2も11回に1回の割合で、
上りチャネルの使用を許可されることとなる。しかし、
図13に示すテーブルを適用すると、子局2aは、他の
子局2と異なり、6回に1回の割合で上りチャネルの使
用を許可されることとなる。これによって、例えば、子
局2aが、他の子局2よりも上りフレームを生成する頻
度が高い場合等に、子局2aのレスポンスやスループッ
トを高めることができるという効果を有する。
In the first and second embodiments described above, the table shown in FIG. 3 is used as the address table 111. The priority is defined in the address table 111 shown in FIG. 3 in that the slave station 2a is assigned the uplink channel first and the slave station 2k is assigned the latest uplink channel. However, each slave station 2 has a rate of once every 11 times,
The use of the uplink channel is permitted. But,
When the table shown in FIG. 13 is applied, the slave station 2a is permitted to use the uplink channel once every six times, unlike the other slave stations 2. Accordingly, for example, when the slave station 2a generates an uplink frame more frequently than the other slave stations 2, the response and throughput of the slave station 2a can be increased.

【0039】次に、本発明の第3の実施形態に係るアク
セス制御方法を適用した通信システムについて説明す
る。本通信システムは、図1に示す通信システムと同様
の構成を有しているため、その説明を省略するが、以下
に説明する点が図1に示す通信システムと比較して異な
る。
Next, a communication system to which the access control method according to the third embodiment of the present invention is applied will be described. This communication system has the same configuration as that of the communication system shown in FIG. 1, and thus the description thereof is omitted. However, the following points are different from the communication system shown in FIG. 1.

【0040】伝送路3に接続される子局2は、予め定め
られた複数のグループに分けられる。本実施形態におい
ては、その一例として、11台の子局2が2つのグルー
プ(第1グループと第2グループ)に分けられ、子局2
a〜2eが第1グループに属し、子局2f〜2kが第2
グループに属するものとする。また、第1グループに
は、上りチャネルch1 〜ch3 が割り当てられ、第2
グループには、上りチャネルch4 およびch5 が割り
当てられる。そのため、親局1は、例えば、図14に示
すようなアドレステーブルを有する。図14において、
アドレステーブルは、グループ毎に、上りチャネルを子
局に割り当てる順番が付された子局アドレスを格納す
る。すなわち、第1グループにおいては、第1の順番
「1」〜「5」に子局アドレス「a」〜「e」が付され
(以下、これを第1テーブルと記す)、第2グループに
おいては、第2の順番「1」〜「6」に子局アドレス
「f」〜「k」が付される(以下、これを「第2テーブ
ル」という)。
The slave stations 2 connected to the transmission path 3 are divided into a plurality of predetermined groups. In the present embodiment, as an example, eleven slave stations 2 are divided into two groups (a first group and a second group).
a to 2e belong to the first group, and the slave stations 2f to 2k belong to the second group.
It belongs to a group. Further, in the first group, assigned uplink channel ch 1 to CH 3, second
The group is allocated uplink channels ch 4 and ch 5. Therefore, the master station 1 has, for example, an address table as shown in FIG. In FIG.
The address table stores, for each group, a slave station address assigned with an order in which uplink channels are assigned to slave stations. That is, in the first group, slave station addresses “a” to “e” are added to the first order “1” to “5” (hereinafter, this is referred to as a first table), and in the second group, , The slave station addresses “f” to “k” are assigned to the second order “1” to “6” (hereinafter, this is referred to as “second table”).

【0041】また、親局1の下りフレーム作成/送出部
12は、グループ毎のアドレスポインタnを含む。した
がって、本実施形態においては、2つの第1および第2
アドレスポインタn1 およびn2 を含む。第1のアドレ
スポインタn1 は、下りフレーム作成/送出部12から
の指示に基づいて、「1」から「5」までを1ずつカウ
ントアップし、当該第1のアドレスポインタn1 の指示
値は、上述した第1の順番を示す。第2のアドレスポイ
ンタn2 は、下りフレーム作成/送出部12からの指示
に基づいて、「1」から「6」までを1ずつカウントア
ップする。第2のアドレスポインタn2 の指示値は、上
述した第2の順番を示す。
The downstream frame creation / transmission unit 12 of the master station 1 includes an address pointer n for each group. Therefore, in the present embodiment, two first and second
Contains the address pointer n 1 and n 2. The first address pointer n 1 counts up from “1” to “5” by one based on an instruction from the downstream frame creation / transmission unit 12, and the indicated value of the first address pointer n 1 is , The first order described above. The second address pointer n 2 counts up from “1” to “6” by one based on an instruction from the downstream frame creation / transmission unit 12. Indicated value of the second address pointer n 2 illustrates a second order described above.

【0042】また、下りフレーム作成/送出部は、図1
5に示すフローチャートに基づいて、下りフレームを作
成する。図15に示すフローチャートは、図11に示す
ものを2つ縦続させた態様を有しており、上りチャネル
ch1 〜ch3 から空きチャネルを検出し、当該空きチ
ャネルを、上述した第1の順番に基づいて、第1グルー
プに属する子局2a〜2eに割り当てる(ステップS1
21)、その後、上りチャネルch4 およびch5 から
使用されていない空きチャネルを検出し、当該空きチャ
ネルを、第2の順番に基づいて、第2グループに属する
子局2f〜2kに割り当てる(ステップS122)。し
たがって、下りフレーム作成/送出部12は、下りフレ
ームのアドレススロットAS1 〜AS3 には、上述した
第1テーブルから取り出された子局アドレスを設定し、
子局2a〜2eのいずれかに上りチャネルch1 〜ch
3 を割り当てる。また、下りフレームのアドレススロッ
トAS4 およびAS5 には、上述した第2テーブルから
取り出された子局アドレスを設定し、子局2f〜2kの
いずれかに上りチャネルch4 またはch3 を割り当て
る。
Also, the downstream frame creation / transmission unit is provided with the configuration shown in FIG.
The downlink frame is created based on the flowchart shown in FIG. Flowchart shown in FIG. 15, the one shown in FIG. 11 has two cascaded aspect was to detect a free channel from upstream channel ch 1 to CH 3, a first order of the idle channel, the above-described Is assigned to the slave stations 2a to 2e belonging to the first group (step S1).
21), then, detects a free channel which is not used from the uplink channel ch 4 and ch 5, the idle channel, based on the second order is assigned to the slave station 2f~2k belonging to the second group (step S122). Therefore, the downstream frame creation / transmission unit 12 sets the slave station address extracted from the above-described first table in the downstream frame address slots AS 1 to AS 3 ,
Up channel ch 1 to CH in any one of the slave stations 2a~2e
Assign 3 . Further, the address slots AS 4 and AS 5 of the downstream frame, sets the slave station address retrieved from the second table described above, allocating the uplink channel ch 4 or ch 3 to one of the slave stations 2F~2k.

【0043】親局1と子局2との間では、コンピュータ
データや音声データ等様々な情報の通信が行われる。し
かし、一般的に、音声データの量はある程度大きさが決
まっているが、コンピュータデータの量はまちまちであ
る。しかも、音声データは、レスポンスやスループット
を保証しなければ、音声データとしての意味をなさない
場合が多い。そのため、かかる音声データの通信を行う
子局2と、レスポンスやスループットを保証する必要が
ないコンピュータデータの通信を行う子局2とが、混在
するような通信システムでは、当該音声データの通信を
行う子局2のレスポンスやスループットが保証されない
場合がある。そのため、第2の実施形態においては、親
局1と接続される子局2を、当該子局2が保有する情報
の属性に応じてグループ分けする。また、各上りチャネ
ルは、グループ毎に重複しないように割り当てられてい
る。親局1は、空きチャネルを検出すると、検出した空
きチャネルが割り当てられているグループから子局2を
選択する。したがって、例えば、上記音声データの通信
を行う子局をグループ化すれば、そのグループ内に属す
る子局が、上りチャネルを割り当てられる周期性を確保
できるようになり、当該グループ内において、レスポン
スやスループットを保証することが可能となる。
Various information such as computer data and voice data are communicated between the master station 1 and the slave station 2. However, in general, the amount of audio data is determined to some extent, but the amount of computer data varies. Moreover, audio data often does not make sense as audio data unless a response or throughput is guaranteed. Therefore, in a communication system in which the slave station 2 that performs the communication of the audio data and the slave station 2 that performs the communication of the computer data that does not need to guarantee the response and the throughput are mixed, the communication of the audio data is performed. The response and throughput of the slave station 2 may not be guaranteed. Therefore, in the second embodiment, the slave stations 2 connected to the master station 1 are grouped according to the attribute of the information held by the slave station 2. In addition, each uplink channel is assigned so as not to overlap for each group. When detecting the free channel, the master station 1 selects the slave station 2 from the group to which the detected free channel is assigned. Therefore, for example, if the slave stations that perform the communication of the audio data are grouped, the slave stations belonging to the group can secure the periodicity in which the uplink channel is allocated. Can be guaranteed.

【0044】なお、第3の実施形態においても、第2の
実施形態において説明した図13に示すアドレステーブ
ルを適用して、特定の子局2のレスポンスやスループッ
トを高めてもよい。また、上述した受信コマンド112
などをアドレススロットに設定できるようにしてもよ
い。
In the third embodiment, the response and throughput of a specific slave station 2 may be increased by applying the address table shown in FIG. 13 described in the second embodiment. In addition, the above-described reception command 112
May be set in the address slot.

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

【図1】本発明の第1の実施形態に係るアクセス制御方
法を適用した通信システムの全体構成を示すブロック図
である。
FIG. 1 is a block diagram illustrating an overall configuration of a communication system to which an access control method according to a first embodiment of the present invention is applied.

【図2】図1に示す親局1の詳細な構成を示すブロック
図である。
FIG. 2 is a block diagram showing a detailed configuration of a master station 1 shown in FIG.

【図3】図2に示すアドレステーブル111の一例を示
す図である。
FIG. 3 is a diagram illustrating an example of an address table 111 illustrated in FIG. 2;

【図4】図2に示す親局1が送出する下りフレームの構
成を示す図である。
4 is a diagram showing a configuration of a downstream frame transmitted by a master station 1 shown in FIG.

【図5】図4に示すアドレススロットに設定される子局
アドレスおよび各種コマンドのビット構成を示す図であ
る。
5 is a diagram showing bit configurations of a slave station address and various commands set in the address slot shown in FIG. 4;

【図6】図1に示す子局2の詳細な構成を示すブロック
図である。
FIG. 6 is a block diagram showing a detailed configuration of a slave station 2 shown in FIG.

【図7】図6に示す子局が送出する上りフレームの構成
の一例を示す図である。
FIG. 7 is a diagram illustrating an example of a configuration of an uplink frame transmitted by a slave station illustrated in FIG. 6;

【図8】図1に示す親局1の動作手順を示すフローチャ
ートである。
8 is a flowchart showing an operation procedure of the master station 1 shown in FIG.

【図9】図8に示すステップS3の詳細な動作手順を示
すフローチャートである。
FIG. 9 is a flowchart showing a detailed operation procedure of step S3 shown in FIG. 8;

【図10】図1に示す子局2の動作手順を示すフローチ
ャートである。
10 is a flowchart showing an operation procedure of the slave station 2 shown in FIG.

【図11】図8に示すステップS9の詳細な動作手順を
示すフローチャートである。
FIG. 11 is a flowchart showing a detailed operation procedure of step S9 shown in FIG. 8;

【図12】本発明の第2の実施形態に係るアクセス制御
方法を適用した場合において、下りフレームのアドレス
スロットに設定される子局アドレスの状態の遷移および
上りチャネルの通信状態を示す図である。
FIG. 12 is a diagram showing a transition of a state of a slave station address set in an address slot of a downlink frame and a communication state of an uplink channel when the access control method according to the second embodiment of the present invention is applied. .

【図13】図2に示すアドレステーブル111の他の例
を示す図である。
FIG. 13 is a diagram showing another example of the address table 111 shown in FIG.

【図14】本発明の第3の実施形態に係るアクセス制御
方法を適用した通信システムにおけるアドレステーブル
の一例を示す図である。
FIG. 14 is a diagram illustrating an example of an address table in a communication system to which an access control method according to a third embodiment of the present invention is applied.

【図15】本発明の第3の実施形態に係るアクセス制御
方法を適用した通信システムにおける下りフレーム作成
/送出部12が下りフレームを作成する際の動作手順を
示すフローチャートである。
FIG. 15 is a flowchart showing an operation procedure when a downlink frame creation / transmission unit 12 creates a downlink frame in a communication system to which an access control method according to a third embodiment of the present invention is applied.

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

1…親局 11…メモリ部 12…下りフレーム作成/送出部 13…上りフレーム受信部 2…子局 21…コマンド/アドレス検出部 22…上りフレーム作成/送出部 DESCRIPTION OF SYMBOLS 1 ... Master station 11 ... Memory part 12 ... Downlink frame creation / transmission part 13 ... Uplink frame reception part 2 ... Child station 21 ... Command / address detection part 22 ... Uplink frame creation / transmission part

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 親局と複数の子局とが、双方向通信可能
な通信システムにおいて、当該子局から当該親局へのア
クセスを制御するための方法であって、 前記親局は、下り信号を送出するために下りチャネルを
使用可能であり、各前記子局は、上り信号を送出するた
めに複数の上りチャネルを使用可能であり、 前記親局は、 現在空いている上りチャネル(以下、「空きチャネル」
という)を検出し、検出した空きチャネルに相当する数
の子局を選択し、 前記選択した子局に対して、前記空きチャネルを個別的
に割り当て、 前記選択した子局に割り当てた空きチャネルを通知する
ための下り信号を作成して前記下りチャネルに送出し、 前記子局は、前記下りチャネルから入力した下り信号に
よって、上りチャネルが自局に割り当てられているか否
かを判断する、アクセス制御方法。
1. A method for controlling access from a slave station to the master station in a communication system in which the master station and a plurality of slave stations are capable of two-way communication, wherein the master station includes a downlink. A downlink channel can be used to transmit a signal, each of the slave stations can use a plurality of uplink channels to transmit an uplink signal, and the master station can use a currently available uplink channel (hereinafter, referred to as an uplink channel). , "Free channel"
), Selects a number of slave stations corresponding to the detected vacant channels, individually assigns the vacant channels to the selected slave stations, and notifies the vacant channels assigned to the selected slave stations. An access control method comprising: generating a downlink signal for transmission to the downlink channel; and transmitting the downlink signal to the downlink channel, wherein the slave station determines whether an uplink channel is allocated to the own station based on the downlink signal input from the downlink channel.
【請求項2】 親局と複数の子局とが、双方向通信可能
な通信システムにおいて、当該子局から当該親局へのア
クセスを制御するための方法であって、 前記親局は、下り信号を送出するために下りチャネルを
使用可能であり、各前記子局は、上り信号を送出するた
めに複数の上りチャネルを使用可能であり、 前記親局は、 現在空いている上りチャネル(以下、「空きチャネル」
という)を検出し、 前記検出した空きチャネルを子局に通知するための下り
信号を作成して前記下りチャネルに送出し、 前記子局は、 前記下りチャネルから入力した下り信号によって、現在
空きチャネルである上りチャネルを認識し、当該空きチ
ャネルに前記上り信号を送出する、アクセス制御方法。
2. A method for controlling access from a slave station to the master station in a communication system in which the master station and a plurality of slave stations are capable of two-way communication, the master station comprising: A downlink channel can be used to transmit a signal, each of the slave stations can use a plurality of uplink channels to transmit an uplink signal, , "Free channel"
) Is detected, and a downlink signal for notifying the detected idle channel to the slave station is created and transmitted to the downlink channel. The slave station receives the currently available channel by the downlink signal input from the downlink channel. An access control method for recognizing an uplink channel and transmitting the uplink signal to the empty channel.
JP2002126209A 1996-05-28 2002-04-26 Access control method in communication system Expired - Lifetime JP3878050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002126209A JP3878050B2 (en) 1996-05-28 2002-04-26 Access control method in communication system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP13312396 1996-05-28
JP8-133123 1996-05-28
JP2002126209A JP3878050B2 (en) 1996-05-28 2002-04-26 Access control method in communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP13385497A Division JP3436657B2 (en) 1996-05-28 1997-05-23 Access control method in communication system

Publications (2)

Publication Number Publication Date
JP2002368764A true JP2002368764A (en) 2002-12-20
JP3878050B2 JP3878050B2 (en) 2007-02-07

Family

ID=26467547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002126209A Expired - Lifetime JP3878050B2 (en) 1996-05-28 2002-04-26 Access control method in communication system

Country Status (1)

Country Link
JP (1) JP3878050B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8780815B2 (en) 2007-02-01 2014-07-15 Fujitsu Limited Wireless resource allocation method in wireless communication system and wireless base station in the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8780815B2 (en) 2007-02-01 2014-07-15 Fujitsu Limited Wireless resource allocation method in wireless communication system and wireless base station in the same

Also Published As

Publication number Publication date
JP3878050B2 (en) 2007-02-07

Similar Documents

Publication Publication Date Title
CA2206385C (en) Access control method in communication system
US5453987A (en) Random access protocol for multi-media networks
US4581734A (en) Multipriority communication system
US4096355A (en) Common channel access method for a plurality of data stations in a data transmission system and circuit for implementing the method
US20150146742A1 (en) Data Transmitting and Receiving Method, Data Transmitting and Receiving System, Master Device, and Slave Device
JP4050031B2 (en) Time division universal multiple access network
US5430843A (en) Data transmission system and method for transmitting data having real-time and non-real-time characteristics
CN110366870B (en) Method for collision avoidance in synchronous wireless communication system
WO2017076196A1 (en) Method and device for reserving data transmission resource
CN111836312B (en) Resource reservation method and equipment based on competition
EP2359538B1 (en) Method for adjusting time slots in a communication network
US7539206B2 (en) Communication apparatus and method for supporting carrier sense multiple access/collision detection
JPH1051473A (en) Access control method of communication system
JP2002368764A (en) Access control method in communication system
JPH0457140B2 (en)
CN107926061A (en) A kind of back-off method, transmission message approach and device
CA2395528C (en) Access control method in communication system
CN111935834B (en) Data transmission method, device, computer equipment and storage medium
JP2000032012A (en) Polling communication method and system
JPH05344135A (en) Data communication system
JP3764930B2 (en) Wireless communication device
CN113543082A (en) Communication method, device, electronic equipment, system and medium
JPH0153820B2 (en)
CN106850134A (en) Frame transmission method and device
JPH07202842A (en) Data transmitter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040415

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060509

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060707

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061031

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061101

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091110

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101110

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101110

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131110

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term