JPH07177056A - Communication system - Google Patents

Communication system

Info

Publication number
JPH07177056A
JPH07177056A JP25195894A JP25195894A JPH07177056A JP H07177056 A JPH07177056 A JP H07177056A JP 25195894 A JP25195894 A JP 25195894A JP 25195894 A JP25195894 A JP 25195894A JP H07177056 A JPH07177056 A JP H07177056A
Authority
JP
Japan
Prior art keywords
station
identification code
information
signal
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
JP25195894A
Other languages
Japanese (ja)
Other versions
JP2760294B2 (en
Inventor
Hiroshi Kobayashi
央 小林
Michinaga Nagura
道長 名倉
Kazumasa Toyama
一昌 遠山
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.)
Denso Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP25195894A priority Critical patent/JP2760294B2/en
Publication of JPH07177056A publication Critical patent/JPH07177056A/en
Application granted granted Critical
Publication of JP2760294B2 publication Critical patent/JP2760294B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Radar Systems Or Details Thereof (AREA)

Abstract

PURPOSE:To make zero the probability or failure in communication connection by a finite number of times of retransmission in the communication system between a master station and plural slave stations. CONSTITUTION:A master station 1 transmits and receives data to and from plural slave stations (contactless tags) 2 by radio and records information of slave stations 2, and each slave station 2 selects a prescribed time slot set to the master station based on digit information of discrimination codes 124 and 624 of the slave station 2 itself at each time of receiving a pilot command 11 from the master station and transmits a response signal 12 at a timing corresponding to this selection. That is, the discrimination codes are information peculiar to the slave station, and the transmission timing is matched in accordance with this information to make zero the probability of signal collision by the finite number of times of retransmission.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、親局と子局(非接触タ
グ)との間の通信システムに関するものであり、特に、
移動している複数の子局を識別し、データの通信等の処
理を行う通信システムに採用されるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system between a master station and a slave station (contactless tag).
It is adopted in a communication system that identifies a plurality of mobile stations that are moving and performs processing such as data communication.

【0002】[0002]

【従来の技術】従来、微弱電波を利用した親局と子局
(非接触タグ)との間の通信は、親局と子局とを1対1
の関係になるように制御し、親局から子局をポーリング
して通信していた。しかし、複数の子局が存在する場合
は、親局からのポーリングに対する子局の応答が衝突し
てしまい、通信ができなくなるといった問題があった。
2. Description of the Related Art Conventionally, in a communication between a master station and a slave station (contactless tag) using weak radio waves, there is a one-to-one correspondence between the master station and the slave station.
It controlled so that it became a relationship of, and polled the slave station from the master station to communicate. However, when there are a plurality of slave stations, there is a problem that the slave station responses to the polling from the master station collide with each other and communication cannot be performed.

【0003】そこで、上記問題を解決する方法として、
例えば、特公平3−2271号公報に記載されるような
通信方法がある。これは、監視局が監視局識別コードを
含む質問信号を発し、この質問信号に応じて、タグ回路
がタグ回路識別コードを含む応答信号を発生するとき、
タグ回路から発せられる応答信号が、監視局に設けられ
た複数のタイムスロットのいずれか1つのタイムスロッ
トに、ランダムに入力されるというものである。
Therefore, as a method for solving the above problem,
For example, there is a communication method as described in Japanese Patent Publication No. 3-2271. This is because when the monitoring station issues an inquiry signal containing the monitoring station identification code, and in response to this inquiry signal, the tag circuit produces a response signal containing the tag circuit identification code,
The response signal emitted from the tag circuit is randomly input to any one of the plurality of time slots provided in the monitoring station.

【0004】[0004]

【発明が解決しようとする課題】ところが上述した従来
のものでは、同時に複数のタグを処理できる可能性を与
えているものの失敗する確率が無視できないところに問
題がある。つまり、複数のタグの応答信号が、各々ラン
ダムにタイムスロットに入力されるため、同一のタイム
スロットが選択されて入力された場合、応答信号が衝突
してしまうことがある。そして、その衝突確率は、(1
/タイムスロット数)である。むろん、再送によりその
確率は、低減させることができるが、有限回数の再送で
はこの衝突確率を0にすることはできない。
However, the above-mentioned conventional technique has a problem in that the probability of failure cannot be ignored although it gives the possibility of processing a plurality of tags at the same time. That is, since the response signals of a plurality of tags are randomly input to the time slots, the response signals may collide when the same time slot is selected and input. And the collision probability is (1
/ Number of time slots). Obviously, the probability can be reduced by retransmission, but the collision probability cannot be reduced to 0 by a limited number of retransmissions.

【0005】そこで、タイムスロット数を増やす方法、
あるいは、再送回数を増やす方法等が考えられ、衝突に
よる通信失敗の確率は黙認できる程度になるかもしれな
い。しかし、例えば、高速で移動する対象にタグが取り
付けられている場合、親局と子局との間の通信可能時間
に制約があるので、タイムスロット数も再送回数も充分
に確保することができないことがある。
Therefore, a method of increasing the number of time slots,
Alternatively, a method of increasing the number of retransmissions may be considered, and the probability of communication failure due to collision may be tolerable. However, for example, when a tag is attached to a target that moves at high speed, the number of time slots and the number of retransmissions cannot be secured because the communication time between the master station and the slave station is limited. Sometimes.

【0006】そこで本発明は上記問題点に鑑みてなされ
たものであり、監視局と複数のタグとの通信システムに
おいて、複数のタグの応答信号が衝突することなく、有
限回数の再送で、衝突による失敗確率を0にする通信シ
ステムを提供することを目的とするものである。
Therefore, the present invention has been made in view of the above problems, and in a communication system of a monitoring station and a plurality of tags, the response signals of the plurality of tags do not collide, but collide with a limited number of retransmissions. It is an object of the present invention to provide a communication system that reduces the failure probability due to 0.

【0007】[0007]

【課題を解決するための手段】そのため本発明は、親局
(1)と、この親局の監視範囲内に入るそれぞれ固有の
識別コードを有した1個以上の子局(2)との間の通信
システムにおいて、前記親局に設けられ、前記監視範囲
内に入る子局に向けて所定周期で質問信号を送信する質
問信号送信手段(S10〜30)と、前記子局に設けら
れ、前記親局から送信される信号が前記質問信号である
か否かを判定する質問信号判定手段(S120)と、こ
の質問信号判定手段にて前記質問信号が判定された場
合、その判定回数を計数し、この計数された判定回数に
応じて前記識別コードのコード情報の中から所定の桁情
報を選択する選択手段(S130、135、160)
と、この選択手段が選択した桁情報に対応した時間だけ
待機した後、前記識別コードを含めた応答信号を送信す
る応答信号送信手段(S140,150)と、を採用す
るものである。
SUMMARY OF THE INVENTION Therefore, according to the present invention, between a master station (1) and one or more slave stations (2) each having a unique identification code within the monitoring range of the master station. In the communication system, the interrogation signal transmitting means (S10 to 30), which is provided in the master station and transmits interrogation signals to the slave stations within the monitoring range at a predetermined cycle, and is provided in the slave station, An inquiry signal determination means (S120) for determining whether or not the signal transmitted from the master station is the inquiry signal, and when the inquiry signal is determined by this inquiry signal determination means, the number of times of determination is counted. Selection means (S130, 135, 160) for selecting predetermined digit information from the code information of the identification code according to the counted number of times of determination.
And a response signal transmitting means (S140, 150) for transmitting a response signal including the identification code after waiting for a time corresponding to the digit information selected by the selecting means.

【0008】また、前記親局は、ある所定時間内に前記
子局から応答信号を受信した場合、その受信した子局の
識別コードを含め、受信した子局の情報を要求するため
の情報要求信号を送信する情報要求信号送信手段(S4
0)を有し、前記子局は、前記親局からの情報要求信号
を受信した場合、その受信した情報要求信号に含まれる
前記識別コードが子局自身の識別コードと一致するか否
かを判定する識別コード判定手段(S170)と、この
識別コード判定手段にて前記識別コードが子局自身の識
別コードであると判定した場合、前記情報要求信号に対
応する所定情報信号を前記親局に向けて送信する情報信
号送信手段(S200)と、を採用するものである。
Further, when the master station receives a response signal from the slave station within a predetermined time, the master station requests an information request for the received slave station information including the received slave station identification code. Information request signal transmitting means for transmitting a signal (S4
0), the slave station, when receiving the information request signal from the master station, determines whether the identification code included in the received information request signal matches the identification code of the slave station itself. When the identification code determining means (S170) determines that the identification code is the identification code of the slave station itself, a predetermined information signal corresponding to the information request signal is sent to the master station. And an information signal transmitting means (S200) for transmitting the information.

【0009】[0009]

【作用】上記構成により、親局においては、質問信号送
信手段にて、監視範囲内に入る子局に向けて所定周期で
質問信号が送信される。一方、子局においては、質問信
号判定手段にて、親局からの信号が質問信号であるか否
かの判定が行われ、質問信号であることが判定された場
合、選択手段にて、判定回数に応じて識別コードのコー
ド情報の中から所定の桁情報が選択される。そして、応
答信号送信手段は、選択された桁情報に対応する時間だ
け待機した後、識別コードを含めた応答信号を送信す
る。つまり、選択手段は、識別コード(つぎのようにn
進数でm桁で表されるIm m-1 ・・・I2 1 (但
し、0≦Ij <n、1≦j≦m))に対応して、最初
に、コード情報の中から1番目の桁情報I1 を選択す
る。すると、応答信号送信手段は、この選択された桁情
報I1 に対応する時間だけ待機した後、応答信号を送信
する。すなわち、監視範囲内に複数の子局が入っていた
としても、桁情報I1 が異なる子局どうしであれば、応
答信号の衝突を回避することができる。一方、選択され
た桁情報I1 が等しい子局どうしであれば、応答信号送
信手段から送信された信号は、それぞれ衝突し、親局に
取り入れられなくなる。そのため、選択手段は、質問信
号送信手段にて質問信号が判定されるたびに、その質問
信号が判定される判定回数を計数し、計数した判定回数
に応じて、識別コードのコード情報の中から所定の桁情
報を選択する。したがって、質問信号送信手段から2回
目の質問信号が送信された場合、2番目の桁情報として
例えばI2が選択され、この桁情報I2 に対応するタイ
ミングで応答信号が再送される。そして、質問信号が送
信されてくる限りは、順次この操作を繰り返すことにな
る。なお、この回数は、有限回のm回を越えることはな
く(識別コードは子局固有のものであって、m桁全てが
同じ情報であるものがないため)、再送も含めて合計m
回以内で応答信号の衝突を回避することができる。
With the above construction, in the master station, the query signal transmitting means transmits the query signal to the slave stations within the monitoring range at a predetermined cycle. On the other hand, in the slave station, the interrogation signal determination means determines whether or not the signal from the master station is the interrogation signal. If it is determined that the interrogation signal is the interrogation signal, the selection means determines the interrogation signal. Predetermined digit information is selected from the code information of the identification code according to the number of times. Then, the response signal transmitting means waits for a time corresponding to the selected digit information and then transmits the response signal including the identification code. That is, the selection means uses the identification code (n
First, in the code information, corresponding to I m I m-1 ... I 2 I 1 (where 0 ≦ I j <n, 1 ≦ j ≦ m) expressed in m digits in a base number. To select the first digit information I 1 . Then, the response signal transmitting means waits for the time corresponding to the selected digit information I 1 and then transmits the response signal. That is, even if there are a plurality of slave stations within the monitoring range, the collision of response signals can be avoided as long as the slave stations have different digit information I 1 . On the other hand, if the selected digit information I 1 is the same among the slave stations, the signals transmitted from the response signal transmitting means collide with each other and cannot be taken into the master station. Therefore, the selecting means counts the number of times the question signal is judged every time the question signal is judged by the question signal transmitting means, and the number of judgment times is determined from the code information of the identification code according to the counted number of times. Select predetermined digit information. Therefore, when the second question signal is transmitted from the question signal transmitting means, for example, I 2 is selected as the second digit information, and the response signal is retransmitted at the timing corresponding to this digit information I 2 . Then, as long as the inquiry signal is transmitted, this operation is sequentially repeated. The number of times does not exceed a finite number of times (because the identification code is unique to the slave station and there is no information in which all m digits are the same), and the total number of times including retransmission is m.
The collision of response signals can be avoided within the number of times.

【0010】さらに、応答信号の衝突を回避し、親局が
ある所定時間内に子局から応答信号を受信したとする。
この場合、応答信号の中に親局が必要とする情報がすべ
て入れば問題はないが、必要な情報が多すぎて入らない
場合がある。そこで、親局は情報要求信号送信手段に
て、受信した子局の情報を要求するための信号を、子局
の識別コードも含めて送信する。そして、子局は、親局
からの情報要求信号を受信した場合、識別コード判定手
段にて、その受信した情報要求信号に含まれる識別コー
ドが子局自身の識別コードと一致するか否かを判定し、
情報信号送信手段にて、情報要求信号に対応する所定情
報を親局に向けて送信する。したがって、前述の応答信
号だけでは入りきらない情報を、親局からの情報要求信
号に基づいて、正確に伝達することができる。
Further, it is assumed that the collision of the response signals is avoided and that the master station receives the response signal from the slave station within a predetermined time.
In this case, if all the information required by the master station is included in the response signal, there is no problem, but the required information may be too large to be included. Therefore, the master station transmits a signal for requesting the received slave station information including the slave station identification code by the information request signal transmitting means. When the slave station receives the information request signal from the master station, the identification code determination means determines whether the identification code included in the received information request signal matches the identification code of the slave station. Judge,
The information signal transmitting means transmits predetermined information corresponding to the information request signal to the master station. Therefore, it is possible to accurately transmit the information that cannot be filled with only the response signal described above, based on the information request signal from the master station.

【0011】[0011]

【実施例】以下、本発明を図に示す実施例に基づいて説
明する。図1は本発明の通信システムを示すブロック図
であり、図2は本発明が適用される通信システムの概念
図である。図1において、親局1は、無線で複数の子局
(非接触タグ)2との間で、タグ所有者IDを読取ると
共に、データの送受信を行うものであり、例えば、ゲー
トを通過する自動車が保持する非接触タグの情報(車両
情報、所有者情報)を記録するものである。
The present invention will be described below based on the embodiments shown in the drawings. FIG. 1 is a block diagram showing a communication system of the present invention, and FIG. 2 is a conceptual diagram of a communication system to which the present invention is applied. In FIG. 1, a master station 1 wirelessly reads a tag owner ID and transmits / receives data to / from a plurality of slave stations (contactless tags) 2. For example, an automobile passing through a gate. The information (vehicle information, owner information) of the non-contact tag held by is recorded.

【0012】また、子局2は、非接触タグなどであっ
て、親局1が読取る対象の情報(タグID、タグ所有者
IDなど)を備えたものである。そこで、この子局2の
構成を以下に説明する。まず、子局2には、親局1に対
し電波の送受信を行うアンテナ21が設けられており、
このアンテナ21の送受信に伴う、受信データの復調、
および送信データの変調を行う変復調部22が設けられ
ている。また、この変復調部22には、シリアルパラレ
ル変換部23が接続されており、このシリアルパラレル
変換部23は、変復調部22で復調されたシリアルのデ
ジタル信号をパラレルの信号に変換し、MPU(マイク
ロプロセッサ)24から出力されるパラレルの信号をシ
リアル信号に変換する。また、シリアルパラレル変換部
23に接続されるMPU24は、子局2の情報管理およ
び通信制御などを行い、クロック部25、ROM26、
RAM27、タイマー部28が接続されている。なお、
クロック部25は、子局2内でデジタル制御を行うため
の同期信号を発生するものであり、ROM26は、リー
ドオンオンリメモリであって、通信および記録制御のプ
ログラムおよび識別コードなどを格納する。また、RA
M27は、ランダムアクセスメモリであって、通信用バ
ッファ、データ記録、ワークバッファなどとして使用さ
れ、タイマー部28は指定された時間に割り込みを発生
させる(例えば、所定時間経過したタイムスロットで応
答を送信したりする)ものである。
The slave station 2 is a non-contact tag or the like and is provided with information (tag ID, tag owner ID, etc.) to be read by the master station 1. Therefore, the configuration of the slave station 2 will be described below. First, the slave station 2 is provided with an antenna 21 that transmits and receives radio waves to and from the master station 1,
Demodulation of received data accompanying transmission and reception of this antenna 21,
A modulation / demodulation unit 22 that modulates transmission data is also provided. A serial / parallel conversion unit 23 is connected to the modulation / demodulation unit 22. The serial / parallel conversion unit 23 converts the serial digital signal demodulated by the modulation / demodulation unit 22 into a parallel signal, and outputs an MPU (micro The parallel signal output from the processor 24 is converted into a serial signal. Further, the MPU 24 connected to the serial-parallel conversion unit 23 performs information management and communication control of the slave station 2, and the clock unit 25, the ROM 26,
The RAM 27 and the timer unit 28 are connected. In addition,
The clock unit 25 generates a synchronization signal for performing digital control in the slave station 2, and the ROM 26 is a read-only memory and stores communication and recording control programs and identification codes. Also, RA
M27 is a random access memory, which is used as a communication buffer, data recording, work buffer, etc., and the timer unit 28 generates an interrupt at a designated time (for example, a response is transmitted at a time slot after a predetermined time has elapsed). It is something.

【0013】次に、上記構成の作動を、図2(1)〜
(10)の順序に従い説明する。まず、図2(1)にお
いて、親局1は、アンテナから無線でパイロットコマン
ド11(親局1から子局2に向けて発せられる親局1の
識別コードを含む質問信号)を送信する。そして、この
送信されたパイロットコマンド11を各子局、が受
信する。
Next, the operation of the above configuration will be described with reference to FIG.
A description will be given according to the order of (10). First, in FIG. 2A, the master station 1 wirelessly transmits a pilot command 11 (an inquiry signal including the identification code of the master station 1 issued from the master station 1 to the slave station 2) wirelessly from the antenna. Then, each slave station receives the transmitted pilot command 11.

【0014】(2)において、(1)でパイロットコマ
ンド11を受信した各子局、が、自局の識別コード
に基づきパイロット応答12を送信するためのタイムス
ロットを独自に選択する。なお、本実施例では、タイム
スロットの数を10とし、子局の識別コードを124
(10進数)、子局の識別コードを624(10進
数)としている。また、各子局がタイムスロットを選択
する時、自局識別コードの1の位の桁に基づいて、タイ
ムスロットの位置を決定する。つまり、本実施例におい
ては、子局の識別コードが124であることから4番
目のタイムスロットを選択し、同様に、子局の識別コ
ードが624であることから4番目のタイムスロットを
選択し、この各々選択したタイムスロット範囲内でパイ
ロット応答12を送信する。このため、子局、の両
方が同じタイムスロットを選択し、パイロット応答12
を送信したことから衝突を起こすことになる。
In (2), each slave station receiving the pilot command 11 in (1) independently selects a time slot for transmitting the pilot response 12 based on its own identification code. In this embodiment, the number of time slots is 10, and the identification code of the slave station is 124.
(Decimal number) and the identification code of the slave station is 624 (decimal number). Also, when each slave station selects a time slot, the position of the time slot is determined based on the ones digit of the local station identification code. That is, in this embodiment, the fourth time slot is selected because the identification code of the slave station is 124, and similarly, the fourth time slot is selected because the identification code of the slave station is 624. , Transmit pilot response 12 within each selected time slot range. Therefore, both slave stations select the same timeslot and pilot response 12
Will cause a collision.

【0015】(3)において、親局1は、再びパイロッ
トコマンド11を送信し、このパイロットコマンド11
を、各子局、が受信する。(4)において、(3)
でパイロットコマンド11を送信した各子局、が、
自局の識別コードに基づきパイロット応答12を送信す
るタイムスロットを独自に選択する。このとき、子局
、とも既にパイロット応答12を送信済なので、今
回、子局、は、自局識別コードの10の位の桁を利
用する。したがって、子局、は、ともに2番目のタ
イムスロットを選択する。ここでも、同じタイムスロッ
トを選択しているので各子局から送信されるパイロット
応答12は衝突を起こす。
In (3), the master station 1 transmits the pilot command 11 again, and the pilot command 11
Is received by each slave station. In (4), (3)
Each slave station that sent the pilot command 11 in
The time slot for transmitting the pilot response 12 is uniquely selected based on its own identification code. At this time, since the pilot response 12 has already been transmitted to both the slave stations, this time, the slave station uses the tens digit of its own identification code. Therefore, both slave stations select the second time slot. Here again, since the same time slot is selected, the pilot responses 12 transmitted from the respective slave stations cause a collision.

【0016】(5)において、親局1が再びパイロット
コマンド11を送信し、このパイロットコマンド11
を、各子局、が受信する。(6)において、(5)
でパイロットコマンド11を送信した各子局、が、
自局の識別コードに基づきパイロット応答12を送信す
るタイムスロットを独自に選択する。このとき、子局
、とも既にパイロット応答12を2回送信済なの
で、今回、子局、は、自局識別コードの100の位
の桁を利用する。したがって、子局は、1番目のタイ
ムスロットを選択し、子局は、6番目のタイムスロッ
トを選択する。そして、子局、は各々選択したタイ
ムスロット範囲内で、パイロット応答12を親局1に送
信する。今回は、子局、のパイロット応答12が衝
突しないので、親局1は子局、のパイロット応答1
2を受信することができる。
In (5), the master station 1 transmits the pilot command 11 again, and the pilot command 11
Is received by each slave station. In (6), (5)
Each slave station that sent the pilot command 11 in
The time slot for transmitting the pilot response 12 is uniquely selected based on its own identification code. At this time, the slave station has already transmitted the pilot response 12 twice, so this time, the slave station uses the digit of 100 of the own station identification code. Therefore, the mobile station selects the first time slot and the mobile station selects the sixth time slot. Then, the slave station transmits the pilot response 12 to the master station 1 within the selected time slot range. This time, since the pilot response 12 of the slave station does not collide, the master station 1 determines the pilot response 1 of the slave station.
2 can be received.

【0017】(7)において、(6)で親局1が子局
、からパイロット応答12を受信したことに対応し
て、子局の識別コードを付与したリードコマンド(タ
グ固有の情報の送信を要求するコマンド)13を送信す
る。そして、設定された識別コードを持つ子局がこの
リードコマンド13を受信する。(8)において、
(7)でリードコマンド13を受信した子局が、自局
の情報を送信する。これを親局1が受信して、子局の
タグ情報として記録する。
In (7), in response to the fact that the parent station 1 receives the pilot response 12 from the child station in (6), a read command (transmission of tag-specific information is given with the identification code of the child station). Request command) 13 is transmitted. Then, the slave station having the set identification code receives this read command 13. In (8),
The slave station that receives the read command 13 in (7) transmits the information of its own station. The master station 1 receives this and records it as the tag information of the slave station.

【0018】(9)において、(6)で親局1が子局
からパイロット応答12を受信したことに対応して、子
局の識別コードを付与したリードコマンド13を送信
する。そして、設定された識別コードを持つ子局がこ
のリードコマンド13を受信する。(10)において、
(9)でリードコマンド13を受信した子局が自局の
情報を送信する。これを親局1が受信して、子局のタ
グを情報(例えば、ゲートを通過した車両が保持する非
接触タグの固有情報)として記録する。
In (9), in response to the parent station 1 receiving the pilot response 12 from the slave station in (6), the read command 13 with the identification code of the slave station is transmitted. Then, the slave station having the set identification code receives this read command 13. In (10),
The slave station receiving the read command 13 in (9) transmits the information of its own station. The master station 1 receives this and records the tag of the slave station as information (for example, the unique information of the non-contact tag held by the vehicle passing through the gate).

【0019】以上のように、子局2は、親局1が送信し
たパイロットコマンド11を受信すると自己の識別コー
ド(所与のタイムスロット数がn個の時、つぎのように
n進数でm桁で表されるIm m-1 ・・・I2 1 (但
し、0≦Ij <n、1≦j≦m))に基づき、例えば、
1 番目のタイムスロットを選択し、この選択したI 1
に対応するタイミングでパイロット応答12を送信す
る。そして、パイロットコマンド11が送信されてくる
限りは、順次この操作(2回目はI2 番目、3回目はI
3 番目、4回目は・・・、m回目はIm 番目のタイムス
ロットを選択する)を繰り返すことになる。この回数
は、有限回のm回を越えることはなく、子局2の識別コ
ードが一意に与えられているならば、再送も含めて合計
m回以内でパイロット応答12の衝突を回避することが
できる。なお、本実施例においては、子局2の識別コー
ドが一意に与えられているため、子局2のパイロット応
答12が衝突し、再送を行う必要があった。しかし、本
実施例は、最大で2回の再送を行えば、このパイロット
コマンド応答12の衝突を完全に回避できる。したがっ
て、この時点での衝突確率は0となる。これに対し、
(疑似)ランダムにより10個のタイムスロットから選
択する方法の場合は、2回の再送を行った時点でも、衝
突確率は0.001と依然大きいままである。
As described above, the slave station 2 is transmitted by the master station 1.
When receiving the pilot command 11
Mode (when the number of given time slots is n,
I represented by n digits in m digitsmIm-1... I2I1(However
, 0 ≦ Ij<N, 1 ≦ j ≦ m)), for example,
I1Select the th timeslot and select this selected I 1
The pilot response 12 is transmitted at the timing corresponding to
It And the pilot command 11 is sent
As long as it is this operation (the second time I2The third is I
3The 4th time ... I, the mth time is ImTh times
Select the lot). This number of times
Does not exceed m times, which is a finite number of times.
If the code is uniquely given, total including retransmission
Avoid collision of pilot response 12 within m times
it can. In the present embodiment, the identification code of the slave station 2 is
The pilot response of the slave station 2 is
Answer 12 collided and had to resend. But the book
In the embodiment, if the retransmission is performed up to two times, this pilot
The collision of the command response 12 can be completely avoided. According to
Thus, the collision probability at this point is zero. In contrast,
Select from 10 time slots by (pseudo) random
In the case of the selection method, even if two retransmissions are made,
The collision probability remains high at 0.001.

【0020】次に、本実施例における親局1、子局2の
動作を、それぞれ図3、図4に示すフローチャートに基
づいて説明する。まず、親局1は、図3のフローチャー
トに示されるように、ステップ10において、タイムス
ロットにパイロット応答がアクセスされた状態であるか
否かの判定を行う。ここで、今回のステップ10の処理
が一番最初の処理であれば、もちろんパイロット応答は
アクセス状態ではないのでステップ20に移行し、ま
た、前回の処理でパイロット応答のアクセスに失敗して
いるのであれば、同じくアクセス状態ではないのでステ
ップ20に移行する。一方、前回の処理でパイロット応
答のアクセスに成功しているのであればステップ40に
移行する。次に、ステップ20において、パイロットコ
マンドの送信を行う。そして、ステップ30において、
n個からなるタイムスロットに対応する時間だけ、子局
からのパイロット応答の受信待状態となる。なお、本実
施例においては、識別コードを10進数としているた
め、10×タイムスロット時間だけ受信待状態となり、
受信待状態中にパイロット応答が受信されない場合は、
ステップ10の処理により、ステップ10〜30までの
処理が繰り返し行われる。一方、パイロット応答を受信
し、ステップ10にてアクセスが成功したのであれば、
ステップ40において、受信した子局の識別コードを付
与したリードコマンド(タグ固有の情報の送信を要求す
るコマンド)を送信、あるいは受信した子局に所定の動
作を行うように、その他のコマンドを識別コードを付与
して送信する。そして、ステップ50において、リード
コマンドあるいはその他のコマンドに対する子局からの
応答の受信待状態となり、所定時間内に子局からの応答
が受信された場合はステップ60に移行し、受信されな
かった場合はステップ10に戻る。ステップ60におい
ては、一連の処理が終了したことを子局に伝えるため、
処理が終了したことを示す終了コマンドを子局に送信す
る。そして、親局においては、以上の処理を繰り返し行
っている。
Next, the operation of the master station 1 and the slave station 2 in this embodiment will be described based on the flow charts shown in FIGS. 3 and 4, respectively. First, as shown in the flowchart of FIG. 3, the master station 1 determines in step 10 whether or not the pilot response is accessed in the time slot. Here, if the processing of step 10 this time is the first processing, the pilot response is not in the access state, of course, so the process proceeds to step 20, and the access of the pilot response has failed in the previous processing. If there is, it is not in the same access state, so the process proceeds to step 20. On the other hand, if the pilot response has been successfully accessed in the previous process, the process proceeds to step 40. Next, in step 20, a pilot command is transmitted. Then, in step 30,
Only for a time corresponding to n time slots, the mobile station is in a waiting state for receiving a pilot response from the slave station. In the present embodiment, since the identification code is a decimal number, it is in the reception waiting state for 10 × time slot time,
If the pilot response is not received during the waiting state,
By the process of step 10, the processes of steps 10 to 30 are repeated. On the other hand, if the pilot response is received and the access is successful in step 10,
In step 40, a read command with the received identification code of the slave station (a command requesting transmission of tag-specific information) is transmitted, or other commands are identified so that the received slave station performs a predetermined operation. Send with a code. Then, in step 50, a response from the slave station to the read command or another command is waited for. If a response from the slave station is received within a predetermined time, the process proceeds to step 60, and if it is not received. Returns to step 10. In step 60, in order to notify the slave station that the series of processing has been completed,
An end command indicating that the processing is completed is transmitted to the slave station. Then, the master station repeats the above processing.

【0021】次に、図4に示すフローチャートに基づ
き、子局2の動作を説明する。ステップ110におい
て、親局1から送信されるパイロットコマンド、リード
コマンドなどのコマンド受信を行う。ステップ120に
おいて、ステップ110で受信したコマンドがパイロッ
トコマンドであるか否かの判定を行う。このとき、パイ
ロットコマンドである場合はステップ130に移行し、
パイロットコマンド以外である場合はステップ170に
移行する。
Next, the operation of the slave station 2 will be described based on the flowchart shown in FIG. In step 110, a command such as a pilot command or a read command transmitted from the master station 1 is received. In step 120, it is determined whether the command received in step 110 is a pilot command. At this time, if the command is a pilot command, the process proceeds to step 130,
If the command is other than the pilot command, the process proceeds to step 170.

【0022】ステップ130において、j=k+1とし
て設定を行い、パイロットコマンドの受信回数を計数す
る。そして、ステップ135において、ステップ130
にて設定されたjの値に基づき、自局識別コードのうち
j桁目の値Ij をパイロット応答送信用のタイムスロッ
トとして選択する。実際に例を挙げて説明すると、例え
ば、図2の(6)の状態であれば、子局は親局とのパイ
ロット応答送受信に2回失敗した状態であり、そのた
め、ステップ130にてj=3が設定され、ステップ1
35にてI3 が選択される。したがって、どの位の桁を
選択するかは、識別コード124の子局が100の位
の”1”をタイムスロットとして選択し、識別コード6
24の子局が100の位の”6”をタイムスロットと
して選択する。つまり、タイムスロットの選択は、パイ
ロット応答の再送回数と自局識別コードに応じて決定さ
れるものである。なお、本実施例においては、再送回数
が増えるに従い、低位から高位へ移動させていくが、こ
の移動のさせ方は予めシステムで決定させていれば、高
位から低位へ移動させても、あるいはその他の方法でも
よい。
In step 130, the setting is made as j = k + 1, and the number of pilot command receptions is counted. Then, in step 135, step 130
On the basis of the value of j set in step 1, the j-th digit value I j of the own station identification code is selected as the time slot for transmitting the pilot response. To explain with an actual example, for example, in the state of (6) of FIG. 2, the slave station has failed to transmit / receive the pilot response twice with the master station, and therefore, in step 130, j = 3 is set, step 1
I 3 is selected at 35. Therefore, the number of digits to be selected is determined by the slave station of the identification code 124 selecting "1" in the hundreds as a time slot, and the identification code 6
Twenty-four slave stations select "6" in the hundreds as a time slot. That is, the selection of the time slot is determined according to the number of times the pilot response is retransmitted and the local station identification code. In the present embodiment, as the number of retransmissions increases, it is moved from low to high, but if the system determines in advance how to move, it may be moved from high to low, or other Method is also acceptable.

【0023】ステップ140において、ステップ130
で決定されたタイムスロットに基づき、この決定された
タイムスロットになる時間までウェイト(遅延)する。
ステップ150において、パイロットコマンドに対する
応答として、子局自信の識別コードを含め、パイロット
応答を送信する。つまり、子局は、ステップ140で指
定した時間だけ遅延し、パイロット応答を送信すること
になる。
In step 140, step 130
Based on the time slot determined in step 1, wait (delay) is performed until the time when this time slot is determined.
In step 150, the pilot response is transmitted in response to the pilot command, including the identification code of the mobile station. That is, the slave station delays the time specified in step 140 and transmits the pilot response.

【0024】ステップ160において、パイロット応答
送信回数を計数するため、kの値をインクリメント(k
=k+1)する。以上の処理によって、子局2は、親局
1から送信されたパイロットコマンドを受信し、自局の
識別コードにより決定したタイムスロットのタイミング
によって、パイロット応答を送信することができる。こ
れにより、親局1は、1チャネルを時分割、例えば、1
0分割して子局2から送信されてきたパイロット応答を
受信し、このパイロット応答に含まれる子局2の識別コ
ードを用いて、子局2との間の通信が可能となる。
In step 160, the value of k is incremented (k
= K + 1). Through the above processing, the slave station 2 can receive the pilot command transmitted from the master station 1 and transmit the pilot response at the time slot timing determined by the identification code of the own station. As a result, the master station 1 time-divides one channel, for example, 1
The pilot response transmitted from the slave station 2 after being divided into 0s is received, and communication with the slave station 2 becomes possible using the identification code of the slave station 2 included in the pilot response.

【0025】次に、ステップ110で受信したコマンド
が、パイロットコマンド以外であった場合、つまり、ス
テップ120の処理によりステップ170に移行した場
合について説明する。ステップ170において、受信し
たコマンドに含まれる識別コードが自局の識別コードと
一致するか否かの判定を行う。これは、親局がパイロッ
ト応答の受信に成功していれば、受信した子局の識別コ
ードを含むリードコマンドを送信するため、識別コード
の一致を判定すれば自局に対する送信かが判定できるた
めに行われる。このとき、識別コードが一致する場合は
ステップ180に移行し、一致しない場合は自局宛のコ
マンドでないと判断され、そのまま終了となる。
Next, the case where the command received in step 110 is other than the pilot command, that is, the case where the process proceeds to step 170 by the process of step 120 will be described. In step 170, it is determined whether the identification code included in the received command matches the identification code of the own station. This is because if the master station succeeds in receiving the pilot response, it sends a read command including the received identification code of the slave station. To be done. At this time, if the identification codes match, the process proceeds to step 180, and if they do not match, it is determined that the command is not addressed to the own station, and the process ends.

【0026】ステップ180において、k>0か否かの
判定を行い、パイロット応答の送信が行われたかチェッ
クされる。k>0であればステップ190に移行し、k
>0でなければそのまま終了となる。ステップ190に
おいて、受信したコマンドがリードコマンド(タグ固有
の情報の送信を要求するコマンド)であるか否かの判定
を行う。このとき、リードコマンドである場合はステッ
プ200に移行し、パイロットコマンド11もしくはリ
ードコマンド13以外のその他のコマンドが受信された
場合はステップ210に移行する。
In step 180, it is determined whether k> 0, and it is checked whether the pilot response has been transmitted. If k> 0, the process proceeds to step 190 and k
If it is not> 0, the process ends. In step 190, it is determined whether the received command is a read command (a command requesting transmission of tag-specific information). At this time, if the command is a read command, the process proceeds to step 200, and if a command other than the pilot command 11 or the read command 13 is received, the process proceeds to step 210.

【0027】ステップ200において、受信したリード
コマンドが要求する情報に応じた自局タグ固有の各種情
報を送信する。これにより、親局1は、子局2の情報を
受信することとなり、子局2の情報を記録することが可
能となる。一方ステップ190の処理により受信したコ
マンドがその他のコマンドであっってステップ210に
移行した場合、ステップ210にて、受信したコマンド
が終了コマンドであるか否かの判定を行う。終了コマン
ドであればステップ220に移行し、k=0を設定して
パイロット応答送信回数を0にリセットして終了する。
また終了コマンドでなければステップ230に移行し、
ステップ230にてその他のコマンドに対応した処理を
実行して終了する。なお、このパイロット応答送信をリ
セットすることによって、パイロット応答の再送回数は
ゼロに設定され、再び別の親局と送受信を行うとき、正
しくタイムスロットの選択がなされるようにしてある。
At step 200, various kinds of information unique to the local tag are transmitted in accordance with the information requested by the received read command. As a result, the master station 1 receives the information of the slave station 2 and can record the information of the slave station 2. On the other hand, if the command received in the process of step 190 is another command and the process proceeds to step 210, it is determined in step 210 whether the received command is an end command. If it is an end command, the process proceeds to step 220, k = 0 is set, the number of pilot response transmissions is reset to 0, and the process is ended.
If the command is not the end command, the process proceeds to step 230,
In step 230, the process corresponding to the other command is executed and the process ends. By resetting the transmission of the pilot response, the number of retransmissions of the pilot response is set to zero so that the time slot can be correctly selected when transmitting / receiving with another master station again.

【0028】[0028]

【発明の効果】以上述べたように本発明においては、親
局からの質問信号に応じて、子局(非接触タグ)のもつ
固有の識別コードに基づく情報に対応した時間だけ待機
した後、応答信号を送信するため、複数のタグの応答信
号が衝突することなく、有限回数の再送で、衝突による
失敗確率を0にする通信システムを提供することができ
るという優れた効果がある。
As described above, in the present invention, after waiting for the time corresponding to the information based on the unique identification code of the slave station (contactless tag) in response to the inquiry signal from the master station, Since the response signal is transmitted, there is an excellent effect that it is possible to provide a communication system in which the probability of failure due to collision is reduced to 0 by a limited number of retransmissions without collision of response signals of a plurality of tags.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の一実施例を示すシステムの概念図であ
る。
FIG. 2 is a conceptual diagram of a system showing an embodiment of the present invention.

【図3】図1に示す親局の処理動作を示すフローチャー
トである。
FIG. 3 is a flowchart showing a processing operation of a master station shown in FIG.

【図4】図1に示す子局の処理動作を示すフローチャー
トである。 1 親局 2 子局 11 パイロットコマンド 12 パイロット応答 13 リードコマンド 14 リード応答
FIG. 4 is a flowchart showing a processing operation of a slave station shown in FIG. 1 Master station 2 Slave station 11 Pilot command 12 Pilot response 13 Read command 14 Read response

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 親局と、この親局の監視範囲内に入るそ
れぞれ固有の識別コードを有した1個以上の子局との間
の通信システムにおいて、 前記親局に設けられ、 前記監視範囲内に入る子局に向けて所定周期で質問信号
を送信する質問信号送信手段と、 前記子局に設けられ、 前記親局から送信される信号が前記質問信号であるか否
かを判定する質問信号判定手段と、 この質問信号判定手段にて前記質問信号が判定された場
合、その判定回数を計数し、この計数された判定回数に
応じて前記識別コードのコード情報の中から所定の桁情
報を選択する選択手段と、 この選択手段が選択した桁情報に対応した時間だけ待機
した後、前記識別コードを含めた応答信号を送信する応
答信号送信手段と、 を備えたことを特徴とする通信システム。
1. A communication system between a master station and one or more slave stations each having a unique identification code within the monitoring range of the master station, wherein the master station is provided with the monitoring range. An inquiry signal transmitting unit that transmits an inquiry signal at a predetermined cycle toward a slave station inside, and a question that is provided in the slave station and determines whether or not the signal transmitted from the master station is the inquiry signal When the question signal is judged by the signal judging means and the question signal judging means, the number of judgments is counted, and predetermined digit information is selected from the code information of the identification code according to the counted judgment times. And a response signal transmitting means for transmitting a response signal including the identification code after waiting for a time corresponding to the digit information selected by the selecting means. system.
【請求項2】 請求項1記載の通信システムにおいて、 前記親局は、ある所定時間内に前記子局から応答信号を
受信した場合、その受信した子局の識別コードを含め、
受信した子局の情報を要求するための情報要求信号を送
信する情報要求信号送信手段を有し、 前記子局は、 前記親局からの情報要求信号を受信した場合、その受信
した情報要求信号に含まれる前記識別コードが子局自身
の識別コードと一致するか否かを判定する識別コード判
定手段と、 この識別コード判定手段にて前記識別コードが子局自身
の識別コードであると判定した場合、前記情報要求信号
に対応する所定情報を前記親局に向けて送信する情報信
号送信手段と、 を備えたことを特徴とする通信システム。
2. The communication system according to claim 1, wherein when the master station receives a response signal from the slave station within a predetermined time, the master station includes an identification code of the received slave station,
It has an information request signal transmitting means for transmitting the information request signal for requesting the information of the received slave station, the slave station, when receiving the information request signal from the master station, the received information request signal Identification code determining means for determining whether or not the identification code included in the identification code of the slave station itself, and the identification code determining means determines that the identification code is the identification code of the slave station itself. In this case, an information signal transmitting means for transmitting predetermined information corresponding to the information request signal to the master station, and a communication system.
JP25195894A 1993-11-02 1994-10-18 Communications system Expired - Fee Related JP2760294B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25195894A JP2760294B2 (en) 1993-11-02 1994-10-18 Communications system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP27436193 1993-11-02
JP5-274361 1993-11-02
JP25195894A JP2760294B2 (en) 1993-11-02 1994-10-18 Communications system

Publications (2)

Publication Number Publication Date
JPH07177056A true JPH07177056A (en) 1995-07-14
JP2760294B2 JP2760294B2 (en) 1998-05-28

Family

ID=26540454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25195894A Expired - Fee Related JP2760294B2 (en) 1993-11-02 1994-10-18 Communications system

Country Status (1)

Country Link
JP (1) JP2760294B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005277500A (en) * 2004-03-23 2005-10-06 Totoku Electric Co Ltd Wireless transmitter and device for determining existence
KR100845369B1 (en) * 2001-03-13 2008-07-09 엔엑스피 비 브이 Method of communicating between a communication station and at least one data carrier
EP2237066A1 (en) 2009-03-31 2010-10-06 Fujitsu Limited RFID system and radio apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100845369B1 (en) * 2001-03-13 2008-07-09 엔엑스피 비 브이 Method of communicating between a communication station and at least one data carrier
JP2005277500A (en) * 2004-03-23 2005-10-06 Totoku Electric Co Ltd Wireless transmitter and device for determining existence
EP2237066A1 (en) 2009-03-31 2010-10-06 Fujitsu Limited RFID system and radio apparatus

Also Published As

Publication number Publication date
JP2760294B2 (en) 1998-05-28

Similar Documents

Publication Publication Date Title
US5541928A (en) Communication system which establishes communication sessions based on unit ID codes to avoid transmission conflicts
US6456191B1 (en) Tag system with anti-collision features
US4466001A (en) Polling system for multiple terminal units
US5929801A (en) Method for repeating interrogations until failing to receive unintelligible responses to identify plurality of transponders by an interrogator
US4797948A (en) Vehicle identification technique for vehicle monitoring system employing RF communication
JPS62107542A (en) Radio communication system
US4864313A (en) Voting method of locating mobile objects
US4564838A (en) Data communication network and method of communication
JP2760294B2 (en) Communications system
EP0866401B1 (en) Information identification system for identifying response units by a control unit
JPS635286A (en) Data transmitting system in remote discrimination apparatus
JP2001128220A (en) Wireless communication system
JPH0698383A (en) Transmission/reception system for remote control system
CA2266337C (en) Tag system with anti-collision features
JP2002290310A (en) Radio communication system
JP3293943B2 (en) Programmable controller
JP2653269B2 (en) Multi-access communication device
JPH0366859B2 (en)
JPS62132444A (en) Radio communication system provided with centralized control function
JPS59168737A (en) Multi-drop transmission system
JP3617341B2 (en) Non-contact type IC card reader
JP2935242B2 (en) Wireless communication system
JP3121431B2 (en) Data collection method
JP2772165B2 (en) Broadcast communication method
JPH0870311A (en) Access control method and device therefor

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980217

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

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees