JP4964567B2 - Wireless communication device - Google Patents
Wireless communication device Download PDFInfo
- Publication number
- JP4964567B2 JP4964567B2 JP2006310575A JP2006310575A JP4964567B2 JP 4964567 B2 JP4964567 B2 JP 4964567B2 JP 2006310575 A JP2006310575 A JP 2006310575A JP 2006310575 A JP2006310575 A JP 2006310575A JP 4964567 B2 JP4964567 B2 JP 4964567B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- slot
- wireless communication
- read
- reading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、RFID(Radio Frequency Identification)タグ等の無線通信媒体との間で非接触による通信を行い、前記無線通信媒体に保持される情報を読取る無線通信装置に関する。 The present invention relates to a wireless communication apparatus that performs non-contact communication with a wireless communication medium such as an RFID (Radio Frequency Identification) tag and reads information held in the wireless communication medium.
近年、電磁波あるいは電波を利用して無線通信装置との間で無線通信を行うことにより、メモリ内に保持したデータを送信したり、受信したデータをメモリ内に書き込んだりできる小型の情報記憶媒体が開発され、流通,物流,交通,セキュリティなどの様々な分野で使用されている。この種の情報記憶媒体、いわゆる無線通信媒体は、一般にはRFIDタグ,無線タグ,ICタグ,電子タグなどと称されている。また、無線通信装置は、タグリーダ,タグリーダ・ライタ,質問器,基地局等と称されている。 In recent years, there has been a small information storage medium that can transmit data held in a memory or write received data in a memory by performing wireless communication with a wireless communication device using electromagnetic waves or radio waves. Developed and used in various fields such as distribution, logistics, transportation and security. This type of information storage medium, so-called wireless communication medium, is generally called an RFID tag, a wireless tag, an IC tag, an electronic tag, or the like. The wireless communication device is called a tag reader, a tag reader / writer, an interrogator, a base station, or the like.
このような無線通信装置と無線通信媒体とを用いた無線通信システムの特徴的な機能の1つに、無線通信装置が複数の無線通信媒体から略同時にデータを受信できる機能がある。この機能により、例えば多数の物品にそれぞれ無線通信媒体を取り付けた場合には各物品の無線通信媒体からその物品特有の情報を略同時に非接触で読取ることができるので、在庫管理や物品認証等の作業の効率化を図れるようになる。 One of the characteristic functions of a wireless communication system using such a wireless communication apparatus and a wireless communication medium is a function that allows the wireless communication apparatus to receive data from a plurality of wireless communication media substantially simultaneously. With this function, for example, when a wireless communication medium is attached to each of a large number of articles, information unique to the article can be read from the wireless communication medium of each article almost simultaneously and in a non-contact manner. Work efficiency can be improved.
この機能を実現するための一方式としてアンチコリジョン(衝突防止)機能と称される無線通信媒体の応答手順制御方式がある。この制御方式には、国際標準規格に採用されている代表的なアルゴリズムとしてバイナリツリー方式とタイムスロット方式とがある。タイムスロット方式は、無線LAN(Local Area Network)等のパケット通信において広く使われているアクセス制御方式で、アロハ(ALOHA)方式とも呼ばれている。因みに、RFIDの標準化団体であるEPC(Electronic Product Code)グローバルにより提案されたRFIDの通信規格の1つであるGen.2(Generation2)規格でも、タイムスロット方式を採用している。 One method for realizing this function is a response procedure control method for a wireless communication medium called an anti-collision (collision prevention) function. In this control method, there are a binary tree method and a time slot method as typical algorithms adopted in the international standard. The time slot method is an access control method widely used in packet communication such as a wireless local area network (LAN) and is also called an ALOHA method. Incidentally, Gen. 1 which is one of RFID communication standards proposed by EPC (Electronic Product Code) Global, an RFID standardization organization. The 2 (Generation 2) standard also uses the time slot method.
一般的なタイムスロット方式のアンチコリジョン機能の動作について説明する。
先ず、無線通信装置は、そのアンテナの交信領域内に存在する複数の無線通信媒体に対し、特定のスロット数(20〜2Q:Qは1以上の固定値)を指定する信号を送信して所定数のタイムスロットを割り当てる。一方、各無線通信媒体は、指定を受けたスロット数の範囲内で乱数を生成する。例えば2ビット(Q=1)のスロット数が指定された場合には、各無線通信媒体は2ビットの乱数[00],[01],[10],[11]のいずれかを生成する。そして、生成された乱数に一致したタイミングのタイムスロットを利用して無線通信装置に識別情報(ID)の応答を返す。
An operation of a general time slot type anti-collision function will be described.
First, the wireless communication device transmits a signal designating a specific number of slots (2 0 to 2 Q : Q is a fixed value of 1 or more) to a plurality of wireless communication media existing in the communication area of the antenna. A predetermined number of time slots. On the other hand, each wireless communication medium generates a random number within the specified number of slots. For example, when a 2-bit (Q = 1) slot number is specified, each wireless communication medium generates a 2-bit random number [00], [01], [10], or [11]. Then, a response of identification information (ID) is returned to the wireless communication device using a time slot at a timing that matches the generated random number.
この際、1つのタイムスロットに対して1つの無線通信媒体しか応答を返さなかった場合には、その無線通信媒体の識別情報を無線通信装置が読取ることができる。しかし、1つのタイムスロットに対して複数の無線通信媒体が同時に応答を返した場合には衝突が発生するので、それらの無線通信媒体の識別情報を無線通信装置は読取ることができない。 At this time, if only one wireless communication medium returns a response to one time slot, the wireless communication apparatus can read the identification information of the wireless communication medium. However, when a plurality of wireless communication media return responses to one time slot at the same time, a collision occurs. Therefore, the wireless communication device cannot read the identification information of these wireless communication media.
無線通信装置は、無線通信媒体の識別情報を読み残している場合は、再度、特定のスロット数を指定する信号を送信して所定数のタイムスロットを割り当てる。これに応じて、無線通信媒体では、再度乱数を生成する。そして、生成された乱数に一致したタイミングのタイムスロットを利用して無線通信装置に応答を返す。このような一連の処理を短時間で繰り返すことにより、無線通信装置は複数の無線通信媒体から略同時に識別情報を読取れるようになる。 When the wireless communication device has not read the identification information of the wireless communication medium, the wireless communication device again transmits a signal designating a specific number of slots and assigns a predetermined number of time slots. In response to this, the wireless communication medium generates a random number again. Then, a response is returned to the wireless communication device using a time slot having a timing that matches the generated random number. By repeating such a series of processes in a short time, the wireless communication apparatus can read identification information from a plurality of wireless communication media substantially simultaneously.
ところで、このような無線通信システムにおいては、送信データにビット欠落エラーやビット化けエラー等の通信エラーが発生する場合がある。そこで、無線通信媒体から送信されるデータを受信する無線通信装置において、CRC(Cyclic Redundancy Check)等の誤り符号検出を行うことによって、この種の通信エラーに対処することは既に知られていた(例えば、特許文献1参照)。
しかしながら、CRC等の誤り符号検出は完全なものではない。例えば、電波状況が悪いために複数のビットが化けてしまうと、CRC値のチェック結果が正常と判定される場合がある。このような場合には、誤ったデータが正常データとして確定されるため、その後の処理に大きな影響を及ぼすおそれがあった。 However, error code detection such as CRC is not perfect. For example, if a plurality of bits are garbled due to poor radio wave conditions, the CRC value check result may be determined to be normal. In such a case, since erroneous data is determined as normal data, there is a risk that the subsequent processing will be greatly affected.
本発明はこのような事情に基づいてなされたもので、その目的とするところは、無線通信媒体から誤読したデータを正常データとして確定してしまう誤動作を高い確率で防ぐことができ、信頼性の向上を図り得る無線通信装置を提供しようとするものである。 The present invention has been made based on such circumstances, and the object of the present invention is to prevent a malfunction in which erroneously read data from a wireless communication medium is determined as normal data with a high probability, and to achieve reliability. It is an object of the present invention to provide a wireless communication device that can be improved.
本発明は、1以上の無線通信媒体に所定数のスロットを割り当てる信号を送信すると、この信号を受信した無線通信媒体がそれぞれ1つのスロットを選択しそのスロットに当該無線通信媒体に記憶されたデータを含ませて伝送する無線通信方式を用いて前記1以上の無線通信媒体のデータを読取る無線通信装置において、前記無線通信媒体から伝送されるスロットから前記無線通信媒体に記憶されたデータを取得するデータ取得手段と、このデータ取得手段により前記スロットから取得したデータを記憶する記憶部と、前記データ取得手段によりデータが取得されると、そのデータを取得したスロットと同一のスロットの伝送を前記無線通信媒体に要求するスロット要求手段と、このスロット要求手段による要求に応じて前記無線通信媒体から伝送されるスロットから取得したデータが前記記憶部に記憶されたデータと一致するか否かを判定する判定手段と、この判定手段により両データが一致すると判定されるとそのデータを読取データとして確定させる確定手段と、を具備した無線通信装置を特徴とする。 According to the present invention, when a signal for allocating a predetermined number of slots to one or more wireless communication media is transmitted, the wireless communication media that have received this signal select one slot, respectively, and data stored in that slot in the wireless communication media In a wireless communication apparatus that reads data of the one or more wireless communication media using a wireless communication method that includes and transmits the data, the data stored in the wireless communication medium is acquired from a slot transmitted from the wireless communication medium A data acquisition unit; a storage unit for storing data acquired from the slot by the data acquisition unit; and when data is acquired by the data acquisition unit, transmission in the same slot as the slot from which the data was acquired Slot request means for requesting the communication medium, and whether the wireless communication medium is in response to a request by the slot request means Determining means for determining whether or not the data acquired from the slot transmitted from the storage unit matches the data stored in the storage unit, and if the determination means determines that both data match, the data is used as read data. The wireless communication apparatus includes a confirmation unit for confirmation .
かかる手段を講じた本発明によれば、無線通信媒体から誤読したデータを正常データとして確定してしまう誤動作を高い確率で防ぐことができ、信頼性の向上を図り得る無線通信装置を提供できる。 According to the present invention in which such a measure is taken, it is possible to provide a wireless communication apparatus that can prevent a malfunction in which erroneously read data from a wireless communication medium is determined as normal data with a high probability and can improve reliability.
以下、本発明を実施とするための最良の形態について、図面を用いて説明する。
なお、この実施の形態は、各物品にそれぞれ付与された無線通信媒体の識別情報(ID)を無線通信装置によって非接触で読取ることにより、その識別情報から当該無線通信媒体が付与された物品を認識する物品認識システムに本発明を適用した場合であり、説明の便宜上、各物品にそれぞれ付される無線通信媒体をRFIDタグと称し、無線通信装置をタグリーダ・ライタと称する。
The best mode for carrying out the present invention will be described below with reference to the drawings.
In this embodiment, the identification information (ID) of the wireless communication medium assigned to each article is read in a non-contact manner by the wireless communication device, so that the article to which the wireless communication medium is assigned from the identification information. This is a case where the present invention is applied to an article recognition system for recognition. For convenience of explanation, a wireless communication medium attached to each article is referred to as an RFID tag, and a wireless communication apparatus is referred to as a tag reader / writer.
図1は本実施の形態におけるタグリーダ・ライタの要部構成を示すブロック図である。タグリーダ・ライタは、リーダ・ライタ本体10と、該リーダ・ライタ本体10に取り付けられたアンテナ20とから構成されている。アンテナ20は、送信時に高周波信号を電波として放射し、受信時は電波を高周波信号に変換する働きをする。アンテナ20から放射された電波は、各商品にそれぞれ付されて使用されるRFIDタグ30に到達し、各RFIDタグ30で受信される。アンテナ20の交信領域は、伝送方式,アンテナ形状等によって定められる。
FIG. 1 is a block diagram showing a main configuration of a tag reader / writer according to the present embodiment. The tag reader / writer includes a reader / writer
各RFIDタグ30は、それぞれ固有のIDを識別情報として記憶している。各RFIDタグ30は、タイムスロット方式のアンチコリジョン機能に対応したものである。
Each
リーダ・ライタ本体10は、タイムスロット方式のアンチコリジョン機能を実装したもので、インターフェイス部11、変調部12,送信アンプ13,サーキュレータ14,受信アンプ15,復調部16,メモリ部17及び各部を制御する制御部18等で構成されている。
The reader / writer
インターフェイス部11は、外部接続されるホスト機器と制御部18との間で行われるデータ通信を中継する。変調部12は、制御部18から与えられる送信データを高周波信号に変調して送信アンプ13に出力する。送信アンプ13は、変調部12にて変調された高周波信号を増幅してサーキュレータ14に出力する。サーキュレータ14は、送信アンプ13にて増幅された変調波信号をアンテナ20側に出力する。また、アンテナ20で受信した高周波信号を受信アンプ15側に出力する。受信アンプ15は、サーキュレータ14側から入力された高周波信号を増幅して復調部16に出力する。復調部16は、受信アンプ15にて増幅された高周波信号を復調して受信データに変換し、制御部18に出力する。制御部18は、復調部16にて復調された受信データに基づき、RFIDタグ30のデータを読み込む。
The
メモリ部17は、各種の設定データや可変的なデータを記憶するための領域である。本実施の形態では、特に図2に示すように、読取サイクル回数X、読取正常判定回数Y及びスロット設定数Zの各種設定データを記憶する設定データテーブル41と、図3に示すように、サイクル回数i、読取情報数j、スロット数k及び重複読取数mの各種カウントデータを計数するカウンタテーブル42と、図4に示すように、読取サイクル回数Xに相当する個数の読取バッファ(READBUF[1]〜READBUF[X])を備えたワークテーブル43とが形成されている。
The
各読取バッファ(READBUF[1]〜READBUF[X])は、それぞれ“1”からの連続番号順にRFIDタグ30から読取ったタグデータを確定フラグFと関連付けて記憶するエリアである。なお、確定フラグFは、対応するタグデータが確定済か否かを識別するための情報であって、本実施の形態では、確定済でないときを“0”とし、確定済のときを“1”とする。ここに、ワークテーブル43は、無線通信媒体(RFIDタグ30)から読取ったデータを記憶する記憶部として機能する。
Each of the reading buffers (READBUF [1] to READBUF [X]) is an area for storing tag data read from the
しかして制御部18は、インターフェイス部11を介してホスト機器から各種設定データの変更コマンドを受信すると、そのコマンドに応じて読取サイクル回数X、読取正常判定回数Y及びスロット設定数Zを、デフォルト値から任意の値に変更可能となっている。ただし、読取サイクル回数Xと読取正常判定回数Yは、いずれも「2」以上の整数であり、X≧Yの関係を有する値が設定されるように制限を設けている。
When the
また制御部18は、同じくホスト機器からRFIDタグ30のID読取開始の指令を受信すると、図5の流れ図に示す処理を開始する。先ず、ST(ステップ)1としてカウンタテーブル42のサイクル回数i及び読取情報数jを“0”に初期化する。
Similarly, when receiving an instruction to start reading the ID of the
次に、制御部18は、ST2として上記サイクル回数iを“1”だけカウントアップする。そして、ST3として上記サイクル回数iが設定データテーブル41に設定された読取サイクル回数Xを超えたか否かを判断する。読取サイクル回数Xは「2」以上の整数なので、当初は、ST4の処理に進む。
Next, the
ST4では、制御部18は、カウンタテーブル42のスロット数kを“1”に初期化する。次いで、ST5として設定データテーブル41に設定されたスロット設定数Zを割当スロット数として指定するサイクル開始信号startを変調部12に送信する。
In ST4, the
そうすると、このサイクル開始信号startは変調部12で変調され、送信アンプ13で増幅された後、アンテナ20から電波として放射される。このとき、電波の到達領域内に存在し、上記サイクル開始信号startを受信したRFIDタグ30は、個別に1つのタイムスロットを選択する。そして、その選択したタイムスロットに当該RFIDタグ30固有の識別情報(ID)を含ませる。はじめに、スロット番号「1」のタイムスロットを選択したRFIDタグ30が自身の識別情報をそのタイムスロットに含ませる。
Then, the cycle start signal start is modulated by the
ここで、1つのタイムスロットに識別情報を含ませたRFIDタグ30が唯一であった場合、制御部18は、このタイムスロットから当該RFIDタグ30の識別情報を取得できる。このようなタイムスロットを読取成功スロットと称する。
Here, when the
これに対し、1つのタイムスロットに対して識別情報を含ませたRFIDタグ30が複数であった場合には、伝送信号が乱されるため、制御部18は、これらRFIDタグ30の識別情報を取得することができない。このようなタイムスロットを以後、衝突スロットと称する。また、1つのタイムスロットに対して識別情報を含ませたRFIDタグ30が1つも無かった場合も識別情報を取得できない。このようなタイムスロットを以後、空スロットと称する。
On the other hand, when there are a plurality of RFID tags 30 including identification information for one time slot, the transmission signal is disturbed, so the
なお、衝突スロットと空スロットとの識別は、読取成功スロット以外のタイムスロットにおいて、アンテナ20で受信した電波の強度が所定のしきい値を超えたか否かによって判断可能である。すなわち、電波強度がしきい値より高いタイムスロットは衝突スロットとし、低いスロットは空スロットとすればよい。
In addition, the discrimination between the collision slot and the empty slot can be made based on whether or not the strength of the radio wave received by the
制御部18は、サイクル開始信号startを送信後、ST6としてアンテナ20で受信した電波に相当する信号が復調されるのを待機する。そして、信号が復調されたならば、ST7としてその信号が読取成功スロットの信号であるか否かを判断する。
After transmitting the cycle start signal start, the
ここで、受信信号が読取成功スロットの信号であった場合には(ST7のYES)、制御部18は、ST8としてこの読取成功スロットからRFIDタグ30のデータを取得する(データ取得手段)。そして、この取得したデータについてCPC等の符号誤りチェックを行って正常なデータがあるか否かを判断する。
Here, when the received signal is a signal of a successful reading slot (YES in ST7), the
ここで、読取成功スロットから取得したデータが正常なデータであると判定された場合には(ST8のYES)、制御部18は、ST9として前記読取情報数jを“1”だけカウントアップする。そして、ST10として前記ワークテーブル43の各読取バッファ(READBUF[1]〜READBUF[X])のうちサイクル回数iに対応する読取バッファ(READBUF[i])の読取情報数jに相当する番号エリアに、この正常と判定されたRFIDタグ30のデータを格納する。また、このデータに対応する確定フラグFを未確定を示す値“0”とする。
Here, when it is determined that the data acquired from the successful reading slot is normal data (YES in ST8), the
一方、受信信号が読取成功スロット以外の信号であった場合(ST7のNO)、若しくはビット化け等によって異常なデータであると判定された場合には(ST8のNO)、制御部18は、前記ST9〜ST10の処理を実行しない。
On the other hand, when the received signal is a signal other than the successful reading slot (NO in ST7), or when it is determined that the data is abnormal due to bit corruption (NO in ST8), the
その後、制御部18は、ST11として前記スロット数kを“1”だけカウントアップする。そして、ST12としてこのスロット数kが設定データテーブル41に設定されたスロット設定数Zを越えたか否かを判断する。
Thereafter, the
ここで、スロット数kがスロット設定数Z以下の場合には(ST12のNO)、制御部18は、ST13としてスロット番号kのスロット読取信号nSを変調部12に送信する。
Here, when the slot number k is equal to or less than the slot setting number Z (NO in ST12), the
そうすると、このスロット読取信号nSは変調部12で変調され、送信アンプ13で増幅された後、アンテナ20から電波として放射される。このとき、電波の到達領域内にスロット番号kのスロットを選択したRFIDタグ30が存在したならば、このRFIDタグ30は自身の識別情報をそのタイムスロットに含ませる。
Then, the slot read signal nS is modulated by the
そこで制御部18は、スロット読取信号nSを送信後、ST6の処理に戻り、アンテナ20で受信した電波に相当する信号が復調されるのを待機する。そして、信号が復調されたならば、その信号が読取成功スロットの信号であるか否かを判断する。
Therefore, after transmitting the slot read signal nS, the
以後、制御部18は、ST12にてスロット数kがスロット設定数Zを超えるまで、ST6〜ST13の各処理を繰返し実行する。そして、スロット数kがスロット設定数Zを超えたならば、制御部18は、ST2の処理に戻り、サイクル回数iをさらに“1”だけカウントアップする(計数手段)。そして、サイクル回数iが読取サイクル回数Xを超えたか否かを判断する。サイクル回数iが読取サイクル回数Xを超えていない場合には、ST4以降の処理を再度実行する。
Thereafter, the
こうして、ST3にてサイクル回数iが読取サイクル回数Xを超えるまで、ST2〜ST13の各処理を繰返し実行する。そして、サイクル回数iが読取サイクル回数Xを超えたならば、制御部18は、ST14として図6の流れ図で具体的に示す読取判定処理を実行する。
Thus, each process of ST2 to ST13 is repeatedly executed until the cycle number i exceeds the read cycle number X in ST3. If the cycle number i exceeds the reading cycle number X, the
すなわち制御部18は、ST21としてカウンタテーブル42のサイクル回数iを“0”に初期化する。次に、ST22としてこのサイクル回数iを“1”だけカウントアップする。そして、ST23としてこのサイクル回数iが読取サイクル回数Xを超えたか否かを判断する。
That is, the
当初、サイクル回数iは読取サイクル回数Xを超えないので、制御部18は、ST24としてカウンタテーブル42の読取情報数jを“0”に初期化する。次いで、ST25としてこの読取情報数jを“1”だけカウントアップする。そして、ST26として前記ワークテーブル43の各読取バッファ(READBUF[1]〜READBUF[X])のうちサイクル回数iに対応する読取バッファ(READBUF[i])の読取情報数jに相当する番号エリアからタグデータと確定フラグFの情報を取込む。
Initially, since the cycle number i does not exceed the read cycle number X, the
ここで、当該番号エリアにタグデータが格納されており確定フラグFの情報とともに取込むことができた場合には(ST27のYES)、制御部18は、ST28としてその確定フラグFの状態を調べる。そして、確定フラグFが“0”、すなわち未確定のタグデータであることを示す場合には、制御部18は、ST29としてカウンタテーブル42の重複読取数mを“1”に初期化する。
Here, if tag data is stored in the number area and can be taken together with the information of the confirmation flag F (YES in ST27), the
次に、制御部18は、ST30として各読取バッファ(READBUF[1]〜READBUF[X])のうちサイクル回数(i+1)に対応する読取バッファ(READBUF[i+1])から読取サイクル回数Xに対応する読取バッファ(READBUF[X])までを検索する。そして、ST31として読取バッファ(READBUF[i])の番号jエリアから取込んだタグデータと同一のタグデータが格納されているか否かを判断する。ここで、同一のタグデータを検出したならば(ST31のYES)、制御部18は、ST32として読取バッファ(READBUF[i])の番号jエリアから取込んだタグデータに対応する確定フラグFと、読取バッファ(READBUF[i+1])から読取バッファ(READBUF[X])までの同一タグデータに対応する確定フラグFとをいずれも“1”にセットする。また、ST32として重複読取数mを同一タグデータとして検出されたデータ数に加算更新する。
Next, in step ST30, the
その後、読取バッファ(READBUF[i+1])から読取バッファ(READBUF[X])までの検索を終了したならば(ST34のYES)、制御部18は、ST35として重複読取数mが設定データテーブル41に設定されている読取正常判定回数Y以上か否かを判断する(検索手段)。そして、重複読取数mが読取正常判定回数Y以上であった場合には、読取バッファ(READBUF[i])の番号jエリアから取込んだタグデータは、読取サイクル回数が設定値Xに達するまでの間に読取正常判定回数Y以上読取られたデータなので、制御部18は、ST36としてこのタグデータを読取データとして確定させる(確定手段)。そして、このタグデータをインターフェイス部11を介してホスト機器に送信する。
Thereafter, when the search from the reading buffer (READBUF [i + 1]) to the reading buffer (READBUF [X]) is completed (YES in ST34), the
しかる後、制御部18は、ST25の処理に戻り、読取情報数jを“1”だけカウントアップする。そして、前記ST26以降の処理を再度実行する。なお、ST28にて読取バッファ(READBUF[i])の番号jエリアからタグデータとともに取込んだ確定フラグFが既に“1”にセットされていた場合には、当該タグデータは既に読取データとして確定されたデータなので、この時点でST25の処理に戻る。
Thereafter, the
また、ST35にて重複読取数mが読取正常判定回数Y未満であった場合には、読取バッファ(READBUF[i])の番号jエリアから取込んだタグデータは、読取サイクル回数が設定値Xに達するまでの間に読取正常判定回数Y以上読取られなかったデータ、例えば複数のビット化けにより偶然的にCRC値が合ってしまったデータなので、ST36の処理を実行することなく、すなわち正常データとして確定されることなくST25の処理に戻る。 If the number m of duplicate readings is less than the number Y of normal readings in ST35, the tag data fetched from the number j area of the reading buffer (READBUF [i]) has a reading cycle number of the set value X. Data that has not been read more than the number Y of normal readings before reaching the value, for example, data whose CRC value accidentally matches due to a plurality of bits garbled, so that the process of ST36 is not executed, that is, as normal data The process returns to ST25 without being confirmed.
その後、ST27にて読取バッファ(READBUF[i])の番号jエリアからタグデータを読取れなくなった場合には、制御部18は、ST22の処理に戻る。そして、サイクル回数iをさらに“1”だけカウントアップしたならば、前記ST23以降の処理を再度実行する。
Thereafter, when tag data cannot be read from the number j area of the read buffer (READBUF [i]) in ST27, the
こうして、サイクル回数iが読取サイクル回数Xを超えるまで、制御部18は、ST22〜ST36の各処理を繰返し実行する。そして、サイクル回数iが読取サイクル回数Xを超えたならば、制御部18は、今回の処理を終了する。
Thus, until the cycle number i exceeds the reading cycle number X, the
図7はリーダ・ライタ本体10と、そのアンテナ20の交信領域内に存在する6個のRFIDタグ(RFID1〜RFID6)との間で送受される信号の一例を1サイクル分のみ示したタイミング図であり、図中左から右に時間が経過している。
FIG. 7 is a timing chart showing an example of signals transmitted and received between the reader / writer
リーダ・ライタ本体10は、先ず、サイクル開始信号startにより各RFID1〜RFID6に対して割当スロット数を指定する。図2の場合は、割当スロット数“8”を指定する。すると、各各RFID1〜RFID6は、スロット番号s1〜s8の8つのタイムスロットのうちのいずれか1つのタイムスロットを選択して、自身の識別情報(ID)をタグリーダ・ライタに伝送しようとする。
First, the reader / writer
図7の場合、先ず、RFID1がスロット番号s1のタイムスロットを選択して識別情報ID1を伝送している。次いで、2つのRFID2及びRFID4がスロット番号s2のタイムスロットを選択して各々の識別情報ID2及びID4を伝送している。次いで、RFID3がスロット番号s4のタイムスロットを選択して識別情報ID3を伝送している。次いで、RFID5がスロット番号s5のタイムスロットを選択して識別情報ID5を伝送し、さらにRFID6がスロット番号s6のタイムスロットを選択して識別情報ID6を伝送している。なお、残りのスロット番号s3,s7及びs8の3つのタイムスロットを選択して識別情報を伝送するRFIDは存在していない。
In the case of FIG. 7, first, the
この場合、スロット番号s1,s4,s5及びs6の各タイムスロットが読取成功スロットとなり、割当スロット番号s2のタイムスロットが衝突スロットとなり、割当スロット番号s3,s7,s8の各タイムスロットが空スロットとなる。 In this case, the time slots with slot numbers s1, s4, s5, and s6 are successful reading slots, the time slot with allocation slot number s2 is a collision slot, and the time slots with allocation slot numbers s3, s7, and s8 are empty slots. Become.
したがって、1サイクルを終了した時点(k>Z)では、読取バッファREADBUF[1]には、RFID1の識別情報ID1と、RFID3の識別情報ID3と、RFID5の識別情報ID5と、RFID6の識別情報ID6とが記憶されている。 Accordingly, at the end of one cycle (k> Z), the reading buffer READBUF [1] contains the identification information ID1 of RFID1, the identification information ID3 of RFID3, the identification information ID5 of RFID5, and the identification information ID6 of RFID6. Is stored.
この信号送受信サイクルは、読取サイクル回数Xだけ繰り返される。そして、1サイクルが繰り返される都度、その時点のサイクル回数iに対応した読取バッファREADBUF[i]には、読取成功スロットから読取ったRFIDの識別情報が記憶される。 This signal transmission / reception cycle is repeated by the number X of read cycles. Each time one cycle is repeated, identification information of the RFID read from the successful reading slot is stored in the read buffer READBUF [i] corresponding to the cycle number i at that time.
今、読取サイクル回数Xと読取正常判定回数Yがいずれも“2”であり、RFID1の識別情報ID1と、RFID3の識別情報ID3と、RFID5の識別情報ID5が“2”以上の読取バッファREADBUF[1]とREADBUF[2]にそれぞれ記憶されていたとする。この場合、RFID1,RFID3及びRFID5の3つのRFIDタグ30の各識別情報ID1,ID3及びID5は読取データとして確定され、ホスト機器に送信される。これに対し、RFID6の識別情報ID6は、読取バッファREADBUF[1]の値とREADBUF[2]の値とで異なっていたとする。例えば複数のビット化けにより偶然的にCRC値が合ってしまった場合、このような事象が発生する。このような場合、本実施の形態では、RFID6の識別情報ID6は読取データとして確定されない。
Now, the reading cycle number X and the reading normality determination number Y are both “2”, the identification information ID1 of RFID1, the identification information ID3 of RFID3, and the reading buffer READBUF [ 1] and READBUF [2], respectively. In this case, the identification information ID1, ID3, and ID5 of the three
このように、本実施の形態によれば、RFIDタグ30から同一の識別情報が複数の読取判定回数Y以上読取られた場合にその識別情報を読取データとして確定し、ホスト機器に送信するようにしたので、電波状況が悪いために複数のビットが化けてしまい、偶然的にCRC値のチェック結果が正常と判定されてしまっても、この正常と誤判定されたデータが読取データとして確定され、ホスト機器に送信されることはない。したがって、タグリーダ・ライタの信頼性を高めることができる。
As described above, according to the present embodiment, when the same identification information is read from the
なお、前記実施の形態(第1の実施の形態)では、信号送受信サイクルを読取サイクル回数Xだけ繰り返した後に読取判定処理を実行したが、読取判定処理を実行するタイミングはこれに限定されるものではない。 In the above-described embodiment (first embodiment), the reading determination process is executed after repeating the signal transmission / reception cycle by the number of reading cycles X. However, the timing for executing the reading determination process is limited to this. is not.
次に、読取判定処理を実行するタイミングを異ならせた他の実施の形態(第2の実施の形態)について、図8及び図9の流れ図を用いて説明する。この第2の実施の形態は、読取成功スロットからRFIDタグ30のデータを取得する毎に読取判定処理を実行するもので、図8は第1の実施の形態において図5を用いて説明したID読取開始の指令受信後の処理に対応し、図9は同じく第1の実施の形態において図6を用いて説明した読取判定処理に対応している。そこで、図5及び図6と共通する処理ステップには同一符号を付して、詳しい説明は省略する。
Next, another embodiment (second embodiment) in which the timing at which the reading determination process is executed will be described with reference to the flowcharts of FIGS. 8 and 9. In the second embodiment, the reading determination process is executed every time data of the
図8に示すように、第2の実施の形態においては、リーダ・ライタ本体10の制御部18は、ホスト機器からRFIDタグ30のID読取開始の指令を受信すると、第1の実施の形態のST1〜ST10の各処理と同一の処理を実行する。そして、ST10にてサイクル回数iに対応する読取バッファ(READBUF[i])の読取情報数jに相当する番号エリアに、データ取得手段により読取成功スロットから取得したタグデータを格納するとともに、このタグデータに対応する確定フラグFを未確定を示す値“0”としたならば、制御部18は、ST41としてサイクル回数iが“1”であるか“1”より大きいかを判断する。そして、サイクル回数iが“1”の場合には読取判定処理を実行しないが、サイクル回数iが“1”より大きい場合には、図9に具体的に示す読取判定処理を実行する。
As shown in FIG. 8, in the second embodiment, when the
先ず、制御部18は、ST51としてカウンタテーブル42の重複読取数mを“1”に初期化する。次に、制御部18は、ST52として各読取バッファ(READBUF[1]〜READBUF[X])のうち先頭の読取バッファ(READBUF[1])からサイクル回数(i−1)に対応する読取バッファ(READBUF[i−1])までを検索する。そして、ST53として読取バッファ(READBUF[i])の番号jエリアに書込んだタグデータと重複するタグデータが格納されているか否かを判断する。
First, the
ここで、重複するタグデータを検出したならば(ST53のYES)、制御部18は、その都度、ST54としてその重複タグデータに対応する確定フラグの状態をチェックする。そして、確定フラグFが未確定を示す“0”であった場合には(ST54のNO)、制御部18は、ST55として重複読取数mを“1”ずつカウントアップする。これに対し、確定フラグFが確定済を示す“1”であった場合には(ST54のYES)、その時点でこの読取判定処理を終了する。
Here, if duplicate tag data is detected (YES in ST53), the
一方、ST56として読取バッファREADBUF[1]〜READBUF[i−1]の検索を終了した場合には、制御部18は、ST57として重複読取数mが読取正常判定回数Y以上か否かを判断する(検索手段)。そして、重複読取数mが読取正常判定回数Y以上であった場合には、制御部18は、ST58として読取バッファ(READBUF[i])の番号jエリアに書込んだタグデータを読取データとして確定させる(確定手段)。そして、このタグデータをインターフェイス部11を介してホスト機器に送信する。
On the other hand, when the search of the reading buffers READBUF [1] to READBUF [i-1] is completed in ST56, the
しかる後、制御部18は、ST59としてこの読取バッファ(READBUF[i])の番号jエリアに書込んだタグデータに対応する確定フラグFと、当該タグデータと重複するタグデータに対応する確定フラグFとを、それぞれ“1”に更新する。
Thereafter, the
以上で、今回の読取判定処理を終了する。制御部18は、上記読取判定処理を終了すると、第1の実施の形態のST11と同様の処理に進む。すなわち、スロット数kを“1”だけカウントアップし、このスロット数kがスロット設定数Z以下の場合にはスロット番号kのスロット読取信号nSを変調部12に送信してST6の処理に戻り、スロット数kがスロット設定数Zを超えたならば、ST2の処理に戻る。
This completes the current reading determination process. When the
このように、読取成功スロットからRFIDタグ30のデータを取得する毎に読取判定処理を実行するようにした第2の実施の形態においても、第1の実施の形態と同様にRFIDタグ30から誤読したデータを正常データとして確定してしまう誤動作を高い確率で防ぐことができるので、タグリーダ・ライタの信頼性向上を図ることができる。
As described above, in the second embodiment in which the reading determination process is executed every time data of the
次に、本発明に係る第3の実施の形態について図10,11を用いて説明する。
この第3の実施の形態においては、図10に示す第1のワークバッファWORKBUF[1]と第2のワークバッファWORKBUF[2]とを、記憶部としてメモリ部17に形成している。第1及び第2のワークバッファWORKBUF[1],WORKBUF[2]は、いずれも1つのRFIDタグ30から取得したタグデータだけを上書きして記憶する。
Next, a third embodiment according to the present invention will be described with reference to FIGS.
In the third embodiment, the first work buffer WORKBUF [1] and the second work buffer WORKBUF [2] shown in FIG. 10 are formed in the
しかして制御部18は、ホスト機器からRFIDタグ30のID読取開始の指令を受信すると、図11の流れ図に示す処理を開始する。なお、この処理において、ST1〜ST9の処理は前記第1及び第2の実施の形態と同様なので、同一符号を付して詳しい説明を省略する。
Accordingly, when receiving a command to start reading the ID of the
すなわち制御部18は、ST6にてアンテナ20で受信した電波に相当する信号が復調されるのを待機し、信号が復調されると、ST7にてその信号が読取成功スロットの信号であるか否かを判断する。そして、受信信号が読取成功スロットの信号であった場合には、ST8にてこの読取成功スロットからRFIDタグ30のデータを取得し(データ取得手段)、この取得したデータについてCPC等の符号誤りチェックを行って正常なデータがあるか否かを判断する。
That is, the
ここで、正常なデータであると判定された場合には、制御部18は、ST9にて読取情報数jを“1”だけカウントアップした後、ST61として読取情報数jに対応したワークバッファWORKBUF[j]に正常なデータであると判定されたタグデータを書込む。次に、ST62として読取情報数jが“2”に達したか否かを判断する。
If it is determined that the data is normal, the
ここで、読取情報数jが“2”に達していない場合には、制御部18は、ST13の処理に進み、スロット番号kのスロット読取信号nSを変調部12に送信する(スロット要求手段)。このとき、スロット番号kはカウントアップされていない。しかる後、ST2の処理に戻る。
If the read information number j has not reached “2”, the
これに対し、読取情報数jが“2”に達していた場合には(ST62のYES)、制御部18は、ST63として第1のワークバッファWORKBUF[1]に記憶されているタグデータと第2のワークバッファWORKBUF[2]に記憶されているタグデータとを照合する。そして、ST64として両タグデータが一致するか否かを判定する(判定手段)。
On the other hand, when the number j of read information has reached “2” (YES in ST62), the
その結果、両タグデータが一致した場合には、制御部18は、ST65としてそのタグデータを読取データとして確定させる(確定手段)。そして、このタグデータをインターフェイス部11を介してホスト機器に送信する。両タグデータが一致しなかった場合には、ST65の処理を実行しない。
As a result, when both the tag data match, the
しかる後、制御部18は、ST66の処理に進む。なお、受信信号が読取成功スロット以外の信号であった場合(ST7のNO)、若しくはビット化け等によって異常なデータであると判定された場合にも(ST8のNO)、制御部18は、ST9以下の処理を実行することなくST66の処理に進む。そして、ST66として読取情報数jを“0”に初期化したならば、第1の実施の形態のST11と同様の処理に進む。すなわち、スロット数kを“1”だけカウントアップし、このスロット数kがスロット設定数Z以下の場合にはスロット番号kのスロット読取信号nSを変調部12に送信してST6の処理に戻り、スロット数kがスロット設定数Zを超えたならば、ST2の処理に戻る。
Thereafter, the
このように、第3の実施の形態においては、RFIDタグ30から伝送されるスロットから当該RFIDタグ30に記憶された識別情報を取得すると、その識別情報を第1のワークバッファWORKBUF[1]に格納するとともに、そのデータを取得したスロットと同一のスロットの伝送をRFIDタグ30に要求する。そして、この要求に応じてRFIDタグ30から伝送されるスロットから取得したデータが前記第1のワークバッファWORKBUF[1]に記憶されたデータと一致するか否かを判定する。その結果、両データが一致すると判定されるとそのデータ、つまりはRFIDタグ30に記憶された識別情報を読取データとして確定させ、ホスト機器に送信するようにしている。
As described above, in the third embodiment, when the identification information stored in the
したがって、前記第1及び第2の実施の形態と同様に、RFIDタグ30から誤読したデータを正常データとして確定してしまう誤動作を高い確率で防ぐことができるので、タグリーダ・ライタの信頼性向上を図ることができる。
Therefore, as in the first and second embodiments, it is possible to prevent a malfunction in which erroneously read data from the
しかも、この第3の実施の形態では、ワークテーブル43に代えて第1及び第2のワークバッファWORKBUF[1],WORKBUF[2]を形成すればよい上、読取正常判定回数Yの設定エリア、重複読取数mのカウンタエリア等も省略できるので、メモリ容量の節約を図り得る利点もある。 Moreover, in the third embodiment, the first and second work buffers WORKBUF [1] and WORKBUF [2] may be formed in place of the work table 43, and the setting area for the number of normal readings Y is set. Since the counter area for the number m of duplicate readings can be omitted, there is an advantage that the memory capacity can be saved.
なお、この発明は前記各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。 Note that the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the spirit of the invention in the implementation stage.
例えば、第1及び第2の実施の形態において、ワークテーブル43のエリアを複数の読取バッファREADBUF[1]〜[X]に区分したが、1つの読取バッファに読取れたタグデータを順次格納し、一括して検索するようにしてもよい。 For example, in the first and second embodiments, the area of the work table 43 is divided into a plurality of read buffers READBUF [1] to [X], but the read tag data is sequentially stored in one read buffer. You may make it search collectively.
この他、前記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を組合わせてもよい。 In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements over different embodiments may be combined.
10…タグリーダ・ライタ本体、11…インターフェイス部、18…制御部、20…アンテナ、30…RFIDタグ。
DESCRIPTION OF
Claims (1)
前記無線通信媒体から伝送されるスロットから前記無線通信媒体に記憶されたデータを取得するデータ取得手段と、
このデータ取得手段により前記スロットから取得したデータを記憶する記憶部と、
前記データ取得手段によりデータが取得されると、そのデータを取得したスロットと同一のスロットの伝送を前記無線通信媒体に要求するスロット要求手段と、
このスロット要求手段による要求に応じて前記無線通信媒体から伝送されるスロットから取得したデータが前記記憶部に記憶されたデータと一致するか否かを判定する判定手段と、
この判定手段により両データが一致すると判定されるとそのデータを読取データとして確定させる確定手段と、
を具備したことを特徴とする無線通信装置。 When a signal for allocating a predetermined number of slots to one or more wireless communication media is transmitted, each wireless communication medium that has received this signal selects one slot and includes the data stored in the wireless communication medium in each slot. In a wireless communication apparatus that reads data of the one or more wireless communication media using a wireless communication method for transmission,
Data acquisition means for acquiring data stored in the wireless communication medium from a slot transmitted from the wireless communication medium;
A storage unit for storing data acquired from the slot by the data acquisition unit;
When data is acquired by the data acquisition means, slot request means for requesting the wireless communication medium to transmit the same slot as the slot from which the data was acquired;
Determining means for determining whether data acquired from a slot transmitted from the wireless communication medium in response to a request by the slot requesting means matches data stored in the storage unit;
A determination means for determining the data as read data when it is determined by the determination means that both data match;
A wireless communication apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006310575A JP4964567B2 (en) | 2006-11-16 | 2006-11-16 | Wireless communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006310575A JP4964567B2 (en) | 2006-11-16 | 2006-11-16 | Wireless communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008129652A JP2008129652A (en) | 2008-06-05 |
JP4964567B2 true JP4964567B2 (en) | 2012-07-04 |
Family
ID=39555428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006310575A Expired - Fee Related JP4964567B2 (en) | 2006-11-16 | 2006-11-16 | Wireless communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4964567B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10146968B2 (en) | 2016-07-21 | 2018-12-04 | Toshiba Tec Kabushiki Kaisha | Reading device, server device, and program |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4854776B2 (en) * | 2009-09-15 | 2012-01-18 | 東芝テック株式会社 | RF tag reader / writer |
JP5989847B2 (en) * | 2015-04-21 | 2016-09-07 | 株式会社ユニバーサルエンターテインメント | System for reading data from a plurality of chips equipped with RFID tags |
JP6831652B2 (en) * | 2016-07-15 | 2021-02-17 | 株式会社デンソーウェーブ | Tag reader |
JP6901254B2 (en) * | 2016-10-26 | 2021-07-14 | 東芝インフラシステムズ株式会社 | Management system and programs |
JP6572296B2 (en) * | 2017-12-25 | 2019-09-04 | Kddi株式会社 | Product management system, product information acquisition device, and product management method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1074245A (en) * | 1996-08-30 | 1998-03-17 | Glory Ltd | Id tag reader |
JP3983615B2 (en) * | 2002-07-16 | 2007-09-26 | シャープ株式会社 | BPSK signal recognition method and non-contact IC card terminal using the recognition method |
JP4125160B2 (en) * | 2003-03-06 | 2008-07-30 | キヤノン株式会社 | Transmitter and receiver |
-
2006
- 2006-11-16 JP JP2006310575A patent/JP4964567B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10146968B2 (en) | 2016-07-21 | 2018-12-04 | Toshiba Tec Kabushiki Kaisha | Reading device, server device, and program |
Also Published As
Publication number | Publication date |
---|---|
JP2008129652A (en) | 2008-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8193910B2 (en) | Interrogator, transponder and transponder identification method | |
US8477017B2 (en) | Method, system, and integrated circuit for communication in RFID or remote sensor systems | |
JP4964567B2 (en) | Wireless communication device | |
US20080106383A1 (en) | Query tree based tag identification method in RFID systems | |
US20100019883A1 (en) | Methods of identifying RFID tag for preventing RFID tag collision, RFID reader and RFID tag using the same | |
WO2007081119A1 (en) | Method of preventing collisions between rfid readers in rfid system | |
US20080106382A1 (en) | Bi-slot tree based tag identification method in RFID systems | |
US6819223B2 (en) | Transponder system with acknowledgements associated with respective transponders | |
US8963690B2 (en) | Identification system | |
US20120068831A1 (en) | Wireless tag writing/reading apparatus and method by the same | |
JP2018152130A (en) | Communication device and communication system | |
JP4594250B2 (en) | Communication device | |
JP2002518876A (en) | Data carrier including circuit with time slot determination means and time slot fixing means | |
EP3617931B1 (en) | Communication device and method | |
KR101042389B1 (en) | Tag Collection Method Using Recognition Slot Scanning Process in RFP System | |
JP2006073034A (en) | Ic card reader-writer, identification method, program and its recording medium | |
JP4134143B2 (en) | Non-contact IC card, response method, and program thereof | |
CN115841126A (en) | Method for sending information and related equipment | |
US8111672B2 (en) | Method for data communication between a base station and a transponder | |
CN101661547B (en) | Method for writing data to tag in radio frequency identification system and device | |
JPH11306299A (en) | Data carrier system and its control method | |
US8258927B1 (en) | Method and system for inventorying wireless transponders providing anti-eavesdropping anti-collision | |
EP1502230B1 (en) | Method of inventorizing a plurality of data carriers | |
CN119692377A (en) | RFID tag identification method and system based on collision recovery | |
KR20050015318A (en) | Embodiment method and system of contactless integrated circuit card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090323 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111024 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111101 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111222 |
|
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: 20120321 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120328 |
|
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: 20150406 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |