Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5514151B2 - Reader / writer device and tag response detection method - Google Patents
[go: Go Back, main page]

JP5514151B2 - Reader / writer device and tag response detection method - Google Patents

Reader / writer device and tag response detection method Download PDF

Info

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
Application number
JP2011100420A
Other languages
Japanese (ja)
Other versions
JP2012234243A (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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech 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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2011100420A priority Critical patent/JP5514151B2/en
Publication of JP2012234243A publication Critical patent/JP2012234243A/en
Application granted granted Critical
Publication of JP5514151B2 publication Critical patent/JP5514151B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 analog transmission unit 13, an analog reception unit 14, a local oscillation unit 15, And an antenna 16.

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 PIE encoder 17 and an AM (Amplitude Modulation) modulator 18 as a transmission side circuit. Further, the receiving circuit of the DSP 12 has an AM demodulating unit 19, a tag response detecting unit 20, and an FM0 decoding unit 21.

アナログ送信部13は、入力がAM変調部18の出力に接続されたフィルタ22、このフィルタ22の出力と局部発振部15の出力とを乗算するミキサ23およびこのミキサ23の出力を増幅するアンプ24を有している。アンプ24の出力は、アンテナ16に接続されている。   The analog transmission unit 13 includes a filter 22 whose input is connected to the output of the AM modulation unit 18, a mixer 23 that multiplies the output of the filter 22 and the output of the local oscillation unit 15, and an amplifier 24 that amplifies the output of the mixer 23. have. The output of the amplifier 24 is connected to the antenna 16.

アナログ受信部14は、アンテナ16の出力を増幅するアンプ25、このアンプ25の出力と局部発振部15の出力とを乗算するミキサ26および入力がミキサ23の出力に接続されたフィルタ27を有している。フィルタ27の出力は、AM復調部19およびタグ応答検出部20に接続されている。   The analog receiver 14 includes an amplifier 25 that amplifies the output of the antenna 16, a mixer 26 that multiplies the output of the amplifier 25 and the output of the local oscillator 15, and a filter 27 whose input is connected to the output of the mixer 23. ing. The output of the filter 27 is connected to the AM demodulator 19 and the tag response detector 20.

このリーダライタ装置は、上位装置から何らかのコマンドを受けると、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 DSP 12. The command is PIE encoded by the PIE encoder 17 and further AM-modulated by the AM modulator 18. In the AM modulated command, an unnecessary band frequency is cut by the filter 22, the frequency is converted by the mixer 23 into a frequency band (for example, 950 MHz band) assigned to the RFID tag communication, and amplified by the amplifier 24. And transmitted from the antenna 16.

アンテナ16より送信された電波がタグに到達すると、タグは、その電波のエネルギを電力にして起動し、受信したコマンドを解析処理し、そのコマンドに応じた応答を返信する。   When the radio wave transmitted from the antenna 16 reaches the tag, the tag is activated using the energy of the radio wave as power, analyzes the received command, and returns a response according to the command.

アンテナ16がタグ返信を受けると、その受信信号は、アナログ受信部14に進み、アンプ25で増幅され、ミキサ26により周波数変換されてベースバンド信号の周波数帯に落とされ、フィルタ27によって不要な帯域周波数がカットされる。フィルタ27を出た信号は、DSP12のタグ応答検出部20に入力され、タグ応答検出部20にてタグ応答が受信されているかどうかが判断される。タグ応答が受信されている場合には、DSP12に入力された応答信号は、AM復調部19にてAM復調され、FM0復号化部21にてFM0復号化が行われ、MPU11に戻される。MPU11は、復号化された応答信号を解析し、上位装置に送る。   When the antenna 16 receives the tag reply, the received signal proceeds to the analog receiver 14, amplified by the amplifier 25, frequency-converted by the mixer 26, and dropped to the frequency band of the baseband signal, and an unnecessary band by the filter 27. The frequency is cut. The signal output from the filter 27 is input to the tag response detection unit 20 of the DSP 12, and the tag response detection unit 20 determines whether a tag response is received. When the tag response is received, the response signal input to the DSP 12 is AM demodulated by the AM demodulator 19, FM0 decoded by the FM0 decoder 21, and returned to the MPU 11. The MPU 11 analyzes the decoded response signal and sends it to the host device.

図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 antenna 16 to the tag is short, the tag can obtain sufficient power from the antenna 16, and the reader / writer device also receives at a sufficiently large tag response level. As described above, when the communication distance is within the normal response range, the tag can perform a write process to the memory without any problem and transmit a normal tag response to the transmission of the write command.

通信距離が正常応答範囲を超えて離れてしまうと、タグは、アンテナ16からメモリへの書き込み処理に必要十分な電力が得られなくなり、タグ応答レベルも小さくなる。このようなとき、タグがライト系コマンドを受けた場合、タグはメモリへの書き込みを行うことなく、直ちに電力不足というエラーコードを返信することになっている。   If the communication distance exceeds the normal response range, the tag cannot obtain sufficient power for the writing process from the antenna 16 to the memory, and the tag response level also decreases. In such a case, if the tag receives a write command, the tag immediately returns an error code indicating insufficient power without writing to the memory.

タグがリーダライタ装置のエラー応答範囲よりもさらに遠方にある場合、タグ応答レベルが非常に小さくなる。この通信距離の場合、タグは、エラー応答さえも返信することができなくなり、無応答になる。   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 response detection unit 20 holds the threshold value and the amplitude of the signal passing through the filter 27 of the analog reception unit 14 exceeds the threshold value, the tag response Is detected, and demodulation processing of signals received thereafter is started. The threshold value is set to a value such that a tag in the error response range can be detected in the tag response level diagram for the communication distance in FIG. Of course, the lower the threshold is set, the higher the tag response detection sensitivity.

ところで、リーダライタ装置のタグ応答レベルは、コマンド送信時のレベルと比較し、非常に微弱であり、通信距離に比例してタグ応答レベルも小さくなる。また、リーダライタ装置は、できるだけ遠距離のタグと通信できるよう受信感度を高くしたいという要望がある。そのためには、小さなタグ応答レベルの検出が必要であり、検出のしきい値も低く設定する必要がある。   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.

特開2009−140254号公報JP 2009-140254 A

しかしながら、受信感度を高めるために検出のしきい値を低く設定した場合、特に、ライト系コマンドのようにタグ応答範囲が広くてタグ応答待ち時間が長いコマンドの場合、ノイズをタグ応答として誤検出する可能性が高くなるという問題点があった。   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.

本発明によるリーダライタ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the reader / writer apparatus by this invention. 第1の実施の形態に係るリーダライタ装置のタグ応答検出部の構成を示すブロック図である。It is a block diagram which shows the structure of the tag response detection part of the reader / writer apparatus which concerns on 1st Embodiment. 第1の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図である。It is a figure which shows the threshold value of the tag response detection part of the reader / writer apparatus which concerns on 1st Embodiment. 第1の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。It is a flowchart which shows the tag response detection process of DSP of the reader / writer apparatus which concerns on 1st Embodiment. 第2の実施の形態に係るリーダライタ装置のタグ応答検出部の構成を示すブロック図である。It is a block diagram which shows the structure of the tag response detection part of the reader / writer apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図である。It is a figure which shows the threshold value of the tag response detection part of the reader / writer apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。It is a flowchart which shows the tag response detection process of DSP of the reader / writer apparatus which concerns on 2nd Embodiment. 第3の実施の形態に係るリーダライタ装置のタグ応答検出部の構成を示すブロック図である。It is a block diagram which shows the structure of the tag response detection part of the reader / writer apparatus which concerns on 3rd Embodiment. 第3の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図である。It is a figure which shows the threshold value of the tag response detection part of the reader / writer apparatus which concerns on 3rd Embodiment. 第3の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。It is a flowchart which shows the tag response detection process of DSP of the reader / writer apparatus which concerns on 3rd Embodiment. 第4の実施の形態に係るリーダライタ装置のタグ応答検出部のしきい値を示す図である。It is a figure which shows the threshold value of the tag response detection part of the reader / writer apparatus which concerns on 4th Embodiment. 第4の実施の形態に係るリーダライタ装置のDSPのタグ応答検出処理を示すフローチャートである。It is a flowchart which shows the tag response detection process of DSP of the reader / writer apparatus which concerns on 4th Embodiment. 一般的なリーダライタ装置の構成を示すブロック図である。It is a block diagram which shows the structure of a general reader / writer apparatus. 通常コマンド送信時のタグ応答範囲を示す説明図である。It is explanatory drawing which shows the tag response range at the time of normal command transmission. ライト系コマンド送信時のタグ応答範囲を示す説明図である。It is explanatory drawing which shows the tag response range at the time of write type command transmission. コマンド送信時の通信距離とタグ応答レベルとの関係を示す図である。It is a figure which shows the relationship between the communication distance at the time of command transmission, and a tag response level.

以下、本発明の実施の形態について図面を参照して詳細に説明する。
図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 MPU 11, a DSP 12, an analog transmission unit 13, an analog reception unit 14, a local oscillation unit 15, and an antenna 16. The DSP 12 includes a PIE encoder 17, an AM modulator 18, an AM demodulator 19, a tag response detector 20, and an FM0 decoder 21. The analog transmission unit 13 includes a filter 22, a mixer 23, and an amplifier 24. The analog receiver 14 includes an amplifier 25, a mixer 26, and a filter 27. Since this reader / writer device has the same basic configuration and basic operation as the reader / writer device shown in FIG. 13, only the differences will be described below.

このリーダライタ装置では、コマンドをタグへ送信完了してタグ応答の受信を開始するときに、コマンドの種類を判断し、コマンドの種類に応じて、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 MPU 11 sends a threshold value to the tag response detection unit 20 of the DSP 12 according to the type of command. A change instruction signal is output. For this reason, when receiving a threshold value change instruction signal from the MPU 11, the tag response detection unit 20 changes the threshold value and changes the tag response detection sensitivity.

これにより、リーダライタ装置がタグ応答範囲の狭い(タグ応答待ち時間が短い)通常コマンドを送信するとき、タグ応答検出部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 response detection unit 20 is a threshold change instruction signal from the MPU 11 and the threshold is low. The detection sensitivity of the tag response can be increased.

また、リーダライタ装置がタグ応答範囲の広い(タグ応答待ち時間が長い)ライト系コマンドを送信するとき、タグ応答検出部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 response detection unit 20 is a threshold change instruction signal from the MPU 11 and has a high threshold. The value is switched to a relatively low tag response detection sensitivity. For this reason, even if noise is mixed in the signal received by the antenna 16 during the long tag response waiting time, it is not detected as a tag response if the noise amplitude is smaller than the threshold value. That is, the tag response detection unit 20 reduces the possibility of erroneously detecting noise as a tag response.

なお、このタグ応答検出部20におけるしきい値変更機能は、DSP12の構成を変更してハードウェアにより実現することができる。または、DSP12は、ファームウェアを格納する図示しないメモリを備えていて、そのファームウェアを変更することによってタグ応答検出部20のしきい値変更機能を実現することができる。   The threshold value changing function in the tag response detecting unit 20 can be realized by hardware by changing the configuration of the DSP 12. Alternatively, the DSP 12 includes a memory (not shown) that stores firmware, and the threshold change function of the tag response detection unit 20 can be realized by changing the firmware.

図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 response detection unit 20 of the reader / writer device according to the first embodiment includes a normal command threshold storage unit 31, a write command threshold storage unit 32, A selection unit 33 and a comparison unit 34 are provided. As shown in FIG. 3, the normal command threshold value storage unit 31 stores a threshold value th1 having a low value, and the threshold value th2 having a high value is a write value command threshold value storage unit. 32. The selection unit 33 receives the output of the normal command threshold storage unit 31, the output of the write command threshold storage unit 32, and the threshold change instruction signal from the MPU 11 at the three inputs. The threshold value selected according to the value change instruction signal is output. The comparison unit 34 inputs the reception signal that is the output of the filter 27 of the analog reception unit 14 to the input in1, inputs the threshold value from the selection unit 33 to the input in2, and outputs these comparison results to the output out. It is configured as follows.

MPU11は、タグに送信したコマンドが通常コマンドの場合、しきい値th1を選択し、ライト系コマンドの場合、しきい値th2を選択するような信号をしきい値変更指示信号として選択部33に送る。本実施の形態では、しきい値変更指示信号は、ライト系コマンドの場合のみ、選択部33に送られるようにしている。   The MPU 11 selects a threshold value th1 when the command transmitted to the tag is a normal command, and selects a threshold value th2 as a threshold value change instruction signal to the selection unit 33 when the command is a write command. send. In the present embodiment, the threshold value change instruction signal is sent to the selection unit 33 only in the case of a write command.

選択部33は、入力されたしきい値変更指示信号に応じて、通常コマンド用しきい値記憶部31のしきい値th1またはライト系コマンド用しきい値記憶部32のしきい値th2を選択し、選択されたしきい値を比較部34に送る機能を有している。   The selection unit 33 selects the threshold th1 of the normal command threshold storage unit 31 or the threshold th2 of the write command threshold storage unit 32 according to the input threshold value change instruction signal. The selected threshold value is sent to the comparison unit 34.

比較部34は、受信信号としきい値とを比較し、受信信号の絶対値がしきい値以下の場合、タグ応答が未検出であるとして、たとえば論理値が「0」の信号を出力する。受信信号の絶対値がしきい値より大きい場合、タグ応答が検出されたとして、比較部34は、論理値が「1」の信号を出力する。   The comparison unit 34 compares the received signal with the threshold value, and outputs a signal having a logical value of “0”, for example, assuming that the tag response has not been detected when the absolute value of the received signal is equal to or less than the threshold value. When the absolute value of the received signal is larger than the threshold value, the comparison unit 34 outputs a signal having a logical value “1”, assuming that a tag response is detected.

AM復調部19は、比較部34から論理値が「0」の信号を受けると、復調機能を無効にし、論理値が「1」の信号を受けると、復調機能を有効にし、それ以降に受信した信号に対してAM復調を行う。   The AM demodulator 19 disables the demodulation function when it receives a signal with a logical value of “0” from the comparator 34, and enables the demodulation function when it receives a signal with a logical value of “1” and receives it thereafter. AM demodulation is performed on the processed signal.

タグ応答検出部20が以上の構成を有するDSP12は、本実施の形態では、図示しないメモリに記憶されたファームウェアに従ってタグ応答検出動作を行う。すなわち、図4に示したように、DSP12は、MPU11からしきい値変更指示があったかどうかを判断し(ステップS1)、しきい値変更指示がない場合、通常コマンド用しきい値記憶部31のしきい値th1を選択して比較部34に設定する(ステップS2)。しきい値変更指示がある場合、DSP12は、ライト系コマンド用しきい値記憶部32のしきい値th2を選択して比較部34に設定する(ステップS3)。次に、DSP12は、コマンド送信処理(PIE符号化およびAM変調)を行う(ステップS4)。   In the present embodiment, the DSP 12 in which the tag response detection unit 20 has the above configuration performs a tag response detection operation according to firmware stored in a memory (not shown). That is, as shown in FIG. 4, the DSP 12 determines whether or not there has been a threshold value change instruction from the MPU 11 (step S1), and if there is no threshold value change instruction, the DSP 12 stores the normal command threshold value storage unit 31. The threshold value th1 is selected and set in the comparison unit 34 (step S2). When there is a threshold change instruction, the DSP 12 selects the threshold th2 in the write command threshold storage 32 and sets it in the comparator 34 (step S3). Next, the DSP 12 performs command transmission processing (PIE encoding and AM modulation) (step S4).

次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断する(ステップS5)。受信信号の絶対値がしきい値より大きくない場合、DSP12は、受信信号の絶対値がしきい値より大きくなるまで待つ。受信信号の絶対値がしきい値より大きくなると、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を行う(ステップS6)。   Next, the DSP 12 determines whether or not the absolute value of the received signal is larger than the threshold value (step S5). If the absolute value of the received signal is not greater than the threshold value, the DSP 12 waits until the absolute value of the received signal is greater than the threshold value. When the absolute value of the received signal becomes larger than the threshold value, the DSP 12 performs command reception processing (AM demodulation and FM0 decoding), assuming that a tag response has been detected (step S6).

なお、本実施の形態では、タグ応答検出部20のしきい値を設定後に、コマンド送信処理をしているが、コマンド送信処理の後にタグ応答検出部20のしきい値を設定するようにしてもよい。   In this embodiment, the command transmission process is performed after setting the threshold value of the tag response detection unit 20, but the threshold value of the tag response detection unit 20 is set after the command transmission process. Also good.

図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 response detection unit 20 of the reader / writer device according to the second embodiment includes a plurality of write command command threshold storage units 32a to 32n, as shown in FIG. These write command threshold storage units 32a to 32n store threshold values tha, thb,..., Thn, which are successively different from each other as shown in FIG. Yes. In the present embodiment, the threshold value tha of the write command threshold value storage unit 32a is set to be substantially the same as the normal command threshold value th1.

タグ応答検出部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 DSP 12 in which the tag response detection unit 20 has the above configuration performs a tag response detection operation according to firmware stored in a memory (not shown). That is, as shown in FIG. 7, the DSP 12 determines whether or not there is a threshold value change instruction from the MPU 11 (step S11). When there is no threshold value change instruction, the DSP 12 selects the threshold value th1 of the normal command threshold value storage unit 31 and sets it in the comparison unit 34 (step S12). If there is a threshold value change instruction, the DSP 12 selects the threshold value tha of the write command command threshold value storage unit 32a and sets it in the comparison unit 34 (step S13). Next, the DSP 12 performs command transmission processing (PIE encoding and AM modulation) (step S14).

次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断する(ステップS15)。受信信号の絶対値がしきい値より大きい場合、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を開始する(ステップS16)。受信信号の絶対値がしきい値より大きくない場合、DSP12は、しきい値変更指示があったかどうかを判断し(ステップS17)、しきい値変更指示がないと判断された場合は、ステップS15に戻ってタグ応答検出に備える。ステップS17にて、しきい値変更指示があったと判断された場合、DSP12は、しきい値設定またはしきい値切り替えから単位時間経過したかどうかが判断され(ステップS18)、単位時間が経過していない場合は、ステップS15に戻る。単位時間が経過した場合、DSP12は、次に大きなしきい値への切り替えを行い(ステップS19)、ステップS15に戻る。   Next, the DSP 12 determines whether or not the absolute value of the received signal is larger than the threshold value (step S15). If the absolute value of the received signal is larger than the threshold value, the DSP 12 starts command reception processing (AM demodulation and FM0 decoding), assuming that a tag response has been detected (step S16). If the absolute value of the received signal is not greater than the threshold value, the DSP 12 determines whether there is a threshold value change instruction (step S17). If it is determined that there is no threshold value change instruction, the process proceeds to step S15. Go back and prepare for tag response detection. If it is determined in step S17 that a threshold value change instruction has been issued, the DSP 12 determines whether or not a unit time has elapsed since threshold setting or threshold switching (step S18), and the unit time has elapsed. If not, the process returns to step S15. If the unit time has elapsed, the DSP 12 switches to the next largest threshold value (step S19) and returns to step S15.

本実施の形態では、リーダライタ装置から送信するコマンドがタグメモリへのデータ書き込みを伴うコマンドの場合に、タグ応答検出部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 response detection unit 20 is set to a value that is stepwise higher than the normal command. It is controlled to do.

リーダライタ受信処理では、そのタグ応答検出しきい値を超えた信号を検出した場合にタグ応答開始とみなすため、タグ応答検出開始直後は通常コマンドのときとしきい値はほぼ変わらないため、エラーコード応答の場合でもタグ応答検出が可能になる。また、しきい値を通常コマンド用しきい値より高い値に設定できるため、タグ応答範囲が広い(タグ応答待ち時間が長い)ライト系コマンドの場合でもノイズをタグ応答と誤検出する可能性の低減につながる。   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 response detection unit 20 of the reader / writer device according to the third embodiment includes a threshold value changing unit that changes the threshold value th2 of the write command command threshold value storage unit 32, as shown in FIG. 35. The threshold value changing unit 35 includes adders 36 and 37 and a delay tap 38. The adder 36 has its first addition input connected to the output of the write command threshold value storage unit 32, and its second addition input connected to the output of the delay tap 38 and the first addition input of the adder 37, The output is connected to the threshold value input for the write command of the selector 33. The adder 37 and the delay tap 38 are connected in a loop, and the increment value α is input to the second addition input of the adder 37. The delay tap 38 updates the output value M with the input value every unit time, and its initial value is set to zero.

しきい値変更部35は、加算器36によってライト系コマンド用しきい値に単位時間毎に遅延タップ38の出力値Mが加算されていき、その出力値Mは、単位時間毎に増分値αだけインクリメントしていく構成を有していることになる。これにより、選択部33によって選択されるライト系コマンド用しきい値は、図9に示したように、第2の実施の形態でのタグ応答検出部20が行っている段階的増加を無段階増加に近い特性になっている。この特性は、遅延タップ38の更新周期および増分値αの値によって、自由に変更することができる。   The threshold value changing unit 35 adds the output value M of the delay tap 38 every unit time to the threshold value for the write command by the adder 36, and the output value M is an increment value α every unit time. It has a configuration in which only increments are made. As a result, the threshold value for the write command selected by the selection unit 33 is steplessly increased by the tag response detection unit 20 in the second embodiment as shown in FIG. The characteristics are close to increasing. This characteristic can be freely changed according to the update period of the delay tap 38 and the value of the increment value α.

タグ応答検出部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 DSP 12 in which the tag response detection unit 20 has the above configuration performs a tag response detection operation according to firmware stored in a memory (not shown). That is, as shown in FIG. 10, the DSP 12 determines whether or not there is a threshold value change instruction from the MPU 11 (step S21). If there is no threshold value change instruction, the DSP 12 selects the threshold value th1 of the normal command threshold value storage unit 31 and sets it in the comparison unit 34 (step S22). When there is a threshold value change instruction, the DSP 12 selects a threshold value in the write command command threshold value storage unit 32 and sets it in the comparison unit 34 (step S23). At this time, since the output value M of the delay tap 38 is the initial value 0, a threshold value equal to the threshold value of the write command threshold value storage unit 32 is input to the comparison unit 34. Will be. Next, the DSP 12 performs command transmission processing (PIE encoding and AM modulation) (step S24).

次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断する(ステップS25)。受信信号の絶対値がしきい値より大きい場合、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を開始する(ステップS26)。受信信号の絶対値がしきい値より大きくない場合、DSP12は、しきい値変更指示があったかどうかを判断し(ステップS27)、しきい値変更指示がないと判断された場合は、ステップS25に戻ってタグ応答検出に備える。ステップS27にて、しきい値変更指示があったと判断された場合、DSP12は、しきい値を変更する(ステップS28)。すなわち、タグ応答検出部20のしきい値変更部35は、ライト系コマンド用しきい値記憶部32のしきい値に遅延タップ38の出力値Mを加算した値を新しいしきい値として出力し、ステップS25に戻る。このようにして、ライト系コマンドが送信されてからタグ応答が検出されまでの間、比較部34に入力されるしきい値は、徐々に高い値に変更されていく。   Next, the DSP 12 determines whether or not the absolute value of the received signal is larger than the threshold value (step S25). If the absolute value of the received signal is larger than the threshold value, the DSP 12 starts command reception processing (AM demodulation and FM0 decoding), assuming that a tag response has been detected (step S26). If the absolute value of the received signal is not greater than the threshold value, the DSP 12 determines whether there is a threshold value change instruction (step S27). If it is determined that there is no threshold value change instruction, the process proceeds to step S25. Go back and prepare for tag response detection. If it is determined in step S27 that there has been a threshold value change instruction, the DSP 12 changes the threshold value (step S28). That is, the threshold value changing unit 35 of the tag response detecting unit 20 outputs a value obtained by adding the output value M of the delay tap 38 to the threshold value of the write command threshold value storing unit 32 as a new threshold value. Return to step S25. In this way, the threshold value input to the comparison unit 34 is gradually changed to a higher value from when the write command is transmitted until the tag response is detected.

本実施の形態では、ライト系コマンド用しきい値は、1つのライト系コマンド用しきい値記憶部32に記憶されているので、第2の実施の形態の場合に比較して記憶部の容量が少なくて済む。また、本実施の形態では、ライト系コマンド用しきい値記憶部32を備えているが、しきい値変更開始時点のしきい値が通常コマンド時のしきい値と同じでよい場合は、通常コマンド用しきい値記憶部31のしきい値を利用することができる。   In this embodiment, the write command threshold value is stored in one write command threshold value storage section 32, so that the capacity of the storage section is larger than that in the second embodiment. Is less. Further, in the present embodiment, the write command command threshold storage unit 32 is provided. However, when the threshold at the start of threshold change may be the same as the threshold at the normal command, The threshold value of the command threshold value storage unit 31 can be used.

また、本実施の形態では、しきい値変更開始直後からしきい値を徐々に高くするようにしているが、所定時間経過後に開始してもよい。すなわち、しきい値変更開始時点からたとえば通常コマンドのタグ応答待ち時間程度の時間を経過した後にしきい値増加処理を開始してもよい。これは、その所定時間を経過するまでの間、しきい値変更部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 value changing unit 35 to 0 until the predetermined time elapses. As a result, the tag response sensitivity of the tag response detection unit 20 can be maintained high until a predetermined time elapses from the threshold value change start, and the tag response detection of the error code response can be performed with the same sensitivity as that at the normal command. become.

さらに、本実施の形態では、しきい値を生成するための増分値αは、タグ応答検出部20が有しているように説明したが、必ずしもそうである必要はなく、たとえば上位装置から与えられるようにしてもよい。これにより、しきい値は、種々のタグ応答特性を有するタグに応じて設定されることが可能になる。   Furthermore, in the present embodiment, it has been described that the increment value α for generating the threshold value is included in the tag response detection unit 20, but this is not necessarily the case. You may be made to do. As a result, the threshold value can be set according to tags having various tag response characteristics.

図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 delay tap 38 does not update the output value M with the input value every unit time, but updates it every time there is a threshold value change instruction from the MPU 11.

この第4の実施の形態に係るリーダライタ装置は、タグ応答検出部20がタグ応答を検出してコマンド受信処理をしたが、その受信がたとえばノイズのような正常受信でなかったときに、ライト系コマンド用しきい値を図11に示したように変更するものである。   In the reader / writer device according to the fourth embodiment, the tag response detection unit 20 detects a tag response and performs a command reception process. However, when the reception is not normal reception such as noise, The system command threshold is changed as shown in FIG.

すなわち、図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 DSP 12 determines whether or not there is a threshold value change instruction from the MPU 11 (step S31). If there is no threshold value change instruction, the DSP 12 selects the threshold value th1 of the normal command threshold value storage unit 31 and sets it in the comparison unit 34 (step S32). When there is a threshold value change instruction, the DSP 12 selects the threshold value in the write command command threshold value storage unit 32 and sets it in the comparison unit 34 (step S33). At this time, since the output value M of the delay tap 38 is the initial value 0, a threshold value equal to the threshold value of the write command threshold value storage unit 32 is input to the comparison unit 34. Will be. Next, the DSP 12 performs command transmission processing (PIE encoding and AM modulation) (step S34).

次に、DSP12は、受信信号の絶対値がしきい値より大きいかどうかを判断し(ステップS35)、受信信号の絶対値がしきい値より大きくない場合、受信信号の絶対値がしきい値より大きくなるまで待つ。受信信号の絶対値がしきい値より大きい場合、DSP12は、タグ応答が検出されたとして、コマンド受信処理(AM復調およびFM0復号)を開始する(ステップS36)。次に、DSP12は、そのコマンド受信処理の結果、正常なタグ応答の受信であったかどうかが判断され(ステップS37)、正常なものであれば、この処理は、そのまま終了する。   Next, the DSP 12 determines whether or not the absolute value of the received signal is larger than the threshold value (step S35), and if the absolute value of the received signal is not larger than the threshold value, the absolute value of the received signal is the threshold value. Wait until it gets bigger. If the absolute value of the received signal is greater than the threshold value, the DSP 12 starts command reception processing (AM demodulation and FM0 decoding), assuming that a tag response has been detected (step S36). Next, as a result of the command reception process, the DSP 12 determines whether or not a normal tag response has been received (step S37), and if it is normal, this process ends.

コマンド受信処理が正常でなかった場合、DSP12は、先に送信したコマンドがライト系コマンドかどうかが判断され(ステップS38)、通常コマンドであったなら、コマンドリトライ(再送信指示)を出し(ステップS39)、ステップS34に戻る。   If the command reception process is not normal, the DSP 12 determines whether the previously transmitted command is a write command (step S38), and if it is a normal command, issues a command retry (retransmission instruction) (step S38). S39), the process returns to step S34.

先に送信したコマンドがライト系コマンドである場合、DSP12は、ステップS37にて正常受信でなかった原因が応答誤検出かどうかが判断され(ステップS40)、応答誤検出でない場合には、コマンドリトライを出し、コマンド送信からやり直す。ステップS37にて正常受信でなかった原因が応答誤検出によるものである場合、DSP12は、しきい値を変更し(ステップS41)、コマンドリトライを出す。ここで、しきい値の変更は、しきい値変更部35では、現在のしきい値に増分値αを加算した値が新しいしきい値として比較部34に設定される。   If the previously transmitted command is a write command, the DSP 12 determines in step S37 whether or not the cause of the normal reception was a response error detection (step S40). And start again from command transmission. If the cause of the abnormal reception in step S37 is due to erroneous response detection, the DSP 12 changes the threshold value (step S41) and issues a command retry. Here, the threshold value change unit 35 sets the value obtained by adding the increment value α to the current threshold value in the comparison unit 34 as a new threshold value.

以上の処理により、ノイズの多い環境でタグメモリに書き込みを行う場合、正常受信ができなかったときに、しきい値を徐々に上げてからコマンド送信のリトライを繰り返すことにより、ノイズによる誤検出を低減することができる。   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 SYMBOLS 13 Analog transmission part 14 Analog reception part 15 Local oscillation part 16 Antenna 17 PIE encoding part 18 AM modulation part 19 AM demodulation part 20 Tag response detection part 21 FM0 decoding part 22 Filter 23 Mixer 24, 25 Amplifier 26 Mixer 27 Filter 31 Normal command threshold storage unit 32, 32a to 32n Write command threshold storage unit 33 Selection unit 34 Comparison unit 35 Threshold change unit 36, 37 Adder 38 Delay tap

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のしきい値として互いに値の異なる複数のしきい値を格納しており、
前記選択部は、前記ライト系コマンドを前記タグへ送信完了後に最も値の小さなしきい値を前記第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の記憶部の前記第2のしきい値に対して値を増加するように変更するしきい値変更部を備えたことを特徴とする請求項1記載のリーダライタ装置。   The reader / writer device according to claim 1, further comprising a threshold value changing unit that changes the value to increase with respect to the second threshold value of the second storage unit. 前記しきい値変更部は、前記第2の記憶部と前記選択部との間に配置された第1加算器と、出力が前記第1加算器の加算入力に接続されていて出力値が単位時間毎に入力値によって更新される遅延タップと、前記遅延タップの出力値に所定の増分値を加算して前記遅延タップの入力値とする第2加算器とを有していることを特徴とする請求項3記載のリーダライタ装置。   The threshold value changing unit includes a first adder disposed between the second storage unit and the selection unit, an output connected to an addition input of the first adder, and an output value as a unit A delay tap that is updated with an input value every time; and a second adder that adds a predetermined increment value to an output value of the delay tap to obtain an input value of the delay tap. The reader / writer device according to claim 3. 前記しきい値変更部は、前記第2の記憶部と前記選択部との間に配置された第1加算器と、出力が前記第1加算器の加算入力に接続されていて出力値が所定のタイミング毎に入力値によって更新される遅延タップと、前記遅延タップの出力値に所定の増分値を加算して前記遅延タップの入力値とする第2加算器とを有し、
前記所定のタイミングは、前記ライト系コマンドに対する前記タグ応答が誤検出されたときであり、前記第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.
前記しきい値の変更を、段階的に大きくしていくようにしたことを特徴とする請求項6記載のタグ応答検出方法。   7. The tag response detection method according to claim 6, wherein the change of the threshold value is increased stepwise. 前記しきい値の変更を、前記ライト系コマンドに対する前記タグ応答が誤検出される度に行い、前記しきい値の変更後は、前記ライト系コマンドの再送信を行うことを特徴とする請求項6記載のタグ応答検出方法。   The threshold value is changed every time the tag response to the write command is erroneously detected, and the write command is retransmitted after the threshold value is changed. 6. The tag response detection method according to 6.
JP2011100420A 2011-04-28 2011-04-28 Reader / writer device and tag response detection method Active JP5514151B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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