JP5514151B2 - Reader / writer device and tag response detection method - Google Patents
Reader / writer device and tag response detection method Download PDFInfo
- Publication number
- JP5514151B2 JP5514151B2 JP2011100420A JP2011100420A JP5514151B2 JP 5514151 B2 JP5514151 B2 JP 5514151B2 JP 2011100420 A JP2011100420 A JP 2011100420A JP 2011100420 A JP2011100420 A JP 2011100420A JP 5514151 B2 JP5514151 B2 JP 5514151B2
- Authority
- JP
- Japan
- Prior art keywords
- threshold value
- tag
- tag response
- command
- unit
- 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
Links
- 230000004044 response Effects 0.000 title claims description 189
- 238000001514 detection method Methods 0.000 title claims description 95
- 230000008859 change Effects 0.000 claims description 37
- 230000005540 biological transmission Effects 0.000 claims description 34
- 230000035945 sensitivity Effects 0.000 claims description 12
- 238000000034 method Methods 0.000 description 20
- 230000008569 process Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 4
- 230000010355 oscillation Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Description
本発明はリーダライタ装置およびタグ応答検出方法に関し、特にRFID(Radio Frequency IDentification)タグとの間で通信を行うリーダライタ装置およびタグにデータを書き込むライト系コマンド送信に対するタグ応答の検出方法に関する。 The present invention relates to a reader / writer device and a tag response detection method, and more particularly to a reader / writer device that communicates with an RFID (Radio Frequency IDentification) tag and a tag response detection method for a write command transmission that writes data to a tag.
リーダライタ装置は、タグと呼ばれる媒体に記憶された製品などの固有の識別データを無線通信によって読み書きを行うもので、通常は、タグに対してコマンドを送信し、そのコマンドの応答としてタグの返信を受信することで通信を行っている。 A reader / writer device reads and writes unique identification data such as a product stored in a medium called a tag by wireless communication, and usually sends a command to the tag and returns a tag as a response to the command. It is communicating by receiving.
図13は一般的なリーダライタ装置の構成を示すブロック図である。
リーダライタ装置は、この装置全体の制御演算を司るMPU(Micro-Processing Unit)11と、DSP(Digital Signal Processor)12と、アナログ送信部13と、アナログ受信部14と、局部発振部15と、アンテナ16とを備えている。
FIG. 13 is a block diagram showing a configuration of a general reader / writer device.
The reader / writer device includes an MPU (Micro-Processing Unit) 11, a DSP (Digital Signal Processor) 12, an
MPU11は、このリーダライタ装置を制御する上位装置に接続されている。上位装置は、たとえばパーソナルコンピュータとすることができ、リーダライタ装置を介して、図示しないタグとの間でデータ通信を行う。 The MPU 11 is connected to a host device that controls the reader / writer device. The host device may be a personal computer, for example, and performs data communication with a tag (not shown) via a reader / writer device.
リーダライタ装置は、送信側でPIE(Pulse Interval Encoding)符号が使用され、受信側では、FM0(Frequency Modulation 0)符号が使用されている。そのため、DSP12は、送信側回路として、PIE符号化部17およびAM(Amplitude Modulation)変調部18を有している。また、DSP12の受信側回路は、AM復調部19、タグ応答検出部20およびFM0復号化部21を有している。
In the reader / writer device, a PIE (Pulse Interval Encoding) code is used on the transmitting side, and an FM0 (Frequency Modulation 0) code is used on the receiving side. Therefore, the DSP 12 includes a
アナログ送信部13は、入力がAM変調部18の出力に接続されたフィルタ22、このフィルタ22の出力と局部発振部15の出力とを乗算するミキサ23およびこのミキサ23の出力を増幅するアンプ24を有している。アンプ24の出力は、アンテナ16に接続されている。
The
アナログ受信部14は、アンテナ16の出力を増幅するアンプ25、このアンプ25の出力と局部発振部15の出力とを乗算するミキサ26および入力がミキサ23の出力に接続されたフィルタ27を有している。フィルタ27の出力は、AM復調部19およびタグ応答検出部20に接続されている。
The
このリーダライタ装置は、上位装置から何らかのコマンドを受けると、MPU11がそのコマンドを解析し、DSP12にコマンド発行の指令を出す。そのコマンドは、PIE符号化部17にてPIE符号化され、さらにAM変調部18にてAM変調される。AM変調されたコマンドは、フィルタ22にて不要な帯域周波数がカットされ、ミキサ23にてRFIDタグの通信に割り当てられている周波数帯(たとえば、950MHz帯)に周波数変換され、アンプ24にて増幅され、アンテナ16より送信される。
When this reader / writer device receives any command from the host device, the MPU 11 analyzes the command and issues a command issuance command to the
アンテナ16より送信された電波がタグに到達すると、タグは、その電波のエネルギを電力にして起動し、受信したコマンドを解析処理し、そのコマンドに応じた応答を返信する。
When the radio wave transmitted from the
アンテナ16がタグ返信を受けると、その受信信号は、アナログ受信部14に進み、アンプ25で増幅され、ミキサ26により周波数変換されてベースバンド信号の周波数帯に落とされ、フィルタ27によって不要な帯域周波数がカットされる。フィルタ27を出た信号は、DSP12のタグ応答検出部20に入力され、タグ応答検出部20にてタグ応答が受信されているかどうかが判断される。タグ応答が受信されている場合には、DSP12に入力された応答信号は、AM復調部19にてAM復調され、FM0復号化部21にてFM0復号化が行われ、MPU11に戻される。MPU11は、復号化された応答信号を解析し、上位装置に送る。
When the
図14は通常コマンド送信時のタグ応答範囲を示す説明図、図15はライト系コマンド送信時のタグ応答範囲を示す説明図、図16はコマンド送信時の通信距離とタグ応答レベルとの関係を示す図である。 FIG. 14 is an explanatory diagram showing a tag response range at the time of normal command transmission, FIG. 15 is an explanatory diagram showing a tag response range at the time of transmission of a write command, and FIG. 16 shows the relationship between the communication distance at the time of command transmission and the tag response level. FIG.
タグへのコマンドは、タグメモリにデータを書き込むライト系コマンドとタグメモリにデータを書き込まない通常コマンドとの2種類に分けられる。RFID通信プロトコルの規格によれば、図14に示したように、通常コマンドを送信したとき、リーダライタ装置のコマンド終了からタグ応答までの時間は、タグ応答速度が40kbpsの場合、250±12マイクロ秒(μs)であり、タグ応答範囲は、24μsと規定されている。 Commands to the tag are classified into two types, that is, a write command for writing data to the tag memory and a normal command for not writing data to the tag memory. According to the standard of the RFID communication protocol, as shown in FIG. 14, when a normal command is transmitted, the time from the completion of the command of the reader / writer device to the tag response is 250 ± 12 μm when the tag response speed is 40 kbps. Second (μs), and the tag response range is defined as 24 μs.
これに対し、タグメモリに対して書き込みを伴うライト系コマンドでは、時間のかかるタグメモリへの書き込み処理が必要であるため、タグ応答範囲は、図15に示したように、通常コマンドの場合よりも長く規定されている。すなわち、ライト系コマンド送信時のタグ応答範囲は、タグ応答速度が238μs〜20ミリ秒(ms)までの19.762msと規定されており、通常コマンドと比較して非常に広くなっている。 On the other hand, a write command that involves writing to the tag memory requires time-consuming write processing to the tag memory, so the tag response range is greater than that of a normal command as shown in FIG. Has also been prescribed for a long time. That is, the tag response range at the time of transmission of a write command is defined as 19.762 ms with a tag response speed of 238 μs to 20 milliseconds (ms), which is much wider than that of a normal command.
また、リーダライタ装置のタグ応答レベルは、タグとの通信距離に応じて変化する。図16に示したように、アンテナ16からタグまでの通信距離が短い場合、タグは、アンテナ16から十分な電力が得られ、リーダライタ装置も十分大きなタグ応答レベルで受信する。このように通信距離が正常応答範囲にあるときには、ライト系コマンドの送信に対し、タグは、メモリへの書き込み処理を何ら問題なく行い、正常なタグ応答を返信することができる。
The tag response level of the reader / writer device changes according to the communication distance with the tag. As shown in FIG. 16, when the communication distance from the
通信距離が正常応答範囲を超えて離れてしまうと、タグは、アンテナ16からメモリへの書き込み処理に必要十分な電力が得られなくなり、タグ応答レベルも小さくなる。このようなとき、タグがライト系コマンドを受けた場合、タグはメモリへの書き込みを行うことなく、直ちに電力不足というエラーコードを返信することになっている。
If the communication distance exceeds the normal response range, the tag cannot obtain sufficient power for the writing process from the
タグがリーダライタ装置のエラー応答範囲よりもさらに遠方にある場合、タグ応答レベルが非常に小さくなる。この通信距離の場合、タグは、エラー応答さえも返信することができなくなり、無応答になる。 When the tag is further away from the error response range of the reader / writer device, the tag response level becomes very small. In the case of this communication distance, the tag cannot return even an error response, and no response is made.
ここで、タグがリーダライタ装置のどの応答範囲にいるかは、一般にタグ応答レベルをしきい値と比較することで判断している(たとえば、特許文献1参照)。図13に示すリーダライタ装置では、タグ応答検出部20がそのしきい値を保持していて、アナログ受信部14のフィルタ27を通過した信号の振幅がそのしきい値を超えた場合にタグ応答を検出したとみなし、それ以降に受信した信号の復調処理を開始する。しきい値は、図16の通信距離に対するタグ応答レベルの図において、エラー応答範囲にあるタグを検出できるような値に設定される。もちろん、そのしきい値は、低く設定するほど、タグ応答の検出感度は高くなる。
Here, the response range of the reader / writer device is generally determined by comparing the tag response level with a threshold value (see, for example, Patent Document 1). In the reader / writer device shown in FIG. 13, when the tag
ところで、リーダライタ装置のタグ応答レベルは、コマンド送信時のレベルと比較し、非常に微弱であり、通信距離に比例してタグ応答レベルも小さくなる。また、リーダライタ装置は、できるだけ遠距離のタグと通信できるよう受信感度を高くしたいという要望がある。そのためには、小さなタグ応答レベルの検出が必要であり、検出のしきい値も低く設定する必要がある。 By the way, the tag response level of the reader / writer device is very weak compared to the level at the time of command transmission, and the tag response level is also reduced in proportion to the communication distance. Further, there is a demand for the reader / writer device to increase the reception sensitivity so that it can communicate with a tag as far as possible. For this purpose, it is necessary to detect a small tag response level and to set a low detection threshold.
しかしながら、受信感度を高めるために検出のしきい値を低く設定した場合、特に、ライト系コマンドのようにタグ応答範囲が広くてタグ応答待ち時間が長いコマンドの場合、ノイズをタグ応答として誤検出する可能性が高くなるという問題点があった。 However, if the detection threshold is set low to increase the reception sensitivity, noise is detected as a tag response, especially for commands with a wide tag response range and a long tag response wait time, such as write commands. There was a problem that there was a high possibility of doing.
本発明はこのような点に鑑みてなされたものであり、受信感度を高めたとしても、ライト系コマンドに対するタグ応答検出において、ノイズをタグ応答として誤検出する可能性を低減したリーダライタ装置およびタグ応答検出方法を提供することを目的とする。 The present invention has been made in view of the above points, and even if reception sensitivity is increased, a reader / writer device that reduces the possibility of erroneously detecting noise as a tag response in tag response detection for a write command, and It is an object to provide a tag response detection method.
本発明では上記の課題を解決するために、タグに送信したコマンドに対して前記タグから返信されたタグ応答を検出するタグ応答検出部を備えたリーダライタ装置において、前記タグ応答検出部は、前記タグにデータの書き込みを伴わない通常コマンドの送信に対するタグ応答を検出するための第1のしきい値を格納する第1の記憶部と、前記第1のしきい値よりも大きな値を有していて前記タグにデータの書き込みを伴うライト系コマンドの送信に対するタグ応答を検出するための第2のしきい値を格納する第2の記憶部と、前記タグに送信したコマンドが前記通常コマンドであるか前記ライト系コマンドであるかに応じて前記第1の記憶部の前記第1のしきい値または前記第2の記憶部の前記第2のしきい値を選択する選択部と、前記タグから返信されたタグ応答の受信信号と前記選択部によって選択された前記第1のしきい値または前記第2のしきい値とを比較してタグ応答の検出または未検出の信号を出力する比較部と、を備え、前記選択部は、前記タグに送信したコマンドが前記通常コマンドであるとき、前記第1のしきい値を選択し、前記タグに送信したコマンドが前記ライト系コマンドであるとき、前記第2のしきい値を選択して前記比較部のしきい値に設定することを特徴とするリーダライタ装置が提供される。 In the present invention, in order to solve the above problem, in the reader / writer device including a tag response detection unit that detects a tag response returned from the tag in response to a command transmitted to the tag, the tag response detection unit includes: A first storage unit for storing a first threshold value for detecting a tag response to transmission of a normal command without writing data to the tag; and a value larger than the first threshold value. A second storage unit for storing a second threshold value for detecting a tag response to transmission of a write command accompanied by data writing to the tag, and the command transmitted to the tag is the normal command. a selector for selecting said first threshold or said second threshold of the second storage unit of the first storage unit in accordance with a whether said write system command or is, the T Comparison by comparing the selected by the received signal with the selected portion of the returned tag response first threshold or the second threshold value and outputs a signal of the detection or non-detection of the tag response from And when the command transmitted to the tag is the normal command, the selection unit selects the first threshold and the command transmitted to the tag is the write command. , the reader-writer device is provided, characterized in that you set the threshold of the comparison unit selects the second threshold value.
また、本発明では、リーダライタ装置がタグに送信したコマンドに対して前記タグから返信されたタグ応答の受信信号を前記リーダライタ装置のタグ応答検出部が比較部を用いてしきい値と比較することによりタグ応答を検出するタグ応答検出方法であって、前記コマンドをタグへ送信完了してからタグ応答の受信を開始するまでに、前記リーダライタ装置が送信した前記コマンドの種類を前記タグ応答検出部の選択部に受信させ、前記選択部を用いて、前記コマンドの種類が前記タグにデータの書き込みを伴わない通常コマンドの場合、前記タグ応答検出部の第1の記憶部に格納された第1のしきい値を選択して前記比較部の前記しきい値に設定し、前記コマンドの種類がタグ応答待ち時間の長いライト系コマンドである場合に、前記タグ応答検出部の第2の記憶部に格納され前記第1のしきい値よりも高い第2のしきい値を選択して前記比較部の前記しきい値を前記第2のしきい値に変更することによりタグ応答の検出感度を前記通常コマンドの送信の場合よりも低下させる、ことを特徴とするタグ応答検出方法が提供される。 In the present invention, the tag response detection unit of the reader / writer device compares the received signal of the tag response returned from the tag with respect to the command transmitted to the tag by the reader / writer device using the comparison unit. a tag response detection method for detecting a tag response by the in command after transmission completion of the tag to the start of the reception of the tag response, the type of the command that the reader-writer device transmits tag is received in the selection of the response detection unit, using the selected portion, usually a command type of the command is not accompanied by write data to the tag, stored in the first storage section of the tag response detector first set to said threshold value of said comparator unit to select the threshold value was, when the type of the command is long write type commands of the tag response wait time, the tag Changing said threshold of said comparator unit to the second threshold stored in the second storage section of the answer detection unit selects a second threshold value higher than said first threshold value Thus, there is provided a tag response detection method characterized in that the tag response detection sensitivity is lowered as compared with the case of transmission of the normal command .
このようなリーダライタ装置およびタグ応答検出方法によれば、タグ応答待ち時間の長いライト系コマンドを送信したときに、そのタグ応答を検出するためのしきい値を高い値に変更している。これにより、ライト系コマンドに対するタグ応答の検出感度が相対的に低下し、広いタグ応答範囲内であってタグ応答が検出されるまでの長いタグ応答待ち時間の間に、ノイズをタグ応答として誤検出する可能性が低減する。 According to such a reader / writer device and tag response detection method, when a write command having a long tag response waiting time is transmitted, the threshold value for detecting the tag response is changed to a high value. As a result, the detection sensitivity of the tag response to the write command is relatively lowered, and noise is erroneously detected as a tag response during a long tag response waiting time until the tag response is detected within a wide tag response range. The possibility of detection is reduced.
上記構成では、ライト系コマンド送信時にタグ応答検出のしきい値を高く変更したので、タグ応答待ち時間が長いライト系コマンド時に、ノイズをタグ応答と誤検出することが少なくなり、より正常にタグとの通信を行うことができるようになるという利点がある。また、誤検出が低減することで、リーダライタ装置の信頼性をさらに向上させることができるようになる。 In the above configuration, the tag response detection threshold is changed to a high value when sending a write command, so noise is less likely to be mistakenly detected as a tag response during a write command with a long tag response wait time. There is an advantage that communication with can be performed. In addition, since the false detection is reduced, the reliability of the reader / writer device can be further improved.
以下、本発明の実施の形態について図面を参照して詳細に説明する。
図1は本発明によるリーダライタ装置の構成を示すブロック図である。
本発明によるリーダライタ装置は、基本構成が図13に示したリーダライタ装置の構成と同じである。すなわち、リーダライタ装置は、MPU11と、DSP12と、アナログ送信部13と、アナログ受信部14と、局部発振部15と、アンテナ16とを備えている。DSP12は、PIE符号化部17、AM変調部18、AM復調部19、タグ応答検出部20およびFM0復号化部21を有している。アナログ送信部13は、フィルタ22、ミキサ23およびアンプ24を有している。アナログ受信部14は、アンプ25、ミキサ26およびフィルタ27を有している。このリーダライタ装置は、図13に示したリーダライタ装置と基本構成およびその基本動作が同じであるため、以下では、相違部分のみについて説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a reader / writer device according to the present invention.
The reader / writer device according to the present invention has the same basic configuration as the reader / writer device shown in FIG. That is, the reader / writer device includes an
このリーダライタ装置では、コマンドをタグへ送信完了してタグ応答の受信を開始するときに、コマンドの種類を判断し、コマンドの種類に応じて、MPU11がDSP12のタグ応答検出部20にしきい値変更指示信号を出力するよう構成されている。このため、タグ応答検出部20は、MPU11からしきい値変更指示信号を受けた場合に、しきい値を変更し、タグ応答の検出感度を変更する。
In this reader / writer device, when transmission of a command to a tag is completed and reception of a tag response is started, the type of command is determined, and the
これにより、リーダライタ装置がタグ応答範囲の狭い(タグ応答待ち時間が短い)通常コマンドを送信するとき、タグ応答検出部20は、MPU11からのしきい値変更指示信号で、しきい値が低い値に設定され、タグ応答の検出感度を高くすることができる。
Thus, when the reader / writer device transmits a normal command with a narrow tag response range (a short tag response waiting time), the tag
また、リーダライタ装置がタグ応答範囲の広い(タグ応答待ち時間が長い)ライト系コマンドを送信するとき、タグ応答検出部20は、MPU11からのしきい値変更指示信号で、しきい値が高い値に切り替えられ、タグ応答の検出感度を相対的に低くする。このため、長いタグ応答待ち時間の間にアンテナ16が受信した信号にノイズが混入したとしても、そのノイズの振幅がしきい値よりも小さければ、タグ応答として検出されることはない。すなわち、タグ応答検出部20は、ノイズをタグ応答として誤検出する可能性を低減している。
When the reader / writer device transmits a write command with a wide tag response range (long tag response waiting time), the tag
なお、このタグ応答検出部20におけるしきい値変更機能は、DSP12の構成を変更してハードウェアにより実現することができる。または、DSP12は、ファームウェアを格納する図示しないメモリを備えていて、そのファームウェアを変更することによってタグ応答検出部20のしきい値変更機能を実現することができる。
The threshold value changing function in the tag
図2は第1の実施の形態に係るリーダライタ装置のタグ応答検出部の構成を示すブロック図、図3は第1の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図、図4は第1の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。 FIG. 2 is a block diagram showing the configuration of the tag response detection unit of the reader / writer device according to the first embodiment, and FIG. 3 shows the threshold value of the tag response detection unit of the reader / writer device according to the first embodiment. FIG. 4 is a flowchart showing the tag response detection process of the DSP of the reader / writer device according to the first embodiment.
第1の実施の形態に係るリーダライタ装置のタグ応答検出部20は、図2に示したように、通常コマンド用しきい値記憶部31と、ライト系コマンド用しきい値記憶部32と、選択部33と、比較部34とを備えている。通常コマンド用しきい値記憶部31は、図3に示したように、値の低いしきい値th1が格納されており、値の高いしきい値th2は、ライト系コマンド用しきい値記憶部32に格納されている。選択部33は、その3つの入力に、通常コマンド用しきい値記憶部31の出力、ライト系コマンド用しきい値記憶部32の出力およびMPU11からのしきい値変更指示信号を受け、しきい値変更指示信号に応じて選択されたしきい値を出力するよう構成されている。比較部34は、入力in1にアナログ受信部14のフィルタ27の出力である受信信号を入力し、入力in2に選択部33からのしきい値を入力し、これらの比較結果を出力outに出力するよう構成されている。
As shown in FIG. 2, the tag
MPU11は、タグに送信したコマンドが通常コマンドの場合、しきい値th1を選択し、ライト系コマンドの場合、しきい値th2を選択するような信号をしきい値変更指示信号として選択部33に送る。本実施の形態では、しきい値変更指示信号は、ライト系コマンドの場合のみ、選択部33に送られるようにしている。
The
選択部33は、入力されたしきい値変更指示信号に応じて、通常コマンド用しきい値記憶部31のしきい値th1またはライト系コマンド用しきい値記憶部32のしきい値th2を選択し、選択されたしきい値を比較部34に送る機能を有している。
The
比較部34は、受信信号としきい値とを比較し、受信信号の絶対値がしきい値以下の場合、タグ応答が未検出であるとして、たとえば論理値が「0」の信号を出力する。受信信号の絶対値がしきい値より大きい場合、タグ応答が検出されたとして、比較部34は、論理値が「1」の信号を出力する。
The
AM復調部19は、比較部34から論理値が「0」の信号を受けると、復調機能を無効にし、論理値が「1」の信号を受けると、復調機能を有効にし、それ以降に受信した信号に対してAM復調を行う。
The
タグ応答検出部20が以上の構成を有するDSP12は、本実施の形態では、図示しないメモリに記憶されたファームウェアに従ってタグ応答検出動作を行う。すなわち、図4に示したように、DSP12は、MPU11からしきい値変更指示があったかどうかを判断し(ステップS1)、しきい値変更指示がない場合、通常コマンド用しきい値記憶部31のしきい値th1を選択して比較部34に設定する(ステップS2)。しきい値変更指示がある場合、DSP12は、ライト系コマンド用しきい値記憶部32のしきい値th2を選択して比較部34に設定する(ステップS3)。次に、DSP12は、コマンド送信処理(PIE符号化およびAM変調)を行う(ステップS4)。
In the present embodiment, the
次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断する(ステップS5)。受信信号の絶対値がしきい値より大きくない場合、DSP12は、受信信号の絶対値がしきい値より大きくなるまで待つ。受信信号の絶対値がしきい値より大きくなると、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を行う(ステップS6)。
Next, the
なお、本実施の形態では、タグ応答検出部20のしきい値を設定後に、コマンド送信処理をしているが、コマンド送信処理の後にタグ応答検出部20のしきい値を設定するようにしてもよい。
In this embodiment, the command transmission process is performed after setting the threshold value of the tag
図5は第2の実施の形態に係るリーダライタ装置のタグ応答検出部の構成を示すブロック図、図6は第2の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図、図7は第2の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。なお、この図5において、図2に示した構成要素と同じまたは均等の構成要素については同じ符号を付してその詳細な説明は省略する。 FIG. 5 is a block diagram showing the configuration of the tag response detection unit of the reader / writer device according to the second embodiment. FIG. 6 shows the threshold value of the tag response detection unit of the reader / writer device according to the second embodiment. FIG. 7 is a flowchart showing the tag response detection process of the DSP of the reader / writer device according to the second embodiment. In FIG. 5, the same or equivalent components as those shown in FIG. 2 are denoted by the same reference numerals, and detailed description thereof is omitted.
第2の実施の形態に係るリーダライタ装置のタグ応答検出部20は、図5に示したように、複数のライト系コマンド用しきい値記憶部32a〜32nを備えている。これらのライト系コマンド用しきい値記憶部32a〜32nは、図6に示したように、それぞれ異なった値で順次大きな値になるしきい値tha,thb,・・・,thnを格納している。なお、本実施の形態では、ライト系コマンド用しきい値記憶部32aのしきい値thaは、通常コマンド用しきい値th1とほぼ同じ値にしてある。
The tag
タグ応答検出部20が以上の構成を有するDSP12は、本実施の形態では、図示しないメモリに記憶されたファームウェアに従ってタグ応答検出動作を行う。すなわち、図7に示したように、DSP12は、MPU11からしきい値変更指示があったかどうかを判断する(ステップS11)。しきい値変更指示がない場合、DSP12は、通常コマンド用しきい値記憶部31のしきい値th1を選択して比較部34に設定する(ステップS12)。しきい値変更指示がある場合、DSP12は、ライト系コマンド用しきい値記憶部32aのしきい値thaを選択して比較部34に設定する(ステップS13)。次に、DSP12は、コマンド送信処理(PIE符号化およびAM変調)を行う(ステップS14)。
In the present embodiment, the
次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断する(ステップS15)。受信信号の絶対値がしきい値より大きい場合、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を開始する(ステップS16)。受信信号の絶対値がしきい値より大きくない場合、DSP12は、しきい値変更指示があったかどうかを判断し(ステップS17)、しきい値変更指示がないと判断された場合は、ステップS15に戻ってタグ応答検出に備える。ステップS17にて、しきい値変更指示があったと判断された場合、DSP12は、しきい値設定またはしきい値切り替えから単位時間経過したかどうかが判断され(ステップS18)、単位時間が経過していない場合は、ステップS15に戻る。単位時間が経過した場合、DSP12は、次に大きなしきい値への切り替えを行い(ステップS19)、ステップS15に戻る。
Next, the
本実施の形態では、リーダライタ装置から送信するコマンドがタグメモリへのデータ書き込みを伴うコマンドの場合に、タグ応答検出部20のタグ応答検出しきい値を通常コマンドより段階的に高い値に設定するよう制御している。
In the present embodiment, when the command transmitted from the reader / writer device is a command that involves writing data to the tag memory, the tag response detection threshold of the tag
リーダライタ受信処理では、そのタグ応答検出しきい値を超えた信号を検出した場合にタグ応答開始とみなすため、タグ応答検出開始直後は通常コマンドのときとしきい値はほぼ変わらないため、エラーコード応答の場合でもタグ応答検出が可能になる。また、しきい値を通常コマンド用しきい値より高い値に設定できるため、タグ応答範囲が広い(タグ応答待ち時間が長い)ライト系コマンドの場合でもノイズをタグ応答と誤検出する可能性の低減につながる。 In the reader / writer reception process, if a signal that exceeds the tag response detection threshold is detected, the tag response is considered to start. Tag response detection is possible even in the case of a response. In addition, since the threshold value can be set higher than the normal command threshold value, noise may be erroneously detected as a tag response even in the case of a write command with a wide tag response range (long tag response waiting time). It leads to reduction.
図8は第3の実施の形態に係るリーダライタ装置のタグ応答検出部の構成を示すブロック図、図9は第3の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図、図10は第3の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。なお、この図8において、図2に示した構成要素と同じまたは均等の構成要素については同じ符号を付してその詳細な説明は省略する。 FIG. 8 is a block diagram showing the configuration of the tag response detection unit of the reader / writer device according to the third embodiment. FIG. 9 shows the threshold value of the tag response detection unit of the reader / writer device according to the third embodiment. FIG. 10 is a flowchart showing a tag response detection process of the DSP of the reader / writer device according to the third embodiment. In FIG. 8, the same or equivalent components as those shown in FIG. 2 are denoted by the same reference numerals, and detailed description thereof is omitted.
第3の実施の形態に係るリーダライタ装置のタグ応答検出部20は、図8に示したように、ライト系コマンド用しきい値記憶部32のしきい値th2を変更するしきい値変更部35を備えている。このしきい値変更部35は、加算器36,37と遅延タップ38とを有している。加算器36は、その第1加算入力にライト系コマンド用しきい値記憶部32の出力が接続され、第2加算入力に遅延タップ38の出力および加算器37の第1加算入力が接続され、出力には、選択部33のライト系コマンド用しきい値入力が接続されている。加算器37および遅延タップ38はループ状に接続され、加算器37の第2加算入力には、増分値αが入力されている。遅延タップ38は、単位時間毎に出力値Mを入力値によって更新するもので、その初期値は、0に設定されている。
The tag
しきい値変更部35は、加算器36によってライト系コマンド用しきい値に単位時間毎に遅延タップ38の出力値Mが加算されていき、その出力値Mは、単位時間毎に増分値αだけインクリメントしていく構成を有していることになる。これにより、選択部33によって選択されるライト系コマンド用しきい値は、図9に示したように、第2の実施の形態でのタグ応答検出部20が行っている段階的増加を無段階増加に近い特性になっている。この特性は、遅延タップ38の更新周期および増分値αの値によって、自由に変更することができる。
The threshold
タグ応答検出部20が以上の構成を有するDSP12は、本実施の形態では、図示しないメモリに記憶されたファームウェアに従ってタグ応答検出動作を行う。すなわち、図10に示したように、DSP12は、MPU11からしきい値変更指示があったかどうかを判断する(ステップS21)。しきい値変更指示がない場合、DSP12は、通常コマンド用しきい値記憶部31のしきい値th1を選択して比較部34に設定する(ステップS22)。しきい値変更指示がある場合、DSP12は、ライト系コマンド用しきい値記憶部32のしきい値を選択して比較部34に設定する(ステップS23)。このとき、遅延タップ38の出力値Mは、その初期値の0になっているので、比較部34には、ライト系コマンド用しきい値記憶部32のしきい値に等しいしきい値が入力されることになる。次に、DSP12は、コマンド送信処理(PIE符号化およびAM変調)を行う(ステップS24)。
In the present embodiment, the
次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断する(ステップS25)。受信信号の絶対値がしきい値より大きい場合、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を開始する(ステップS26)。受信信号の絶対値がしきい値より大きくない場合、DSP12は、しきい値変更指示があったかどうかを判断し(ステップS27)、しきい値変更指示がないと判断された場合は、ステップS25に戻ってタグ応答検出に備える。ステップS27にて、しきい値変更指示があったと判断された場合、DSP12は、しきい値を変更する(ステップS28)。すなわち、タグ応答検出部20のしきい値変更部35は、ライト系コマンド用しきい値記憶部32のしきい値に遅延タップ38の出力値Mを加算した値を新しいしきい値として出力し、ステップS25に戻る。このようにして、ライト系コマンドが送信されてからタグ応答が検出されまでの間、比較部34に入力されるしきい値は、徐々に高い値に変更されていく。
Next, the
本実施の形態では、ライト系コマンド用しきい値は、1つのライト系コマンド用しきい値記憶部32に記憶されているので、第2の実施の形態の場合に比較して記憶部の容量が少なくて済む。また、本実施の形態では、ライト系コマンド用しきい値記憶部32を備えているが、しきい値変更開始時点のしきい値が通常コマンド時のしきい値と同じでよい場合は、通常コマンド用しきい値記憶部31のしきい値を利用することができる。
In this embodiment, the write command threshold value is stored in one write command threshold
また、本実施の形態では、しきい値変更開始直後からしきい値を徐々に高くするようにしているが、所定時間経過後に開始してもよい。すなわち、しきい値変更開始時点からたとえば通常コマンドのタグ応答待ち時間程度の時間を経過した後にしきい値増加処理を開始してもよい。これは、その所定時間を経過するまでの間、しきい値変更部35の増分値αの値を0に設定しておくことによって実現することができる。これにより、しきい値変更開始から所定時間経過するまでの間、タグ応答検出部20のタグ応答感度を高く維持することができ、エラーコード応答のタグ応答検出が通常コマンド時と同じ感度で可能になる。
In this embodiment, the threshold value is gradually increased immediately after the threshold value change is started, but may be started after a predetermined time has elapsed. In other words, the threshold value increase process may be started after a time of about the tag response waiting time of the normal command has elapsed since the threshold value change start time. This can be realized by setting the value of the increment value α of the threshold
さらに、本実施の形態では、しきい値を生成するための増分値αは、タグ応答検出部20が有しているように説明したが、必ずしもそうである必要はなく、たとえば上位装置から与えられるようにしてもよい。これにより、しきい値は、種々のタグ応答特性を有するタグに応じて設定されることが可能になる。
Furthermore, in the present embodiment, it has been described that the increment value α for generating the threshold value is included in the tag
図11は第4の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図、図12は第4の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。なお、この第4の実施の形態に係るリーダライタ装置のタグ応答検出部は、図8に示したタグ応答検出部と同じとすることができる。ただ、遅延タップ38は、単位時間毎に出力値Mを入力値によって更新するのではなく、MPU11からしきい値変更指示がある毎に更新することになる。
FIG. 11 is a diagram illustrating a threshold value of a tag response detection unit of the reader / writer device according to the fourth embodiment, and FIG. 12 illustrates a tag response detection process of the DSP of the reader / writer device according to the fourth embodiment. It is a flowchart. The tag response detection unit of the reader / writer device according to the fourth embodiment can be the same as the tag response detection unit shown in FIG. However, the
この第4の実施の形態に係るリーダライタ装置は、タグ応答検出部20がタグ応答を検出してコマンド受信処理をしたが、その受信がたとえばノイズのような正常受信でなかったときに、ライト系コマンド用しきい値を図11に示したように変更するものである。
In the reader / writer device according to the fourth embodiment, the tag
すなわち、図12に示したように、DSP12は、MPU11からしきい値変更指示があったかどうかを判断する(ステップS31)。しきい値変更指示がない場合、DSP12は、通常コマンド用しきい値記憶部31のしきい値th1を選択して比較部34に設定する(ステップS32)。しきい値変更指示がある場合、DSP12は、ライト系コマンド用しきい値記憶部32のしきい値を選択して比較部34に設定する(ステップS33)。このとき、遅延タップ38の出力値Mは、その初期値の0になっているので、比較部34には、ライト系コマンド用しきい値記憶部32のしきい値に等しいしきい値が入力されることになる。次に、DSP12は、コマンド送信処理(PIE符号化およびAM変調)を行う(ステップS34)。
That is, as shown in FIG. 12, the
次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断し(ステップS35)、受信信号の絶対値がしきい値より大きくない場合、受信信号の絶対値がしきい値より大きくなるまで待つ。受信信号の絶対値がしきい値より大きい場合、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を開始する(ステップS36)。次に、DSP12は、そのコマンド受信処理の結果、正常なタグ応答の受信であったかどうかが判断され(ステップS37)、正常なものであれば、この処理は、そのまま終了する。
Next, the
コマンド受信処理が正常でなかった場合、DSP12は、先に送信したコマンドがライト系コマンドかどうかが判断され(ステップS38)、通常コマンドであったなら、コマンドリトライ(再送信指示)を出し(ステップS39)、ステップS34に戻る。
If the command reception process is not normal, the
先に送信したコマンドがライト系コマンドである場合、DSP12は、ステップS37にて正常受信でなかった原因が応答誤検出かどうかが判断され(ステップS40)、応答誤検出でない場合には、コマンドリトライを出し、コマンド送信からやり直す。ステップS37にて正常受信でなかった原因が応答誤検出によるものである場合、DSP12は、しきい値を変更し(ステップS41)、コマンドリトライを出す。ここで、しきい値の変更は、しきい値変更部35では、現在のしきい値に増分値αを加算した値が新しいしきい値として比較部34に設定される。
If the previously transmitted command is a write command, the
以上の処理により、ノイズの多い環境でタグメモリに書き込みを行う場合、正常受信ができなかったときに、しきい値を徐々に上げてからコマンド送信のリトライを繰り返すことにより、ノイズによる誤検出を低減することができる。 With the above processing, when writing to the tag memory in a noisy environment, if normal reception is not possible, the error is detected incorrectly by repeating the command transmission retry after gradually increasing the threshold value. Can be reduced.
11 MPU
12 DSP
13 アナログ送信部
14 アナログ受信部
15 局部発振部
16 アンテナ
17 PIE符号化部
18 AM変調部
19 AM復調部
20 タグ応答検出部
21 FM0復号化部
22 フィルタ
23 ミキサ
24,25 アンプ
26 ミキサ
27 フィルタ
31 通常コマンド用しきい値記憶部
32,32a〜32n ライト系コマンド用しきい値記憶部
33 選択部
34 比較部
35 しきい値変更部
36,37 加算器
38 遅延タップ
11 MPU
12 DSP
DESCRIPTION OF
Claims (8)
前記タグ応答検出部は、
前記タグにデータの書き込みを伴わない通常コマンドの送信に対するタグ応答を検出するための第1のしきい値を格納する第1の記憶部と、
前記第1のしきい値よりも大きな値を有していて前記タグにデータの書き込みを伴うライト系コマンドの送信に対するタグ応答を検出するための第2のしきい値を格納する第2の記憶部と、
前記タグに送信したコマンドが前記通常コマンドであるか前記ライト系コマンドであるかに応じて前記第1の記憶部の前記第1のしきい値または前記第2の記憶部の前記第2のしきい値を選択する選択部と、
前記タグから返信されたタグ応答の受信信号と前記選択部によって選択された前記第1のしきい値または前記第2のしきい値とを比較してタグ応答の検出または未検出の信号を出力する比較部と、
を備え、
前記選択部は、前記タグに送信したコマンドが前記通常コマンドであるとき、前記第1のしきい値を選択し、前記タグに送信したコマンドが前記ライト系コマンドであるとき、前記第2のしきい値を選択して前記比較部のしきい値に設定することを特徴とするリーダライタ装置。 In a reader / writer device including a tag response detection unit that detects a tag response returned from the tag in response to a command transmitted to the tag,
The tag response detection unit
A first storage unit for storing a first threshold for detecting a tag response to transmission of a normal command without writing data to the tag;
A second memory for storing a second threshold value for detecting a tag response to transmission of a write command having a value larger than the first threshold value and writing data to the tag And
Depending on whether the command transmitted to the tag is the normal command or the write command, the second threshold value of the first storage unit or the second threshold value of the second storage unit is used. A selection section for selecting a threshold value;
The tag response received signal returned from the tag is compared with the first threshold value or the second threshold value selected by the selection unit, and a tag response detected or undetected signal is output. A comparison unit to
Equipped with a,
The selection unit selects the first threshold value when the command transmitted to the tag is the normal command, and selects the second threshold when the command transmitted to the tag is the write command. writer apparatus characterized that you set the threshold of the comparator unit select the threshold.
前記選択部は、前記ライト系コマンドを前記タグへ送信完了後に最も値の小さなしきい値を前記第2のしきい値として選択し、その後は、前記タグ応答が検出されるまでの間、所定時間経過毎に順次値の大きなしきい値を前記第2のしきい値として選択する、
ことを特徴とする請求項1記載のリーダライタ装置。 The second storage unit stores a plurality of threshold values different from each other as the second threshold value,
The selection unit selects a threshold value having the smallest value after the transmission of the write command to the tag as the second threshold value, and then continues until a tag response is detected. A threshold value having a large value is selected as the second threshold value sequentially for each elapse of time.
The reader / writer device according to claim 1.
前記所定のタイミングは、前記ライト系コマンドに対する前記タグ応答が誤検出されたときであり、前記第2のしきい値の変更後は、前記ライト系コマンドの再送信を行うことを特徴とする請求項3記載のリーダライタ装置。 The threshold value changing unit includes a first adder disposed between the second storage unit and the selection unit, and an output connected to an addition input of the first adder, so that an output value is predetermined. A delay tap that is updated with an input value at each timing, and a second adder that adds a predetermined increment value to the output value of the delay tap to obtain an input value of the delay tap,
The predetermined timing is when the tag response to the write command is erroneously detected, and the write command is retransmitted after the second threshold is changed. Item 4. The reader / writer device according to Item 3.
前記コマンドをタグへ送信完了してからタグ応答の受信を開始するまでに、前記リーダライタ装置が送信した前記コマンドの種類を前記タグ応答検出部の選択部に受信させ、
前記選択部を用いて、前記コマンドの種類が前記タグにデータの書き込みを伴わない通常コマンドの場合、前記タグ応答検出部の第1の記憶部に格納された第1のしきい値を選択して前記比較部の前記しきい値に設定し、前記コマンドの種類がタグ応答待ち時間の長いライト系コマンドである場合に、前記タグ応答検出部の第2の記憶部に格納され前記第1のしきい値よりも高い第2のしきい値を選択して前記比較部の前記しきい値を前記第2のしきい値に変更することによりタグ応答の検出感度を前記通常コマンドの送信の場合よりも低下させる、
ことを特徴とするタグ応答検出方法。
The tag response detection unit of the reader / writer device compares the received signal of the tag response returned from the tag with respect to the command transmitted to the tag by the reader / writer device to the threshold value by using the comparison unit. A tag response detection method for detecting,
From the completion of transmission of the command to the tag until the start of reception of the tag response, the selection unit of the tag response detection unit receives the type of the command transmitted by the reader / writer device ,
When the command type is a normal command that does not involve writing data to the tag, the first threshold value stored in the first storage unit of the tag response detection unit is selected using the selection unit. When the command type is a write command with a long tag response waiting time , the first threshold is stored in the second storage unit of the tag response detection unit and the first If the detection sensitivity of the tag responds by select the second threshold value higher than the threshold to change the threshold of the comparator unit to the second threshold value of the transmission of the normal command Lower than ,
A tag response detection method characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011100420A JP5514151B2 (en) | 2011-04-28 | 2011-04-28 | Reader / writer device and tag response detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011100420A JP5514151B2 (en) | 2011-04-28 | 2011-04-28 | Reader / writer device and tag response detection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012234243A JP2012234243A (en) | 2012-11-29 |
| JP5514151B2 true JP5514151B2 (en) | 2014-06-04 |
Family
ID=47434534
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011100420A Active JP5514151B2 (en) | 2011-04-28 | 2011-04-28 | Reader / writer device and tag response detection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5514151B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3178067B2 (en) | 1991-02-26 | 2001-06-18 | ぺんてる株式会社 | Tin-nickel binary alloy electroplating solution composition |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102356256B1 (en) | 2015-03-27 | 2022-01-27 | 한국전자통신연구원 | RFID reader, RFID tag and method for checking tag data write |
-
2011
- 2011-04-28 JP JP2011100420A patent/JP5514151B2/en active Active
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3178067B2 (en) | 1991-02-26 | 2001-06-18 | ぺんてる株式会社 | Tin-nickel binary alloy electroplating solution composition |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012234243A (en) | 2012-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7821378B2 (en) | Apparatus and method for receiving tag signal in mobile RFID reader | |
| JP5540897B2 (en) | Information processing apparatus and reception method | |
| JP4239033B2 (en) | Interrogator for RFID tag communication system | |
| JP5148251B2 (en) | IC card, information processing apparatus, communication method discrimination method, and program | |
| US9256771B2 (en) | System for simultaneously identifying massive RFID tags using HF band | |
| JP2009271861A (en) | Noncontact type communication device, and decoding part thereof | |
| CN101714206A (en) | Rfid tag communication system and rfid tag communication apparatus | |
| JP2009282642A (en) | Interrogating apparatus, rfid interrogator, rfid interrogating program, and rfid interrogating method | |
| JP2010225069A (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
| CN107343255A (en) | Interactive communication device, the system and program for possessing interactive communication device | |
| US20070205868A1 (en) | Tag communication device, control device, and tag communication method | |
| JP5514151B2 (en) | Reader / writer device and tag response detection method | |
| US20170316231A1 (en) | Interrogation device, system including interrogation device, and program | |
| JP4272236B2 (en) | Wireless tag communication device | |
| US9384375B2 (en) | Radio tag communication apparatus, radio tag communication system, and a non-transitory computer-readable recording medium | |
| JP5464418B2 (en) | DEMODULATION DEVICE AND METHOD, AND ELECTRONIC DEVICE | |
| JP4506725B2 (en) | Tag reader | |
| JP5655752B2 (en) | Wireless tag system | |
| JP4325545B2 (en) | Non-contact IC card reader / writer | |
| JP2010198396A (en) | Wireless tag reader/writer and communication method of the same | |
| JP4336969B2 (en) | RFID reader / writer device | |
| JP4321490B2 (en) | Non-contact communication system | |
| JP5688044B2 (en) | Reader / writer device and carrier sense control method | |
| JP2010134524A (en) | Contactless communication system | |
| JP4631571B2 (en) | ASK demodulator, radio communication apparatus, and reflected wave communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130509 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131225 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140107 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140305 |
|
| 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: 20140325 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140328 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5514151 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |