JP2010074786A - Encoding/decoding system, encoding circuit, decoding circuit, and tag communication device - Google Patents

Encoding/decoding system, encoding circuit, decoding circuit, and tag communication device Download PDF

Info

Publication number
JP2010074786A
JP2010074786A JP2008243255A JP2008243255A JP2010074786A JP 2010074786 A JP2010074786 A JP 2010074786A JP 2008243255 A JP2008243255 A JP 2008243255A JP 2008243255 A JP2008243255 A JP 2008243255A JP 2010074786 A JP2010074786 A JP 2010074786A
Authority
JP
Japan
Prior art keywords
information
encoding
circuit
decoding
storage circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008243255A
Other languages
Japanese (ja)
Other versions
JP5312886B2 (en
Inventor
Shinsuke Kobayashi
真輔 小林
Takeshi Sakamura
健 坂村
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.)
YOKOSUKA TELECOM RES PARK KK
Yokosuka Telecom Research Park Inc
Original Assignee
YOKOSUKA TELECOM RES PARK KK
Yokosuka Telecom Research Park Inc
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 YOKOSUKA TELECOM RES PARK KK, Yokosuka Telecom Research Park Inc filed Critical YOKOSUKA TELECOM RES PARK KK
Priority to JP2008243255A priority Critical patent/JP5312886B2/en
Publication of JP2010074786A publication Critical patent/JP2010074786A/en
Application granted granted Critical
Publication of JP5312886B2 publication Critical patent/JP5312886B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the capacity of a memory required for encoding/decoding and to flexibly cope with different kinds of encoding/decoding. <P>SOLUTION: A state storage circuit 94 stores present state information in a plurality of transition states determined by a predetermined encoding system. An encoding information storage circuit 96 stores information for which the combination of the state information of one of the plurality of transition states and encoding object information which is information to be encoded and the combination of post-transition state information indicating the state after transition and encoded information which is the information after encoding as an encoding table. A control circuit 92 receives the input of the encoding object information, outputs the encoded information and the post-transition state information corresponding to the combination of the encoding object information and the present state information stored by the state storage circuit 94 on the basis of the encoding table, and stores the post-transition state information in the state storage circuit 94 as the present state information. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、符号化復号化システム、符号化回路、復号化回路およびタグ通信装置に関する。   The present invention relates to an encoding / decoding system, an encoding circuit, a decoding circuit, and a tag communication device.

近年、微小な無線チップに情報を記憶し、読み取りおよび書き込み用のRFID(Radio Frequency Identification)通信装置(RFIDリーダライタ)と高周波で通信を行うRFIDが実用化され、ユビキタスコンピューティングの中心的技術として注目を浴びている。現在、RFIDは用途に合わせて様々な通信規格が標準化されており、それらの通信規格に準じた製品や、あるいは独自の通信規格に基づいた製品が多数販売されている。   In recent years, RFID that stores information in a small wireless chip and communicates at high frequency with a radio frequency identification (RFID) communication device (RFID reader / writer) for reading and writing has been put into practical use as a central technology of ubiquitous computing. Has attracted attention. Currently, various communication standards for RFID are standardized in accordance with applications, and many products based on these communication standards or products based on original communication standards are sold.

このように、多くの種類のRFIDタグが販売されているが、それぞれの通信方式はRFIDタグによって周波数帯や変調方式などの通信規格がまったく異なることが多い。また、RFIDはその用途に合わせて使い分ける必要があり、一種類の通信規格に統一するのは困難である。そのため、複数の通信規格のRFIDタグと通信可能なRFID通信装置が必要である。複数の通信規格のRFIDタグと通信可能なRFID通信装置として、例えば特許文献1に記載のRFID通信装置が知られている。このRFID通信装置は、複数の周波数帯や変調方式でデータを送信できる構成であるため、複数の通信規格のRFIDと通信を行うことができる。また、このRFID通信装置は、RFIDタグの通信規格ごとに定められた波形パターンをメモリに保存しおり、波形パターンを用いてエンコードを行っている。この波形パターンを指定するために、波形の繰り返し回数とサイクル数を指定して波形パターンを特定する方式をとっている。
特開2007−134941号公報
As described above, many types of RFID tags are sold. However, communication methods such as frequency bands and modulation methods are often completely different depending on the RFID tag. Moreover, it is necessary to use the RFID properly according to its use, and it is difficult to unify it into one kind of communication standard. Therefore, an RFID communication device that can communicate with RFID tags of a plurality of communication standards is required. As an RFID communication device capable of communicating with a plurality of communication standard RFID tags, for example, an RFID communication device described in Patent Document 1 is known. Since this RFID communication apparatus is configured to transmit data in a plurality of frequency bands and modulation methods, it can communicate with RFIDs of a plurality of communication standards. In addition, this RFID communication apparatus stores a waveform pattern determined for each communication standard of the RFID tag in a memory, and performs encoding using the waveform pattern. In order to specify this waveform pattern, a method of specifying the waveform pattern by specifying the number of waveform repetitions and the number of cycles is adopted.
JP 2007-134941 A

しかし、上記のRFID通信装置では、繰り返し回数やサイクル数を指定して波形パターンを特定する方式をとっているため、入力列によって必ずしも一意に定まらない場合や、サイクル数が可変になる場合がある。この場合、パターンの数が多くなるために、パターンを記憶するメモリの容量を大きくする必要があるという問題があった。また、上記のRFID通信装置では、繰り返し回数やサイクル数を指定する方式の符号化・複合化とは異なる方式の符号化・符号化を行うことができないため、符号化の方式毎に新たな符号化を行う構成を備える必要があるという問題があった。   However, since the above-described RFID communication apparatus adopts a method of specifying a waveform pattern by specifying the number of repetitions and the number of cycles, it may not necessarily be uniquely determined by the input string, or the number of cycles may be variable. . In this case, since the number of patterns increases, there is a problem that it is necessary to increase the capacity of the memory for storing the patterns. Further, in the above RFID communication apparatus, since it is not possible to perform encoding / encoding of a method different from encoding / decoding of a method for specifying the number of repetitions or the number of cycles, a new code is added for each encoding method. There is a problem that it is necessary to provide a configuration for performing the conversion.

本発明は上記事情を考慮してなされたもので、符号化・復号化に必要なメモリの容量をより少なくし、異なる種類の符号化・復号化に柔軟に対応することができる符号化復号化システム、符号化回路、復号化回路およびタグ通信装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and is capable of reducing the amount of memory required for encoding / decoding and encoding / decoding that can flexibly cope with different types of encoding / decoding. An object is to provide a system, an encoding circuit, a decoding circuit, and a tag communication device.

本発明は、特定の符号化方式により定める複数の遷移状態における現在の状態情報を記憶する第1の状態記憶回路と、前記複数の遷移状態のうちのいずれかの状態情報と、符号化を行う情報である符号化対象情報との組み合わせと、遷移後の状態を示す遷移後状態情報と、符号化後の情報である符号化情報の組み合わせとを関連づけた情報を、符号化テーブルとして記憶する符号化情報記憶回路と、前記符号化情報の入力を受け付け、当該符号化対象情報と、前記第1の状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記符号化情報と前記遷移後状態情報とを、前記符号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記第1の状態記憶回路に記憶させる第1の制御回路と、を備えた符号化回路と、前記特定の符号化方式で符号化された前記符号化情報を復号化する方式により定める複数の遷移状態における現在の状態情報を記憶する第2の状態記憶回路と、前記特定の符号化方式で符号化された前記符号化情報を復号化する方式に基づいて、前記複数の遷移状態のうちのいずれかの状態情報と前記符号化情報との組み合わせと、遷移後の状態を示す遷移後状態情報と復号化後の情報である復号化情報との組み合わせとを関連付けた情報を、復号化テーブルとして記憶する復号化情報記憶回路と、前記符号化情報の入力を受け付け、当該符号化情報と、前記第2の状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記復号化情報と前記遷移後状態とを、前記復号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記第2の状態記憶回路に記憶させる第2の制御回路と、を備えた復号化回路と、を備えたことを特徴とする符号化復号化システムである。   The present invention encodes a first state storage circuit that stores current state information in a plurality of transition states determined by a specific encoding method, and state information in any one of the plurality of transition states. A code that stores, as an encoding table, information in which a combination of information to be encoded that is information, post-transition state information indicating a state after transition, and a combination of encoded information that is information after encoding is associated An encoded information storage circuit, receiving the input of the encoded information, and corresponding to a combination of the encoding target information and the current state information stored in the first state storage circuit; A first control circuit that outputs post-transition state information based on the encoding table, and stores the post-transition state information as the current state information in the first state storage circuit; An encoding circuit; a second state storage circuit for storing current state information in a plurality of transition states determined by a method for decoding the encoded information encoded by the specific encoding method; Based on a method for decoding the encoded information encoded by the encoding method, a combination of any one of the plurality of transition states and the encoded information, and a state after the transition are indicated. A decoding information storage circuit that stores information associating a combination of post-transition state information and decoding information, which is information after decoding, as a decoding table; receives the input of the encoding information; Outputting the decoding information and the post-transition state corresponding to a combination of information and the current state information stored in the second state storage circuit based on the decoding table; A decoding circuit comprising: a second control circuit that stores post-transition state information as the current state information in the second state storage circuit; is there.

この構成によれば、符号化回路は、複数の遷移状態のうちのいずれかの状態情報と、符号化対象情報との組み合わせによって一意に決まる、遷移後の状態を示す遷移後状態情報と符号化後の情報である符号化情報との組み合わせとを関連づけた情報である、符号化テーブルに基づいて符号化を行う。これにより、符号化回路は、符号化テーブルを変更することで、異なる種類の符号化に柔軟に対応することができる。   According to this configuration, the encoding circuit uniquely determines the post-transition state information and the encoding that are uniquely determined by the combination of the state information of any of the plurality of transition states and the encoding target information. Encoding is performed based on an encoding table, which is information that associates a combination with encoding information that is later information. Thereby, the encoding circuit can flexibly cope with different types of encoding by changing the encoding table.

また、復号化回路は、複数の遷移状態のうちのいずれかの状態情報と、符号化情報の組み合わせにとよって一意に決まる、遷移後の状態を示す遷移後状態情報と復号化後の情報である復号化情報の組み合わせとを関連付けた情報である、復号化テーブルに基づいて復号化を行う。これにより、復号化回路は、復号化テーブルを変更することで、異なる種類の復号化に柔軟に対応することができる。   In addition, the decoding circuit includes post-transition state information indicating a post-transition state and post-decoding information that is uniquely determined by a combination of any one of a plurality of transition states and encoding information. Decoding is performed based on a decoding table, which is information associated with a certain combination of decoding information. Thereby, the decoding circuit can flexibly cope with different types of decoding by changing the decoding table.

また、本発明は、特定の符号化方式で符号化を行う符号化回路であって、特定の符号化方式により定める複数の遷移状態における現在の状態情報を記憶する状態記憶回路と、前記複数の遷移状態のうちのいずれかの状態情報と、符号化を行う情報である符号化対象情報との組み合わせと、遷移後の状態を示す遷移後状態情報と、符号化後の情報である符号化情報との組み合わせとを関連づけた情報を、符号化テーブルとして記憶する符号化情報記憶回路と、前記符号化対象情報の入力を受け付け、当該符号化対象情報と、前記状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記符号化情報と前記遷移後状態情報とを、前記符号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記状態記憶回路に記憶させる制御回路と、を備えたことを特徴とする符号化回路である。   Further, the present invention is an encoding circuit that performs encoding by a specific encoding method, a state storage circuit that stores current state information in a plurality of transition states determined by a specific encoding method, A combination of any state information in the transition state, encoding target information that is information to be encoded, post-transition state information indicating a state after transition, and encoding information that is information after encoding And an encoding information storage circuit that stores information associated with the combination as a coding table, and accepts input of the encoding target information, and the encoding target information and the current storage stored in the state storage circuit The encoding information and the post-transition state information corresponding to the combination with the state information are output based on the encoding table, and the post-transition state information is used as the current state information for the state. A control circuit to be stored in 憶回 path is a coding circuit, characterized in that it comprises a.

この構成によれば、符号化回路は、複数の遷移状態のうちのいずれかの状態情報と、符号化対象情報との組み合わせによって一意に決まる、遷移後の状態を示す遷移後状態情報と符号化後の情報である符号化情報の組み合わせとを関連づけた情報である、符号化テーブルに基づいて符号化を行う。これにより、符号化回路は、符号化テーブルを変更することで、異なる種類の符号化に柔軟に対応することができる。   According to this configuration, the encoding circuit uniquely determines the post-transition state information and the encoding that are uniquely determined by the combination of the state information of any of the plurality of transition states and the encoding target information. Encoding is performed based on an encoding table, which is information associated with a combination of encoding information that is later information. Thereby, the encoding circuit can flexibly cope with different types of encoding by changing the encoding table.

また、本発明は、特定の符号化方式で符号化された符号化情報を復号化する復号化回路であって、前記特定の符号化方式で符号化された前記符号化情報を復号化する方式により定める複数の遷移状態における現在の状態情報を記憶する状態記憶回路と、前記特定の符号化方式で符号化された前記符号化情報を復号化する方式に基づいて、前記複数の遷移状態のうちのいずれかの状態情報と前記符号化情報との組み合わせと、遷移後の状態を示す遷移後状態情報と復号化後の情報である復号化情報との組み合わせとを関連付けた情報を、復号化テーブルとして記憶する復号化情報記憶回路と、前記符号化情報の入力を受け付け、当該符号化情報と、前記状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記復号化情報と前記遷移後状態とを、前記復号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記状態記憶回路に記憶させる制御回路と、を備えたことを特徴とする復号化回路である。   Further, the present invention is a decoding circuit for decoding encoded information encoded by a specific encoding method, and a method for decoding the encoded information encoded by the specific encoding method Among the plurality of transition states based on a state storage circuit that stores current state information in a plurality of transition states defined by and a method for decoding the encoded information encoded by the specific encoding method A decoding table, information that associates a combination of any one of the state information and the encoded information, a post-transition state information indicating a post-transition state, and a combination of decoding information that is information after decoding. A decoding information storage circuit that stores the encoded information, and the decoding information corresponding to a combination of the encoding information and the current state information stored in the state storage circuit; And a control circuit that outputs the post-transition state based on the decryption table and stores the post-transition state information as the current state information in the state storage circuit. Circuit.

この構成によれば、復号化回路は、複数の遷移状態のうちのいずれかの状態情報と、符号化情報との組み合わせによって一意に決まる、遷移後の状態を示す遷移後状態情報と復号化後の情報である復号化情報との組み合わせとを関連付けた情報である、復号化テーブルに基づいて復号化を行う。これにより、復号化回路は、復号化テーブルを変更することで、異なる種類の復号化に柔軟に対応することができる。   According to this configuration, the decoding circuit includes the post-transition state information indicating the post-transition state and the post-decoding state, which is uniquely determined by a combination of any one of the plurality of transition states and the encoded information. Decoding is performed based on a decoding table, which is information associated with a combination with the decoding information that is the information of the above. Thereby, the decoding circuit can flexibly cope with different types of decoding by changing the decoding table.

また、本発明は、送信データを、所定の通信方式で規定された符号化方式で符号化する符号化回路と、前記通信方式で規定された周波数帯域で、前記符号化回路が符号化した前記送信データを前記無線タグに対して送信し、これに対応して前記無線タグから送信される受信データを受信する高周波回路と、前記高周波回路が受信した前記受信データを、前記符号化方式に対応する方式で復号化する復号化回路と、前記復号化回路が復号化した前記受信データを出力するホストインタフェースと、を備えたことを特徴とするタグ通信装置である。   Further, the present invention provides an encoding circuit that encodes transmission data by an encoding method specified by a predetermined communication method, and the encoding circuit encodes the transmission data in a frequency band specified by the communication method. A high-frequency circuit that transmits transmission data to the wireless tag and receives reception data transmitted from the wireless tag corresponding to the transmission data, and the reception data received by the high-frequency circuit corresponds to the encoding method. And a host interface that outputs the received data decoded by the decoding circuit.

この構成によれば、符号化回路は無線タグに送信する送信データを符号化し、送信部は、符号化回路が符号化した送信データを無線タグに送信する。受信部は、無線タグから送信される受信データを受信し、復号化回路は、受信部が受信した受信データを復号化する。このように、符号化回路が送信データを符号化し、復号化回路が受信データを復号化するため、送信部と受信部は、送信と受信の最低限の処理のみを行う構成とすることができる。   According to this configuration, the encoding circuit encodes transmission data to be transmitted to the wireless tag, and the transmission unit transmits the transmission data encoded by the encoding circuit to the wireless tag. The reception unit receives the reception data transmitted from the wireless tag, and the decoding circuit decodes the reception data received by the reception unit. Thus, since the encoding circuit encodes the transmission data and the decoding circuit decodes the reception data, the transmission unit and the reception unit can be configured to perform only minimum processing of transmission and reception. .

また、本発明は、複数の通信方式の各々に対応する周波数帯域で通信可能な複数の高周波回路を備え、前記符号化回路が備える前記符号化情報記憶回路は、複数の前記通信方式で定められた複数の符号化方式ごとに規定された複数の前記符号化テーブルを記憶し、前記復号化回路が備える前記復号化情報記憶回路は、前記複数の符号化方式に対応する復号化方式ごとに規定された複数の前記復号化テーブルを記憶し、複数の前記通信方式のうち、いずれか1つの通信方式を切り替えて、選択した通信方式で規定された前記符号化方式に対応する前記符号化テーブルを用いて符号化を行うように前記符号化回路を制御し、当該通信方式で規定された前記周波数帯域で通信可能な前記高周波回路を用いて送信データの送信および受信データの受信を行うように制御し、当該通信方式に対応する前記符号化テーブルを用いて符号化を行うように前記符号化回路を制御する制御部をさらに備えることを特徴とするタグ通信装置である。   Further, the present invention includes a plurality of high frequency circuits capable of communicating in frequency bands corresponding to each of a plurality of communication schemes, and the encoded information storage circuit included in the encoding circuit is defined by the plurality of communication schemes. A plurality of the encoding tables defined for each of the plurality of encoding schemes are stored, and the decoding information storage circuit included in the decoding circuit is defined for each of the decoding schemes corresponding to the plurality of encoding schemes. A plurality of the decoded tables stored, and switching any one communication method among the plurality of communication methods to store the encoding table corresponding to the encoding method defined by the selected communication method. Control the encoding circuit to perform encoding, and transmit the transmission data and receive the reception data using the high-frequency circuit capable of communication in the frequency band defined by the communication method. And it controls to perform, a tag communication apparatus further comprising a control unit for controlling the encoding circuit to perform coding by using the coding table corresponding to the communication method.

これにより、符号化回路は複数種類の符号化方式で定められた符号化テーブルのうち、符号化に用いる符号化方式で定められた符号化テーブルに基づいて符号化を行うことで、複数種類の符号化方式のうち、いずれかの符号化方式で符号化を行うことができる。また、復号化回路は、複数記憶する復号化テーブルのうち、復号化に用いる方式で定められた復号化テーブルに基づいて復号化を行うことで、複数種類の復号化方式のうち、いずれかの復号化方式で復号化を行うことができる。   As a result, the encoding circuit performs encoding based on the encoding table determined by the encoding method used for encoding among the encoding tables determined by a plurality of types of encoding methods. Encoding can be performed by any one of the encoding methods. In addition, the decoding circuit performs decoding based on a decoding table defined by a method used for decoding among a plurality of decoding tables to be stored, so that any one of a plurality of types of decoding methods is selected. Decoding can be performed by a decoding method.

本発明によれば、符号化・復号化に必要なメモリの容量をより少なくし、異なる種類の符号化・復号化に柔軟に対応することができる。   According to the present invention, it is possible to reduce the memory capacity required for encoding / decoding and flexibly cope with different types of encoding / decoding.

以下、図面を参照して本発明の実施形態について説明する。図1は、本発明の実施形態にかかるRFIDリーダライタ1の構成を示した構成図である。図1において、ホストインタフェース11は、ホストコンピュータ(図示せず)との間で通信を行うインタフェースである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing a configuration of an RFID reader / writer 1 according to an embodiment of the present invention. In FIG. 1, a host interface 11 is an interface for communicating with a host computer (not shown).

メインコントローラ12は、ホストコンピュータとの通信やRFIDリーダライタ1内の各部の制御を司るものである。RF回路制御ブロック13は、RF回路40a、40b、・・・、40nにおけるキャリアのオン・オフの切り替え、および電子ボリュームによる変調度の変更等の制御を行うものである。本実施形態にかかるRFIDリーダライタ1は、RFIDタグへの送信で使用するキャリアの周波数帯毎にRF回路を備えている。   The main controller 12 manages communication with the host computer and control of each unit in the RFID reader / writer 1. The RF circuit control block 13 performs control such as switching on / off of carriers in the RF circuits 40a, 40b,..., 40n, and changing the modulation degree by the electronic volume. The RFID reader / writer 1 according to the present embodiment includes an RF circuit for each frequency band of a carrier used for transmission to an RFID tag.

送信制御ブロック20は、RF回路40a、40b、・・・、40nが送信するデータを生成するものである。D/Aコンバータ71は、送信制御ブロック20が生成したデータをアナログ変換し、RF回路40a、40b、・・・、40nに向けアナログ信号を出力するものである。A/Dコンバータ70は、RF回路40a、40b、・・・、40nが受信する信号をデジタルデータに変換するものである。受信制御ブロック30は、A/Dコンバータ70から出力されるデジタルデータに基づくデータ処理を行うものである。RF回路40a、40b、・・・、40nは、RFIDタグ(図示せず)と無線通信を行うものである。   The transmission control block 20 generates data to be transmitted by the RF circuits 40a, 40b, ..., 40n. The D / A converter 71 converts the data generated by the transmission control block 20 into an analog signal and outputs an analog signal to the RF circuits 40a, 40b,. The A / D converter 70 converts signals received by the RF circuits 40a, 40b,..., 40n into digital data. The reception control block 30 performs data processing based on digital data output from the A / D converter 70. The RF circuits 40a, 40b, ..., 40n perform wireless communication with an RFID tag (not shown).

図2は、図1の送信制御ブロック20の構成を示した構成図である。図2において、コントローラ201は、送信制御ブロック20内の各部を制御するものである。送信データ読み出し制御部202は、送信データバッファ203が保持する送信データを、通信規格ごとに定められた順序で読み出して、パターン読み出し制御部208へ出力するものである。送信データバッファ203は、RFIDタグに送信するデータを保持するものである。   FIG. 2 is a configuration diagram showing the configuration of the transmission control block 20 of FIG. In FIG. 2, the controller 201 controls each unit in the transmission control block 20. The transmission data read control unit 202 reads the transmission data held in the transmission data buffer 203 in the order determined for each communication standard, and outputs the read data to the pattern read control unit 208. The transmission data buffer 203 holds data to be transmitted to the RFID tag.

CRC(Cyclic Redundancy Check)生成部204は、送信データを基に、誤り検出で用いるCRC値を計算するものである。セレクタ205は、RFIDの通信規格に合わせて、CRCを使用するか否かを選択するものである。   A CRC (Cyclic Redundancy Check) generation unit 204 calculates a CRC value used in error detection based on transmission data. The selector 205 selects whether or not to use CRC in accordance with the RFID communication standard.

パリティ生成部206は、送信データから誤り検出で用いるパリティを生成するものである。セレクタ207は、RFIDの通信規格に合わせて、パリティを使用するか否かを選択するものである。   The parity generation unit 206 generates parity used for error detection from transmission data. The selector 207 selects whether to use parity according to the RFID communication standard.

パターン読み出し制御部208は、後述する符号化回路を備えている。パターン読み出し制御部208は、符号化回路を用いて、入力された送信データの符号化を行う。また、パターン読み出し制御部208は、RFIDの通信規格に合わせて、符号化した送信データのエンコードに使用するパターンをパターンバッファ209から読み出すものである。エンコードの処理では、2値で表される符号化した送信データの論理“0”および論理“1”をある決まったルールに基づいて波形で表現する。パターンバッファ209は、各RFIDの通信規格に対して、論理“0”に対応する波形パターンおよび論理“1”に対応する波形パターンを保持する。   The pattern readout control unit 208 includes an encoding circuit described later. The pattern readout control unit 208 encodes the input transmission data using an encoding circuit. The pattern reading control unit 208 reads a pattern used for encoding encoded transmission data from the pattern buffer 209 in accordance with the RFID communication standard. In the encoding process, logic “0” and logic “1” of encoded transmission data represented by binary values are expressed by a waveform based on a certain rule. The pattern buffer 209 holds a waveform pattern corresponding to logic “0” and a waveform pattern corresponding to logic “1” for each RFID communication standard.

パターン生成部210は、パターンバッファ209から読み出したエンコードパターンとパターン読み出し制御部208が符号化した送信データとから、RFIDタグへ送信する送信データパターンを生成し、図1のD/Aコンバータ71へと出力するものである。   The pattern generation unit 210 generates a transmission data pattern to be transmitted to the RFID tag from the encoded pattern read from the pattern buffer 209 and the transmission data encoded by the pattern read control unit 208, and sends it to the D / A converter 71 in FIG. Is output.

図3は、図1の受信制御ブロック30の構成を示した構成図である。図3において、受信シーケンス制御部301は、受信制御ブロック30内の各部を制御するものである。   FIG. 3 is a configuration diagram showing the configuration of the reception control block 30 of FIG. In FIG. 3, the reception sequence control unit 301 controls each unit in the reception control block 30.

サンプリング部303は、図1に示したA/Dコンバータ70から出力されるデジタルデータのサンプリングを行うものである。キャリア検出部304は、サンプリング後のデータからキャリアを検出し、結果を受信シーケンス制御部301へ出力するものである。また、キャリア検出部304は、RF回路40a、40b、・・・、40nから送信を行う前に、通信フィールドにおいてキャリア信号が発生しているか否かを調べるものである。フィルタ組み合わせブロック305は、雑音等を除去するために、サンプリング後のデータをフィルタにかけるものである。   The sampling unit 303 samples the digital data output from the A / D converter 70 shown in FIG. The carrier detection unit 304 detects a carrier from the sampled data and outputs the result to the reception sequence control unit 301. The carrier detection unit 304 checks whether or not a carrier signal is generated in the communication field before transmission from the RF circuits 40a, 40b,..., 40n. The filter combination block 305 filters the sampled data in order to remove noise and the like.

図4は、図3のフィルタ組み合わせブロック305の構成を示した構成図である。図4において、セレクタ351、352、353および357は、RFIDの通信規格に応じて定められたフィルタをかけるように選択するものである。   FIG. 4 is a configuration diagram showing the configuration of the filter combination block 305 of FIG. In FIG. 4, selectors 351, 352, 353, and 357 select to apply a filter determined according to the RFID communication standard.

エッジ検出フィルタ354は、RF入力データ中の高周波成分を強調するフィルタである。周波数分離フィルタ355は、RF入力データを複数の周波数成分に分離するフィルタである。ローパスフィルタ356は、RF入力データ中の低周波成分を取り出すフィルタである。   The edge detection filter 354 is a filter that emphasizes high frequency components in the RF input data. The frequency separation filter 355 is a filter that separates RF input data into a plurality of frequency components. The low-pass filter 356 is a filter that extracts a low-frequency component in the RF input data.

以下、図3の説明に戻る。再サンプリング部306は、フィルタをかけた後のデータを再度サンプリングするものである。SOF(Start of Frame)検出部307は、RFIDタグから受信したフレームの開始を検出して、結果を受信シーケンス制御部301へ出力するものである。   Returning to the description of FIG. The re-sampling unit 306 re-samples the filtered data. The SOF (Start of Frame) detection unit 307 detects the start of a frame received from the RFID tag and outputs the result to the reception sequence control unit 301.

SYNC検出部308は、RFIDタグから受信したフレームの中からデータを検出し、検出結果を受信シーケンス制御部301へ出力するものである。EOF(End of Frame)検出部309は、RFIDタグから受信したフレームの終了を検出し、結果を受信シーケンス制御部301へ出力するものである。   The SYNC detection unit 308 detects data from the frame received from the RFID tag, and outputs the detection result to the reception sequence control unit 301. An EOF (End of Frame) detection unit 309 detects the end of the frame received from the RFID tag, and outputs the result to the reception sequence control unit 301.

コード変換部310は、再サンプリング後のデータをデコードするものである。また、コード変換部310は、後述する復号化回路を備えている。コード変換部310は、復号化回路を用いて、デコードしたデータを復号化する。CRCチェック部311は、復号化した後のデータのCRC値を計算して誤りを検出し、結果を受信シーケンス制御部301へ出力するものである。パリティチェック部312は、復号化した後のデータのパリティに基づいて誤りを検出し、結果を受信シーケンス制御部301へ出力するものである。   The code conversion unit 310 decodes the resampled data. Further, the code conversion unit 310 includes a decryption circuit described later. The code conversion unit 310 decodes the decoded data using a decoding circuit. The CRC check unit 311 detects the error by calculating the CRC value of the decoded data, and outputs the result to the reception sequence control unit 301. The parity check unit 312 detects an error based on the parity of the decoded data, and outputs the result to the reception sequence control unit 301.

シリアル−パラレル変換部313は、復号化した後のシリアルデータをパラレルデータに変換して受信バッファ314に保存するものである。受信シーケンス制御部301は、受信バッファ314が記憶するパラレルデータをメインコントローラ12に入力する。   The serial-parallel converter 313 converts the decrypted serial data into parallel data and stores it in the reception buffer 314. The reception sequence control unit 301 inputs parallel data stored in the reception buffer 314 to the main controller 12.

図5は、図1のRF回路40a、40b、・・・、40nそれぞれの内部の構成を示した構成図である。図5において、発振回路401は、通信規格ごとに定められた周波数で発振を行う回路である。変調回路402は、図1のD/Aコンバータ71が出力したアナログ信号の入力を受け付け、発振回路401で発振したキャリアを変調するものである。   FIG. 5 is a configuration diagram showing the internal configuration of each of the RF circuits 40a, 40b,..., 40n in FIG. In FIG. 5, an oscillation circuit 401 is a circuit that oscillates at a frequency determined for each communication standard. The modulation circuit 402 receives an analog signal output from the D / A converter 71 of FIG. 1 and modulates the carrier oscillated by the oscillation circuit 401.

現在のRFIDの通信規格では、変調方式としてASK(Amplitude Shift Keying)またはFSK(Frequency Shift Keying)を用いることが多いため、振幅変調用のパラメータとキャリア周波数のパラメータを変更可能となるように変調回路402を設計する。   In the current RFID communication standard, ASK (Amplitude Shift Keying) or FSK (Frequency Shift Keying) is often used as a modulation method, so that the modulation circuit can change the amplitude modulation parameter and the carrier frequency parameter. 402 is designed.

アンテナ駆動回路403は、変調回路402で変調したキャリアをアンテナ404から出力させるものである。アンテナ404は、変調したキャリアをRFIDに無線送信し、また、RFIDから無線送信された電波を受信するものである。   The antenna drive circuit 403 outputs the carrier modulated by the modulation circuit 402 from the antenna 404. The antenna 404 wirelessly transmits the modulated carrier to the RFID and receives radio waves wirelessly transmitted from the RFID.

フィルタ回路405は、アンテナ404が受信したアナログ信号から雑音を除去するものである。増幅器406は、フィルタ回路405が出力するアナログ信号を増幅するものである。   The filter circuit 405 removes noise from the analog signal received by the antenna 404. The amplifier 406 amplifies the analog signal output from the filter circuit 405.

次に、パターン読み出し制御部208が備える符号化回路について説明する。この符号化回路は、プッシュダウンオートマトンを利用している。以下、FM0と呼ばれる符号化の例を用いて説明を行う。   Next, an encoding circuit included in the pattern reading control unit 208 will be described. This encoding circuit uses a push-down automaton. Hereinafter, description will be made using an example of encoding called FM0.

図6は、符号化回路の構成を示した構成図である。符号化回路は、入力回路91と、制御回路92と、出力回路93と、状態記憶回路94と、一時記憶回路95と、符号化情報記憶回路96とを備える。   FIG. 6 is a configuration diagram showing the configuration of the encoding circuit. The encoding circuit includes an input circuit 91, a control circuit 92, an output circuit 93, a state storage circuit 94, a temporary storage circuit 95, and an encoded information storage circuit 96.

入力回路91は、符号化を行う情報の入力を受け付けるものである。制御回路92は、符号化を行う回路である。出力回路93は、符号化した情報を出力する回路である。状態記憶回路94は、符号化時における状態を示す情報を記憶する記憶回路である。また、状態記憶回路94は初期状態「S1」を記憶している。一時記憶回路95は、入力回路91が受け付けた情報を一時記憶する回路である。符号化情報記憶回路96は、制御回路92の符号化に関する動作を特定する情報である符号化テーブルを記憶する記憶回路である。符号化情報記憶回路96は、符号化の方式毎にこの符号化テーブルを記憶する。符号化情報記憶回路96が記憶する符号化テーブルを切り替えることで、複数の符号化方式に対応することができる。なお、RFIDリーダライタ1が使用する通信方式で規定された符号化方式に応じて、メインコントローラ12が符号化テーブルの切り替えを制御する。これにより、符号化回路は、RFIDリーダライタ1が使用する通信方式で規定された符号化を行うことができる。   The input circuit 91 receives input of information to be encoded. The control circuit 92 is a circuit that performs encoding. The output circuit 93 is a circuit that outputs encoded information. The state storage circuit 94 is a storage circuit that stores information indicating a state at the time of encoding. Further, the state storage circuit 94 stores an initial state “S1”. The temporary storage circuit 95 is a circuit that temporarily stores information received by the input circuit 91. The encoding information storage circuit 96 is a storage circuit that stores an encoding table that is information for specifying an operation related to encoding of the control circuit 92. The encoding information storage circuit 96 stores this encoding table for each encoding method. By switching the encoding table stored in the encoding information storage circuit 96, a plurality of encoding methods can be supported. Note that the main controller 12 controls switching of the encoding table in accordance with the encoding method defined by the communication method used by the RFID reader / writer 1. Thereby, the encoding circuit can perform the encoding specified by the communication method used by the RFID reader / writer 1.

図7は、状態記憶回路94が記憶する、現在の状態を示す情報(以下、現在の状態と記す)を示した図である。図示する例では、現在の状態は「S1」である。   FIG. 7 is a diagram showing information indicating the current state (hereinafter referred to as the current state) stored in the state storage circuit 94. In the illustrated example, the current state is “S1”.

図8は、一時記憶回路95が記憶する入力値のビット数を定義する確認ビット数テーブルを示した図である。図示する例では、確認ビット数は「1」である。これは、一時記憶回路95は1ビットの入力情報を一時記憶し、一時記憶した1ビットの入力情報を制御回路92が符号化することを示す。   FIG. 8 is a diagram showing a confirmation bit number table that defines the number of bits of the input value stored in the temporary storage circuit 95. In the illustrated example, the number of confirmation bits is “1”. This indicates that the temporary storage circuit 95 temporarily stores 1-bit input information, and the control circuit 92 encodes the temporarily stored 1-bit input information.

図9は、符号化情報記憶回路96が記憶する符号化テーブルを示した図である。符号化テーブルは、状態記憶回路94が記憶する現在の状態と、一時記憶回路95が記憶する入力値と、現在の状態と入力値とに関連付けられた出力値と、遷移先状態とを記憶する。   FIG. 9 is a diagram showing a coding table stored in the coding information storage circuit 96. The encoding table stores the current state stored in the state storage circuit 94, the input value stored in the temporary storage circuit 95, the output value associated with the current state and the input value, and the transition destination state. .

図示する例では、行1601は、現在の状態が「S1」の時に、「0」が入力された場合、出力値として「0,1」を出力し、遷移先状態を「S3」とすることを示している。他の行は図示するとおりである。なお、図示する例は、FM0と呼ばれる符号化を行う際の条件を示している。符号化の条件に応じて符号化情報記憶回路96が記憶する符号化テーブルを切り替えることで、様々な符号化に対応することができる。   In the illustrated example, the line 1601 outputs “0, 1” as an output value when “0” is input when the current state is “S1”, and sets the transition destination state to “S3”. Is shown. The other rows are as shown. Note that the illustrated example shows conditions for performing encoding called FM0. By switching the encoding table stored in the encoding information storage circuit 96 according to the encoding conditions, various encodings can be handled.

なお、状態記憶回路94が記憶する現在の状態と、一時記憶回路95が記憶する入力値とに関連付けられた、出力値と、遷移先状態とが符号化テーブルに記憶されていない場合、入力値はこの符号化回路では想定されていない値である。たとえば、図9に規定されていない現在の状態と入力値との組み合わせは、FM0での符号化では想定されていない入力値と現在の状態との組み合わせである。入力回路91は、想定されていない入力値の入力を受け付けない。   If the output value and the transition destination state associated with the current state stored in the state storage circuit 94 and the input value stored in the temporary storage circuit 95 are not stored in the encoding table, the input value Is a value not assumed in this encoding circuit. For example, the combination of the current state and the input value that is not defined in FIG. 9 is a combination of the input value and the current state that is not assumed in the encoding in FM0. The input circuit 91 does not accept input of unexpected input values.

次に、符号化回路の動作について説明する。具体例として、入力される「0010」という4ビットの値を符号化する例を用いて説明する。はじめに、入力回路91は、「0010」の入力を受け付ける。続いて、制御回路92は、状態記憶回路94が記憶する初期状態の値「S1」を読み出し、状態記憶回路94が記憶する現在の状態を、初期状態の値「S1」に書き換える。   Next, the operation of the encoding circuit will be described. As a specific example, description will be made using an example in which an input 4-bit value “0010” is encoded. First, the input circuit 91 receives an input of “0010”. Subsequently, the control circuit 92 reads the initial state value “S1” stored in the state storage circuit 94 and rewrites the current state stored in the state storage circuit 94 to the initial state value “S1”.

続いて、制御回路92は、入力回路91が受け付けた入力のうち、1ビット目の入力値「0」を読み出し、一時記憶回路95に記憶させる。一時記憶回路95が記憶する確認ビット数テーブルには、確認ビット数「1」と規定されているため、一時記憶回路95が記憶する入力値は1ビットである。一時記憶回路95が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路92は、一時記憶回路95が記憶する入力値「0」を読み出す。続いて、制御回路92は、一時記憶回路95から情報を読み出したため、一時記憶回路95が記憶する情報をすべて消去する。   Subsequently, the control circuit 92 reads the input value “0” of the first bit among the inputs received by the input circuit 91 and stores it in the temporary storage circuit 95. Since the confirmation bit number table stored in the temporary storage circuit 95 defines the number of confirmation bits “1”, the input value stored in the temporary storage circuit 95 is 1 bit. Since the number of bits of information stored in the temporary storage circuit 95 is the same as the number of bits specified in the confirmation bit number table, the control circuit 92 reads the input value “0” stored in the temporary storage circuit 95. . Subsequently, since the control circuit 92 reads information from the temporary storage circuit 95, the control circuit 92 erases all the information stored in the temporary storage circuit 95.

続いて、制御回路92は、状態記憶回路94から現在の状態「S1」を読み出す。続いて、制御回路92は、符号化情報記憶回路96が記憶する符号化テーブルから、現在の状態「S1」と入力値「0」とに関連付けられた出力値「0,1」と、遷移先状態「S3」とを読み出す。   Subsequently, the control circuit 92 reads the current state “S1” from the state storage circuit 94. Subsequently, the control circuit 92 outputs the output value “0, 1” associated with the current state “S1” and the input value “0” from the encoding table stored in the encoding information storage circuit 96, and the transition destination. The state “S3” is read out.

続いて、制御回路92は、出力値「0,1」を出力回路93に入力する。続いて、制御回路92は、状態記憶回路94が記憶する現在の状態を、遷移先状態「S3」に書き換える。   Subsequently, the control circuit 92 inputs the output value “0, 1” to the output circuit 93. Subsequently, the control circuit 92 rewrites the current state stored in the state storage circuit 94 to the transition destination state “S3”.

一時記憶回路95が記憶する情報の処理を終了したため、制御回路92は、入力回路91が受け付けた入力のうち、2ビット目の入力値「0」を読み出し、一時記憶回路95に記憶させる。一時記憶回路95が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路92は、一時記憶回路95が記憶する入力値「0」を読み出す。続いて、制御回路92は、一時記憶回路95から情報を読み出したため、一時記憶回路95が記憶する情報をすべて消去する。   Since the processing of the information stored in the temporary storage circuit 95 is completed, the control circuit 92 reads the input value “0” of the second bit among the inputs received by the input circuit 91 and stores it in the temporary storage circuit 95. Since the number of bits of information stored in the temporary storage circuit 95 is the same as the number of bits specified in the confirmation bit number table, the control circuit 92 reads the input value “0” stored in the temporary storage circuit 95. . Subsequently, since the control circuit 92 reads information from the temporary storage circuit 95, the control circuit 92 erases all the information stored in the temporary storage circuit 95.

続いて、制御回路92は、状態記憶回路94から現在の状態「S3」を読み出す。続いて、制御回路92は、符号化情報記憶回路96が記憶する符号化テーブルから、現在の状態「S3」と入力値「0」とに関連付けられた出力値「0,1」と、遷移先状態「S3」とを読み出す。   Subsequently, the control circuit 92 reads the current state “S3” from the state storage circuit 94. Subsequently, the control circuit 92 outputs the output value “0, 1” associated with the current state “S3” and the input value “0” from the encoding table stored in the encoding information storage circuit 96, and the transition destination. The state “S3” is read out.

続いて、制御回路92は、出力値「0,1」を出力回路93に入力する。続いて、制御回路92は、状態記憶回路94が記憶する現在の状態を、遷移先状態「S3」に書き換える。   Subsequently, the control circuit 92 inputs the output value “0, 1” to the output circuit 93. Subsequently, the control circuit 92 rewrites the current state stored in the state storage circuit 94 to the transition destination state “S3”.

一時記憶回路95が記憶する情報の処理を終了したため、制御回路92は、入力回路91が受け付けた入力のうち、3ビット目の入力値「1」を読み出し、一時記憶回路95に記憶させる。一時記憶回路95が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路92は、一時記憶回路95が記憶する入力値「1」を読み出す。続いて、制御回路92は、一時記憶回路95から情報を読み出したため、一時記憶回路95が記憶する情報をすべて消去する。   Since the processing of the information stored in the temporary storage circuit 95 is completed, the control circuit 92 reads the input value “1” of the third bit among the inputs received by the input circuit 91 and stores the input value “1” in the temporary storage circuit 95. Since the number of bits of information stored in temporary storage circuit 95 is the same as the number of bits specified in the confirmation bit number table, control circuit 92 reads input value “1” stored in temporary storage circuit 95. . Subsequently, since the control circuit 92 reads information from the temporary storage circuit 95, the control circuit 92 erases all the information stored in the temporary storage circuit 95.

続いて、制御回路92は、状態記憶回路94から現在の状態「S3」を読み出す。続いて、制御回路92は、符号化情報記憶回路96が記憶する符号化テーブルから、現在の状態「S3」と入力値「1」とに関連付けられた出力値「0,0」と、遷移先状態「S4」とを読み出す。   Subsequently, the control circuit 92 reads the current state “S3” from the state storage circuit 94. Subsequently, the control circuit 92 outputs the output value “0, 0” associated with the current state “S3” and the input value “1” from the encoding table stored in the encoding information storage circuit 96, and the transition destination. The state “S4” is read out.

続いて、制御回路92は、出力値「0,0」を出力回路93に入力する。続いて、制御回路92は、状態記憶回路94が記憶する現在の状態を、遷移先状態「S4」に書き換える。   Subsequently, the control circuit 92 inputs the output value “0, 0” to the output circuit 93. Subsequently, the control circuit 92 rewrites the current state stored in the state storage circuit 94 to the transition destination state “S4”.

一時記憶回路95が記憶する情報の処理を終了したため、制御回路92は、入力回路91が受け付けた入力のうち、4ビット目の入力値「0」を読み出し、一時記憶回路95に記憶させる。一時記憶回路95が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路92は、一時記憶回路95が記憶する入力値「0」を読み出す。続いて、制御回路92は、一時記憶回路95から情報を読み出したため、一時記憶回路95が記憶する情報をすべて消去する。   Since the processing of the information stored in the temporary storage circuit 95 is completed, the control circuit 92 reads the input value “0” of the fourth bit among the inputs received by the input circuit 91 and stores it in the temporary storage circuit 95. Since the number of bits of information stored in the temporary storage circuit 95 is the same as the number of bits specified in the confirmation bit number table, the control circuit 92 reads the input value “0” stored in the temporary storage circuit 95. . Subsequently, since the control circuit 92 reads information from the temporary storage circuit 95, the control circuit 92 erases all the information stored in the temporary storage circuit 95.

続いて、制御回路92は、状態記憶回路94から現在の状態「S4」を読み出す。続いて、制御回路92は、符号化情報記憶回路96が記憶する符号化テーブルから、現在の状態「S4」と入力値「0」とに関連付けられた出力値「1,0」と、遷移先状態「S2」とを読み出す。   Subsequently, the control circuit 92 reads the current state “S4” from the state storage circuit 94. Subsequently, the control circuit 92 outputs the output value “1, 0” associated with the current state “S4” and the input value “0” from the encoding table stored in the encoding information storage circuit 96, and the transition destination. The state “S2” is read out.

続いて、制御回路92は、出力値「1,0」を出力回路93に入力する。続いて、制御回路92は、状態記憶回路94が記憶する現在の状態を、遷移先状態「S2」に書き換える。   Subsequently, the control circuit 92 inputs the output value “1, 0” to the output circuit 93. Subsequently, the control circuit 92 rewrites the current state stored in the state storage circuit 94 to the transition destination state “S2”.

一時記憶回路95が記憶する情報の処理を終了し、入力回路91が受け付けた全ての入力値の処理を終了したため、制御回路92は、出力回路93に出力値「01010010」を出力させる。その後、処理を終了する。上述したとおり、符号化回路は、入力値「0010」を復号化した値「01010010」を出力することができる。   Since the processing of the information stored in the temporary storage circuit 95 is finished and the processing of all the input values received by the input circuit 91 is finished, the control circuit 92 causes the output circuit 93 to output the output value “010100010”. Thereafter, the process ends. As described above, the encoding circuit can output a value “0101010010” obtained by decoding the input value “0010”.

次に、コード変換部310が備える復号化回路について説明する。以下、FM0と呼ばれる符号化で符号化されたデータを復号化する例を用いて説明を行う。   Next, a decoding circuit included in the code conversion unit 310 will be described. Hereinafter, description will be made using an example in which data encoded by encoding called FM0 is decoded.

図10は、復号化回路の構成を示した構成図である。符号化回路は、入力回路131と、制御回路132と、出力回路133と、状態記憶回路134と、一時記憶回路135と、復号化情報記憶回路136とを備える。   FIG. 10 is a configuration diagram showing the configuration of the decoding circuit. The encoding circuit includes an input circuit 131, a control circuit 132, an output circuit 133, a state storage circuit 134, a temporary storage circuit 135, and a decoded information storage circuit 136.

入力回路131は、復号化を行う情報の入力を受け付けるものである。制御回路132は、復号化を行う回路である。出力回路133は、復号化した情報を出力する回路である。状態記憶回路134は、復号化時における状態を記憶する記憶回路である。また、状態記憶回路134は初期状態「S1」を記憶している。一時記憶回路135は、入力回路が受け付けた情報を一時記憶する回路である。復号化情報記憶回路136は、制御回路132の復号化に関する動作を特定する情報である復号化テーブルを記憶する記憶回路である。復号化情報記憶回路136は、復号化の方式毎にこの復号化テーブルを記憶する。復号化情報記憶回路136が記憶する復号化テーブルを切り替えることで、複数の復号化方式に対応することができる。なお、RFIDリーダライタ1が使用する通信方式で規定された復号化方式に応じて、メインコントローラ12が復号化テーブルの切り替えを制御する。これにより、復号化回路は、RFIDリーダライタ1が使用する通信方式で規定された復号化を行うことができる。   The input circuit 131 receives input of information for decoding. The control circuit 132 is a circuit that performs decoding. The output circuit 133 is a circuit that outputs the decrypted information. The state storage circuit 134 is a storage circuit that stores a state at the time of decoding. Further, the state storage circuit 134 stores an initial state “S1”. The temporary storage circuit 135 is a circuit that temporarily stores information received by the input circuit. The decryption information storage circuit 136 is a storage circuit that stores a decryption table that is information for specifying an operation related to decryption by the control circuit 132. The decryption information storage circuit 136 stores this decryption table for each decryption method. By switching the decoding table stored in the decoding information storage circuit 136, a plurality of decoding methods can be supported. Note that the main controller 12 controls switching of the decoding table in accordance with the decoding method defined by the communication method used by the RFID reader / writer 1. Thereby, the decryption circuit can perform decryption defined by the communication method used by the RFID reader / writer 1.

図11は、状態記憶回路134が記憶する、現在の状態を示した図である。図示する例では、現在の状態は「S1」である。   FIG. 11 is a diagram showing the current state stored in the state storage circuit 134. In the illustrated example, the current state is “S1”.

図12は、一時記憶回路135が記憶する入力値のビット数を定義する確認ビット数テーブルを示した図である。図示する例では、確認ビット数は「2」である。これは、一時記憶回路135は2ビットの入力情報を一時記憶し、一時記憶した2ビットの入力情報を制御回路132が復号化することを示す。   FIG. 12 is a diagram showing a confirmation bit number table that defines the number of bits of the input value stored in the temporary storage circuit 135. In the illustrated example, the number of confirmation bits is “2”. This indicates that the temporary storage circuit 135 temporarily stores 2-bit input information, and the control circuit 132 decodes the temporarily stored 2-bit input information.

図13は、復号化情報記憶回路136が記憶する復号化テーブルを示した図である。復号化テーブルは、状態記憶回路134が記憶する現在の状態と、一時記憶回路135が記憶する入力値と、現在の状態と入力値とに関連付けられた出力値と、遷移先状態とを記憶する。   FIG. 13 is a diagram showing a decoding table stored in the decoding information storage circuit 136. The decoding table stores the current state stored in the state storage circuit 134, the input value stored in the temporary storage circuit 135, the output value associated with the current state and the input value, and the transition destination state. .

図示する例では、行1201は、現在の状態が「S1」の時に、「0,1」が入力された場合、出力値として「0」を出力し、遷移先状態を「S3」とすることを示している。他の行は図示するとおりである。なお、図示する例は、図9に示したFM0と呼ばれる符号化を行った情報を復号化する際の条件を示している。符号化の際と同様に、復号化の条件に応じて復号化情報記憶回路136が記憶する復号化テーブルを切り替えることで、様々な復号化に対応することができる。   In the illustrated example, the row 1201 outputs “0” as an output value when “0, 1” is input when the current state is “S1”, and sets the transition destination state to “S3”. Is shown. The other rows are as shown. Note that the illustrated example shows the conditions for decoding the encoded information called FM0 shown in FIG. As in the case of encoding, various types of decoding can be handled by switching the decoding table stored in the decoding information storage circuit 136 according to the decoding conditions.

なお、状態記憶回路134が記憶する現在の状態と、一時記憶回路135が記憶する入力値とに関連付けられた、出力値と、遷移先状態とが復号化テーブルに記憶されていない場合、入力値はこの復号化回路では想定されていない値である。たとえば、図9に規定されていない現在の状態と入力値との組み合わせは、FM0での復号化では想定されていない入力値と現在の状態との組み合わせである。入力回路131は、想定されていない入力値を受け付けない。   If the output value and the transition destination state associated with the current state stored in the state storage circuit 134 and the input value stored in the temporary storage circuit 135 are not stored in the decoding table, the input value Is a value not assumed in this decoding circuit. For example, the combination of the current state and the input value that is not defined in FIG. 9 is a combination of the input value and the current state that is not assumed in the decoding by FM0. The input circuit 131 does not accept an unexpected input value.

次に、復号化回路の動作について説明する。具体例として、FM0で符号化された「01010010」という8ビットの入力データを復号化する例を用いて説明する。はじめに、入力回路131は、「01010010」の入力を受け付ける。続いて、制御回路132は、状態記憶回路134が記憶する初期状態の値「S1」を読み出し、状態記憶回路134が記憶する現在の状態を、初期状態の値「S1」に書き換える。   Next, the operation of the decoding circuit will be described. As a specific example, description will be made using an example of decoding 8-bit input data “010100010” encoded by FM0. First, the input circuit 131 receives an input of “010100010”. Subsequently, the control circuit 132 reads the initial state value “S1” stored in the state storage circuit 134 and rewrites the current state stored in the state storage circuit 134 to the initial state value “S1”.

続いて、制御回路132は、入力回路131が受け付けた入力のうち、1ビット目の入力値「0」を読み出し、一時記憶回路135に記憶させる。一時記憶回路135が記憶する確認ビット数テーブルには、確認ビット数「2」であり、一時記憶回路135が記憶する入力値は1ビットであるため、制御回路132は、入力回路131から2ビット目の入力を読み出す。制御回路132は、読み出した2ビット目の入力値「1」を一時記憶回路135に記憶させる。   Subsequently, the control circuit 132 reads the input value “0” of the first bit among the inputs received by the input circuit 131, and stores it in the temporary storage circuit 135. In the confirmation bit number table stored in the temporary storage circuit 135, the number of confirmation bits is “2”, and the input value stored in the temporary storage circuit 135 is 1 bit. Read eye input. The control circuit 132 stores the read second bit input value “1” in the temporary storage circuit 135.

一時記憶回路135が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路132は、一時記憶回路135が記憶する入力値「0,1」を読み出す。続いて、制御回路132は、一時記憶回路135から情報を読み出したため、一時記憶回路135が記憶する情報をすべて消去する。   Since the number of bits of information stored in the temporary storage circuit 135 is the same as the number of bits specified in the confirmation bit number table, the control circuit 132 inputs the input values “0, 1” stored in the temporary storage circuit 135. Is read. Subsequently, since the control circuit 132 reads the information from the temporary storage circuit 135, the control circuit 132 erases all the information stored in the temporary storage circuit 135.

続いて、制御回路132は、状態記憶回路134から現在の状態「S1」を読み出す。続いて、制御回路132は、復号化情報記憶回路136が記憶する復号化テーブルから、現在の状態「S1」と入力値「0,1」とに関連付けられた出力値「0」と、遷移先状態「S3」とを読み出す。   Subsequently, the control circuit 132 reads the current state “S1” from the state storage circuit 134. Subsequently, the control circuit 132, from the decryption table stored in the decryption information storage circuit 136, the output value “0” associated with the current state “S1” and the input values “0, 1”, and the transition destination The state “S3” is read out.

続いて、制御回路132は、出力値「0」を出力回路133に入力する。続いて、制御回路132は、状態記憶回路134が記憶する現在の状態を、遷移先状態「S3」に書き換える。   Subsequently, the control circuit 132 inputs the output value “0” to the output circuit 133. Subsequently, the control circuit 132 rewrites the current state stored in the state storage circuit 134 to the transition destination state “S3”.

一時記憶回路135が記憶する情報の処理を終了したため、制御回路132は、入力回路131が受け付けた入力のうち、3ビット目の入力値「0」を読み出し、一時記憶回路135に記憶させる。一時記憶回路135が記憶する確認ビット数テーブルには、確認ビット数「2」であり、一時記憶回路135が記憶する入力値は1ビットであるため、制御回路132は、入力回路131から4ビット目の入力を読み出す。制御回路132は、読み出した4ビット目の入力値「1」を一時記憶回路135に記憶させる。   Since the processing of the information stored in the temporary storage circuit 135 is finished, the control circuit 132 reads the input value “0” of the third bit among the inputs received by the input circuit 131 and stores it in the temporary storage circuit 135. In the confirmation bit number table stored in the temporary storage circuit 135, the number of confirmation bits is “2”, and the input value stored in the temporary storage circuit 135 is 1 bit. Therefore, the control circuit 132 receives 4 bits from the input circuit 131. Read eye input. The control circuit 132 stores the read input value “1” of the fourth bit in the temporary storage circuit 135.

一時記憶回路135が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路132は、一時記憶回路135が記憶する入力値「0,1」を読み出す。続いて、制御回路132は、一時記憶回路135から情報を読み出したため、一時記憶回路135が記憶する情報をすべて消去する。   Since the number of bits of information stored in the temporary storage circuit 135 is the same as the number of bits specified in the confirmation bit number table, the control circuit 132 inputs the input values “0, 1” stored in the temporary storage circuit 135. Is read. Subsequently, since the control circuit 132 reads the information from the temporary storage circuit 135, the control circuit 132 erases all the information stored in the temporary storage circuit 135.

続いて、制御回路132は、状態記憶回路134から現在の状態「S3」を読み出す。続いて、制御回路132は、復号化情報記憶回路136が記憶する復号化テーブルから、現在の状態「S3」と入力値「0,1」とに関連付けられた出力値「0」と、遷移先状態「S3」とを読み出す。   Subsequently, the control circuit 132 reads the current state “S3” from the state storage circuit 134. Subsequently, the control circuit 132, from the decryption table stored in the decryption information storage circuit 136, the output value “0” associated with the current state “S3” and the input values “0, 1”, and the transition destination The state “S3” is read out.

続いて、制御回路132は、出力値「0」を出力回路133に入力する。続いて、制御回路132は、状態記憶回路134が記憶する現在の状態を、遷移先状態「S3」に書き換える。   Subsequently, the control circuit 132 inputs the output value “0” to the output circuit 133. Subsequently, the control circuit 132 rewrites the current state stored in the state storage circuit 134 to the transition destination state “S3”.

一時記憶回路135が記憶する情報の処理を終了したため、制御回路132は、入力回路131が受け付けた入力のうち、5ビット目の入力値「0」を読み出し、一時記憶回路135に記憶させる。一時記憶回路135が記憶する確認ビット数テーブルには、確認ビット数「2」であり、一時記憶回路135が記憶する入力値は1ビットであるため、制御回路132は、入力回路131から6ビット目の入力を読み出す。制御回路132は、読み出した6ビット目の入力値「0」を一時記憶回路135に記憶させる。   Since the processing of the information stored in the temporary storage circuit 135 is completed, the control circuit 132 reads the input value “0” of the fifth bit among the inputs received by the input circuit 131 and stores it in the temporary storage circuit 135. In the confirmation bit number table stored in the temporary storage circuit 135, the number of confirmation bits is “2”, and the input value stored in the temporary storage circuit 135 is 1 bit. Therefore, the control circuit 132 receives 6 bits from the input circuit 131. Read eye input. The control circuit 132 stores the read sixth-bit input value “0” in the temporary storage circuit 135.

一時記憶回路135が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路132は、一時記憶回路135が記憶する入力値「0,0」を読み出す。続いて、制御回路132は、一時記憶回路135から情報を読み出したため、一時記憶回路135が記憶する情報をすべて消去する。   Since the number of bits of information stored in the temporary storage circuit 135 is the same as the number of bits specified in the confirmation bit number table, the control circuit 132 inputs the input value “0, 0” stored in the temporary storage circuit 135. Is read. Subsequently, since the control circuit 132 reads the information from the temporary storage circuit 135, the control circuit 132 erases all the information stored in the temporary storage circuit 135.

続いて、制御回路132は、状態記憶回路134から現在の状態「S3」を読み出す。続いて、制御回路132は、復号化情報記憶回路136が記憶する復号化テーブルから、現在の状態「S3」と入力値「0,0」とに関連付けられた出力値「1」と、遷移先状態「S4」とを読み出す。   Subsequently, the control circuit 132 reads the current state “S3” from the state storage circuit 134. Subsequently, the control circuit 132, from the decoding table stored in the decoding information storage circuit 136, the output value “1” associated with the current state “S3” and the input value “0, 0”, and the transition destination The state “S4” is read out.

続いて、制御回路132は、出力値「1」を出力回路133に入力する。続いて、制御回路132は、状態記憶回路134が記憶する現在の状態を、遷移先状態「S4」に書き換える。   Subsequently, the control circuit 132 inputs the output value “1” to the output circuit 133. Subsequently, the control circuit 132 rewrites the current state stored in the state storage circuit 134 to the transition destination state “S4”.

一時記憶回路135が記憶する情報の処理を終了したため、制御回路132は、入力回路131が受け付けた入力のうち、7ビット目の入力値「1」を読み出し、一時記憶回路135に記憶させる。一時記憶回路135が記憶する確認ビット数テーブルには、確認ビット数「2」であり、一時記憶回路135が記憶する入力値は1ビットであるため、制御回路132は、入力回路131から8ビット目の入力を読み出す。制御回路132は、読み出した6ビット目の入力値「0」を一時記憶回路135に記憶させる。   Since the processing of the information stored in the temporary storage circuit 135 is completed, the control circuit 132 reads the input value “1” of the seventh bit among the inputs received by the input circuit 131 and stores it in the temporary storage circuit 135. In the confirmation bit number table stored in the temporary storage circuit 135, the number of confirmation bits is “2”, and the input value stored in the temporary storage circuit 135 is 1 bit. Therefore, the control circuit 132 receives 8 bits from the input circuit 131. Read eye input. The control circuit 132 stores the read sixth-bit input value “0” in the temporary storage circuit 135.

一時記憶回路135が記憶する情報のビット数と、確認ビット数テーブルで規定されているビット数とが同一であるため、制御回路132は、一時記憶回路135が記憶する入力値「1,0」を読み出す。続いて、制御回路132は、一時記憶回路135から情報を読み出したため、一時記憶回路135が記憶する情報をすべて消去する。   Since the number of bits of information stored in the temporary storage circuit 135 is the same as the number of bits specified in the confirmation bit number table, the control circuit 132 inputs the input value “1, 0” stored in the temporary storage circuit 135. Is read. Subsequently, since the control circuit 132 reads the information from the temporary storage circuit 135, the control circuit 132 erases all the information stored in the temporary storage circuit 135.

続いて、制御回路132は、状態記憶回路134から現在の状態「S4」を読み出す。続いて、制御回路132は、復号化情報記憶回路136が記憶する復号化テーブルから、現在の状態「S4」と入力値「1,0」とに関連付けられた出力値「0」と、遷移先状態「S2」とを読み出す。   Subsequently, the control circuit 132 reads the current state “S4” from the state storage circuit 134. Subsequently, the control circuit 132, from the decryption table stored in the decryption information storage circuit 136, the output value “0” associated with the current state “S4” and the input value “1, 0”, and the transition destination The state “S2” is read out.

続いて、制御回路132は、出力値「0」を出力回路133に入力する。続いて、制御回路132は、状態記憶回路134が記憶する現在の状態を、遷移先状態「S2」に書き換える。   Subsequently, the control circuit 132 inputs the output value “0” to the output circuit 133. Subsequently, the control circuit 132 rewrites the current state stored in the state storage circuit 134 to the transition destination state “S2”.

一時記憶回路135が記憶する情報の処理を終了し、入力回路131が受け付けた全ての入力値の処理を終了したため、制御回路132は、出力回路133に出力値「0010」を出力させる。その後、処理を終了する。上述したとおり、復号化回路は、FM0で符号化された入力値「01010010」を復号化した値「0010」を出力することができる。   Since the processing of the information stored in the temporary storage circuit 135 is finished and the processing of all input values received by the input circuit 131 is finished, the control circuit 132 causes the output circuit 133 to output the output value “0010”. Thereafter, the process ends. As described above, the decoding circuit can output the value “0010” obtained by decoding the input value “010100010” encoded by FM0.

次に、RFIDリーダライタの動作を図14から図16までを参照して説明する。図14は、図1のRFIDリーダライタでRFIDタグと通信する際の手順を示したフローチャートである。なお、本実施形態において、RFIDタグへのデータ送信時に必要となる処理のうち、プロトコル処理はソフトウェアで行い、エンコードの処理、CRC生成やパリティ生成、変調処理はハードウェアで行う。   Next, the operation of the RFID reader / writer will be described with reference to FIGS. FIG. 14 is a flowchart showing a procedure when the RFID reader / writer of FIG. 1 communicates with the RFID tag. Note that, in the present embodiment, among the processes required when transmitting data to the RFID tag, protocol processing is performed by software, and encoding processing, CRC generation, parity generation, and modulation processing are performed by hardware.

RFIDリーダライタ1がRFIDタグと通信を行う場合は、初めにメインコントローラ12がRFIDの通信規格を一つ選択する。続いて、メインコントローラ12は、選択したRFIDの通信規格の種類を示す情報を、RF回路制御ブロック13と、送信制御ブロック20内のコントローラ201と、受信制御ブロック30内の受信シーケンス制御部301とに入力する。   When the RFID reader / writer 1 communicates with an RFID tag, the main controller 12 first selects one RFID communication standard. Subsequently, the main controller 12 sends information indicating the type of the selected RFID communication standard to the RF circuit control block 13, the controller 201 in the transmission control block 20, and the reception sequence control unit 301 in the reception control block 30. To enter.

メインコントローラ12からRFIDの通信規格の種類を示す情報が入力されると、送信制御ブロック20内のコントローラ201は、送信データ読み出し制御部202とパターン読み出し制御部208とに通信規格の種類を示す情報を入力する。   When information indicating the type of RFID communication standard is input from the main controller 12, the controller 201 in the transmission control block 20 transmits information indicating the type of communication standard to the transmission data read control unit 202 and the pattern read control unit 208. Enter.

本実施形態では、全てのRFIDの通信規格に共通の基本送信フレームとして図15に示したフレームを使用する。基本送信フレームは、SOFと、SYNCと、DATAと、CRCと、EOFとの順に並んでいる。SOFは、基本送信フレームの開始を示すパターンである。SYNCは、後にデータが続くことを示すパターンである。DATAは、ユーザデータである。CRCは、DATAに後続し、CRC生成部204が生成したCRC値である。EOFは、フレームの終了を示すパターンである。   In this embodiment, the frame shown in FIG. 15 is used as a basic transmission frame common to all RFID communication standards. The basic transmission frames are arranged in the order of SOF, SYNC, DATA, CRC, and EOF. The SOF is a pattern indicating the start of a basic transmission frame. SYNC is a pattern indicating that data will follow later. DATA is user data. The CRC is a CRC value generated by the CRC generation unit 204 following DATA. EOF is a pattern indicating the end of a frame.

RFIDの通信規格によっては、SYNCやCRCを使用しないものがある。送信データ読み出し制御部202は、使用しないデータをパターン読み出し制御部208に入力しない。これにより、本実施形態のRFIDリーダライタ1はSYNCやCRCを使用しないRFIDの通信規格の通信規格にも対応することができる。   Some RFID communication standards do not use SYNC or CRC. The transmission data read control unit 202 does not input unused data to the pattern read control unit 208. As a result, the RFID reader / writer 1 of the present embodiment can also cope with the communication standard of the RFID communication standard that does not use SYNC or CRC.

続いて、送信制御ブロック20内の送信データ読み出し制御部202は、送信データバッファ203が記憶する送信データを読み出す。続いて、送信データ読み出し制御部202は、通信規格で定められた順序にしたがって読み出した送信データを順次パターン読み出し制御部208に出力する。このとき、送信データ読み出し制御部202は、使用するRFIDの通信規格に応じて、送信データからCRC生成およびまたはパリティ生成を行い、パターン読み出し制御部208に出力する。   Subsequently, the transmission data read control unit 202 in the transmission control block 20 reads transmission data stored in the transmission data buffer 203. Subsequently, the transmission data read control unit 202 sequentially outputs the transmission data read according to the order determined by the communication standard to the pattern read control unit 208. At this time, the transmission data read control unit 202 performs CRC generation and / or parity generation from the transmission data according to the RFID communication standard to be used, and outputs the CRC to the pattern read control unit 208.

例えば、CRCとパリティの両方を使用する通信規格のRFIDタグと通信する場合、送信データ読み出し制御部202は、CRC生成部204の出力をセレクタ205が出力するようにセレクタ205を制御し、かつパリティ生成部206の出力をセレクタ207が出力するようにセレクタ207を制御し、これらの出力をパターン読み出し制御部208に入力する。このとき、送信データ読み出し制御部202が送信データバッファ203から読み出した送信データには、CRC生成部204でCRC値が付加され、さらにパリティ生成部206でパリティ情報が付加される。   For example, when communicating with an RFID tag of a communication standard that uses both CRC and parity, the transmission data read control unit 202 controls the selector 205 so that the selector 205 outputs the output of the CRC generation unit 204, and the parity The selector 207 is controlled so that the output of the generation unit 206 is output by the selector 207, and these outputs are input to the pattern reading control unit 208. At this time, the CRC value is added by the CRC generation unit 204 and the parity information is further added by the parity generation unit 206 to the transmission data read from the transmission data buffer 203 by the transmission data read control unit 202.

一方、パリティのみを使用する通信規格のRFIDタグと通信する場合、送信データ読み出し制御部202は、CRC生成部204の出力をセレクタ205が出力しないようにセレクタ205を制御し、かつ、パリティ生成部206の出力をセレクタ207が出力するようにセレクタ207を制御し、これらの出力をパターン読み出し制御部208に入力する。このとき、送信データ読み出し制御部202が送信データバッファ203から読み出した送信データには、パリティ生成部206でパリティ情報が付加される。   On the other hand, when communicating with an RFID tag of a communication standard that uses only parity, the transmission data read control unit 202 controls the selector 205 so that the selector 205 does not output the output of the CRC generation unit 204, and the parity generation unit The selector 207 is controlled so that the output of 206 is output by the selector 207, and these outputs are input to the pattern reading control unit 208. At this time, parity information is added by the parity generation unit 206 to the transmission data read from the transmission data buffer 203 by the transmission data read control unit 202.

パターン読み出し制御部208は、符号化回路を用いて、入力された送信データを符号化する。このとき、メインコントローラ12は、符号化情報記憶回路96が記憶する符号化テーブルを、メインコントローラ12が選択した通信方式で規定された符号化方式に対応する符号化テーブルに切り替える。これにより、符号化回路は、RFIDリーダライタ1が使用する通信方式で規定された符号化を行うことができる。   The pattern readout control unit 208 encodes input transmission data using an encoding circuit. At this time, the main controller 12 switches the encoding table stored in the encoding information storage circuit 96 to an encoding table corresponding to the encoding method defined by the communication method selected by the main controller 12. Thereby, the encoding circuit can perform the encoding specified by the communication method used by the RFID reader / writer 1.

続いて、パターン読み出し制御部208は、符号化した送信データをパターン生成部210へ出力すると共に、RFIDの通信規格に対応した波形パターンをパターン生成部210に出力するようにパターンバッファ209へ指示する。   Subsequently, the pattern reading control unit 208 outputs the encoded transmission data to the pattern generation unit 210 and instructs the pattern buffer 209 to output a waveform pattern corresponding to the RFID communication standard to the pattern generation unit 210. .

パターン生成部210は、パターンバッファ209から入力した波形パターンに基づいて、パターン読み出し制御部208から入力された、符号化した送信データのエンコードを行い、送信データパターンを生成する。   The pattern generation unit 210 encodes the encoded transmission data input from the pattern read control unit 208 based on the waveform pattern input from the pattern buffer 209 to generate a transmission data pattern.

エンコードの処理では、2値の論理で表された送信データの図15のDATAに関しては、そのビットパターンの順序にしたがって、論理“0”に対応する波形パターンまたは論理“1”に対応する波形パターンを順次出力することで行う。図15に示したSOFやSYNC、EOFに関しては、通信規格で波形パターンが規定されているため、その波形パターンをパターンバッファ209で保持する。そして、パターン生成部210でのエンコード時にSOFやSYNC、EOFに対応する波形パターンをパターンバッファ209からパターン生成部210へと出力する。   In the encoding process, regarding the DATA of FIG. 15 of the transmission data expressed in binary logic, a waveform pattern corresponding to logic “0” or a waveform pattern corresponding to logic “1” according to the order of the bit pattern. Are output in sequence. Regarding the SOF, SYNC, and EOF shown in FIG. 15, since the waveform pattern is defined by the communication standard, the waveform pattern is held in the pattern buffer 209. Then, a waveform pattern corresponding to SOF, SYNC, or EOF is output from the pattern buffer 209 to the pattern generation unit 210 during encoding by the pattern generation unit 210.

このように、本実施形態では、通信規格ごとに定められた波形パターンをパターンバッファ209に保存し、エンコード時にパターンバッファ209から取り出して使用する方式である。そのため、波形パターンの異なる新たな通信方式に対応する場合は、その通信方式で使用される波形パターンをパターンバッファ209に追加すればよく、新しい通信方式に対して柔軟に対応できる。   As described above, in the present embodiment, a waveform pattern determined for each communication standard is stored in the pattern buffer 209, and is extracted from the pattern buffer 209 for use during encoding. Therefore, when a new communication method with a different waveform pattern is supported, a waveform pattern used in the communication method may be added to the pattern buffer 209, and the new communication method can be flexibly supported.

メインコントローラ12が選択したRFIDの通信規格の種類を示す情報が、メインコントローラ12からRF回路制御ブロック13に入力されると、RF回路制御ブロック13は、その通信規格に対応したRF回路(以下では、RF回路40aとして説明する。)のキャリアをオンにする。また、RF回路制御ブロック13は、通信規格に定められた変調度となるように、RF回路40a内の変調回路402の変調度を電子ボリュームで調整する。   When information indicating the type of RFID communication standard selected by the main controller 12 is input from the main controller 12 to the RF circuit control block 13, the RF circuit control block 13 reads the RF circuit corresponding to the communication standard (in the following, , Described as an RF circuit 40a). Further, the RF circuit control block 13 adjusts the modulation degree of the modulation circuit 402 in the RF circuit 40a with the electronic volume so that the modulation degree defined in the communication standard is obtained.

本実施形態では、変調回路402の変調度の調整が可能であるため、キャリアの周波数帯が同じで変調度が異なる通信規格に対しては、同じRF回路40aを用いることが可能である。そのため、RFIDの通信規格ごとにRF回路を備える従来のRFIDリーダライタと比較して、回路規模を小さくすることが可能である。   In this embodiment, since the modulation degree of the modulation circuit 402 can be adjusted, the same RF circuit 40a can be used for communication standards having the same carrier frequency band and different modulation degrees. Therefore, the circuit scale can be reduced as compared with a conventional RFID reader / writer provided with an RF circuit for each RFID communication standard.

図2のパターン生成部210は、生成した送信データパターンを、使用するRFIDの通信規格に対応したRF回路40aの変調回路402に入力する。変調回路402は、発振回路401で生成されたキャリアを、入力された送信データパターンで変調を行う。変調後の送信信号(以下、コマンドと呼ぶ)は、アンテナ駆動回路403を介してアンテナ404からRFIDタグへ送信される(ステップS601)。   The pattern generation unit 210 in FIG. 2 inputs the generated transmission data pattern to the modulation circuit 402 of the RF circuit 40a corresponding to the RFID communication standard to be used. The modulation circuit 402 modulates the carrier generated by the oscillation circuit 401 with the input transmission data pattern. The modulated transmission signal (hereinafter referred to as a command) is transmitted from the antenna 404 to the RFID tag via the antenna driving circuit 403 (step S601).

アンテナ404がRFIDタグにコマンドを送信した後、メインコントローラ12は当該コマンドに対する応答(レスポンス)をRFIDタグから受信したかどうかを確認する(ステップS602)。RFIDタグの通信規格とRFIDリーダライタでコマンドを送信する際に使用した通信規格とが異なっている場合、RFIDタグは当該コマンドに対して応答することができない。   After the antenna 404 transmits a command to the RFID tag, the main controller 12 checks whether or not a response to the command is received from the RFID tag (step S602). When the communication standard of the RFID tag is different from the communication standard used when the command is transmitted by the RFID reader / writer, the RFID tag cannot respond to the command.

RFIDタグの通信規格とRFIDリーダライタでコマンドを送信する際に使用した通信規格とが異なっている場合、コマンド送信後一定時間(RFIDの通信規格で定められた時間)経過してもレスポンスを受信することができない(ステップS602:No)。レスポンスを受信することができない場合、メインコントローラ12は当該通信規格に対応したRFIDタグは、RFIDリーダライタ1の通信周囲には存在しないと判断する(ステップS603)。   If the RFID tag communication standard is different from the communication standard used when sending a command with the RFID reader / writer, a response is received even if a certain time (time determined by the RFID communication standard) elapses after the command is sent. Cannot be performed (step S602: No). When the response cannot be received, the main controller 12 determines that the RFID tag corresponding to the communication standard does not exist around the communication of the RFID reader / writer 1 (step S603).

次に、メインコントローラ12は、RFIDリーダライタ1が対応している全ての通信規格のコマンドを送信したか否かを判断する。RFIDリーダライタ1が対応している全ての通信規格のコマンドを送信していないと判断した場合は(ステップS605:No)、ステップS601に戻って別の通信規格のコマンド送信処理を行う。すべての通信規格のコマンドを送信したと判断した場合、処理を終了する   Next, the main controller 12 determines whether or not all communication standard commands supported by the RFID reader / writer 1 have been transmitted. If it is determined that the commands of all communication standards supported by the RFID reader / writer 1 have not been transmitted (step S605: No), the process returns to step S601 to perform a command transmission process of another communication standard. When it is determined that all communication standard commands have been transmitted, the process ends.

一方、メインコントローラ12が、コマンド送信後の一定時間内にRFIDタグからのレスポンスを受信したと判断した場合には(ステップS602:Yes)、メインコントローラ12はRFIDタグを認識する(ステップS604)。   On the other hand, when the main controller 12 determines that the response from the RFID tag has been received within a certain time after the command transmission (step S602: Yes), the main controller 12 recognizes the RFID tag (step S604).

このように、本実施形態では、RFIDリーダライタ1が対応している全ての通信規格のコマンドを自動的に順次送信し、RFIDタグからの応答を受信したか否かを判断し、その判断結果でRFIDタグの通信規格を判定する。したがって、ユーザが、RFIDリーダライタ1が通信可能なRFIDタグを、RFIDリーダライタ1の通信可能範囲内に接近させると、RFIDリーダライタ1は、自動的にRFIDタグの通信規格を認識し、認識した通信規格を用いてRFIDタグと通信を行う。   As described above, in the present embodiment, all communication standard commands supported by the RFID reader / writer 1 are automatically and sequentially transmitted to determine whether or not a response from the RFID tag is received, and the determination result. To determine the communication standard of the RFID tag. Therefore, when a user brings an RFID tag that can be communicated with the RFID reader / writer 1 within the communicable range of the RFID reader / writer 1, the RFID reader / writer 1 automatically recognizes and recognizes the communication standard of the RFID tag. Communication with the RFID tag is performed using the communication standard.

以下では、RFIDタグからのレスポンスを受信した後の処理について説明する。なお、後述する受信処理で行われるコード検出、コード変換、CRCチェック、パリティチェックの各処理は、それぞれ専用のハードウェアブロックで行う。ここで、上記ハードウェアブロックは、全ての通信規格で使用可能である。   Hereinafter, a process after receiving a response from the RFID tag will be described. It should be noted that the code detection, code conversion, CRC check, and parity check processes that are performed in the reception process described later are performed by dedicated hardware blocks. Here, the hardware block can be used in all communication standards.

アンテナ404がRFIDタグからのレスポンスとしてアナログ受信信号を受信すると、アンテナ404は、そのアナログ受信信号を、フィルタ回路405を介して増幅器406に入力する。増幅器406は、入力されたアナログ信号を増幅し、図1に示したA/Dコンバータ70に入力する。   When the antenna 404 receives an analog reception signal as a response from the RFID tag, the antenna 404 inputs the analog reception signal to the amplifier 406 via the filter circuit 405. The amplifier 406 amplifies the input analog signal and inputs it to the A / D converter 70 shown in FIG.

A/Dコンバータ70は、入力されたアナログ受信信号をデジタルデータに変換し、サンプリング部303に入力する。サンプリング部303は、入力されたデジタルデータに対して所定の間隔でサンプリングを行う。キャリア検出部304は、サンプリング後のデジタルデータを用いてキャリアの検出を行う。また、フィルタ組み合わせブロック305および再サンプリング部306は、サンプリング後のデジタルデータを用いてコード検出を行う。   The A / D converter 70 converts the input analog reception signal into digital data and inputs the digital data to the sampling unit 303. The sampling unit 303 samples the input digital data at a predetermined interval. The carrier detection unit 304 performs carrier detection using the sampled digital data. Further, the filter combination block 305 and the resampling unit 306 perform code detection using the sampled digital data.

コード検出の処理では、サンプリング後のデジタルデータが、図4に示した3種類のフィルタのうち一つあるいは複数を通ることで、サンプリング後のデジタルデータの波形は整形される。ここで、使用するフィルタは、メインコントローラ12から通知されたRFIDの通信規格情報に基づいて、受信シーケンス制御部301がセレクタ351、352、353、357を切り替えることで選択される。   In the code detection process, the sampled digital data passes through one or more of the three types of filters shown in FIG. 4, and the waveform of the sampled digital data is shaped. Here, the filter to be used is selected when the reception sequence control unit 301 switches the selectors 351, 352, 353, and 357 based on the RFID communication standard information notified from the main controller 12.

フィルタ組み合わせブロック305がデジタルデータの波形整形を行った後、SOF検出部307は、このデジタルデータのSOFを検出する。図16に、本実施形態で使用する基本受信フレームを示す。基本受信フレームのSOF、SYNC、DATA、CRCおよびEOFは図15と同様である。   After the filter combination block 305 performs waveform shaping of the digital data, the SOF detector 307 detects the SOF of the digital data. FIG. 16 shows a basic reception frame used in this embodiment. The SOF, SYNC, DATA, CRC, and EOF of the basic reception frame are the same as those in FIG.

SOF検出部307は、デジタルデータのSOFを検出する。SOF検出部307は、各通信規格に対応するSOFの波形パターンを保持しており、その波形パターンと上記波形整形後のデジタルデータとを比較し、SOFの波形パターンと一致するパターンをSOFと判断する。   The SOF detector 307 detects the SOF of the digital data. The SOF detector 307 holds the SOF waveform pattern corresponding to each communication standard, compares the waveform pattern with the digital data after waveform shaping, and determines that the pattern that matches the SOF waveform pattern is SOF. To do.

続いてSYNC検出部308は、デジタルデータのSYNCを検出する。SYNC検出部308は、各通信規格に対応するSYNCの波形パターンを保持しており、その波形パターンと上記波形整形後のデジタルデータとを比較し、SYNCの波形パターンと一致するパターンをSYNCと判断する。なお、SYNCを使用しない通信規格においては、SYNC検出の処理は行わない。   Subsequently, the SYNC detector 308 detects the SYNC of the digital data. The SYNC detection unit 308 holds a SYNC waveform pattern corresponding to each communication standard, compares the waveform pattern with the digital data after waveform shaping, and determines a pattern that matches the SYNC waveform pattern as SYNC. To do. Note that the SYNC detection process is not performed in a communication standard that does not use SYNC.

続いて、再サンプリング部306は、DATAを再度サンプリングする。本実施形態では、複数種類のフィルタを通したり、複数回のサンプリングを行ったりことが可能である。そのため、任意の波形に対応することができる。   Subsequently, the resampling unit 306 samples the DATA again. In this embodiment, it is possible to pass a plurality of types of filters or to perform sampling a plurality of times. Therefore, it can cope with an arbitrary waveform.

コード変換部310は、再サンプリング部306でサンプリングされたデジタルデータのデコードを行う。デコードの処理は、図2のパターン生成部210で行ったエンコードの処理とは逆の処理である。コード変換部310は、デジタルデータを前から順に処理し、論理“0”または論理“1”に対応する波形パターンを検出すると、対応する論理“0”または論理“1”を順次出力する。続いて、コード変換部310は、復号化回路を用いて、出力した値を復号化する。このとき、メインコントローラ12は、復号化情報記憶回路136が記憶する復号化テーブルを、メインコントローラ12が選択した通信方式で規定された復号化方式に対応する復号化テーブルに切り替える。これにより、復号化回路は、RFIDリーダライタ1が使用する通信方式で規定された復号化を行うことができる。   The code conversion unit 310 decodes the digital data sampled by the resampling unit 306. The decoding process is the reverse of the encoding process performed by the pattern generation unit 210 in FIG. When the code converter 310 processes the digital data in order from the front and detects a waveform pattern corresponding to logic “0” or logic “1”, the code converter 310 sequentially outputs the corresponding logic “0” or logic “1”. Subsequently, the code conversion unit 310 decodes the output value using a decoding circuit. At this time, the main controller 12 switches the decoding table stored in the decoding information storage circuit 136 to a decoding table corresponding to the decoding method defined by the communication method selected by the main controller 12. Thereby, the decryption circuit can perform decryption defined by the communication method used by the RFID reader / writer 1.

続いて、EOF検出部309は、デジタルデータのEOFを検出する。EOF検出部309がEOFを検出した場合、RFIDタグより受信したデータのコード検出処理およびデコード処理を終了する。ここで、EOF検出部309は、各通信規格に対応するEOFの波形パターンを保持しており、その波形パターンと上記波形整形後のデジタルデータとを比較し、EOFの波形パターンと一致するパターンをEOFと判断する。   Subsequently, the EOF detection unit 309 detects the EOF of the digital data. When the EOF detection unit 309 detects EOF, the code detection process and the decoding process for the data received from the RFID tag are terminated. Here, the EOF detection unit 309 holds an EOF waveform pattern corresponding to each communication standard, compares the waveform pattern with the digital data after waveform shaping, and finds a pattern that matches the waveform pattern of the EOF. Judged as EOF.

デコード処理の終了後、CRCチェック部311は、復号化後のデータのCRC値の確認を行う。続いて、パリティチェック部312は、CRC値の確認を行ったデータのパリティの確認を行う。CRCチェック部311とパリティチェック部312が、受信したデータにエラーがないと判定した場合、シリアル−パラレル変換部313は、受信したデータをパラレルデータに変換する。続いて、受信バッファ314は、シリアル−パラレル変換部313が変換したパラレルデータを記憶する。CRCチェック部311またはパリティチェック部312が受信したデータにエラーが含まれていると判断した場合、RFIDの通信規格に従って、コントローラ201はRFIDタグに対して情報の再送を要求するメッセージを送信するなどの処理を行う。   After the decoding process ends, the CRC check unit 311 confirms the CRC value of the decoded data. Subsequently, the parity check unit 312 confirms the parity of the data for which the CRC value has been confirmed. When the CRC check unit 311 and the parity check unit 312 determine that there is no error in the received data, the serial-parallel conversion unit 313 converts the received data into parallel data. Subsequently, the reception buffer 314 stores the parallel data converted by the serial-parallel conversion unit 313. When the CRC check unit 311 or the parity check unit 312 determines that the received data includes an error, the controller 201 transmits a message requesting retransmission of information to the RFID tag according to the RFID communication standard. Perform the process.

受信バッファ314に保存されたデータは、図1のメインコントローラ12へと出力され、ホストインタフェース11を介して外部のホストコンピュータへと送信される。   The data stored in the reception buffer 314 is output to the main controller 12 in FIG. 1 and transmitted to an external host computer via the host interface 11.

上述したとおり、符号化回路は、符号化情報記憶回路96が記憶する符号化テーブルに定められた条件に従って、入力値を符号化することができる。また、復号化回路は、復号化情報記憶回路136が記憶する復号化テーブルに定められた条件に従って、入力値を復号化することができる。このことにより、符号化情報記憶回路96が記憶する符号化テーブルおよび復号化情報記憶回路136が記憶する復号化テーブルを変更することで、様々な条件の符号化および複合化を行うことができる。   As described above, the encoding circuit can encode the input value according to the conditions defined in the encoding table stored in the encoding information storage circuit 96. Further, the decoding circuit can decode the input value in accordance with the conditions defined in the decoding table stored in the decoding information storage circuit 136. As a result, by changing the encoding table stored in the encoding information storage circuit 96 and the decoding table stored in the decoding information storage circuit 136, encoding and decoding of various conditions can be performed.

また、本実施形態では、符号化および復号化をハードウェアで実行する。ソフトウェアで符号化および復号化を行った場合と比較して、ハードウェアで符号化および復号化する方が、処理の時間が短いという効果がある。   In this embodiment, encoding and decoding are performed by hardware. Compared with the case where encoding and decoding are performed by software, encoding and decoding by hardware has an effect that the processing time is short.

以上、本発明の実施形態を詳述してきたが、具体的な構成は本実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As mentioned above, although embodiment of this invention was explained in full detail, the concrete structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.

本発明の一実施形態におけるRFIDリーダライタの構成を示した構成図である。It is the block diagram which showed the structure of the RFID reader / writer in one Embodiment of this invention. 本実施形態における送信制御ブロックの構成を示した構成図である。It is the block diagram which showed the structure of the transmission control block in this embodiment. 本実施形態における受信制御ブロックの構成を示した構成図である。It is the block diagram which showed the structure of the reception control block in this embodiment. 本実施形態におけるフィルタ組み合わせブロックの構成を示した構成図であるIt is the block diagram which showed the structure of the filter combination block in this embodiment. 本実施形態におけるRF回路の構成を示した構成図である。It is the block diagram which showed the structure of RF circuit in this embodiment. 本実施形態における符号化回路の構成を示した構成図である。It is the block diagram which showed the structure of the encoding circuit in this embodiment. 本実施形態における現在の状態を示す情報を示した概略図である。It is the schematic which showed the information which shows the present state in this embodiment. 本実施形態における確認ビット数テーブルのデータ構造を示した概略図である。It is the schematic which showed the data structure of the confirmation bit number table in this embodiment. 本実施形態における符号化テーブルのデータ構造を示した概略図である。It is the schematic which showed the data structure of the encoding table in this embodiment. 本実施形態における復号化回路の構成を示した構成図である。It is the block diagram which showed the structure of the decoding circuit in this embodiment. 本実施形態における現在の状態を示す情報を示した概略図である。It is the schematic which showed the information which shows the present state in this embodiment. 本実施形態における確認ビット数テーブルのデータ構造を示した概略図である。It is the schematic which showed the data structure of the confirmation bit number table in this embodiment. 本実施形態における復号化テーブルのデータ構造を示した概略図である。It is the schematic which showed the data structure of the decoding table in this embodiment. 本実施形態におけるRFIDリーダライタがRFIDタグと通信する際の手順を示したフローチャートである。It is the flowchart which showed the procedure at the time of the RFID reader / writer in this embodiment communicating with an RFID tag. 本実施形態におけるRFIDリーダライタが使用する基本送信フレームを示した図である。It is the figure which showed the basic transmission frame which the RFID reader / writer in this embodiment uses. 本実施形態におけるRFIDリーダライタが使用する基本受信フレームを示した図である。It is the figure which showed the basic reception frame which the RFID reader / writer in this embodiment uses.

符号の説明Explanation of symbols

1・・・RFIDリーダライタ、11・・・ホストインタフェース、12・・・メインコントローラ、13・・・RF回路制御ブロック、20・・・送信制御ブロック、30・・・受信制御ブロック、40a,40b,40n・・・RF回路、70・・・A/Dコンバータ、71・・・D/Aコンバータ、91,131・・・入力回路、92,132・・・制御回路、93,133・・・出力回路、94,134・・・状態記憶回路、95,135・・・一時記憶回路、96・・・符号化情報記憶回路、136・・・復号化情報記憶回路、201・・・コントローラ、202・・・送信データ読み出し制御部、203・・・送信データバッファ、204・・・CRC生成部、205,207,351,352,353,357・・・セレクタ、206・・・パリティ生成部、208・・・パターン読み出し制御部、209・・・パターンバッファ、210・・・パターン生成部、301・・・受信シーケンス制御部、303・・・サンプリング部、304・・・キャリア検出部、305・・・フィルタ組み合わせブロック、306・・・再サンプリング部、307・・・SOF検出部、308・・・SYNC検出部、309・・・EOF検出部、310・・・コード変換部、311・・・CRCチェック部、312・・・パリティチェック部、313・・・シリアル−パラレル変換部、314・・・受信バッファ、354・・・エッジ検出フィルタ、355・・・周波数分離フィルタ、356・・・ローパスフィルタ、401・・・発振回路、402・・・変調回路、403・・・アンテナ駆動回路、404・・・アンテナ、405・・・フィルタ回路、406・・・増幅器 DESCRIPTION OF SYMBOLS 1 ... RFID reader / writer, 11 ... Host interface, 12 ... Main controller, 13 ... RF circuit control block, 20 ... Transmission control block, 30 ... Reception control block, 40a, 40b , 40n ... RF circuit, 70 ... A / D converter, 71 ... D / A converter, 91, 131 ... input circuit, 92, 132 ... control circuit, 93, 133 ... Output circuit 94, 134 ... state storage circuit, 95, 135 ... temporary storage circuit, 96 ... encoded information storage circuit, 136 ... decoded information storage circuit, 201 ... controller, 202 ... Transmission data read control unit, 203 ... Transmission data buffer, 204 ... CRC generation unit, 205, 207, 351, 352, 353, 357 ... Selector 206: Parity generation unit, 208 ... Pattern read control unit, 209 ... Pattern buffer, 210 ... Pattern generation unit, 301 ... Reception sequence control unit, 303 ... Sampling unit, 304 ..Carrier detection unit, 305... Filter combination block, 306... Re-sampling unit, 307... SOF detection unit, 308... SYNC detection unit, 309. Code conversion unit, 311 ... CRC check unit, 312 ... Parity check unit, 313 ... Serial-parallel conversion unit, 314 ... Receive buffer, 354 ... Edge detection filter, 355 ... Frequency Separation filter, 356... Low pass filter, 401... Oscillation circuit, 402. Antenna driver circuit, 404 ... antenna, 405 ... filter circuit, 406 ... amplifier

Claims (5)

特定の符号化方式により定める複数の遷移状態における現在の状態情報を記憶する第1の状態記憶回路と、
前記複数の遷移状態のうちのいずれかの状態情報と、符号化を行う情報である符号化対象情報との組み合わせと、遷移後の状態を示す遷移後状態情報と、符号化後の情報である符号化情報の組み合わせとを関連づけた情報を、符号化テーブルとして記憶する符号化情報記憶回路と、
前記符号化情報の入力を受け付け、当該符号化対象情報と、前記第1の状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記符号化情報と前記遷移後状態情報とを、前記符号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記第1の状態記憶回路に記憶させる第1の制御回路と、
を備えた符号化回路と、
前記特定の符号化方式で符号化された前記符号化情報を復号化する方式により定める複数の遷移状態における現在の状態情報を記憶する第2の状態記憶回路と、
前記特定の符号化方式で符号化された前記符号化情報を復号化する方式に基づいて、前記複数の遷移状態のうちのいずれかの状態情報と前記符号化情報との組み合わせと、遷移後の状態を示す遷移後状態情報と復号化後の情報である復号化情報との組み合わせとを関連付けた情報を、復号化テーブルとして記憶する復号化情報記憶回路と、
前記符号化情報の入力を受け付け、当該符号化情報と、前記第2の状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記復号化情報と前記遷移後状態とを、前記復号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記第2の状態記憶回路に記憶させる第2の制御回路と、
を備えた復号化回路と、
を備えたことを特徴とする符号化復号化システム。
A first state storage circuit for storing current state information in a plurality of transition states determined by a specific encoding method;
A combination of any one of the plurality of transition states, encoding target information that is information to be encoded, post-transition state information indicating a state after transition, and information after encoding An encoded information storage circuit for storing information associated with a combination of encoded information as an encoding table;
The input of the encoded information is received, and the encoded information and the post-transition state information corresponding to a combination of the encoding target information and the current state information stored in the first state storage circuit A first control circuit that outputs based on the encoding table and stores the post-transition state information in the first state storage circuit as the current state information;
An encoding circuit comprising:
A second state storage circuit for storing current state information in a plurality of transition states determined by a method for decoding the encoded information encoded by the specific encoding method;
Based on a method for decoding the encoded information encoded by the specific encoding method, a combination of any one of the plurality of transition states and the encoded information, and a post-transition A decryption information storage circuit that stores, as a decryption table, information that associates a combination of post-transition state information indicating a state with a combination of decryption information that is decrypted information;
Receiving the input of the encoded information, the decoded information and the post-transition state corresponding to a combination of the encoded information and the current state information stored in the second state storage circuit, A second control circuit that outputs based on the decoding table and stores the post-transition state information in the second state storage circuit as the current state information;
A decryption circuit comprising:
An encoding / decoding system comprising:
特定の符号化方式で符号化を行う符号化回路であって、
特定の符号化方式により定める複数の遷移状態における現在の状態情報を記憶する状態記憶回路と、
前記複数の遷移状態のうちのいずれかの状態情報と、符号化を行う情報である符号化対象情報との組み合わせと、遷移後の状態を示す遷移後状態情報と、符号化後の情報である符号化情報との組み合わせとを関連づけた情報を、符号化テーブルとして記憶する符号化情報記憶回路と、
前記符号化対象情報の入力を受け付け、当該符号化対象情報と、前記状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記符号化情報と前記遷移後状態情報とを、前記符号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記状態記憶回路に記憶させる制御回路と、
を備えたことを特徴とする符号化回路。
An encoding circuit that performs encoding using a specific encoding method,
A state storage circuit for storing current state information in a plurality of transition states determined by a specific encoding method;
A combination of any one of the plurality of transition states, encoding target information that is information to be encoded, post-transition state information indicating a state after transition, and information after encoding An encoded information storage circuit that stores information associated with a combination with encoded information as an encoding table;
The input of the encoding target information is received, the encoding information and the post-transition state information corresponding to a combination of the encoding target information and the current state information stored in the state storage circuit, A control circuit that outputs based on the encoding table and stores the post-transition state information in the state storage circuit as the current state information;
An encoding circuit comprising:
特定の符号化方式で符号化された符号化情報を復号化する復号化回路であって、
前記特定の符号化方式で符号化された前記符号化情報を復号化する方式により定める複数の遷移状態における現在の状態情報を記憶する状態記憶回路と、
前記特定の符号化方式で符号化された前記符号化情報を復号化する方式に基づいて、前記複数の遷移状態のうちのいずれかの状態情報と前記符号化情報との組み合わせと、遷移後の状態を示す遷移後状態情報と復号化後の情報である復号化情報との組み合わせとを関連付けた情報を、復号化テーブルとして記憶する復号化情報記憶回路と、
前記符号化情報の入力を受け付け、当該符号化情報と、前記状態記憶回路が記憶する前記現在の状態情報との組み合わせに対応する、前記復号化情報と前記遷移後状態とを、前記復号化テーブルに基づいて出力し、当該遷移後状態情報を前記現在の状態情報として前記状態記憶回路に記憶させる制御回路と、
を備えたことを特徴とする復号化回路。
A decoding circuit for decoding encoded information encoded by a specific encoding method,
A state storage circuit for storing current state information in a plurality of transition states determined by a method for decoding the encoded information encoded by the specific encoding method;
Based on a method for decoding the encoded information encoded by the specific encoding method, a combination of any one of the plurality of transition states and the encoded information, and a post-transition A decryption information storage circuit that stores, as a decryption table, information associating post-transition state information indicating a state with a combination of decryption information that is decrypted information;
The decoding table that receives the input of the encoding information and corresponds to the combination of the encoding information and the current state information stored in the state storage circuit, includes the decoding table. And a control circuit for storing the post-transition state information in the state storage circuit as the current state information,
A decoding circuit comprising:
送信データを、所定の通信方式で規定された符号化方式で符号化する請求項2に記載の符号化回路と、
前記通信方式で規定された周波数帯域で、前記符号化回路が符号化した前記送信データを前記無線タグに対して送信し、これに対応して前記無線タグから送信される受信データを受信する高周波回路と、
前記高周波回路が受信した前記受信データを、前記符号化方式に対応する方式で復号化する請求項3に記載の復号化回路と、
前記復号化回路が復号化した前記受信データを出力するホストインタフェースと、
を備えたことを特徴とするタグ通信装置。
The encoding circuit according to claim 2, wherein the transmission data is encoded by an encoding method defined by a predetermined communication method;
A high frequency that transmits the transmission data encoded by the encoding circuit to the wireless tag in a frequency band defined by the communication method, and receives reception data transmitted from the wireless tag correspondingly Circuit,
The decoding circuit according to claim 3, wherein the reception data received by the high-frequency circuit is decoded by a method corresponding to the encoding method;
A host interface for outputting the received data decoded by the decoding circuit;
A tag communication device comprising:
複数の通信方式の各々に対応する周波数帯域で通信可能な複数の高周波回路を備え、
前記符号化回路が備える前記符号化情報記憶回路は、複数の前記通信方式で定められた複数の符号化方式ごとに規定された複数の前記符号化テーブルを記憶し、
前記復号化回路が備える前記復号化情報記憶回路は、前記複数の符号化方式に対応する復号化方式ごとに規定された複数の前記復号化テーブルを記憶し、
複数の前記通信方式のうち、いずれか1つの通信方式を切り替えて、選択した通信方式で規定された前記符号化方式に対応する前記符号化テーブルを用いて符号化を行うように前記符号化回路を制御し、当該通信方式で規定された前記周波数帯域で通信可能な前記高周波回路を用いて送信データの送信および受信データの受信を行うように制御し、当該通信方式に対応する前記符号化テーブルを用いて符号化を行うように前記符号化回路を制御する制御部
をさらに備えることを特徴とする請求項4に記載のタグ通信装置。
Provided with a plurality of high frequency circuits capable of communication in a frequency band corresponding to each of a plurality of communication methods,
The encoding information storage circuit included in the encoding circuit stores a plurality of the encoding tables defined for each of a plurality of encoding methods defined by a plurality of the communication methods,
The decoding information storage circuit included in the decoding circuit stores a plurality of the decoding tables defined for each decoding scheme corresponding to the plurality of encoding schemes,
The encoding circuit is configured to perform encoding using the encoding table corresponding to the encoding method defined by the selected communication method by switching any one of the plurality of communication methods. The encoding table corresponding to the communication method, controlling to transmit transmission data and receive reception data using the high-frequency circuit capable of communicating in the frequency band defined by the communication method. The tag communication device according to claim 4, further comprising: a control unit that controls the encoding circuit so as to perform encoding using a signal.
JP2008243255A 2008-09-22 2008-09-22 Encoding / decoding system, encoding circuit, decoding circuit, and tag communication apparatus Active JP5312886B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008243255A JP5312886B2 (en) 2008-09-22 2008-09-22 Encoding / decoding system, encoding circuit, decoding circuit, and tag communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008243255A JP5312886B2 (en) 2008-09-22 2008-09-22 Encoding / decoding system, encoding circuit, decoding circuit, and tag communication apparatus

Publications (2)

Publication Number Publication Date
JP2010074786A true JP2010074786A (en) 2010-04-02
JP5312886B2 JP5312886B2 (en) 2013-10-09

Family

ID=42206101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008243255A Active JP5312886B2 (en) 2008-09-22 2008-09-22 Encoding / decoding system, encoding circuit, decoding circuit, and tag communication apparatus

Country Status (1)

Country Link
JP (1) JP5312886B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012178750A (en) * 2011-02-28 2012-09-13 Casio Comput Co Ltd Rfid communication device and program
KR101257776B1 (en) 2011-10-06 2013-04-24 단국대학교 산학협력단 Method and apparatus for encoing using state-check code
KR20130052375A (en) * 2011-11-11 2013-05-22 삼성전자주식회사 Apparatus and method for mapping quadrature amplitude modulation symbol
KR101296773B1 (en) * 2011-10-07 2013-08-14 한국전기연구원 Apparatus and method for decoding LDPC code
CN109982297A (en) * 2019-01-21 2019-07-05 中国电力科学研究院有限公司 A kind of data transmission method and system of online electronic tag

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007324760A (en) * 2006-05-30 2007-12-13 Toshiba Corp Radio communication apparatus and transmission control method
JP2008182614A (en) * 2007-01-26 2008-08-07 Hitachi Kokusai Electric Inc Radio communication equipment
JP2008193576A (en) * 2007-02-07 2008-08-21 Denso Wave Inc Radio tag reader

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007324760A (en) * 2006-05-30 2007-12-13 Toshiba Corp Radio communication apparatus and transmission control method
JP2008182614A (en) * 2007-01-26 2008-08-07 Hitachi Kokusai Electric Inc Radio communication equipment
JP2008193576A (en) * 2007-02-07 2008-08-21 Denso Wave Inc Radio tag reader

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012178750A (en) * 2011-02-28 2012-09-13 Casio Comput Co Ltd Rfid communication device and program
US9330289B2 (en) 2011-02-28 2016-05-03 Casio Computer Co., Ltd. Communication apparatus and computer program product
KR101257776B1 (en) 2011-10-06 2013-04-24 단국대학교 산학협력단 Method and apparatus for encoing using state-check code
KR101296773B1 (en) * 2011-10-07 2013-08-14 한국전기연구원 Apparatus and method for decoding LDPC code
KR20130052375A (en) * 2011-11-11 2013-05-22 삼성전자주식회사 Apparatus and method for mapping quadrature amplitude modulation symbol
KR101871362B1 (en) 2011-11-11 2018-06-27 삼성전자주식회사 Apparatus and method for mapping quadrature amplitude modulation symbol
CN109982297A (en) * 2019-01-21 2019-07-05 中国电力科学研究院有限公司 A kind of data transmission method and system of online electronic tag
CN109982297B (en) * 2019-01-21 2024-02-02 中国电力科学研究院有限公司 Data transmission method and system of online electronic tag

Also Published As

Publication number Publication date
JP5312886B2 (en) 2013-10-09

Similar Documents

Publication Publication Date Title
JP4265487B2 (en) Reader device, method of transmitting the device, and tag
US8874033B2 (en) Communication apparatus, communication method, and program
JP4367349B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US8325786B2 (en) Semiconductor device and communication device
AU2008287178B2 (en) Pulse width adaptation for inductive links
JP5312886B2 (en) Encoding / decoding system, encoding circuit, decoding circuit, and tag communication apparatus
RU2700172C1 (en) Wireless communication device, transmitter and methods of operation thereof
WO2018155205A1 (en) Method executed by system including active stylus and sensor controller, sensor controller, and active stylus
JP5339138B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN103812536A (en) Bluetooth equipment connecting method and Bluetooth equipment
JP2010204986A (en) Communication device, communication method, and program
US10880135B2 (en) Semiconductor device and communication
JP4624239B2 (en) RFID communication device
CN111667041B (en) Music tag interaction system and music tag interaction method
JP2010198396A (en) Wireless tag reader/writer and communication method of the same
JP4821788B2 (en) Reader device, method of transmitting the device, and tag
JP2010081371A (en) Frame processing circuit
US12009954B2 (en) Device and method for decoding data from wireless signals
JP5184278B2 (en) Waveform generation circuit and tag communication device
KR100983246B1 (en) RFID reader capable of short-range communication and method of short-range communication using RDF
JP5211961B2 (en) Communication device
CN104022851A (en) Mobile terminal as well as method and device for data transmission

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130703

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5312886

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350