JP5151870B2 - RFID system and RFID tag - Google Patents

RFID system and RFID tag Download PDF

Info

Publication number
JP5151870B2
JP5151870B2 JP2008253138A JP2008253138A JP5151870B2 JP 5151870 B2 JP5151870 B2 JP 5151870B2 JP 2008253138 A JP2008253138 A JP 2008253138A JP 2008253138 A JP2008253138 A JP 2008253138A JP 5151870 B2 JP5151870 B2 JP 5151870B2
Authority
JP
Japan
Prior art keywords
read
reading
identification information
unit
writer
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.)
Active
Application number
JP2008253138A
Other languages
Japanese (ja)
Other versions
JP2010087737A (en
Inventor
利夫 末岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2008253138A priority Critical patent/JP5151870B2/en
Priority to US12/568,938 priority patent/US8325046B2/en
Publication of JP2010087737A publication Critical patent/JP2010087737A/en
Application granted granted Critical
Publication of JP5151870B2 publication Critical patent/JP5151870B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Near-Field Transmission Systems (AREA)

Description

本発明は、RFIDシステム、リーダライタおよびRFIDタグに関する。   The present invention relates to an RFID system, a reader / writer, and an RFID tag.

近年、所定の識別情報を付与したRFID(Radio Frequency IDentification)タグが広く使用され、生産、物流、物品などの管理を行うRFIDシステムが提案されている。このRFIDシステムは、複数の物品それぞれに貼付されているRFIDタグと、これらのRFIDタグの識別情報を読み取るリーダライタとを備えている(例えば、特許文献1参照)。
特開2006−238381号公報
In recent years, RFID (Radio Frequency IDentification) tags to which predetermined identification information is assigned have been widely used, and RFID systems for managing production, physical distribution, articles and the like have been proposed. This RFID system includes an RFID tag attached to each of a plurality of articles, and a reader / writer that reads identification information of these RFID tags (see, for example, Patent Document 1).
JP 2006-233831 A

従来のRFIDシステムでは、リーダライタが読み出し命令を発信すると、電波の届く範囲に存在する不特定多数のRFIDタグから、一斉に応答信号が返信されるため、同一の無線周波数の帯域内にある複数のRFIDタグからの応答信号が衝突するなどした場合、最も強い信号レベルを有するもののみが読み取られるなど、すべてのRFIDタグを読み取ることが困難であった。このため、読み取るべき所定のタイミングで読み取りができなかった場合には、いつまでも検出されない未読のRFIDタグが残ってしまうという課題があった。   In a conventional RFID system, when a reader / writer issues a read command, response signals are sent back simultaneously from a large number of unspecified RFID tags that are within the reach of radio waves. When response signals from other RFID tags collide, it is difficult to read all RFID tags, for example, only those having the strongest signal level are read. For this reason, when reading cannot be performed at a predetermined timing to be read, there is a problem that an unread RFID tag that is not detected forever remains.

そこで本発明は、リーダライタの電波の届く範囲に不特定多数のRFIDタグが存在する場合であっても、未読のRFIDタグをなくすことを目的とする。   Accordingly, an object of the present invention is to eliminate unread RFID tags even when an unspecified number of RFID tags exist in a range where radio waves of a reader / writer reach.

この目的を達成するために本発明のRFIDシステムは、タグアンテナ部と識別情報を記憶保持するタグ回路部とを有する複数のRFIDタグと、複数のRFIDタグそれぞれから識別情報をアンテナを介して読み取る送受信部を有するリーダライタとを備え、リーダライタは、送受信部からアンテナを介して識別情報を読み取る読み取り命令を発信した後に、複数のRFIDタグのいずれか1つから読み取るべき識別情報を送受信部の読み取りエラーの発生により読み取りができない場合、次に発信する読み取り命令に読み取りエラーの発生を知らせる読み取りエラー情報を付加して送受信部からアンテナを介して発信する構成とし、RFIDタグは、読み取り命令に付加されている読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部と、リーダライタにより識別情報の読み取りが完了しているか否の情報を示す読み取り完了フラグと、読み取りエラー検出部の判定結果に基づいて読み取り完了フラグを設定する制御部とを有したことを特徴とする。これにより、初期の目的を達成するものである。 In order to achieve this object, the RFID system of the present invention reads a plurality of RFID tags each having a tag antenna unit and a tag circuit unit for storing and holding identification information, and the identification information from each of the plurality of RFID tags via the antenna. A reader / writer having a transmission / reception unit, and the reader / writer transmits a read command for reading the identification information from the transmission / reception unit via the antenna, and then transmits the identification information to be read from any one of the plurality of RFID tags. If reading is not possible due to the occurrence of a reading error, read error information notifying the occurrence of a reading error is added to the next reading command to be sent and sent from the transmitter / receiver via the antenna, and the RFID tag is added to the reading command. The read error information is judged and a read error occurs. A read error detection unit that detects whether or not the reader / writer has read the identification information, and sets a read completion flag based on the determination result of the read error detection unit. And a control unit . This achieves the initial objective.

また、本発明のRFIDタグは、タグアンテナ部と識別情報を記憶保持するタグ回路部とを備え、タグ回路部は、リーダライタから発信される読み取り命令をタグアンテナ部を介して読み取る送受信部と、この送受信部で読み取られた読み取り命令に付加されている識別情報の読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部と、リーダライタにより識別情報の読み取りが完了しているか否の情報を示す読み取り完了フラグと、読み取りエラー検出部の判定結果に基づいて読み取り完了フラグを設定する制御部とを有し、制御部は、読み取りエラー検出部で読み取りエラーが検出された場合、読み取り未完了の状態を維持するように読み取り完了フラグを設定し、読み取りエラー検出部で読み取りエラーが未検出であると共にリーダライタにより識別情報の読み取りが完了している場合、読み取り完了フラグを読み取り完了に設定する構成としたことを特徴とする。このような構成により、初期の目的を達成するものである。   The RFID tag of the present invention includes a tag antenna unit and a tag circuit unit that stores and holds identification information. The tag circuit unit includes a transmission / reception unit that reads a read command transmitted from a reader / writer via the tag antenna unit. The reading error detection unit for detecting the reading error information of the identification information added to the reading command read by the transmission / reception unit and detecting whether or not the reading error has occurred, and the reading of the identification information by the reader / writer It has a read completion flag that indicates whether or not it has been completed, and a control unit that sets a read completion flag based on the determination result of the read error detection unit, and the control unit detects a read error in the read error detection unit If this happens, set the read complete flag so that the read incomplete state is maintained, and the read error detector Ri If the error is completed reading of the identification information by a reader-writer with an undetected, characterized by being configured to set the read completion flag read completion. With such a configuration, the initial purpose is achieved.

以上のように本発明のRFIDシステムは、タグアンテナ部と識別情報を記憶保持するタグ回路部とを有する複数のRFIDタグと、複数のRFIDタグそれぞれから識別情報をアンテナを介して読み取る送受信部を有するリーダライタとを備え、リーダライタは、送受信部からアンテナを介して識別情報を読み取る読み取り命令を発信した後に、複数のRFIDタグのいずれか1つから読み取るべき識別情報を送受信部の読み取りエラーの発生により読み取りができない場合、次に発信する読み取り命令に読み取りエラーの発生を知らせる読み取りエラー情報を付加して送受信部からアンテナを介して発信する構成とし、RFIDタグは、読み取り命令に付加されている読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部と、リーダライタにより識別情報の読み取りが完了しているか否の情報を示す読み取り完了フラグと、読み取りエラー検出部の判定結果に基づいて読み取り完了フラグを設定する制御部とを有したので、RFIDタグ側では、読み取り命令に含まれる読み取りエラー情報からリーダライタ側で識別情報の読み取りエラーが発生したことを検出することができる。これにより、RFIDタグはリーダライタにより識別情報の読み取りが正常に完了するまで応答することができるので、リーダライタの電波の届く範囲に不特定多数のRFIDタグが存在する場合であっても、未読のRFIDタグをなくすことができる。 As described above, the RFID system of the present invention includes a plurality of RFID tags each including a tag antenna unit and a tag circuit unit that stores and holds identification information, and a transmission / reception unit that reads identification information from each of the plurality of RFID tags via the antenna. The reader / writer transmits a read command for reading the identification information from the transmission / reception unit via the antenna, and then transmits the identification information to be read from any one of the plurality of RFID tags. If reading is not possible due to occurrence, read error information notifying the occurrence of a read error is added to the next read command to be transmitted, and then transmitted from the transmission / reception unit via the antenna, and the RFID tag is added to the read command Judge reading error information and check if a reading error has occurred. A read error detection unit, a read completion flag indicating information indicating whether or not the identification information has been read by the reader / writer, and a control unit for setting the read completion flag based on the determination result of the read error detection unit. since the, in the RFID tag side, it is possible to detect that the reading error of the identification information in the reader writer side from the reading error information included in the read command is generated. As a result, the RFID tag can respond until the reading of the identification information is normally completed by the reader / writer. Therefore, even if an unspecified number of RFID tags exist within the reach of the reader / writer radio wave, RFID tags can be eliminated.

また、本発明のRFIDタグは、タグアンテナ部と識別情報を記憶保持するタグ回路部とを備え、タグ回路部は、リーダライタから発信される読み取り命令をタグアンテナ部を介して読み取る送受信部と、この送受信部で読み取られた読み取り命令に付加されている識別情報の読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部と、リーダライタにより識別情報の読み取りが完了しているか否の情報を示す読み取り完了フラグと、読み取りエラー検出部の判定結果に基づいて読み取り完了フラグを設定する制御部とを有し、制御部は、読み取りエラー検出部で読み取りエラーが検出された場合、読み取り未完了の状態を維持するように読み取り完了フラグを設定し、読み取りエラー検出部で読み取りエラーが未検出であると共にリーダライタにより識別情報の読み取りが完了している場合、読み取り完了フラグを読み取り完了に設定する構成としたので、リーダライタから発信される読み取り命令に付加されている読み取りエラー情報からリーダライタ側で識別情報の読み取りエラーが発生したことを検出することができる。これにより、RFIDタグはリーダライタにより識別情報の読み取りが正常に完了するまで応答することが可能となるので、リーダライタの電波の届く範囲に不特定多数のRFIDタグが存在する場合であっても、未読のRFIDタグをなくすことができる。   The RFID tag of the present invention includes a tag antenna unit and a tag circuit unit that stores and holds identification information. The tag circuit unit includes a transmission / reception unit that reads a read command transmitted from a reader / writer via the tag antenna unit. The reading error detection unit for detecting the reading error information of the identification information added to the reading command read by the transmission / reception unit and detecting whether or not the reading error has occurred, and the reading of the identification information by the reader / writer It has a read completion flag that indicates whether or not it has been completed, and a control unit that sets a read completion flag based on the determination result of the read error detection unit, and the control unit detects a read error in the read error detection unit If this happens, set the read complete flag so that the read incomplete state is maintained, and the read error detector If the reading error is not detected and the reading of the identification information is completed by the reader / writer, the reading completion flag is set to reading completion, so the reading added to the reading command sent from the reader / writer From the error information, it is possible to detect that an identification information reading error has occurred on the reader / writer side. As a result, the RFID tag can respond until the reading of the identification information is normally completed by the reader / writer. Therefore, even when an unspecified number of RFID tags exist within the reach of the reader / writer's radio wave. Unread RFID tags can be eliminated.

以下、本発明の一実施の形態について図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

(実施の形態)
まず、図1を参照しながら、本発明の実施の形態におけるRFIDシステム1の全体構成および動作について説明する。
(Embodiment)
First, the overall configuration and operation of the RFID system 1 according to the embodiment of the present invention will be described with reference to FIG.

図1は本発明の実施の形態におけるRFIDシステム1の概要図である。ここでは管理物品4として、例えば、倉庫に保管管理されている製品などを例にして説明する。倉庫では、不特定の場所から多数の管理物品4がパレットなどに積載されフォークリフトにより搬入される。また、多数の管理物品4が不特定の場所に向けて出荷されるので、管理が非常に煩雑となる。   FIG. 1 is a schematic diagram of an RFID system 1 according to an embodiment of the present invention. Here, as the managed article 4, for example, a product stored and managed in a warehouse will be described as an example. In the warehouse, a large number of managed articles 4 are loaded on a pallet or the like from an unspecified location and are carried by a forklift. In addition, since a large number of managed articles 4 are shipped to unspecified places, management becomes very complicated.

そこで本実施の形態では、図1に示すように、各管理物品4それぞれにRFIDタグ2a〜2fが取り付けられ、リーダライタ3でこれらのRFIDタグ2a〜2fを読み取るなどしてRFIDシステム1で管理されている。   Therefore, in the present embodiment, as shown in FIG. 1, RFID tags 2 a to 2 f are attached to the respective managed articles 4, and these RFID tags 2 a to 2 f are read by the reader / writer 3. Has been.

このように、RFIDシステム1は、RFIDタグ2a〜2fとリーダライタ3とを備えている。以下の説明で理解を容易にするために、複数のRFIDタグ2a、2b、2c、2d、2e、2f、・・・をRFIDタグ2として説明する。本実施の形態では、RFIDタグ2の数を6個として説明するが、この数に限定されるものではない。   As described above, the RFID system 1 includes the RFID tags 2 a to 2 f and the reader / writer 3. In order to facilitate understanding in the following description, a plurality of RFID tags 2a, 2b, 2c, 2d, 2e, 2f,. In the present embodiment, the number of RFID tags 2 is described as six, but is not limited to this number.

各管理物品4それぞれに取り付けられたRFIDタグ2には、それぞれ管理物品4ごとの識別情報(例えば、商品名、製品番号、製造日、出荷日など)が記憶されており、これにより、例えば「商品名Aの製品番号Bが現在どこにあるのか」が、管理されるようになっている。   Each RFID tag 2 attached to each managed article 4 stores identification information for each managed article 4 (for example, product name, product number, manufacturing date, shipping date, etc.). "Where is the product number B of the product name A now?" Is managed.

その管理を行うのが図1に示すリーダライタ3で、このリーダライタ3は、送受信部31、アンテナ3aを介してRFIDタグ2と交信し、RFIDタグ2のタグ回路部20bに記憶保持されている個別の識別情報25bをタグアンテナ部20aを介して読み取り、管理するようになっている。なお、リーダライタ3を別の場所にある管理装置(図示せず)と接続し、使用するようにしてもよい。これにより、管理物品4を大量に効率よく管理することができる。   The reader / writer 3 shown in FIG. 1 performs the management. The reader / writer 3 communicates with the RFID tag 2 through the transmission / reception unit 31 and the antenna 3a, and is stored and held in the tag circuit unit 20b of the RFID tag 2. The individual identification information 25b is read and managed via the tag antenna unit 20a. Note that the reader / writer 3 may be used by being connected to a management device (not shown) at another location. Thereby, the management article 4 can be managed efficiently in large quantities.

RFIDタグ2は、タグアンテナ部20aとタグ回路部20bとを備え、タグ回路部20bは、送受信部21、区分割当部22、乱数生成部23、読み取りエラー検出部24、メモリ部25、制御部26を有している。   The RFID tag 2 includes a tag antenna unit 20a and a tag circuit unit 20b. The tag circuit unit 20b includes a transmission / reception unit 21, a division allocation unit 22, a random number generation unit 23, a read error detection unit 24, a memory unit 25, and a control unit. 26.

送受信部21は、リーダライタ3との交信をタグアンテナ部20aを介して行い、各種の読み取り命令や識別情報25bなどの送受信を行う。   The transmission / reception unit 21 communicates with the reader / writer 3 via the tag antenna unit 20a, and transmits / receives various reading commands, identification information 25b, and the like.

区分割当部22は、リーダライタ3からタグアンテナ部20a、送受信部21を介して受信する後述するQ値(タイムスロット数を指定する値)と呼ばれる所定の値に基づいて、時分割した複数のタイムスロットのいずれか1つを自機器に割り当てる。例えば、タイムスロットが8つある場合、「0」から「7」までのうちの1つの値を自機器に割り当てる。   The division allocating unit 22 performs a plurality of time-division based on a predetermined value called a Q value (a value specifying the number of time slots) described later received from the reader / writer 3 via the tag antenna unit 20a and the transmitting / receiving unit 21. Assign one of the time slots to the device itself. For example, when there are eight time slots, one value from “0” to “7” is assigned to the own device.

乱数生成部23は、タイムスロットを割り当てるときに使用する乱数を発生する。また、乱数生成部23は、リーダライタ3側でタグを認証、選別するときの認証用乱数も生成する。   The random number generation unit 23 generates a random number used when assigning time slots. The random number generator 23 also generates an authentication random number for authenticating and selecting the tag on the reader / writer 3 side.

読み取りエラー検出部24は、送受信部21を介してリーダライタ3から発信された読み取り命令を取得し、後述するように、読み取り命令に付加されている読み取りエラー情報に基づいてリーダライタ3側の送受信部31で識別情報25bの読み取りエラーが発生したか否かを検出する。読み取りエラー検出部24の詳細は後述する。   The read error detection unit 24 acquires a read command transmitted from the reader / writer 3 via the transmission / reception unit 21, and transmits / receives data on the reader / writer 3 side based on read error information added to the read command, as will be described later. The unit 31 detects whether or not an error in reading the identification information 25b has occurred. Details of the read error detection unit 24 will be described later.

メモリ部25には、読み取り完了フラグ25a、識別情報25b、乱数情報25c、スロットカウンタ情報25dなどが記憶されている。識別情報25bには、管理物品4の識別情報(例えば、商品名、製品番号、製造日、出荷日など)が記憶される。乱数情報25cとしては、乱数生成部23で生成された乱数を一時記憶する。そして、スロットカウンタ情報25dには自機器に割り当てたタイムスロット番号の値を一時記憶する。   The memory unit 25 stores a read completion flag 25a, identification information 25b, random number information 25c, slot counter information 25d, and the like. In the identification information 25b, identification information of the managed article 4 (for example, product name, product number, manufacturing date, shipping date, etc.) is stored. As the random number information 25c, the random number generated by the random number generation unit 23 is temporarily stored. The slot counter information 25d temporarily stores the value of the time slot number assigned to the own device.

制御部26は、中央処理装置(CPU)、各種プログラムや制御プログラムを記憶するリードオンリメモリ(ROM)、データなどを一時記憶するランダムアクセスメモリ(RAM)などで構成され、各部の回路を制御する。制御部26は、読み取りエラー検出部24で読み取りエラーが検出されず、リーダライタ3によりRFIDタグ2の識別情報25bが正常に読み取られた場合に、読み取り完了フラグ25aを読み取り完了にセットする。また、制御部26は、読み取り完了フラグ25aが読み取り完了にセットされると、以降の読み取り命令に対して非応答に制御する。   The control unit 26 includes a central processing unit (CPU), a read only memory (ROM) that stores various programs and control programs, a random access memory (RAM) that temporarily stores data, and the like, and controls circuits of each unit. . When the reading error detection unit 24 does not detect a reading error and the identification information 25b of the RFID tag 2 is normally read by the reader / writer 3, the control unit 26 sets the reading completion flag 25a to read completion. Further, when the reading completion flag 25a is set to the reading completion, the control unit 26 controls the non-response to the subsequent reading command.

次に、リーダライタ3は、上記したRFIDタグ2から識別情報25bを読み取るために、以下のように構成される。   Next, the reader / writer 3 is configured as follows in order to read the identification information 25b from the RFID tag 2 described above.

すなわち、リーダライタ3は、送受信部31、区分数指定部32、衝突数取得部33、メモリ部34を備えている。   That is, the reader / writer 3 includes a transmission / reception unit 31, a section number designation unit 32, a collision number acquisition unit 33, and a memory unit 34.

送受信部31は、RFIDタグ2との交信をアンテナ3aを介して行い、各種読み取り命令や識別情報25bなどの送受信を行う。   The transmission / reception unit 31 performs communication with the RFID tag 2 via the antenna 3a, and transmits / receives various reading commands, identification information 25b, and the like.

区分数指定部32は、タイムスロットの数を指定する。通常は、規格(例えば、EPC Class−1 Generation2規格)により、タイムスロット数は2(Qは正の整数)であらわされ、QはQ値と呼ばれている。EPC Class−1 Generation2規格では、Qは0以上でかつ15以下と定められている。 The division number designation unit 32 designates the number of time slots. Normally, according to a standard (for example, EPC Class-1 Generation 2 standard), the number of time slots is represented by 2 Q (Q is a positive integer), and Q is called a Q value. In the EPC Class-1 Generation 2 standard, Q is defined as 0 or more and 15 or less.

衝突数取得部33は、各タイムスロットで2つ以上のRFIDタグ2が応答して衝突が発生した場合、衝突数(コリジョン数)を「1」としてカウントする。この衝突数に基づいて、区分数指定部32は、次のラウンドで設定されるタイムスロットの数を更新する。   When two or more RFID tags 2 respond and collision occurs in each time slot, the collision number acquisition unit 33 counts the collision number (collision number) as “1”. Based on the number of collisions, the division number designation unit 32 updates the number of time slots set in the next round.

メモリ部34には、各RFIDタグ2からアンテナ3a、送受信部31を介して取得された識別情報34a、読み取りエラー情報34bが記憶されている。   The memory unit 34 stores identification information 34 a and read error information 34 b acquired from each RFID tag 2 via the antenna 3 a and the transmission / reception unit 31.

制御部35は、中央処理装置(CPU)、各種プログラムや制御プログラムを記憶するリードオンリメモリ(ROM)、データなどを一時記憶するランダムアクセスメモリ(RAM)などで構成され、各部の回路を制御する。また、制御部35は、RFIDタグ2から識別情報25bを読み取るときに送受信部31で識別情報25bの読み取りエラーが発生した場合、読み取りエラー情報34bをセットする。そして、次の読み取り命令を送受信部31、アンテナ3aを介して複数のRFIDタグ2に発信するとき、読み取り命令に読み取りエラー情報34bを付加して発信する。この詳細については後述する。   The control unit 35 includes a central processing unit (CPU), a read only memory (ROM) that stores various programs and control programs, a random access memory (RAM) that temporarily stores data, and the like, and controls circuits of each unit. . In addition, when the identification information 25b is read from the RFID tag 2 and the transmission / reception unit 31 has an error in reading the identification information 25b, the control unit 35 sets the reading error information 34b. When the next reading command is transmitted to the plurality of RFID tags 2 via the transmission / reception unit 31 and the antenna 3a, the reading error information 34b is added to the reading command and transmitted. Details of this will be described later.

次に、図1、図2を参照しながら、RFIDシステム1における読み取り命令による交信動作の概要について説明する。図2は本発明の実施の形態におけるRFIDシステム1の交信動作の概要を説明するものであり、(a)は本実施の形態におけるRFIDシステム1の交信動作を説明する概要図、(b)は同RFIDシステム1との比較例の交信動作を説明する概要図である。   Next, the outline of the communication operation by the read command in the RFID system 1 will be described with reference to FIGS. 1 and 2. FIG. 2 explains the outline of the communication operation of the RFID system 1 in the embodiment of the present invention. FIG. 2A is a schematic diagram for explaining the communication operation of the RFID system 1 in the present embodiment. It is a schematic diagram explaining the communication operation of the comparative example with the RFID system 1.

まず、本実施の形態の理解を助けるために、図2(b)を用いて本実施の形態との比較例について説明する。この例では従来の読み取り命令を用いてRFIDタグ2とリーダライタ3とが交信を行っている。   First, in order to help understanding of the present embodiment, a comparative example with the present embodiment will be described with reference to FIG. In this example, the RFID tag 2 and the reader / writer 3 communicate with each other using a conventional read command.

すなわち、図2(b)に示すように、リーダライタ3から読み取り命令であるQueryコマンド41が送信される。ここでは、Queryコマンド41で、Q値が「3」に指定され、タイムスロット数が「8」であるものとする。   That is, as shown in FIG. 2B, a Query command 41 that is a read command is transmitted from the reader / writer 3. Here, it is assumed that the Q value is designated as “3” by the Query command 41 and the number of time slots is “8”.

リーダライタ3の通信範囲にあるRFIDタグ2がQueryコマンド41を受信すると、乱数生成部23により、Queryコマンド41の示すタイムスロット数に応じて、8つあるタイムスロット数のうちの1つを自機器に割り当てる。具体的には、「0」から「7」までのうちの1つの値を乱数生成部23で生成して、メモリ部25にスロットカウンタ情報25dとして一時記憶する。例えば、RFIDタグ2a〜2fそれぞれのスロットカウンタ情報25dが、「2」「1」「3」「0」「5」「2」となったとする。   When the RFID tag 2 within the communication range of the reader / writer 3 receives the Query command 41, the random number generation unit 23 automatically selects one of the eight time slots according to the number of time slots indicated by the Query command 41. Assign to equipment. Specifically, one value from “0” to “7” is generated by the random number generation unit 23 and temporarily stored as slot counter information 25 d in the memory unit 25. For example, it is assumed that the slot counter information 25d of each of the RFID tags 2a to 2f is “2” “1” “3” “0” “5” “2”.

また、RFIDタグ2a〜2fのうち、スロットカウンタ情報25dが「0」のものだけが応答でき、識別用の所定の情報、ここでは、16進数の乱数42(RN16)を生成し、送信する。上記の例では、RFIDタグ2dのスロットカウンタ情報が「0」であるため、16進数の乱数42(RN16)を生成し、送信する。この乱数は、乱数情報25cとしてメモリ部25に一時記憶される。この乱数42は、例えば、「0xA12B」であったとする。   Of the RFID tags 2a to 2f, only the one with the slot counter information 25d of “0” can respond, and the predetermined information for identification, in this case, the hexadecimal random number 42 (RN16) is generated and transmitted. In the above example, since the slot counter information of the RFID tag 2d is “0”, the hexadecimal random number 42 (RN16) is generated and transmitted. This random number is temporarily stored in the memory unit 25 as random number information 25c. It is assumed that the random number 42 is “0xA12B”, for example.

リーダライタ3は、アンテナ3a、送受信部31を介して、RFIDタグ2dから乱数42を受信し、乱数42が正常に読み出せた場合に衝突が発生していないと判断する。そして、受信した乱数42の値「0xA12B」を引数とするAckコマンド43をRFIDタグ2dに送信する。   The reader / writer 3 receives the random number 42 from the RFID tag 2d via the antenna 3a and the transmission / reception unit 31, and determines that no collision has occurred when the random number 42 can be read normally. Then, an Ack command 43 having the received random number 42 value “0xA12B” as an argument is transmitted to the RFID tag 2d.

RFIDタグ2a〜2fはAckコマンド43を受信し、値「0xA12B」と同じ乱数をメモリ部25に記憶しているか否かをそれぞれが判断する。ここで、RFIDタグ2dのみがメモリ部25に乱数情報25cとして値「0xA12B」を記憶しているので、RFIDタグ2dはメモリ部25内に記憶している識別情報25bを送受信部21を介してリーダライタ3に送信する。これにより、RFIDタグ2a〜2fから1つのタグが選択される。   Each of the RFID tags 2 a to 2 f receives the Ack command 43 and determines whether or not the same random number as the value “0xA12B” is stored in the memory unit 25. Here, since only the RFID tag 2d stores the value “0xA12B” as the random number information 25c in the memory unit 25, the RFID tag 2d transmits the identification information 25b stored in the memory unit 25 via the transmission / reception unit 21. Transmit to the reader / writer 3. Thereby, one tag is selected from the RFID tags 2a to 2f.

リーダライタ3は、選択したRFIDタグ2dの識別情報25bを送受信部31で受信(タグ応答44)し、メモリ部34に受信した識別情報25bを識別情報34aとして記憶、蓄積する。これにより、RFIDタグ2dの識別情報25bがリーダライタ3に取得されたことになる。   The reader / writer 3 receives the identification information 25b of the selected RFID tag 2d by the transmission / reception unit 31 (tag response 44), and stores and accumulates the received identification information 25b as the identification information 34a in the memory unit 34. Thereby, the identification information 25b of the RFID tag 2d is acquired by the reader / writer 3.

次に、リーダライタ3は送受信部31で識別情報25bを(タグ応答44)受信した後、T秒以内にQueryRepコマンド45を発信する。このQueryRepコマンド45を、RFIDタグ2dに対して識別情報25bがリーダライタ3により正常に読み取られたことを示すAckコマンド43と兼用し、冗長なコマンドを省いて、高速な交信を実現している。これは、所定の時間であるT秒以内(EPC Class−1 Generation2規格では、Tの時間)にQueryRepコマンド45を発信するという限定により、直前に交信したタグからは特定しやすく、QueryRepコマンド45がAckコマンド43の代用になるとして冗長なコマンドを省いている。 Next, the reader / writer 3 transmits the Query Rep command 45 within T seconds after receiving the identification information 25b (tag response 44) by the transmission / reception unit 31. This QueryRep command 45 is also used as the Ack command 43 indicating that the identification information 25b has been normally read by the reader / writer 3 with respect to the RFID tag 2d, and redundant communication is omitted to realize high-speed communication. . This is because the QueryRep command 45 is transmitted within T seconds which is a predetermined time (T2 time in the EPC Class-1 Generation 2 standard), so that it is easy to specify from the tag communicated immediately before, and the QueryRep command 45 As a substitute for the Ack command 43, redundant commands are omitted.

RFIDタグ2dの制御部26は、T秒以内にQueryRepコマンド45を受信した時点で、識別情報25bが正常に読み取られたものとみなし、読み取り完了フラグ25aを読み取り完了にセットし、以降の読み取り命令を受信しても非応答に制御する。例えば、読み取り完了フラグ25aの1ビットで形成されているフラグを「0」から「1」に反転してセットする。   When receiving the QueryRep command 45 within T seconds, the control unit 26 of the RFID tag 2d assumes that the identification information 25b has been read normally, sets the read completion flag 25a to read completion, and executes the subsequent read command Even if it is received, it is controlled so as not to respond. For example, the flag formed by 1 bit of the read completion flag 25a is inverted from “0” to “1” and set.

これにより、RFIDタグ2dを除くRFIDタグ2a〜2cとRFIDタグ2e、2fは、制御部26により、メモリ部25のスロットカウンタ情報25dの値を1つ減らす。   Thereby, the RFID tags 2a to 2c and the RFID tags 2e and 2f excluding the RFID tag 2d reduce the value of the slot counter information 25d of the memory unit 25 by one by the control unit 26.

ここで、もし、リーダライタ3が送受信部31で識別情報25bを受信中(タグ応答44)に読み取り同期用の信号などのプリアンブルの検出に失敗するなどして読み取りエラーが発生した場合、その時点で受信をやめ、次のQueryRepコマンド45を再送信する。プリアンブルの検出に失敗する原因としては、検出する信号レベルが小さくて他のノイズと応答信号の区別が難しく誤動作しやすくなっている場合が考えられる。   Here, if a reading error occurs when the reader / writer 3 fails to detect a preamble such as a signal for reading synchronization while the identification information 25b is being received by the transmitting / receiving unit 31 (tag response 44), Then, the reception is stopped and the next QueryRep command 45 is retransmitted. As a cause of failure in detecting the preamble, it can be considered that the signal level to be detected is small and it is difficult to distinguish the response signal from other noises, and the malfunction is likely to occur.

しかしながら、このような交信動作において問題となることがある。すなわち、RFIDタグ2dは、リーダライタ3から何度か再発信されたQueryRepコマンド45aのうちの1つが偶然にT秒後の正規のタイミングで受信されてしまった場合、制御部26は識別情報25bが正常に読み取られたものと判断するため、メモリ部25の読み取り完了フラグ25aを読み取り完了にセットする。RFIDタグ2dでは、読み取り完了フラグ25aが読み取り完了にセットされると、制御部26によりリーダライタ3から発信される以降の読み取り命令に対しては非応答に制御される。これにより、RFIDタグ2dが未読のタグとなって残ってしまうという問題があった。   However, this communication operation may cause a problem. That is, when one of the QueryRep commands 45a retransmitted several times from the reader / writer 3 is accidentally received at a regular timing T seconds later, the control unit 26 identifies the identification information 25b. Therefore, the reading completion flag 25a of the memory unit 25 is set to reading completion. In the RFID tag 2d, when the reading completion flag 25a is set to the reading completion, the control unit 26 is controlled so as not to respond to a subsequent reading command transmitted from the reader / writer 3. As a result, there is a problem that the RFID tag 2d remains as an unread tag.

そこで、本実施の形態では、図2(a)に示すように、このような問題を解決している。なお、図2(b)と同一符号は同一または相当することを示している。   Therefore, in this embodiment, such a problem is solved as shown in FIG. Note that the same reference numerals as those in FIG. 2B indicate the same or corresponding elements.

すなわち、リーダライタ3は、読み取りエラーにより再送信されるQueryRepコマンド48に1bitで構成される新たな情報として、読み取りエラー情報34bを付加するようにした。ここで、もし、リーダライタ3は識別情報25bの受信中(タグ応答44)に送受信部31で読み取りエラーが発生して識別情報25bの読み取りができなくなった場合、送受信部31での受信をやめて次の読み取り命令であるQueryRepコマンド48を再発信したとする。そして、RFIDタグ2dは、QueryRepコマンド48のうちの1つが偶然に正規のタイミングで受信されたものとする。   That is, the reader / writer 3 adds the read error information 34b as new information composed of 1 bit to the QueryRep command 48 retransmitted due to a read error. Here, if the reader / writer 3 is unable to read the identification information 25b due to a reading error occurring in the transmission / reception unit 31 during the reception of the identification information 25b (tag response 44), the reader / writer 3 stops receiving at the transmission / reception unit 31. Assume that the next read command, QueryRep command 48, is retransmitted. Then, it is assumed that the RFID tag 2d has received one of the QueryRep commands 48 by chance at a regular timing.

この場合であっても、RFIDタグ2dは読み取りエラー検出部24を有しているため、QueryRepコマンド48に付加されている読み取りエラー情報34bを、タグアンテナ部20a、送受信部21を介して、読み取りエラー検出部24により読み取る。そして、RFIDタグ2dは、制御部26により、読み取りエラー検出部24の検出結果からリーダライタ3側で識別情報25bの読み取りエラーが発生したか否かを判断することができる。制御部26は、読み取りエラー検出部24の検出結果に基づいて読み取り完了フラグ25aを読み取り完了にセットするので、誤って読み取り完了にセットすることを防ぐことができる。   Even in this case, since the RFID tag 2d has the read error detection unit 24, the read error information 34b added to the QueryRep command 48 is read via the tag antenna unit 20a and the transmission / reception unit 21. Read by the error detector 24. The RFID tag 2d can determine whether or not a reading error of the identification information 25b has occurred on the reader / writer 3 side from the detection result of the reading error detecting unit 24 by the control unit 26. Since the control unit 26 sets the reading completion flag 25a to the reading completion based on the detection result of the reading error detection unit 24, it is possible to prevent the reading completion from being erroneously set to the reading completion.

これにより、RFIDタグ2dの識別情報25bがリーダライタ3により正常に読み取られるまで応答させることができる。この結果、リーダライタ3の電波の届く範囲に不特定多数のRFIDタグが存在する場合であっても、未読のRFIDタグをなくすことができる。   Thereby, it is possible to make the response until the identification information 25b of the RFID tag 2d is normally read by the reader / writer 3. As a result, even when an unspecified number of RFID tags exist in the range where the radio waves of the reader / writer 3 reach, unread RFID tags can be eliminated.

以下、図3〜図4を参照しながら、RFIDシステム1の動作について説明する。   Hereinafter, the operation of the RFID system 1 will be described with reference to FIGS.

図3は本発明の実施の形態におけるRFIDシステム1の動作を説明するフローチャート、図4は同RFIDシステム1の動作を説明するための模式図である。   FIG. 3 is a flowchart for explaining the operation of the RFID system 1 according to the embodiment of the present invention, and FIG. 4 is a schematic diagram for explaining the operation of the RFID system 1.

図3に示すように、RFIDシステム1は、リーダライタ3からSELECTコマンドをRFIDタグ2a〜2fに向けて発信し、RFIDタグ2a〜2fの内部にある各種レジスタなどを初期化する(S100)。   As shown in FIG. 3, the RFID system 1 transmits a SELECT command from the reader / writer 3 to the RFID tags 2a to 2f, and initializes various registers in the RFID tags 2a to 2f (S100).

次に、リーダライタ3は、タイムスロット数を指定するコマンドであるQueryコマンド41を発信する(S102)。ここでは、Queryコマンド41でQ値を「3」に指定し、1ラウンドのタイムスロット数を「8」とする。RFIDタグ2a〜2fは、Queryコマンド41を受信した後、RFIDタグ2a〜2fそれぞれの乱数生成部23により乱数を生成する。そして、各スロットカウンタ情報が、「2」「1」「3」「0」「5」「2」となったとする。   Next, the reader / writer 3 transmits a Query command 41 which is a command for designating the number of time slots (S102). Here, the Q value is designated to “3” by the Query command 41, and the number of time slots in one round is set to “8”. After receiving the Query command 41, the RFID tags 2a to 2f generate random numbers by the random number generation unit 23 of each of the RFID tags 2a to 2f. Assume that the slot counter information is “2”, “1”, “3”, “0”, “5”, and “2”.

次に、リーダライタ3は、タイムスロット「1」から「8」まで順次に通信範囲にあるRFIDタグ2の読み取りを行う。   Next, the reader / writer 3 reads the RFID tags 2 in the communication range sequentially from the time slots “1” to “8”.

ここでは、RFIDタグ2dのスロットカウンタ情報が「0」となったので、タイムスロットの1番目では、図4に示すように、RFIDタグ2d(図4中では「D」と表記)のみが応答し、リーダライタ3は、RFIDタグ2dの識別情報25bを読み取る(S108)。リーダライタ3は、送受信部31を介して識別情報25bを受信し、識別情報25bを識別情報34aとしてメモリ部34に記憶する。これにより、RFIDタグ2dの識別情報25bがリーダライタ3に取得されたことになる。   Here, since the slot counter information of the RFID tag 2d is “0”, only the RFID tag 2d (denoted as “D” in FIG. 4) responds as shown in FIG. 4 in the first time slot. Then, the reader / writer 3 reads the identification information 25b of the RFID tag 2d (S108). The reader / writer 3 receives the identification information 25b via the transmission / reception unit 31, and stores the identification information 25b in the memory unit 34 as the identification information 34a. Thereby, the identification information 25b of the RFID tag 2d is acquired by the reader / writer 3.

図3に戻り、リーダライタ3は、もし識別情報25bの受信中に送受信部31で読み取りエラーが発生した場合には(S110)、読み取りエラー情報34bを作成してメモリ部34に一時記憶する(S112)。S110で読み取りエラーが発生しなかった場合にはS116に進む。また、S104でRFIDタグ2の応答が1つもない場合はS116に進む。また、S104で2つ以上のRFIDタグ2が衝突していると判断した場合には(S106)、NAK(否承認)コマンドを発信し(S114)、S116に進む。   Returning to FIG. 3, if a reading error occurs in the transmission / reception unit 31 during reception of the identification information 25 b (S 110), the reader / writer 3 creates the reading error information 34 b and temporarily stores it in the memory unit 34 ( S112). If no reading error has occurred in S110, the process proceeds to S116. If there is no response from the RFID tag 2 in S104, the process proceeds to S116. If it is determined in S104 that two or more RFID tags 2 have collided (S106), a NAK (non-approval) command is transmitted (S114), and the process proceeds to S116.

次に、リーダライタ3は、S108で識別情報25bを受信したT秒以内、または、送受信部31で読み取りエラーが発生した後の所定時間の後、読み取りエラー情報34bをメモリ部34から読み出し、QueryRepコマンド48に読み取りエラー情報34bを付加して発信する(S116)。RFIDタグ2dは、読み取り命令であるQueryRepコマンド48を受信し、読み取りエラー検出部24でQueryRepコマンド48に付加された読み取りエラー情報34bから、リーダライタ3側の送受信部31で識別情報25bの読み取りエラーが発生したか否かを検出する。そして、RFIDタグ2dは、制御部26により読み取りエラー検出部24の検出結果から読み取りエラーがないことを確認した後、読み取り完了フラグ25aを読み取り完了にセットして、以降読み取り命令を受信しても非応答になる。このように、制御部26は、読み取りエラー検出部24の検出結果に基づいて読み取り完了フラグ25aを読み取り完了にセットするので、誤って読み取り完了にセットすることを防ぐことができる。   Next, the reader / writer 3 reads the read error information 34b from the memory unit 34 within T seconds when the identification information 25b is received in S108, or after a predetermined time after a read error occurs in the transmission / reception unit 31, and the QueryRep The read error information 34b is added to the command 48 and transmitted (S116). The RFID tag 2d receives the Query Rep command 48, which is a read command, and reads from the read error information 34b added to the Query Rep command 48 by the read error detection unit 24, and the reading / writing unit 31 on the reader / writer 3 side reads the identification information 25b. Detect whether or not has occurred. Then, the RFID tag 2d sets the reading completion flag 25a to the reading completion after confirming that there is no reading error from the detection result of the reading error detection unit 24 by the control unit 26, and thereafter receives the reading command. Become unresponsive. Thus, since the control unit 26 sets the reading completion flag 25a to the reading completion based on the detection result of the reading error detecting unit 24, it can be prevented that it is erroneously set to the reading completion.

すなわち、リーダライタ3側の送受信部31で読み取りエラーが発生し、識別情報25bを読み取る時間の1/10以下の時間で繰り返されるQueryRepコマンド48のうちの1つが偶然にT秒後の正規のタイミングでRFIDタグ2dで受信されてしまった場合でも、読み取りエラー検出部24で読み取りエラーが検出されれば、読み取り完了フラグ25aを読み取り未完了に維持するので、誤ってタグが非応答になるのを防ぐことができる。   That is, when a reading error occurs in the transmitter / receiver 31 on the reader / writer 3 side, one of the QueryRep commands 48 that is repeated in 1/10 or less of the time for reading the identification information 25b happens to be the normal timing after T seconds. Even if it is received by the RFID tag 2d, if a reading error is detected by the reading error detection unit 24, the reading completion flag 25a is maintained in the reading incomplete state. Can be prevented.

ここでは、読み取りエラーが検出されず、読み取り完了フラグ25aを読み取り完了にセットしたので、RFIDタグ2dは非応答に制御される。   Here, since no reading error is detected and the reading completion flag 25a is set to reading completion, the RFID tag 2d is controlled to be non-responsive.

これにより、RFIDタグ2dを除くRFIDタグ2a〜2cとRFIDタグ2e、2fは、制御部26により、メモリ部25のスロットカウンタ情報25dの値を1つ減らし、「1」「0」「2」「4」「1」となる。そして、タイムスロットを1つ進め、「2」にする。   As a result, the RFID tags 2a to 2c and the RFID tags 2e and 2f excluding the RFID tag 2d reduce the value of the slot counter information 25d of the memory unit 25 by one by the control unit 26, and “1” “0” “2”. “4” and “1”. Then, the time slot is advanced by 1 to “2”.

タイムスロット「2」では、RFIDタグ2bのスロットカウンタ情報25dが「0」となったので、図4に示すように、RFIDタグ2b(図4中では「B」と表記)が応答し(S118)、リーダライタ3は、RFIDタグ2bの識別情報25bを読み取る(S122)。リーダライタ3は、送受信部31を介して識別情報25bを受信し、識別情報25bを識別情報34aとしてメモリ部34に記憶する。これにより、RFIDタグ2bの識別情報25bがリーダライタ3に取得されたことになる。   In the time slot “2”, the slot counter information 25d of the RFID tag 2b becomes “0”, so that the RFID tag 2b (indicated as “B” in FIG. 4) responds as shown in FIG. 4 (S118). The reader / writer 3 reads the identification information 25b of the RFID tag 2b (S122). The reader / writer 3 receives the identification information 25b via the transmission / reception unit 31, and stores the identification information 25b in the memory unit 34 as the identification information 34a. As a result, the identification information 25b of the RFID tag 2b is acquired by the reader / writer 3.

図3に戻り、リーダライタ3は、もし識別情報25bの受信中に送受信部31で読み取りエラーが発生した場合には(S124)、読み取りエラー情報34bを作成してメモリ部34に一時記憶する(S126)。S124で読み取りエラーが発生しなかった場合にはS130に進む。また、S118でRFIDタグ2の応答が1つもない場合はS130に進む。また、S120で2つ以上のRFIDタグ2が衝突している場合には、NAK(否承認)コマンドを発信し(S128)、S130に進む。   Returning to FIG. 3, if a reading error occurs in the transmission / reception unit 31 during reception of the identification information 25 b (S 124), the reader / writer 3 creates the reading error information 34 b and temporarily stores it in the memory unit 34 ( S126). If no reading error has occurred in S124, the process proceeds to S130. If there is no response from the RFID tag 2 in S118, the process proceeds to S130. If two or more RFID tags 2 collide in S120, a NAK (non-approval) command is transmitted (S128), and the process proceeds to S130.

次に、タイムスロットが「8」、すなわち、1ラウンドの最後かを判断する(S130)。ここでは、タイムスロットは「2」であるので、再度、S116からS130を繰り返し実行する。   Next, it is determined whether the time slot is “8”, that is, the end of one round (S130). Here, since the time slot is “2”, S116 to S130 are repeated.

次に、リーダライタ3は、S122で識別情報25bを受信したT秒以内、または、送受信部31で読み取りエラーが発生した場合に、上記と同様にして、読み取りエラー情報34bをメモリ部34から読み出し、QueryRepコマンド48に読み取りエラー情報34bを付加して発信する(S116)。RFIDタグ2bは、この読み取り命令であるQueryRepコマンド48を受信したときにQueryRepコマンド48から読み取りエラー情報34bを取得し、読み取りエラーがないことを確認した後、読み取り完了フラグ25aを読み取り完了にセットして、以降読み取り命令を受信しても非応答になる。   Next, the reader / writer 3 reads the read error information 34b from the memory unit 34 in the same manner as described above within T seconds when the identification information 25b is received in S122 or when a read error occurs in the transmission / reception unit 31. Then, the read error information 34b is added to the Query Rep command 48 and transmitted (S116). The RFID tag 2b obtains the read error information 34b from the QueryRep command 48 when receiving the QueryRep command 48 which is this read command, confirms that there is no read error, and sets the read completion flag 25a to read complete. Even if a read command is subsequently received, no response is made.

そして、再び、S116のQueryRepコマンド48により、RFIDタグ2d、2bを除くRFIDタグ2a、2cとRFIDタグ2e、2fは、制御部26により、メモリ部25のスロットカウンタ情報25dの値を1つ減らし、「0」「1」「3」「0」となる。そして、タイムスロットの番号を1つ進め、「3」にする。   Then, again by the Query Rep command 48 in S116, the RFID tags 2a and 2c and the RFID tags 2e and 2f except the RFID tags 2d and 2b reduce the value of the slot counter information 25d of the memory unit 25 by one by the control unit 26. , “0” “1” “3” “0”. Then, the time slot number is incremented by 1 to “3”.

タイムスロット「3」では、RFIDタグ2a、2fのスロットカウンタ情報25dが「0」となったので、図4に示すように、RFIDタグ2a、2f(図4中では「A」、「F」と表記)が応答し、識別情報25bを送受信部21を介してリーダライタ3に送信する(S112)。   In the time slot “3”, the slot counter information 25d of the RFID tags 2a and 2f is “0”, so as shown in FIG. 4, the RFID tags 2a and 2f (“A” and “F” in FIG. 4). And the identification information 25b is transmitted to the reader / writer 3 via the transmission / reception unit 21 (S112).

このとき、リーダライタ3は、RFIDタグ2a、2fから所定の信号である、乱数(RN16)を受信するが(S118)、RFIDタグ2a、2fの衝突により乱数を正常に読み取ることができないため、衝突数取得部33では、衝突があったと判断し(S120)、NAKコマンドを発信すると共に(S128)、衝突数をカウントする内部カウンタ(図示せず)を1つ増やす。これにより、RFIDタグ2a、2fは、識別情報25bをリーダライタ3に送信しない。このため、以降の読み取り命令も受け付ける。すなわち、読み取り完了フラグ25aを読み取り完了にセットしない。そして、RFIDタグ2a、2fは、QueryRepコマンド48によりスロットカウンタ情報25dを最大値となる所定の値、例えば、16進数で「7FFF」となる「32767」に設定する。そして、タイムスロットを1つ進めて「4」にする。   At this time, the reader / writer 3 receives a random number (RN16) which is a predetermined signal from the RFID tags 2a and 2f (S118), but cannot read the random number normally due to the collision of the RFID tags 2a and 2f. The collision number acquisition unit 33 determines that a collision has occurred (S120), transmits a NAK command (S128), and increments an internal counter (not shown) for counting the number of collisions. As a result, the RFID tags 2 a and 2 f do not transmit the identification information 25 b to the reader / writer 3. For this reason, subsequent read commands are also accepted. That is, the reading completion flag 25a is not set to reading completion. Then, the RFID tags 2a and 2f set the slot counter information 25d to a predetermined value that is the maximum value, for example, “32767” that is “7FFF” in hexadecimal, using the QueryRep command 48. Then, the time slot is advanced by 1 to “4”.

タイムスロット「4」において、QueryRepコマンド48の発信により(S116)、RFIDタグ2a、2cとRFIDタグ2e、2fのスロットカウンタ情報は、それぞれ「32767」「0」「2」「32767」となる。そして、上記同様にS116からS130を実行することにより、RFIDタグ2c(図4中では「C」と表記)のみが応答する。以降、同様にして、タイムスロット「6」で、RFIDタグ2e(図4中では「E」と表記)のみが応答する。   In the time slot “4”, when the QueryRep command 48 is transmitted (S116), the slot counter information of the RFID tags 2a and 2c and the RFID tags 2e and 2f becomes “32767”, “0”, “2”, and “32767”, respectively. Then, by executing S116 to S130 in the same manner as described above, only the RFID tag 2c (indicated as “C” in FIG. 4) responds. Thereafter, similarly, only the RFID tag 2e (denoted as “E” in FIG. 4) responds in the time slot “6”.

そして、タイムスロットが「8」、すなわち、1ラウンドが終了する(S130)と、タイムスロット数を更新した後(S132)、ラウンド中のタイムスロットの中に衝突やRFIDタグ2からの応答がなければRFIDタグ2の読み取り処理を終了する(S134)。   When the time slot is “8”, that is, when one round is completed (S130), after the number of time slots is updated (S132), there is no collision or response from the RFID tag 2 in the time slot in the round. For example, the reading process of the RFID tag 2 is terminated (S134).

タイムスロット数の更新は、衝突数取得部33の内部カウンタに保持されている衝突数に基づいて行われる。すなわち、区分数指定部32は、次のラウンドで使用するタイムスロット数を衝突数に基づいて推定する。   The time slot number is updated based on the number of collisions held in the internal counter of the collision number acquisition unit 33. That is, the number-of-sections specifying unit 32 estimates the number of time slots used in the next round based on the number of collisions.

もし、ラウンド中に、衝突やRFIDタグ2からの応答が1つ以上あった場合には、次のラウンドに進む。図4に示す例では、タイムスロット「3」でRFIDタグ2a、2fの衝突があったため、次の2ラウンド目を実行する。   If there is a collision or one or more responses from the RFID tag 2 during the round, the process proceeds to the next round. In the example shown in FIG. 4, since the RFID tags 2a and 2f have collided in the time slot “3”, the next second round is executed.

図4に示すように、RFIDタグ2a、2fは、1ラウンド目と同様な処理によって、2ラウンド目のタイムスロット「2」とタイムスロット「4」で応答(図4中では「F」、「A」と表記)し、それぞれの識別情報25bをリーダライタ3に送信する。そして、3ラウンド目のタイムスロットの中に衝突やRFIDタグ2からの応答がすべてなくなるため、3ラウンド目の最後のタイムスロット「8」でRFIDタグ2の読み取り処理を終了する。   As shown in FIG. 4, the RFID tags 2a and 2f respond in the same manner as in the first round with the time slot “2” and the time slot “4” in the second round (in FIG. 4, “F”, “ The identification information 25 b is transmitted to the reader / writer 3. Since all collisions and responses from the RFID tag 2 disappear in the time slot of the third round, the reading process of the RFID tag 2 ends at the last time slot “8” of the third round.

以上のように本実施の形態によれば、RFIDシステム1は、タグアンテナ部20aと識別情報25bを記憶保持するタグ回路部20bとを有するRFIDタグ2a〜2fと、RFIDタグ2a〜2fそれぞれから識別情報25bをアンテナ3aを介して読み取る送受信部31を有するリーダライタ3とを備え、リーダライタ3は、送受信部31からアンテナ3aを介して識別情報25bを読み取る読み取り命令(例えば、Queryコマンド41やQueryRepコマンド48など)を発信した後に、複数のRFIDタグ2a〜2fのいずれか1つから取得すべき識別情報25bを送受信部31の読み取りエラーの発生により読み取りができない場合、次に発信する読み取り命令(QueryRepコマンド48など)に読み取りエラーの発生を知らせる読み取りエラー情報34bを付加して送受信部31からアンテナ3aを介して発信する構成とした。   As described above, according to the present embodiment, the RFID system 1 includes the RFID tags 2a to 2f having the tag antenna unit 20a and the tag circuit unit 20b for storing and holding the identification information 25b, and the RFID tags 2a to 2f. A reader / writer 3 having a transmission / reception unit 31 that reads the identification information 25b via the antenna 3a. The reader / writer 3 reads a read command (for example, a Query command 41 or the like) that reads the identification information 25b from the transmission / reception unit 31 via the antenna 3a. If the identification information 25b to be acquired from any one of the plurality of RFID tags 2a to 2f cannot be read due to the occurrence of a read error in the transmission / reception unit 31, after the QueryRep command 48 is transmitted, a read command to be transmitted next Read error (such as QueryRep command 48) It has a configuration for transmitting and receiving unit 31 via the antenna 3a by adding a reading error information 34b indicating the occurrence.

そして、RFIDタグ2は、タグアンテナ部20aと識別情報25bを記憶保持するタグ回路部20bとを備え、タグ回路部20bは、リーダライタ3から発信される読み取り命令をタグアンテナ部20aを介して読み取る送受信部21と、この送受信部21で読み取られた読み取り命令に付加されている識別情報25bの読み取りエラー情報34bを判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部24と、リーダライタ3により識別情報25bの読み取りが完了しているか否の情報を示す読み取り完了フラグ25aと、読み取りエラー検出部24の判定結果に基づいて読み取り完了フラグ25aを設定する制御部26とを有し、制御部26は、読み取りエラー検出部24で読み取りエラーが検出された場合、読み取り未完了の状態を維持するように読み取り完了フラグ25aを設定し、読み取りエラー検出部24で読み取りエラーが未検出であると共にリーダライタ3により識別情報25bの読み取りが完了している場合、読み取り完了フラグ25aを読み取り完了に設定する構成とした。   The RFID tag 2 includes a tag antenna unit 20a and a tag circuit unit 20b that stores and holds identification information 25b. The tag circuit unit 20b sends a reading command transmitted from the reader / writer 3 via the tag antenna unit 20a. A reading / receiving unit 21 for reading, and a reading error detecting unit 24 for determining whether or not a reading error has occurred by determining the reading error information 34b of the identification information 25b added to the reading command read by the transmitting / receiving unit 21; The reader / writer 3 has a reading completion flag 25a indicating information indicating whether or not the reading of the identification information 25b has been completed, and a control unit 26 that sets the reading completion flag 25a based on the determination result of the reading error detection unit 24. When the reading error detection unit 24 detects a reading error, the control unit 26 reads the reading error. When the reading completion flag 25a is set so as to maintain the unread state, the reading error detection unit 24 has not detected a reading error and the reader / writer 3 has finished reading the identification information 25b, the reading is completed. The flag 25a is set to read completion.

これにより、各RFIDタグ2は識別情報25bが正常にリーダライタ3により読み取りが完了するまで応答することができるので、リーダライタ3の電波の届く範囲に不特定多数のRFIDタグ2が存在する場合であっても、未読のRFIDタグ2をなくすことができる。   As a result, each RFID tag 2 can respond until the identification information 25b is normally read by the reader / writer 3, so that an unspecified number of RFID tags 2 exist within the range of the radio wave of the reader / writer 3. Even so, the unread RFID tag 2 can be eliminated.

以上のように本発明によれば、リーダライタは、送受信部からアンテナを介して識別情報を読み取る読み取り命令を発信した後に、複数のRFIDタグのいずれか1つから読み取るべき識別情報を送受信部の読み取りエラーの発生により読み取りができない場合、次に発信する読み取り命令に読み取りエラーの発生を知らせる読み取りエラー情報を付加して発信する構成とした。そして、RFIDタグは、読み取り命令に付加されている識別情報の読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出し、読み取りエラーが未検出であると共にリーダライタにより識別情報の読み取りが完了している場合のみ、読み取り完了フラグを読み取り完了に設定する構成とした。   As described above, according to the present invention, the reader / writer transmits the reading command for reading the identification information from the transmission / reception unit via the antenna, and then transmits the identification information to be read from any one of the plurality of RFID tags. When reading is not possible due to the occurrence of a reading error, reading error information for notifying the occurrence of a reading error is added to the next reading command to be transmitted and then transmitted. Then, the RFID tag determines whether or not a reading error has occurred by determining the reading error information of the identification information added to the reading command. When the reading error has not been detected, the reader / writer reads the identification information. Only when the reading is completed, the reading completion flag is set to reading completion.

このため、リーダライタ側でRFIDタグの識別情報が正常に読み取られるまで読み取り完了フラグを読み取り未完了に維持し、タグを応答させることができるので、リーダライタの電波の届く範囲に不特定多数のRFIDタグが存在する場合であっても、未読のRFIDタグをなくすことを可能にするRFIDシステム、リーダライタおよびRFIDタグとして有用である。   For this reason, the reading completion flag is read and maintained incomplete until the RFID tag identification information is normally read on the reader / writer side, and the tag can be made to respond. Even when an RFID tag is present, the present invention is useful as an RFID system, a reader / writer, and an RFID tag that can eliminate an unread RFID tag.

本発明の実施の形態におけるRFIDシステムの概要図Schematic diagram of an RFID system according to an embodiment of the present invention (a)は同RFIDシステムの交信動作を説明する概要図、(b)は同RFIDシステムとの比較例の交信動作を説明する概要図(A) is a schematic diagram explaining the communication operation of the RFID system, (b) is a schematic diagram explaining the communication operation of a comparative example with the RFID system. 同RFIDシステムの動作を説明するフローチャートFlow chart for explaining the operation of the RFID system 同RFIDシステムの動作を説明するための模式図Schematic diagram for explaining the operation of the RFID system

符号の説明Explanation of symbols

1 RFIDシステム
2a〜2f RFIDタグ
3 リーダライタ
3a アンテナ
4 管理物品
20a タグアンテナ部
20b タグ回路部
21,31 送受信部
22 区分割当部
23 乱数生成部
24 読み取りエラー検出部
25,34 メモリ部
25a 読み取り完了フラグ
25b,34a 識別情報
25c 乱数情報
25d スロットカウンタ情報
26,35 制御部
32 区分数指定部
33 衝突数取得部
34b 読み取りエラー情報
DESCRIPTION OF SYMBOLS 1 RFID system 2a-2f RFID tag 3 Reader / writer 3a Antenna 4 Management article 20a Tag antenna part 20b Tag circuit part 21, 31 Transmission / reception part 22 Classification assignment part 23 Random number generation part 24 Read error detection part 25, 34 Memory part 25a Reading completion Flags 25b, 34a Identification information 25c Random number information 25d Slot counter information 26, 35 Control unit 32 Division number designation unit 33 Collision number acquisition unit 34b Read error information

Claims (5)

タグアンテナ部と識別情報を記憶保持するタグ回路部とを有する複数のRFIDタグと、前記複数のRFIDタグそれぞれから前記識別情報をアンテナを介して読み取る送受信部を有するリーダライタとを備え、
前記リーダライタは、前記送受信部から前記アンテナを介して前記識別情報を読み取る読み取り命令を発信した後に、前記複数のRFIDタグのいずれか1つから読み取るべき前記識別情報を前記送受信部の読み取りエラーの発生により読み取りができない場合、次に発信する前記読み取り命令に前記読み取りエラーの発生を知らせる読み取りエラー情報を付加して前記送受信部から前記アンテナを介して発信する構成とし
前記RFIDタグは、
前記読み取り命令に付加されている前記読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部と、
前記リーダライタにより前記識別情報の読み取りが完了しているか否の情報を示す読み取り完了フラグと、
前記読み取りエラー検出部の判定結果に基づいて前記読み取り完了フラグを設定する制御部とを有したことを特徴とするRFIDシステム。
A plurality of RFID tags having a tag antenna unit and a tag circuit unit for storing and holding identification information; and a reader / writer having a transmission / reception unit for reading the identification information from each of the plurality of RFID tags via an antenna;
The reader / writer transmits a reading command for reading the identification information from the transmission / reception unit via the antenna, and then transmits the identification information to be read from any one of the plurality of RFID tags to a reading error of the transmission / reception unit. When reading is not possible due to occurrence, read error information notifying the occurrence of the read error is added to the read command to be transmitted next , and the configuration is transmitted from the transmission / reception unit via the antenna ,
The RFID tag is
A read error detection unit that determines whether or not a read error has occurred by determining the read error information added to the read command;
A read completion flag indicating information indicating whether or not the reading of the identification information has been completed by the reader / writer;
An RFID system comprising: a control unit that sets the reading completion flag based on a determination result of the reading error detection unit .
前記制御部は、
前記読み取りエラー検出部で読み取りエラーが検出された場合、読み取り未完了の状態を維持するように前記読み取り完了フラグを設定し、
前記読み取りエラー検出部で読み取りエラーが未検出で、かつ、前記リーダライタにより前記識別情報の読み取りが完了した場合、前記読み取り完了フラグを読み取り完了に設定する構成としたことを特徴とする請求項1記載のRFIDシステム。
The controller is
When a reading error is detected by the reading error detection unit, the reading completion flag is set so as to maintain a reading incomplete state,
Read error undetected by said read error detection unit, and, if the reading of the identification information by the reader writer is completed, according to claim 1, characterized in that a configuration for setting the read completion flag read complete The described RFID system.
前記制御部は、
前記読み取り完了フラグが読み取り未完了の情報を示すときに、以降の前記読み取り命令に対して応答するように制御し、
前記読み取り完了フラグが読み取り完了を示す情報のときに、以降の前記読み取り命令に対して非応答にするように制御する構成としたことを特徴とする請求項2記載のRFIDシステム。
The controller is
When the read completion flag indicates unread information, control to respond to the subsequent read command,
3. The RFID system according to claim 2 , wherein when the read completion flag is information indicating completion of reading , the RFID system is controlled so as not to respond to the subsequent read command. 4.
前記読み取りエラー情報は、1ビットの情報であることを特徴とする請求項1から請求項3のいずれか1項に記載のRFIDシステム。 The RFID system according to any one of claims 1 to 3, wherein the read error information is 1-bit information. タグアンテナ部と識別情報を記憶保持するタグ回路部とを備え、
前記タグ回路部は、
リーダライタから発信される読み取り命令を前記タグアンテナ部を介して読み取る送受信部と、
この送受信部で読み取られた前記読み取り命令に付加されている前記識別情報の読み取りエラー情報を判定して読み取りエラーが発生したか否かを検出する読み取りエラー検出部と、
前記リーダライタにより前記識別情報の読み取りが完了しているか否の情報を示す読み取り完了フラグと、
前記読み取りエラー検出部の判定結果に基づいて前記読み取り完了フラグを設定する制御部とを有し、
前記制御部は、前記読み取りエラー検出部で読み取りエラーが検出された場合、読み取り未完了の状態を維持するように前記読み取り完了フラグを設定し、前記読み取りエラー検出部で読み取りエラーが未検出であると共に前記リーダライタにより前記識別情報の読み取りが完了している場合、前記読み取り完了フラグを読み取り完了に設定する構成としたことを特徴とするRFIDタグ。
A tag antenna unit and a tag circuit unit for storing and holding identification information;
The tag circuit section is
A transmission / reception unit that reads a reading command transmitted from a reader / writer via the tag antenna unit;
A read error detection unit that determines whether or not a read error has occurred by determining read error information of the identification information added to the read command read by the transmission / reception unit;
A read completion flag indicating information indicating whether or not the reading of the identification information has been completed by the reader / writer;
A control unit that sets the reading completion flag based on the determination result of the reading error detection unit,
The control unit sets the read completion flag so as to maintain a read incomplete state when a read error is detected by the read error detection unit, and a read error is not detected by the read error detection unit. In addition, the RFID tag is configured to set the reading completion flag to read completion when the reading of the identification information is completed by the reader / writer.
JP2008253138A 2008-09-30 2008-09-30 RFID system and RFID tag Active JP5151870B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008253138A JP5151870B2 (en) 2008-09-30 2008-09-30 RFID system and RFID tag
US12/568,938 US8325046B2 (en) 2008-09-30 2009-09-29 RFID system, reader-writer, and RFID tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008253138A JP5151870B2 (en) 2008-09-30 2008-09-30 RFID system and RFID tag

Publications (2)

Publication Number Publication Date
JP2010087737A JP2010087737A (en) 2010-04-15
JP5151870B2 true JP5151870B2 (en) 2013-02-27

Family

ID=42251265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008253138A Active JP5151870B2 (en) 2008-09-30 2008-09-30 RFID system and RFID tag

Country Status (1)

Country Link
JP (1) JP5151870B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI755138B (en) * 2020-11-02 2022-02-11 凌通科技股份有限公司 Radio frequency identification communication method for collision reduction with low power consumption and radio frequency identification communication system using the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08167090A (en) * 1994-12-12 1996-06-25 Tec Corp Mobile body discriminating method
JP2001358610A (en) * 2000-06-15 2001-12-26 Matsushita Electric Ind Co Ltd Method and apparatus for communicating mobile identifying device
US8519847B2 (en) * 2005-11-24 2013-08-27 Nokia Corporation Methodology, module, terminal, and system enabling scheduled operation of a radio frequency identification (RFID) subsystem and a wireless communication subsystem
JP4548671B2 (en) * 2006-02-10 2010-09-22 富士通株式会社 Interrogator, transponder, transponder authentication method

Also Published As

Publication number Publication date
JP2010087737A (en) 2010-04-15

Similar Documents

Publication Publication Date Title
US8325046B2 (en) RFID system, reader-writer, and RFID tag
KR101048612B1 (en) RFID tag recognition method to prevent RFID tag collision, RFID reader and RFID tag using same
EP1916616B1 (en) Method for response control of an RFID tag, corresponding RFID system, reader/wrtiter and computer porgram
EP1977375B1 (en) Method of preventing collisions between rfid readers in rfid system
US7274284B2 (en) Method for RF card detection in a contactless system
KR101014795B1 (en) Method for preventing collision of reader, driving method of rfid reader having the method and rfid reader for performing the method
US20070176751A1 (en) Multiple Item Radio Frequency Tag Identification Protocol
US20050237159A1 (en) RFID tag systems, RFID tags and RFID processes with reverse link burst mode
US20070075838A1 (en) Method and apparatus for avoiding radio frequency identification (RFID) tag response collisions
EP1818852B1 (en) Interrogator, transponder and transponder identification method
JPH0894746A (en) Protocol for identifying tags for plurality of item radio frequencies
US20140111309A1 (en) Method for Selecting One or More Transponders
US20050237157A1 (en) RFID tag systems, RFID tags and RFID processes with branch node indexing
WO2008094728A1 (en) Systems and methods for rfid tag arbitration
US8310343B2 (en) Binary tree method for multi-tag anti-collision
US20050237158A1 (en) RFID tag systems, RFID tags and RFID processes using N-ary FSK
EP2183699B1 (en) A method and reader to conduct a label query in a radio frequency identification system
JP5151870B2 (en) RFID system and RFID tag
US20180260590A1 (en) Responder, interrogator, method of controlling responder, method of controlling interrogator, information processing program, and recording medium
JP5151871B2 (en) RFID tag and RFID system
KR101221446B1 (en) Method and apparatus for controlling reader in radio frequency identification system
US9070003B2 (en) Method for handling collision in an identification system
EP2770755B1 (en) Near field communication tag type identification
JP5157793B2 (en) RFID system
KR100812304B1 (en) Apparatus and method for learning-based anti-collision in rfid systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110926

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20111013

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121017

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: 20121106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121119

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5151870

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250