JP5069539B2 - Wireless tag reader, wireless tag system, and program - Google Patents

Wireless tag reader, wireless tag system, and program Download PDF

Info

Publication number
JP5069539B2
JP5069539B2 JP2007291483A JP2007291483A JP5069539B2 JP 5069539 B2 JP5069539 B2 JP 5069539B2 JP 2007291483 A JP2007291483 A JP 2007291483A JP 2007291483 A JP2007291483 A JP 2007291483A JP 5069539 B2 JP5069539 B2 JP 5069539B2
Authority
JP
Japan
Prior art keywords
identification information
tag
reading
read
wireless tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007291483A
Other languages
Japanese (ja)
Other versions
JP2009116764A (en
Inventor
宣夫 福井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2007291483A priority Critical patent/JP5069539B2/en
Publication of JP2009116764A publication Critical patent/JP2009116764A/en
Application granted granted Critical
Publication of JP5069539B2 publication Critical patent/JP5069539B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、無線タグに記憶された識別情報及びタグ情報を読み取るための無線タグ読取装置、無線タグシステム及びプログラムに関するものである。   The present invention relates to a wireless tag reader, a wireless tag system, and a program for reading identification information and tag information stored in a wireless tag.

RFID(Radio Frequency Identification:無線自動識別)を用いた無線タグシステムの導入によって、製品や物流、物品管理等の様々なシーンで無線タグが使用されるようになり、今後も高い将来性が期待されている(特許文献1参考)。無線タグシステムの導入は上記分野に限らず、例えば、プリンタ、複写機等の画像形成装置に用いられるトナーやインク等を収容したカートリッジの管理にも利用されている。   With the introduction of RFID tag systems using RFID (Radio Frequency Identification), RFID tags are used in various scenes such as products, logistics, and article management. (Refer to Patent Document 1). The introduction of the wireless tag system is not limited to the above-mentioned field, and for example, it is also used for management of a cartridge containing toner or ink used in an image forming apparatus such as a printer or a copying machine.

図14は、無線タグシステム1の電気的構成を簡単に説明するためのブロック図である。以下、この無線タグシステム1が画像形成装置に用いられる場合を例に説明する。無線タグシステム1は画像形成装置本体側に設置され、n個の無線タグ9はそれぞれカートリッジに取り付けられる。例えば、画像形成装置が4色カートリッジ(BK、C、M、Y)に対応している場合、各色のカートリッジに対して少なくとも1つの無線タグ9が取り付けられる。無線タグ9は内部にメモリと通信回路を備え、このメモリには無線タグ9固有の識別情報、及びカートリッジに収容されるトナーやインクの種類や特性、カートリッジの使用回数等の無線タグ9が取り付けられた物品に関する情報(タグ情報)が記憶されている。   FIG. 14 is a block diagram for briefly explaining the electrical configuration of the wireless tag system 1. Hereinafter, a case where the wireless tag system 1 is used in an image forming apparatus will be described as an example. The wireless tag system 1 is installed on the image forming apparatus main body side, and n wireless tags 9 are attached to the cartridges. For example, when the image forming apparatus supports four color cartridges (BK, C, M, Y), at least one wireless tag 9 is attached to each color cartridge. The wireless tag 9 includes a memory and a communication circuit. The wireless tag 9 is attached with identification information unique to the wireless tag 9, the type and characteristics of toner and ink contained in the cartridge, the number of times the cartridge is used, and the like. Information (tag information) about the received article is stored.

無線タグシステム1は、制御装置2及び無線タグ読取装置3を備えて構成される。制御装置2はCPU(Central Processing Unit:中央処理装置)やその周辺回路を備え、所定のプログラムに基づいた処理を実行し無線タグ読取装置3への命令出力やデータ転送を行う。   The wireless tag system 1 includes a control device 2 and a wireless tag reader 3. The control device 2 includes a CPU (Central Processing Unit) and its peripheral circuits, executes processing based on a predetermined program, and outputs instructions to the RFID tag reading device 3 and data transfer.

無線タグ読取装置3は、インタフェース(I/F)4、制御部5及び通信部6を備えて構成される。インタフェース4は、所定のプロトコルに従って制御装置2と制御部5の間のデータ送受信を行う。制御部5は、CPUやその周辺回路(不図示)を備え、所定のプログラムに基づいた処理を実行し無線タグ読取装置3を構成する各機能部への命令出力やデータ転送を行って無線タグ読取装置3全体の制御を行う。   The wireless tag reader 3 includes an interface (I / F) 4, a control unit 5, and a communication unit 6. The interface 4 performs data transmission / reception between the control device 2 and the control unit 5 according to a predetermined protocol. The control unit 5 includes a CPU and its peripheral circuits (not shown), executes processing based on a predetermined program, performs command output and data transfer to each functional unit constituting the wireless tag reader 3, and performs wireless tagging. The entire reading device 3 is controlled.

通信部6は、無線タグ9と無線通信を行うためのアンテナの他、搬送波発振回路、変調回路、復調回路等を有して構成され、制御部5から出力される指示信号に応答して無線タグ9に対して電磁波を送信する。   The communication unit 6 is configured to include a carrier wave oscillation circuit, a modulation circuit, a demodulation circuit, and the like in addition to an antenna for performing wireless communication with the wireless tag 9, and wirelessly responds to an instruction signal output from the control unit 5. An electromagnetic wave is transmitted to the tag 9.

無線タグシステム1の動作の流れについて簡単に説明する。制御装置2が無線タグ9のタグ情報の読み取りを命令するタグ情報読取命令信号を出力し、この信号を制御部5がインタフェース4を介して入力すると、制御部5はまず通信部6に搬送波を送信させる。通信部6のアンテナから搬送波が送信されると、無線タグ9はこの搬送波を利用して内部の各機能部に対して電力を供給して活性化する。通信部6は、無線タグ9からの応答信号を受信するまで搬送波を送信する。   An operation flow of the wireless tag system 1 will be briefly described. When the control device 2 outputs a tag information reading command signal for instructing reading of tag information of the wireless tag 9 and the control unit 5 inputs this signal via the interface 4, the control unit 5 first sends a carrier wave to the communication unit 6. Send it. When a carrier wave is transmitted from the antenna of the communication unit 6, the wireless tag 9 is activated by supplying power to each internal functional unit using this carrier wave. The communication unit 6 transmits a carrier wave until a response signal from the wireless tag 9 is received.

続いて制御部5はタグ情報の出力要求を意味するコマンドを乗せた変調波を通信部6に送信させる。無線タグ9がこの変調波を受信すると、内部メモリに記憶されたタグ情報を乗せた電磁波を返信する。通信部6はこの電磁波を受信して復調し、タグ情報を読み取る。
特開2005−92787号公報
Subsequently, the control unit 5 causes the communication unit 6 to transmit a modulated wave on which a command indicating an output request for tag information is placed. When the wireless tag 9 receives this modulated wave, it returns an electromagnetic wave carrying the tag information stored in the internal memory. The communication unit 6 receives this electromagnetic wave, demodulates it, and reads the tag information.
JP-A-2005-92787

上述したような無線タグ読取装置3の一連の動作は、制御部5が有するメモリ(不図示)に記憶されている基本プログラム、即ちファームウェアをCPUが読み出して実行することによって実現される。このファームウェアは開発時間・コストの削減のために、通信部6のチャネル数(アンテナ数)に関わらず共通のファームウェアが使用されていることが多い。しかし、チャネル数の多少に関わらず共通のファームウェアに従って無線タグ読取装置3の動作が行われると、無駄な処理が多くなり、タグ情報の読取時間が増加してしまうという問題があった。   A series of operations of the wireless tag reader 3 as described above is realized by the CPU reading and executing a basic program, that is, firmware stored in a memory (not shown) of the control unit 5. In order to reduce development time and cost, this firmware often uses common firmware regardless of the number of channels (number of antennas) of the communication unit 6. However, if the operation of the wireless tag reader 3 is performed according to the common firmware regardless of the number of channels, there is a problem in that unnecessary processing increases and tag information reading time increases.

そこで、図15に示すように、制御部5に含まれるCPUの入力端子に入力される信号レベルに応じてチャネル数を認識させる方法が知られている。図15において、500は制御部5に含まれるCPUであり、入力端子PI0をチャネルモード設定端子として割り当てる。端子PI0にはプルアップ抵抗R1の一端が接続され、プルアップ抵抗R1の他端は電源電圧VDDに接続される。   Therefore, as shown in FIG. 15, a method of recognizing the number of channels according to the signal level input to the input terminal of the CPU included in the control unit 5 is known. In FIG. 15, reference numeral 500 denotes a CPU included in the control unit 5, and assigns an input terminal PI0 as a channel mode setting terminal. One end of the pull-up resistor R1 is connected to the terminal PI0, and the other end of the pull-up resistor R1 is connected to the power supply voltage VDD.

そして、端子PI0とGNDとの間のジャンパ抵抗R2の接続有無によって端子PI0に入力される信号レベルが変化する。この信号レベルの違いによって、CPU500が単チャネル又は多チャネルの何れかを設定していた。しかし、この方法はCPU500に対してチャネルモード設定端子を割り当てる必要があり、入力端子に余裕がない場合は採用できないという問題があった。更に、プルアップ抵抗R1やジャンパ抵抗R2の配設が必要となり、配設コストや手間がかかっていた。   The signal level input to the terminal PI0 changes depending on whether or not the jumper resistor R2 is connected between the terminals PI0 and GND. Depending on the difference in signal level, the CPU 500 has set either a single channel or multiple channels. However, this method requires assignment of a channel mode setting terminal to the CPU 500, and there is a problem that it cannot be adopted when there is no room for input terminals. Furthermore, it is necessary to dispose the pull-up resistor R1 and the jumper resistor R2, which requires disposition costs and labor.

この他に、制御装置2から制御部5に対して単チャネル又は多チャネルを指示する信号を出力させる方法がある。しかしこの方法は制御装置2と制御部5との間の信号の送受信が増え、制御装置2の処理負荷が増大してしまうという問題があった。   In addition, there is a method in which the control device 2 outputs a signal indicating a single channel or multiple channels to the control unit 5. However, this method has a problem in that transmission / reception of signals between the control device 2 and the control unit 5 increases, and a processing load on the control device 2 increases.

本発明は、上記の問題を解決するためになされたもので、単チャネル又は多チャネルに関わらず共通のファームウェアを用いる無線タグ読取装置において、無駄な処理を行うことなく無線タグの読み取りを行わせることを目的とするものである。   The present invention has been made to solve the above-described problem, and allows a wireless tag reader using a common firmware regardless of a single channel or multiple channels to read a wireless tag without performing unnecessary processing. It is for the purpose.

本発明の請求項1に記載の発明の無線タグ読取装置は、固有の識別情報及びタグ情報を記憶した1つ又は複数の無線タグに対して無線通信を行って前記識別情報又は前記タグ情報を読み取るための少なくとも前記無線タグと同数のアンテナと、前記アンテナが複数の場合、前記無線通信を行うアンテナを予め定められた切換パターンに応じて順次切り換え、前記全てのアンテナの切り換えが終わると再度前記切換パターンに応じて前記アンテナを順次切り換える切換手段とを有する通信手段と、前記無線タグが記憶する識別情報の読み取りを前記通信手段に対して行わせる識別情報読取制御手段と、前記無線タグが記憶するタグ情報の読み取りを前記通信手段に対して行わせるタグ情報読取制御手段と、前記通信手段によって読み取られた識別情報を記憶する記憶手段と、前記記憶された識別情報を用いて前記アンテナの数を決定する決定手段と、を備え、前記タグ情報読取制御手段は、前記決定手段によって決定された前記アンテナの数と同じ数だけ前記通信手段に対して前記タグ情報の読み取りを行わせることを特徴としている。   The wireless tag reader according to claim 1 of the present invention performs wireless communication with one or a plurality of wireless tags storing unique identification information and tag information to obtain the identification information or the tag information. When at least the same number of antennas as the wireless tag for reading, and when there are a plurality of antennas, the antenna for performing the wireless communication is sequentially switched according to a predetermined switching pattern, and when switching of all the antennas is completed, the antenna is again Communication means having switching means for sequentially switching the antennas according to a switching pattern, identification information reading control means for causing the communication means to read identification information stored in the wireless tag, and the wireless tag storing Tag information reading control means for causing the communication means to read the tag information to be read, and the information read by the communication means. Storage means for storing information, and determination means for determining the number of antennas using the stored identification information, wherein the tag information reading control means is configured to determine the number of antennas determined by the determination means. The communication means is caused to read the tag information by the same number.

また、請求項6に記載の発明のプログラムは、コンピュータを、固有の識別情報及びタグ情報を記憶した1つ又は複数の無線タグに対して無線通信を行って前記識別情報又は前記タグ情報を読み取るための少なくとも前記無線タグと同数のアンテナを有する通信部に対して前記無線タグが記憶する識別情報の読み取りを行わせる識別情報読取制御手段、前記通信部に対して前記無線タグが記憶するタグ情報の読み取りを行わせるタグ情報読取制御手段、前記アンテナによって読み取られた識別情報を用いて前記アンテナの数を決定する決定手段、として機能させ、前記タグ情報読取制御手段が前記決定手段によって決定された前記アンテナの数と同じ数だけ前記通信部に対して前記タグ情報の読み取りを行わせることを特徴としている。   According to a sixth aspect of the present invention, the program reads the identification information or the tag information by performing wireless communication with one or a plurality of wireless tags storing the unique identification information and tag information. For reading the identification information stored in the wireless tag to the communication unit having at least the same number of antennas as the wireless tag, tag information stored in the wireless tag for the communication unit The tag information reading control means for reading the tag information and the determining means for determining the number of antennas using the identification information read by the antenna, the tag information reading control means is determined by the determining means. The tag information is read by the communication unit by the same number as the number of antennas.

この請求項1及び6に記載の発明によれば、通信手段(通信部)が無線タグに記憶されている識別情報を読み取ることによって決定手段がアンテナ数を決定することができ、その後、タグ情報読取制御手段が通信手段(通信部)に対してタグ情報の読み取りを行わせる際に、アンテナ数の回数だけタグ情報の読み取りを行うよう制御することができる。つまり、タグ情報読取制御手段は通信手段(通信部)に対して必要な回数だけタグ情報の読み取りを行わせることができ、タグ情報の読み取りを不必要な回数行う等の無駄な処理を省くことができる。更にタグ情報の読取時間を短縮することができる。   According to the first and sixth aspects of the present invention, the determining unit can determine the number of antennas by reading the identification information stored in the wireless tag by the communication unit (communication unit), and then the tag information. When the reading control unit causes the communication unit (communication unit) to read the tag information, it can be controlled to read the tag information as many times as the number of antennas. That is, the tag information reading control unit can cause the communication unit (communication unit) to read the tag information as many times as necessary, and eliminates unnecessary processing such as reading the tag information an unnecessary number of times. Can do. Further, the tag information reading time can be shortened.

請求項2に記載の発明は、請求項1に記載の無線タグ読取装置であって、前記無線タグ読取装置が動作可能な状態に遷移した直後、前記識別情報読取制御手段は前記通信手段に対して前記識別情報の読み取りを行わせるものであることを特徴としている。   The invention according to claim 2 is the wireless tag reader according to claim 1, wherein the identification information reading control means controls the communication means immediately after the wireless tag reader is shifted to an operable state. Thus, the identification information is read.

また、請求項7に記載の発明は、請求項6に記載のプログラムであって、前記コンピュータが動作可能な状態に遷移した直後、前記識別情報読取制御手段が前記通信部に対して前記識別情報の読み取りを行わせることを特徴としている。   The invention according to claim 7 is the program according to claim 6, wherein the identification information reading control means sends the identification information to the communication unit immediately after transitioning to a state in which the computer can operate. It is characterized in that reading is performed.

この請求項2及び7に記載の発明によれば、無線タグ読取装置が動作可能な状態に遷移した直後(例えば、電源投入直後)に、識別情報読取制御手段が通信手段(通信部)に対して無線タグの識別情報の読み取りを開始させることにより、早い段階で決定手段がアンテナ数の決定を行うことができ、その後タグ情報読取制御手段が通信手段(通信部)に対してタグ情報の読み取り制御を行う際に、決定されたアンテナ数を有効的に活用することができる。   According to the second and seventh aspects of the present invention, immediately after the wireless tag reader is shifted to an operable state (for example, immediately after the power is turned on), the identification information reading control unit controls the communication unit (communication unit). By starting reading the identification information of the wireless tag, the determination unit can determine the number of antennas at an early stage, and then the tag information reading control unit reads the tag information from the communication unit (communication unit). When performing control, the determined number of antennas can be effectively utilized.

請求項3に記載の発明は、請求項1又は2に記載の無線タグ読取装置であって、前記アンテナによって前記識別情報が読み取られる毎に、前記記憶手段に記憶された識別情報の中から直近で読み取られた前記識別情報と同一の識別情報を検出する検出手段を更に備え、前記検出手段によって前記同一の識別情報が検出されたとき、前記識別情報読取制御手段は前記通信手段による前記識別情報の読み取りを中止し、前記決定手段は前記記憶手段に記憶された識別情報の数を前記アンテナの数として決定することを特徴としている。   A third aspect of the present invention is the RFID tag reading apparatus according to the first or second aspect, wherein the identification information stored in the storage means is the latest each time the identification information is read by the antenna. Detecting means for detecting the same identification information as the identification information read in step, and when the same identification information is detected by the detection means, the identification information reading control means is configured to detect the identification information by the communication means. The determination means determines the number of identification information stored in the storage means as the number of antennas.

また、請求項8に記載の発明は、請求項6又は7に記載のプログラムであって、前記コンピュータを、前記アンテナによって前記識別情報が読み取られる毎に、前に読み取られた前記識別情報の中から直近で読み取られた前記識別情報と同一の識別情報を検出する検出手段として更に機能させ、前記検出手段によって前記同一の識別情報が検出されたとき、前記識別情報読取制御手段が前記通信部による前記識別情報の読み取りを中止し、前記決定手段が前記読み取られた識別情報の数を前記アンテナの数として決定することを特徴としている。   The invention according to claim 8 is the program according to claim 6 or 7, wherein the computer causes the information in the identification information read before each time the identification information is read by the antenna. And further functioning as a detection means for detecting the same identification information as the identification information read most recently, and when the same identification information is detected by the detection means, the identification information reading control means is controlled by the communication unit. The reading of the identification information is stopped, and the determining means determines the number of the read identification information as the number of the antennas.

この請求項3及び8に記載の発明によれば、検出手段が通信手段(通信部)によって前に読み取られた識別情報(記憶手段に記憶された識別情報)の中から直近で読み取られた識別情報と同一のものを逐次検出することによって、同一の識別情報が検出されたとき、決定手段は前に読み取られた識別情報の数をアンテナ数として決定することができる。そして、タグ情報読取制御手段は通信手段(通信部)に対して決定されたアンテナ数の回数だけタグ情報の読み取りを行わせることができるため、タグ情報の読み取りに係る無駄な処理を省くことができ、読取時間を短縮することができる。   According to the third and eighth aspects of the present invention, the detection means is the identification read most recently from the identification information (identification information stored in the storage means) previously read by the communication means (communication unit). By sequentially detecting the same information as the information, when the same identification information is detected, the determining means can determine the number of previously read identification information as the number of antennas. Since the tag information reading control means can cause the communication means (communication unit) to read the tag information as many times as the number of antennas determined, it is possible to omit useless processing related to reading the tag information. And reading time can be shortened.

請求項4に記載の発明は、請求項1又は2に記載の無線タグ読取装置であって、前記識別情報読取制御手段は、前記通信手段が所有可能な前記アンテナの最大個数と同じ回数だけ前記識別情報の読み取りを前記通信手段に対して行わせ、前記識別情報の読み取り終了後、前記決定手段は前記記憶手段に記憶された識別情報の種類の数を前記アンテナの数として決定することを特徴としている。   A fourth aspect of the present invention is the RFID tag reading device according to the first or second aspect, wherein the identification information reading control means is the same number of times as the maximum number of the antennas that can be owned by the communication means. The identification information is read by the communication unit, and after the identification information is read, the determination unit determines the number of types of identification information stored in the storage unit as the number of antennas. It is said.

また、請求項9に記載の発明は、請求項6又は7に記載のプログラムであって、前記識別情報読取制御手段が、前記通信部が所有可能な前記アンテナの最大個数と同じ回数だけ前記識別情報の読み取りを前記通信部に対して行わせ、前記決定手段が前記読み取られた識別情報の種類の数を前記アンテナの数として決定することを特徴としている。   The invention according to claim 9 is the program according to claim 6 or 7, wherein the identification information reading control means performs the identification for the same number of times as the maximum number of the antennas that can be owned by the communication unit. Information is read from the communication unit, and the determination unit determines the number of types of the read identification information as the number of antennas.

この請求項4及び9に記載の発明によれば、識別情報読取制御手段が、通信手段(通信部)が所有可能なアンテナの最大個数と同じ回数だけ通信手段(通信部)に対して識別情報の読み取りを行わせることにより、決定手段は読み取られた識別情報の種類をアンテナ数として決定することができる。そして、タグ情報読取制御手段は通信手段(通信部)に対して決定されたアンテナ数の回数だけタグ情報の読み取りを行わせることができるため、タグ情報の読み取りに係る無駄な処理を省くことができ、読取時間を短縮することができる。   According to the inventions described in claims 4 and 9, the identification information reading control means identifies the identification information for the communication means (communication part) as many times as the maximum number of antennas that can be owned by the communication means (communication part). Thus, the determination unit can determine the type of the read identification information as the number of antennas. Since the tag information reading control means can cause the communication means (communication unit) to read the tag information as many times as the number of antennas determined, it is possible to omit useless processing related to reading the tag information. And reading time can be shortened.

請求項5に記載の発明の無線タグシステムは、請求項1〜4の何れか一項に記載の無線タグ読取装置と、前記無線タグが記憶するタグ情報の読み取り開始を指示する命令信号を前記無線タグ読取装置に対して出力する制御装置と、備え、前記制御装置から出力された命令信号に応答して、前記タグ情報読取制御手段は、前記決定手段によって決定された前記アンテナの数と同じ回数だけ前記通信手段に対して前記タグ情報の読み取りを行わせることを特徴としている。   According to a fifth aspect of the present invention, there is provided a wireless tag system according to any one of the first to fourth aspects, and a command signal for instructing start of reading tag information stored in the wireless tag. A control device for outputting to the wireless tag reader, and in response to a command signal output from the control device, the tag information read control means is the same as the number of antennas determined by the determination means The communication means is caused to read the tag information as many times as possible.

また、請求項10に記載の発明は、請求項6〜9の何れか一項に記載のプログラムであって、外部から入力される前記無線タグが記憶するタグ情報の読み取り開始を指示する命令信号に応答して、前記タグ情報読取制御手段が、前記決定手段によって決定された前記アンテナの数と同じ回数だけ前記通信部に対して前記タグ情報の読み取りを行わせることを特徴としている。   The invention according to claim 10 is the program according to any one of claims 6 to 9, wherein the instruction signal instructs start of reading of tag information stored in the wireless tag input from the outside. In response, the tag information reading control unit causes the communication unit to read the tag information as many times as the number of antennas determined by the determining unit.

この請求項5及び10に記載の発明によれば、請求項1〜4及び請求項6〜9と同様の効果を奏することができる。   According to the invention described in claims 5 and 10, the same effects as in claims 1 to 4 and claims 6 to 9 can be obtained.

請求項1及び6に記載の発明によれば、通信手段(通信部)が無線タグに記憶されている識別情報を読み取ることによって決定手段がアンテナ数を決定することができ、その後、タグ情報読取制御手段が通信手段(通信部)に対してタグ情報の読み取りを行わせる際に、アンテナ数の回数だけタグ情報の読み取りを行うよう制御することができる。つまり、タグ情報読取制御手段は通信手段(通信部)に対して必要な回数だけタグ情報の読み取りを行わせることができ、タグ情報の読み取りを不必要な回数行う等の無駄な処理を省くことができる。更にタグ情報の読取時間を短縮することができる。   According to the first and sixth aspects of the present invention, the determination unit can determine the number of antennas by reading the identification information stored in the wireless tag by the communication unit (communication unit), and then reading the tag information. When the control unit causes the communication unit (communication unit) to read the tag information, it can be controlled to read the tag information as many times as the number of antennas. That is, the tag information reading control unit can cause the communication unit (communication unit) to read the tag information as many times as necessary, and eliminates unnecessary processing such as reading the tag information an unnecessary number of times. Can do. Further, the tag information reading time can be shortened.

請求項2及び7に記載の発明によれば、無線タグ読取装置が動作可能な状態に遷移した直後に、識別情報読取制御手段が通信手段(通信部)に対して無線タグの識別情報の読み取りを開始させることにより、早い段階で決定手段がアンテナ数の決定を行うことができ、その後タグ情報読取制御手段が通信手段(通信部)に対してタグ情報の読み取り制御を行う際に、決定されたアンテナ数を有効的に活用することができる。   According to the second and seventh aspects of the present invention, the identification information reading control means reads the identification information of the wireless tag with respect to the communication means (communication unit) immediately after the wireless tag reading device transitions to an operable state. Is determined when the tag information reading control means performs the tag information reading control on the communication means (communication unit). It is possible to effectively use the number of antennas.

請求項3及び8に記載の発明によれば、検出手段が通信手段(通信部)によって前に読み取られた識別情報の中から直近で読み取られた識別情報と同一のものを逐次検出することによって、同一の識別情報が検出されたとき、決定手段は前に読み取られた識別情報の数をアンテナ数として決定することができる。そして、タグ情報読取制御手段は通信手段(通信部)に対して決定されたアンテナ数の回数だけタグ情報の読み取りを行わせることができるため、タグ情報の読み取りに係る無駄な処理を省くことができ、読取時間を短縮することができる。   According to invention of Claim 3 and 8, a detection means detects sequentially the same thing as the identification information read most recently from the identification information previously read by the communication means (communication part). When the same identification information is detected, the determining means can determine the number of previously read identification information as the number of antennas. Since the tag information reading control means can cause the communication means (communication unit) to read the tag information as many times as the number of antennas determined, it is possible to omit useless processing related to reading the tag information. And reading time can be shortened.

請求項4及び9に記載の発明によれば、識別情報読取制御手段が、通信手段(通信部)が所有可能なアンテナの最大個数と同じ回数だけ通信手段(通信部)に対して識別情報の読み取りを行わせることにより、決定手段は読み取られた識別情報の種類をアンテナ数として決定することができる。そして、タグ情報読取制御手段は通信手段(通信部)に対して決定されたアンテナ数の回数だけタグ情報の読み取りを行わせることができるため、タグ情報の読み取りに係る無駄な処理を省くことができ、読取時間を短縮することができる。   According to the inventions described in claims 4 and 9, the identification information reading control means transmits the identification information to the communication means (communication part) as many times as the maximum number of antennas that can be owned by the communication means (communication part). By performing the reading, the determining means can determine the type of the read identification information as the number of antennas. Since the tag information reading control means can cause the communication means (communication unit) to read the tag information as many times as the number of antennas determined, it is possible to omit useless processing related to reading the tag information. And reading time can be shortened.

請求項5及び10に記載の発明によれば、請求項1〜4及び請求項6〜9と同様の効果を奏することができる。   According to invention of Claim 5 and 10, there can exist an effect similar to Claims 1-4 and Claims 6-9.

以下、本発明の一実施形態に係る無線タグシステムについて図面を参照して説明する。尚、本実施の形態では、一例として無線タグシステムが画像形成装置におけるトナーやインク等を収容したカートリッジの管理に用いられる場合について説明するが、無線タグシステムの利用対象はこの限りではない。   Hereinafter, a wireless tag system according to an embodiment of the present invention will be described with reference to the drawings. In this embodiment, a case where the wireless tag system is used for managing a cartridge containing toner, ink, or the like in the image forming apparatus will be described as an example. However, the usage target of the wireless tag system is not limited to this.

図1は、1つのアンテナを持つ単チャネルの無線タグ読取装置3を備える無線タグシステム1の電気的構成を示すブロック図である。尚、図14にて示した無線タグシステム1と同じ構成要素については同じ符号を付し、説明を省略する。   FIG. 1 is a block diagram showing an electrical configuration of a wireless tag system 1 including a single-channel wireless tag reader 3 having one antenna. The same components as those of the wireless tag system 1 shown in FIG.

本実施の形態における無線タグシステム1は制御装置2及び無線タグ読取装置3を備えて構成され、画像形成装置の本体内部に設置される。無線タグ読取装置3は、インタフェース4、制御部(検出手段)5及び通信部(通信手段)6を備えて構成される。   The wireless tag system 1 according to the present embodiment includes a control device 2 and a wireless tag reading device 3 and is installed inside the main body of the image forming apparatus. The wireless tag reader 3 includes an interface 4, a control unit (detection unit) 5, and a communication unit (communication unit) 6.

制御部5は指示信号出力部(識別情報読取制御手段、タグ情報読取制御手段)51、チャネル数決定部(決定手段)52、RAM(Random Access Memory:記憶手段)53、ROM(Read Only Memory)54を備えて構成される。指示信号出力部51は、制御装置2から出力される命令信号や制御部5による制御に従って、通信部6に対して搬送波出力制御信号や変調制御信号等の指示信号を出力する。チャネル数決定部52は通信部6から出力された無線タグ9の識別情報を用いてチャネル数を決定する。RAM53は、制御部5の作業用メモリであり、通信部6から出力された識別信号やタグ情報等を一時的に記憶する。   The control unit 5 includes an instruction signal output unit (identification information reading control unit, tag information reading control unit) 51, a channel number determination unit (determination unit) 52, a RAM (Random Access Memory) 53, and a ROM (Read Only Memory). 54 is comprised. The instruction signal output unit 51 outputs an instruction signal such as a carrier wave output control signal and a modulation control signal to the communication unit 6 in accordance with a command signal output from the control device 2 and control by the control unit 5. The channel number determination unit 52 determines the number of channels using the identification information of the wireless tag 9 output from the communication unit 6. The RAM 53 is a working memory for the control unit 5 and temporarily stores an identification signal, tag information, and the like output from the communication unit 6.

ROM54は、無線タグ読取装置3の基本動作を実現するための無線タグ読取プログラム541(ファームウェア)やデータ等を記憶する。無線タグ読取プログラム541は、通信部6のチャネル数を決定し、制御装置2から出力されるタグ情報読取命令信号に応答して無線タグ9のタグ情報を読み取るためのプログラムである。   The ROM 54 stores a wireless tag reading program 541 (firmware), data, and the like for realizing the basic operation of the wireless tag reading device 3. The wireless tag reading program 541 is a program for determining the number of channels of the communication unit 6 and reading the tag information of the wireless tag 9 in response to the tag information reading command signal output from the control device 2.

通信部6は、制御部5から出力される指示信号に応答して無線タグ9と無線通信を行うものであり、搬送波発振回路61、変調回路62、アンテナ63及び復調回路64を備えて構成される。搬送波発振回路61は、指示信号出力部51から出力される搬送波出力制御信号に応答して搬送波を生成する。変調回路62は、指示信号出力部51から出力される無線タグ9に対するコマンド情報を含んだ変調制御信号に基づいて搬送波発振回路61で生成された搬送波を変調する。   The communication unit 6 performs wireless communication with the wireless tag 9 in response to an instruction signal output from the control unit 5, and includes a carrier wave oscillation circuit 61, a modulation circuit 62, an antenna 63, and a demodulation circuit 64. The The carrier wave oscillation circuit 61 generates a carrier wave in response to the carrier wave output control signal output from the instruction signal output unit 51. The modulation circuit 62 modulates the carrier wave generated by the carrier wave oscillation circuit 61 based on a modulation control signal including command information for the wireless tag 9 output from the instruction signal output unit 51.

アンテナ63は搬送波発振回路61で生成された搬送波や変調回路62で変調された変調波を送信し、無線タグ9から送信された電磁波を受信する。アンテナ63は受信した電磁波を電気信号に変換して復調回路64へ出力する。復調回路64はアンテナ63から出力された電気信号を復調して情報を抽出し、抽出した情報を復調信号として制御部5へ出力する。   The antenna 63 transmits the carrier wave generated by the carrier wave oscillation circuit 61 and the modulated wave modulated by the modulation circuit 62 and receives the electromagnetic wave transmitted from the wireless tag 9. The antenna 63 converts the received electromagnetic wave into an electrical signal and outputs it to the demodulation circuit 64. The demodulation circuit 64 demodulates the electrical signal output from the antenna 63 to extract information, and outputs the extracted information to the control unit 5 as a demodulated signal.

図2は、複数のアンテナを持つ多チャネルの無線タグ読取装置3を備える無線タグシステム1の電気的構成を示すブロック図である。図2に示した単チャネルの無線タグシステム3を備える無線タグシステム1と同じ構成要素については同じ符号を付し、説明を省略する。図2に示すように、n個の無線タグ91、92、・・・、9n(nは2以上の整数。以下、包括的に「無線タグ9」と表記する)を無線通信の対象とする場合、通信部6は少なくともn個のアンテナ631、632、・・・、アンテナ63n(以下、包括的に「アンテナ63」と表記する)を備え、各アンテナ63は無線タグ9と一対一に対応付けられて設定される。   FIG. 2 is a block diagram showing an electrical configuration of a wireless tag system 1 including a multi-channel wireless tag reader 3 having a plurality of antennas. The same components as those of the RFID tag system 1 including the single-channel RFID tag system 3 shown in FIG. As shown in FIG. 2, n wireless tags 91, 92,..., 9n (n is an integer equal to or larger than 2; hereinafter, collectively referred to as “wireless tag 9”) are targets of wireless communication. In this case, the communication unit 6 includes at least n antennas 631, 632,..., Antenna 63n (hereinafter collectively referred to as “antenna 63”), and each antenna 63 has a one-to-one correspondence with the wireless tag 9. Attached and set.

この他、通信部6は搬送波発振回路61、変調回路62、アンテナ切換回路(切換手段)65及び復調回路64を備えて構成される。変調回路62は、制御部5から出力された変調制御信号に基づいて変調した変調波をアンテナ選択回路65へ出力する。アンテナ切換回路65は、アンテナ63の中から無線通信を行うアンテナを選択し、送受信可能な状態に切り換える。選択されたアンテナは、無線タグ9と無線通信を行い、受信した電磁波を電気信号に変換してアンテナ選択回路65を介して復調回路64へ出力する。   In addition, the communication unit 6 includes a carrier wave oscillation circuit 61, a modulation circuit 62, an antenna switching circuit (switching means) 65, and a demodulation circuit 64. The modulation circuit 62 outputs a modulated wave modulated based on the modulation control signal output from the control unit 5 to the antenna selection circuit 65. The antenna switching circuit 65 selects an antenna that performs wireless communication from the antennas 63 and switches to a state in which transmission and reception are possible. The selected antenna performs wireless communication with the wireless tag 9, converts the received electromagnetic wave into an electrical signal, and outputs it to the demodulation circuit 64 via the antenna selection circuit 65.

尚、単チャネル、多チャネルに関わらず、制御部5の指示信号出力部51からアンテナ制御信号が出力されるが、多チャネルの場合はアンテナ制御信号がアンテナ切換回路65に入力されるのに対し、単チャネルの場合はアンテナ制御信号の出力はなされるが、何れの回路にも入力されない配線接続とする。アンテナ制御信号の入力がなくても、単チャネルの無線タグ読取装置3のアンテナ63の入出力は搬送波発振回路61、変調回路62、復調回路64等を介して制御部5と固定的に接続されている。このため、アンテナ制御信号の有無に関係なく、アンテナ63が受信した電磁波は復調されて制御部5へ入力される。従って、図1と図2に示す無線タグ読取装置3は共通の無線タグ読取プログラムを用いることができる。   Note that the antenna control signal is output from the instruction signal output unit 51 of the control unit 5 regardless of single channel or multi-channel, whereas in the case of multi-channel, the antenna control signal is input to the antenna switching circuit 65. In the case of a single channel, the antenna control signal is output, but the wiring connection is not input to any circuit. Even if no antenna control signal is input, the input / output of the antenna 63 of the single-channel RFID tag reader 3 is fixedly connected to the control unit 5 via the carrier wave oscillation circuit 61, the modulation circuit 62, the demodulation circuit 64, and the like. ing. Therefore, the electromagnetic wave received by the antenna 63 is demodulated and input to the control unit 5 regardless of the presence or absence of the antenna control signal. Therefore, the RFID tag reader 3 shown in FIGS. 1 and 2 can use a common RFID tag reading program.

上述したような無線タグ読取装置3が、単チャネル又は多チャネルどちらであっても共通の無線タグ読取プログラムで動作可能であり、このことは無線タグ読取プログラムの開発にかかる労力や時間、コストの上でもメリットが大きいことは、既に述べた。そこで、従来の無線タグ読取プログラムと本発明における無線タグ読取プログラムとを比較するために、単チャネルと多チャネルの無線タグ読取装置3の各制御部5が従来の無線タグ読取プログラムに従って処理を実行したときの動作の流れについて説明する。   The above-described RFID tag reader 3 can operate with a common RFID tag reading program regardless of whether it is a single channel or multiple channels. This means that labor, time, and cost for development of the RFID tag reading program are reduced. I have already mentioned that the benefits are significant. Therefore, in order to compare the conventional RFID tag reading program and the RFID tag reading program of the present invention, each control unit 5 of the single-channel and multi-channel RFID tag reader 3 executes processing according to the conventional RFID tag reading program. The flow of operation when doing this will be described.

図3及び4は、3チャネルの無線タグ読取装置3の制御部5が従来の無線タグ読取プログラムに従って処理を実行したときの各部の動作について説明するための図である。尚、無線タグ読取プログラムは、仮に最大3チャネル分の無線タグのタグ情報を読み取り可能なように構成されていることとする。更に、説明の便宜上、図3及び4においては無線タグ91を「無線タグA」、無線タグ92を「無線タグB」、無線タグ93を「無線タグC」と符号を置き換え、アンテナ631を「アンテナA」、アンテナ632を「アンテナB」、アンテナ633を「アンテナC」と符号を置き換えて説明する。 FIG. 3 and FIG. 4 are diagrams for explaining the operation of each unit when the control unit 5 of the three-channel wireless tag reader 3 executes processing according to the conventional wireless tag reading program. It is assumed that the wireless tag reading program is configured to be able to read wireless tag tag information for a maximum of three channels. 3 and 4, the wireless tag 91 is replaced with “wireless tag A”, the wireless tag 92 is replaced with “wireless tag B”, the wireless tag 93 is replaced with “wireless tag C”, and the antenna 631 is replaced with “ The description will be made by replacing the antenna A, the antenna 632 with “antenna B”, and the antenna 633 with “antenna C”.

まず制御装置2から無線タグAのタグ情報の読み取りを指示するためのタグ情報読取命令信号が出力される(P11)。この信号を受けて指示信号出力部51は、搬送波出力制御信号とアンテナ631の選択を指示するためのアンテナ選択信号を出力する。アンテナ切換回路65は使用するアンテナをアンテナAに切り換え(Q11)、アンテナAは搬送波発振回路61によって生成された搬送波を送信する(Q12)。無線タグAはこの搬送波を受信して活性化する(R11)。   First, a tag information reading command signal for instructing reading of tag information of the wireless tag A is output from the control device 2 (P11). In response to this signal, the instruction signal output unit 51 outputs a carrier wave output control signal and an antenna selection signal for instructing selection of the antenna 631. The antenna switching circuit 65 switches the antenna to be used to the antenna A (Q11), and the antenna A transmits the carrier wave generated by the carrier wave oscillation circuit 61 (Q12). The wireless tag A receives this carrier wave and activates it (R11).

続いて指示信号出力部51はタグ情報の読み取りコマンドを含む制御信号を出力する(Q13)。この信号に基づいて変調回路62が搬送波を変調し、アンテナAが変調波を送信する。無線タグAはこの変調波を受信すると、図示しない復調回路によって変調波を復調する。復調によってタグ情報の読み取りコマンドが抽出されると、無線タグAは内部メモリからタグ情報を読み出し(R12)、タグ情報を電磁波に乗せて送信する(R13)。アンテナAがこの電磁波を受信すると、復調回路64が電磁波からタグ情報を抽出して制御部5へ出力する。制御部5はRAM53のバッファAにタグ情報を格納する(Q14)。   Subsequently, the instruction signal output unit 51 outputs a control signal including a tag information reading command (Q13). Based on this signal, the modulation circuit 62 modulates the carrier wave, and the antenna A transmits the modulated wave. When the wireless tag A receives this modulated wave, it demodulates the modulated wave by a demodulation circuit (not shown). When a tag information read command is extracted by demodulation, the wireless tag A reads the tag information from the internal memory (R12), and transmits the tag information on an electromagnetic wave (R13). When the antenna A receives this electromagnetic wave, the demodulation circuit 64 extracts tag information from the electromagnetic wave and outputs it to the control unit 5. The control unit 5 stores the tag information in the buffer A of the RAM 53 (Q14).

次に、指示信号出力部51は、搬送波出力制御信号とアンテナBの選択を指示するためのアンテナ選択信号を出力する。アンテナ切換回路65は使用するアンテナをアンテナBに切り換え(Q15)、アンテナBは搬送波発振回路61によって生成された搬送波を送信する(Q16)。無線タグBはこの搬送波を受信して活性化する(R14)。   Next, the instruction signal output unit 51 outputs a carrier wave output control signal and an antenna selection signal for instructing the selection of the antenna B. The antenna switching circuit 65 switches the antenna to be used to the antenna B (Q15), and the antenna B transmits the carrier wave generated by the carrier wave oscillation circuit 61 (Q16). The wireless tag B receives this carrier wave and activates it (R14).

続いて指示信号出力部51はタグ情報の読み取りコマンドを含む制御信号を出力する(Q17)。この信号に基づいて変調回路62が搬送波を変調し、アンテナBが変調波を送信する。無線タグBはこの変調波を受信すると、図示しない復調回路によって変調波を復調する。復調によってタグ情報の読み取りコマンドが抽出されると、無線タグBは内部メモリからタグ情報を読み出し(R15)、タグ情報を電磁波に乗せて送信する(R16)。アンテナBがこの電磁波を受信すると、復調回路64が電磁波からタグ情報を抽出して制御部5へ出力する。制御部5はRAM53のバッファBにタグ情報を格納する(Q18)。   Subsequently, the instruction signal output unit 51 outputs a control signal including a tag information reading command (Q17). Based on this signal, the modulation circuit 62 modulates the carrier wave, and the antenna B transmits the modulated wave. When receiving the modulated wave, the wireless tag B demodulates the modulated wave by a demodulation circuit (not shown). When the tag information read command is extracted by demodulation, the wireless tag B reads the tag information from the internal memory (R15), and transmits the tag information on the electromagnetic wave (R16). When the antenna B receives this electromagnetic wave, the demodulation circuit 64 extracts tag information from the electromagnetic wave and outputs it to the control unit 5. The control unit 5 stores the tag information in the buffer B of the RAM 53 (Q18).

次に、指示信号出力部51は、搬送波出力制御信号とアンテナCの選択を指示するためのアンテナ選択信号を出力する。そしてアンテナ切換回路65によって使用するアンテナがアンテナCに切り換えられると、上述した動作と同じ動作で無線タグCのタグ情報を読み取り、バッファCへ格納する(Q23)。   Next, the instruction signal output unit 51 outputs a carrier wave output control signal and an antenna selection signal for instructing the selection of the antenna C. When the antenna switching circuit 65 switches the antenna to be used to the antenna C, the tag information of the wireless tag C is read by the same operation as described above and stored in the buffer C (Q23).

そして制御部5は3チャネル分のタグ情報の読み取りが終了したことを示す信号を制御装置2へ出力する(Q23)。制御装置2がこの信号を入力すると(P12)、制御装置2はタグ情報Aの要求信号を出力する(P13)。制御部5はRAM53のバッファAに格納されているタグ情報を読み出して(Q24)、タグ情報を制御装置2へ出力する(Q25)。制御装置2はこのタグ情報を入力する(P14)。続いて制御装置2はタグ情報B及びタグ情報Cの要求信号を順次出力する。制御部5はこの要求信号に応答してタグ情報B及びタグ情報CをRAM53の各バッファから読み出して、制御装置2へ出力する(Q26〜Q29)。制御装置2がタグ情報B及びタグ情報Cを入力して(P15〜P18)、タグ情報の読み取り動作が完了する(P19)。   Then, the control unit 5 outputs a signal indicating that reading of tag information for three channels has been completed to the control device 2 (Q23). When the control device 2 inputs this signal (P12), the control device 2 outputs a request signal for tag information A (P13). The control unit 5 reads the tag information stored in the buffer A of the RAM 53 (Q24), and outputs the tag information to the control device 2 (Q25). The control device 2 inputs this tag information (P14). Subsequently, the control device 2 sequentially outputs request signals for tag information B and tag information C. In response to this request signal, the control unit 5 reads the tag information B and the tag information C from each buffer of the RAM 53 and outputs them to the control device 2 (Q26 to Q29). The control device 2 inputs the tag information B and the tag information C (P15 to P18), and the tag information reading operation is completed (P19).

続いて、単チャネルの無線タグ読取装置3の制御部5が従来の無線タグ読取プログラムに従って処理を実行したときの各部の動作について図5を用いて説明する。尚、無線タグ読取プログラムは、上述と同様に仮に最大3チャネル分の無線タグのタグ情報を読み取り可能なように構成されていることとする。更に、説明の便宜上、図5においては無線タグ91を「無線タグA」、アンテナ63を「アンテナA」と符号を置き換えて説明する。   Next, the operation of each unit when the control unit 5 of the single-channel RFID tag reader 3 executes processing according to a conventional RFID tag reading program will be described with reference to FIG. It is assumed that the wireless tag reading program is configured to be able to read the tag information of wireless tags for a maximum of 3 channels as described above. Furthermore, for convenience of explanation, in FIG. 5, the wireless tag 91 is described as “wireless tag A” and the antenna 63 is replaced with “antenna A”.

まず制御装置2から無線タグAのタグ情報の読み取りを指示するためのタグ情報読取命令信号が出力される(P21)。この信号を受けて指示信号出力部51は搬送波出力制御信号を出力し(Q31)、アンテナ63は搬送波発振回路61によって生成された搬送波を送信する(Q32)。無線タグAはこの搬送波を受信して活性化する(R21)。   First, a tag information reading command signal for instructing reading of tag information of the wireless tag A is output from the control device 2 (P21). In response to this signal, the instruction signal output unit 51 outputs a carrier wave output control signal (Q31), and the antenna 63 transmits the carrier wave generated by the carrier wave oscillation circuit 61 (Q32). The wireless tag A receives this carrier wave and activates it (R21).

続いて指示信号出力部51はタグ情報の読み取りコマンドを含む制御信号を出力する。この信号に基づいて変調回路62が搬送波を変調し、アンテナ63が変調波を送信する(Q33)。無線タグAはこの変調波を受信すると、図示しない復調回路によって変調波を復調する。復調によってタグ情報の読み取りコマンドが抽出されると、無線タグAは内部メモリからタグ情報を読み出し(R22)、タグ情報を電磁波に乗せて送信する(R23)。アンテナ63がこの電磁波を受信すると、復調回路64が電磁波からタグ情報を抽出して制御部5へ出力する。制御部5はRAM53のバッファAにタグ情報を格納する(Q34)。   Subsequently, the instruction signal output unit 51 outputs a control signal including a tag information reading command. Based on this signal, the modulation circuit 62 modulates the carrier wave, and the antenna 63 transmits the modulated wave (Q33). When the wireless tag A receives this modulated wave, it demodulates the modulated wave by a demodulation circuit (not shown). When a tag information read command is extracted by demodulation, the wireless tag A reads the tag information from the internal memory (R22), and transmits the tag information on an electromagnetic wave (R23). When the antenna 63 receives this electromagnetic wave, the demodulation circuit 64 extracts tag information from the electromagnetic wave and outputs it to the control unit 5. The control unit 5 stores the tag information in the buffer A of the RAM 53 (Q34).

そして、上記した搬送波出力制御信号の出力(Q31)から受信したタグ情報のバッファAへの格納(Q34)と同じ動作(無線タグAについてはR21〜R23)があと2回繰り返される。つまり、無線タグAのタグ情報の読取動作が合計3チャネル分(3回)行われる。   Then, the same operation (R21 to R23 for the wireless tag A) of the tag information received from the output (Q31) of the carrier wave output control signal (Q34) is repeated two more times. That is, the tag information reading operation of the wireless tag A is performed for a total of three channels (three times).

そして制御部5はタグ情報の読み取りが終了したことを示す信号を制御装置2へ出力する(Q43)。制御装置2がこの信号を入力すると(Q22)、制御装置2はタグ情報Aの要求信号を出力する(P23)。制御部5はRAM53のバッファAに格納されているタグ情報を読み出して(Q44)、タグ情報を制御装置2へ出力する(Q45)。制御装置21はこのタグ情報を入力し(P24)、タグ情報の読み取り動作が完了する。   And the control part 5 outputs the signal which shows that reading of tag information was complete | finished to the control apparatus 2 (Q43). When the control device 2 inputs this signal (Q22), the control device 2 outputs a request signal for tag information A (P23). The control unit 5 reads the tag information stored in the buffer A of the RAM 53 (Q44), and outputs the tag information to the control device 2 (Q45). The control device 21 inputs this tag information (P24), and the tag information reading operation is completed.

このように、従来の無線タグ読取プログラムでは、無線タグ読取装置3のチャネル数の認識が行われない。換言すると、上記の例の場合、無線タグ読取装置3が単チャネルであっても、タグ情報の読出動作は必ず3チャネル分(3回)行われる。つまり、図5に示す無線タグ読取装置3の動作において、動作Q31〜Q34で無線タグAのタグ情報の読み取りは完了しているにも関わらず、無線タグ読取プログラムが3チャネル用の構成になっているために、その後に同じ内容の読取動作が2回も行われている。つまり、動作Q36〜Q42と動作R24〜R29の2回分のタグ情報の読取動作は必要のない無駄な動作であることが言える。   Thus, in the conventional RFID tag reading program, the number of channels of the RFID tag reader 3 is not recognized. In other words, in the case of the above example, even if the RFID tag reader 3 is a single channel, the tag information reading operation is always performed for three channels (three times). That is, in the operation of the wireless tag reader 3 shown in FIG. 5, the wireless tag reading program is configured for 3 channels even though the reading of the tag information of the wireless tag A is completed in operations Q31 to Q34. Therefore, the same content reading operation is performed twice thereafter. That is, it can be said that the tag information reading operation for two times of operations Q36 to Q42 and operations R24 to R29 is a useless operation that is not necessary.

また、図3及び4に示した多チャネルの無線タグ読取装置3のタグ情報の読取動作においても、例えば8チャネル分のタグ情報の読み取りが必ず行われるよう無線タグ読出プログラムが構成されている場合、3チャネル分のタグ情報の読出動作の後に、無駄な読取動作が5回分も行われることになる。無線タグ読取装置3が単チャネル又は多チャネルの何れであっても共通の無線タグ読取プログラムで動作可能であることはメリットが大きいが、そのためにタグ情報の読み取りのために無駄な動作が増え、制御装置2にタグ情報が入力されるまでに多くの時間がかかり、その後に制御装置2において実行される処理にも支障をきたしていた。   Further, in the tag information reading operation of the multi-channel RFID tag reader 3 shown in FIGS. 3 and 4, for example, when the RFID tag reading program is configured so that tag information for eight channels is always read. After the tag information reading operation for three channels, useless reading operations are performed five times. Although the wireless tag reader 3 can be operated with a common wireless tag reading program regardless of whether it is a single channel or a multi-channel, there is a great merit. It takes a long time for the tag information to be input to the control device 2, and the subsequent processing executed in the control device 2 is also hindered.

そこで、本発明においては、無線タグ読取装置3のチャネル数に関わらず共通の無線タグ読取プログラム541を用いると共に、プログラムの実行によってチャネル数を認識することによって無駄な処理を減らした無線タグ読取プログラムを提案する。   Therefore, in the present invention, a wireless tag reading program that uses a common wireless tag reading program 541 regardless of the number of channels of the wireless tag reading device 3 and reduces wasteful processing by recognizing the number of channels by executing the program. Propose.

まず、多チャネルの無線タグ読取装置3の制御部5が本発明における無線タグ読取プログラム541に従って無線タグ読取処理を実行したときの各部の動作の流れについて図6〜9を用いて説明する。この無線タグ読取処理は、無線タグ読取装置3が動作可能な状態(例えば、電源投入直後)になると制御部5によってROM54から無線タグ読取プログラム541が読み出されて実行される。   First, the flow of operation of each unit when the control unit 5 of the multi-channel wireless tag reader 3 executes the wireless tag reading process according to the wireless tag reading program 541 according to the present invention will be described with reference to FIGS. This wireless tag reading process is executed by reading the wireless tag reading program 541 from the ROM 54 by the control unit 5 when the wireless tag reading device 3 becomes operable (for example, immediately after power-on).

まず、指示信号出力部51は搬送波出力制御信号とアンテナAの選択を指示するためのアンテナ選択信号を出力する。ここで、アンテナ選択信号は、アンテナ切換回路65に対してアンテナを切り換えるタイミングを指示するためのトリガ信号であればよい。アンテナ切換回路65は使用するアンテナをアンテナAに切り換える(Q51)。これにより、アンテナAは搬送波発振回路61によって生成された搬送波を送信し(Q52)、無線タグAはこの搬送波を受信して活性化する(R31)。   First, the instruction signal output unit 51 outputs a carrier wave output control signal and an antenna selection signal for instructing the selection of the antenna A. Here, the antenna selection signal may be a trigger signal for instructing the antenna switching circuit 65 to switch the antenna. The antenna switching circuit 65 switches the antenna to be used to the antenna A (Q51). Thereby, the antenna A transmits the carrier wave generated by the carrier wave oscillation circuit 61 (Q52), and the wireless tag A receives this carrier wave and activates it (R31).

続いて指示信号出力部51は識別情報の読み取りコマンドを含む制御信号(識別情報読取指示信号)を出力する(Q53)。識別情報とは無線タグの内部メモリに記憶されている情報であり、無線タグの製造時に設定された無線タグ固有の番号である。この他、無線タグは各カートリッジに取り付けられているが、カートリッジに収容されたトナーやインクの色情報(BK、C、M、Y)がタグ情報として記憶されている場合、この色情報を識別情報として使用してもよい。   Subsequently, the instruction signal output unit 51 outputs a control signal (identification information reading instruction signal) including an identification information reading command (Q53). The identification information is information stored in the internal memory of the wireless tag, and is a number unique to the wireless tag set when the wireless tag is manufactured. In addition, although the wireless tag is attached to each cartridge, if color information (BK, C, M, Y) of toner or ink contained in the cartridge is stored as tag information, the color information is identified. It may be used as information.

識別情報読取指示信号に基づいて変調回路62が搬送波を変調し、アンテナAが変調波を送信する。無線タグAはこの変調波を受信すると、図示しない復調回路によって変調波を復調する。復調によって識別情報の読み取りコマンドが抽出されると、無線タグAは内部メモリから識別情報を読み出し(R32)、識別情報を電磁波に乗せて送信する(R33)。アンテナAがこの電磁波を受信すると、復調回路64が電磁波から識別情報を抽出して制御部5へ出力する。制御部5は抽出された識別情報とRAM53に格納されている識別情報を比較する(Q54)。そして、抽出された識別情報と同じ識別情報がRAM53内になければ、制御部5は抽出された識別情報をRAM55に格納する(Q55)。   Based on the identification information read instruction signal, the modulation circuit 62 modulates the carrier wave, and the antenna A transmits the modulated wave. When the wireless tag A receives this modulated wave, it demodulates the modulated wave by a demodulation circuit (not shown). When a read command for identification information is extracted by demodulation, the wireless tag A reads the identification information from the internal memory (R32), and transmits the identification information on an electromagnetic wave (R33). When the antenna A receives this electromagnetic wave, the demodulation circuit 64 extracts identification information from the electromagnetic wave and outputs it to the control unit 5. The control unit 5 compares the extracted identification information with the identification information stored in the RAM 53 (Q54). If the same identification information as the extracted identification information does not exist in the RAM 53, the control unit 5 stores the extracted identification information in the RAM 55 (Q55).

この無線タグの識別情報の読取動作(Q51〜54、R31〜R33)は、アンテナ切換回路65によって所定のアンテナ切換パターンでアンテナが順次切り換えられる毎に行われる。つまり、アンテナ切換回路65は、指示信号出力部51から出力されるアンテナ選択信号に応答して、アンテナA→アンテナB→アンテナCと使用するアンテナを切り換え、その都度、無線タグA〜Cから識別情報を受信する。尚、アンテナ切換回路65は搬送波出力制御信号や変調制御信号に応答して使用するアンテナを切り換えるようにしてもよい。図6及び7においては、無線タグAの識別情報の読取動作はQ51〜55とR31〜R33、無線タグBの識別情報の読取動作はQ56〜60とR34〜R36、無線タグCの識別情報の読取動作はQ61〜65とR37〜39である。   The wireless tag identification information reading operation (Q51 to 54, R31 to R33) is performed each time the antenna is sequentially switched by the antenna switching circuit 65 with a predetermined antenna switching pattern. That is, the antenna switching circuit 65 switches the antenna to be used from antenna A → antenna B → antenna C in response to the antenna selection signal output from the instruction signal output unit 51, and identifies from the wireless tags A to C each time. Receive information. The antenna switching circuit 65 may switch the antenna to be used in response to the carrier wave output control signal or the modulation control signal. 6 and 7, the identification information reading operation of the wireless tag A is Q51 to 55 and R31 to R33, the identification information reading operation of the wireless tag B is Q56 to 60 and R34 to R36, and the identification information of the wireless tag C is The reading operation is Q61-65 and R37-39.

アンテナ切換回路65は全てのアンテナの選択をし終えたら、再度所定のアンテナ切換パターンに従ってアンテナの選択を行う。つまり、無線タグCの読取動作の終了後、指示信号出力部51からアンテナ選択信号が出力されると、アンテナ切換回路65は使用するアンテナをアンテナAに切り換える。これにより、再び無線タグAに対する識別情報の読取動作(Q66〜68、R40〜42)が行われる。   When the antenna switching circuit 65 finishes selecting all the antennas, it again selects the antennas according to a predetermined antenna switching pattern. That is, when the antenna selection signal is output from the instruction signal output unit 51 after the reading operation of the wireless tag C is completed, the antenna switching circuit 65 switches the antenna to be used to the antenna A. Accordingly, the identification information reading operation (Q66 to 68, R40 to 42) for the wireless tag A is performed again.

そして制御部5は、復調回路64によって抽出された無線タグAの識別情報とRAM53に格納された識別情報との比較を行う(Q69)。無線タグAの識別情報は動作Q55において既にRAM53内に格納されていることから、制御部5は抽出された識別情報と同一の識別情報が既にRAM53に格納されていると判断する。つまり、制御部5は無線通信可能な全ての無線タグから識別情報を取得し終えたと判断する。そして、チャネル数決定部52がRAM53に格納されている識別情報の数からチャネル数を「3」に決定する(Q70)。このチャネル数を決定するための一連の動作は、無線タグ読取装置3の電源投入直後等に自動的に1回だけ行われる。   Then, the control unit 5 compares the identification information of the wireless tag A extracted by the demodulation circuit 64 with the identification information stored in the RAM 53 (Q69). Since the identification information of the wireless tag A is already stored in the RAM 53 in the operation Q55, the control unit 5 determines that the same identification information as the extracted identification information is already stored in the RAM 53. That is, the control unit 5 determines that identification information has been acquired from all wireless tags capable of wireless communication. Then, the channel number determination unit 52 determines the number of channels to be “3” from the number of identification information stored in the RAM 53 (Q70). A series of operations for determining the number of channels is automatically performed only once immediately after the RFID tag reader 3 is turned on.

また、無線タグの識別情報の読取動作は、無線タグ読取装置3が配設可能な最大アンテナ数m(mはn以上の整数;以下、単に「最大アンテナ数」と表記する)と同じ回数を上限に繰り返される。読み取られた識別情報とRAM53に格納されている識別情報との一致がないまま、識別情報の読取動作がm回繰り返された場合、無線タグ読取装置3はm個のアンテナを備え、そのアンテナと一対一で対応する無線タグ全てから識別情報を読み取ったことになる。従って、識別情報の読取動作がm回行われたときは、読み取った識別情報と同一の識別情報がRAM53から検出されなくても、チャネル数決定部52はチャネル数をmに決定する。   The RFID tag identification information reading operation is performed the same number of times as the maximum number of antennas m (m is an integer greater than or equal to n; hereinafter simply referred to as “maximum number of antennas”) on which the RFID tag reader 3 can be disposed. Repeated to the upper limit. When the read operation of the identification information is repeated m times without the coincidence between the read identification information and the identification information stored in the RAM 53, the wireless tag reader 3 includes m antennas, That is, the identification information is read from all the wireless tags corresponding one-to-one. Therefore, when the identification information reading operation is performed m times, the channel number determination unit 52 determines the channel number to be m even if the same identification information as the read identification information is not detected from the RAM 53.

チャネル数の決定後、制御装置2から無線タグAのタグ情報の読み取りを指示するためのタグ情報読取命令信号が出力されると(P31)、制御部5はチャネル数決定部52によって決定されたチャネル数の回数だけ(3回)順次アンテナを切り換えさせて、無線タグA〜Cのタグ情報の読取動作を行わせる(Q71〜82、R43〜51)。ここで、指示信号出力部51から出力されるアンテナ制御信号は、上述したように単なるトリガ信号であってもよいし、既にチャネル数が分かっているため、複数のアンテナの中から所望のアンテナを選択させるためのアンテナ番号を示す信号であってもよい。このように、制御装置2からタグ情報読取命令信号が出力される前に制御部5がチャネル数を認識するため、制御部5はタグ情報の読出動作を必要な回数だけ行わせることができ、無駄な読取動作を省くことができる。   After the determination of the number of channels, when the tag information read command signal for instructing the reading of the tag information of the wireless tag A is output from the control device 2 (P31), the control unit 5 is determined by the channel number determination unit 52 The antenna is sequentially switched by the number of times of the number of channels (three times), and the tag information reading operation of the wireless tags A to C is performed (Q71 to 82, R43 to 51). Here, the antenna control signal output from the instruction signal output unit 51 may be a simple trigger signal as described above. Since the number of channels is already known, a desired antenna is selected from a plurality of antennas. It may be a signal indicating an antenna number for selection. Thus, since the control unit 5 recognizes the number of channels before the tag information read command signal is output from the control device 2, the control unit 5 can perform the tag information read operation as many times as necessary. A useless reading operation can be omitted.

制御部5がタグ情報の読み取りが終了したことを示す信号を制御装置2へ出力すると(Q83)、制御装置2は各タグ情報の要求信号を出力し、この要求信号に応答して無線タグ読取装置3は各バッファに格納されたタグ情報を出力する(P32〜P39、Q84〜Q89)。   When the control unit 5 outputs a signal indicating that the reading of the tag information has been completed to the control device 2 (Q83), the control device 2 outputs a request signal for each tag information, and in response to this request signal, the wireless tag reading is performed. The device 3 outputs the tag information stored in each buffer (P32 to P39, Q84 to Q89).

次は、単チャネルの無線タグ読取装置3の制御部5が、本発明における同じ無線タグ読取プログラム541に従って無線タグ読取処理を実行したときの各部の動作の流れについて図10及び11を用いて説明する。無線タグ読取装置3が動作可能な状態になると、指示信号出力部51は搬送波出力制御信号を出力し(Q91)、アンテナ63は搬送波発振回路61によって生成された搬送波を送信する(Q92)。無線タグAはこの搬送波を受信して活性化する(R61)。   Next, the operation flow of each unit when the control unit 5 of the single-channel RFID tag reader 3 executes the RFID tag reading process according to the same RFID tag reading program 541 according to the present invention will be described with reference to FIGS. To do. When the wireless tag reader 3 is operable, the instruction signal output unit 51 outputs a carrier wave output control signal (Q91), and the antenna 63 transmits the carrier wave generated by the carrier wave oscillation circuit 61 (Q92). The wireless tag A receives this carrier wave and activates it (R61).

続いて指示信号出力部51は識別情報の読み取りコマンドを含む制御信号(識別情報読取指示信号)を出力し(Q93)、アンテナ63が変調波を送信する。無線タグAはこの変調波を受信すると、内部メモリから識別情報を読み出し(R62)、識別情報を電磁波に乗せて送信する(R63)。アンテナ63がこの電磁波を受信して、復調回路64が電磁波から識別情報を抽出して制御部5へ出力する。制御部5は抽出された識別情報とRAM53に格納されている識別情報を比較する(Q94)。抽出された識別情報と同じ識別情報がRAM53内になければ、制御部5は抽出された識別情報をRAM53に格納する(Q95)。   Subsequently, the instruction signal output unit 51 outputs a control signal (identification information reading instruction signal) including an identification information reading command (Q93), and the antenna 63 transmits a modulated wave. When receiving the modulated wave, the wireless tag A reads the identification information from the internal memory (R62), and transmits the identification information on the electromagnetic wave (R63). The antenna 63 receives this electromagnetic wave, and the demodulation circuit 64 extracts identification information from the electromagnetic wave and outputs it to the control unit 5. The control unit 5 compares the extracted identification information with the identification information stored in the RAM 53 (Q94). If the same identification information as the extracted identification information does not exist in the RAM 53, the control unit 5 stores the extracted identification information in the RAM 53 (Q95).

上述したように、抽出された識別情報と同一の識別情報がRAM53から検出されるまで、最大アンテナ数mと同じ回数を上限として、指示信号出力部51は搬送波出力制御信号を出力する。従って、再度アンテナ63から搬送波が送信されて無線タグAの識別情報の読取動作が行われる(Q96〜98、R64〜66)。   As described above, until the same identification information as the extracted identification information is detected from the RAM 53, the instruction signal output unit 51 outputs the carrier wave output control signal with the same number as the maximum number of antennas m as an upper limit. Accordingly, the carrier wave is transmitted again from the antenna 63, and the identification information reading operation of the wireless tag A is performed (Q96 to 98, R64 to 66).

そして、制御部5は復調回路64から抽出された識別情報を入力すると、抽出された識別情報とRAM53に格納されている識別情報を比較する(Q99)。無線タグAの識別情報は動作Q95において既にRAM53に格納されていることから、制御部5は抽出された識別情報と同一の識別情報が既にRAM53に格納されていると判断する。つまり、制御部5は無線通信可能な全ての無線タグから識別情報を取得し終えたと判断し、チャネル数決定部52がRAM53に格納されている識別情報の数からチャネル数を「1」に決定する(Q100)。   And the control part 5 will input the identification information extracted from the demodulation circuit 64, and will compare the extracted identification information with the identification information stored in RAM53 (Q99). Since the identification information of the wireless tag A is already stored in the RAM 53 in the operation Q95, the control unit 5 determines that the same identification information as the extracted identification information is already stored in the RAM 53. That is, the control unit 5 determines that identification information has been acquired from all wireless tags capable of wireless communication, and the channel number determination unit 52 determines the number of channels to be “1” from the number of identification information stored in the RAM 53. (Q100).

チャネル数の決定後、制御装置2から無線タグAのタグ情報の読み取りを指示するためのタグ情報読取命令信号が出力されると(P41)、制御部5はチャネル数決定部52によって決定されたチャネル数だけ(1回)搬送波出力制御信号や変調制御信号を送信させて無線タグAのタグ情報の読取動作を行わせる(Q101〜104、R67〜69)。制御部5がタグ情報の読み取りが終了したことを示す信号を制御装置2へ出力すると(Q105)、制御装置2は無線タグAのタグ情報の要求信号を出力し(R43)、この要求信号に応答して無線タグ読取装置3はバッファAに格納されたタグ情報を出力する(Q106、107)。   After the determination of the number of channels, when the tag information reading command signal for instructing the reading of the tag information of the wireless tag A is output from the control device 2 (P41), the control unit 5 is determined by the channel number determination unit 52 The carrier wave output control signal and the modulation control signal are transmitted by the number of channels (once), and the tag information reading operation of the wireless tag A is performed (Q101 to 104, R67 to 69). When the control unit 5 outputs a signal indicating that the reading of the tag information has been completed to the control device 2 (Q105), the control device 2 outputs a request signal for the tag information of the wireless tag A (R43). In response, the wireless tag reader 3 outputs the tag information stored in the buffer A (Q106, 107).

図5にて説明したように、単チャネルの無線タグ読取装置3の制御部5が従来の無線タグ読取プログラムに従って処理を実行すると、無線タグ読取装置3のチャネル数を認識せずに無線タグAの読取動作を行うため、無線タグAに対して同じ読取動作を3回も行う等の無駄な動作が多かった。しかし、同装置3の制御部5が本発明における無線タグ読取プログラム541に従って処理を実行すると、無線タグ9から読み取った識別情報に基づいて制御部5はチャネル数が1であることを認識することができる。そして、その後制御装置2からタグ情報読取命令信号が出力されると、制御部5は無線タグAへのタグ情報の読取動作を1回だけ行わせる。このように、制御装置2からタグ情報読取命令信号が出力される前に、制御部5がチャネル数を認識することによって、タグ情報読み取りの際の無駄な動作を省くことができ、タグ情報の読取時間を短縮させることができる。   As described with reference to FIG. 5, when the control unit 5 of the single-channel RFID tag reader 3 executes processing according to the conventional RFID tag reading program, the RFID tag A is recognized without recognizing the number of channels of the RFID tag reader 3. Therefore, there are many useless operations such as performing the same reading operation on the wireless tag A three times. However, when the control unit 5 of the apparatus 3 executes processing according to the wireless tag reading program 541 in the present invention, the control unit 5 recognizes that the number of channels is 1 based on the identification information read from the wireless tag 9. Can do. Then, when a tag information reading command signal is output from the control device 2 thereafter, the control unit 5 causes the wireless tag A to read the tag information only once. As described above, before the tag information reading command signal is output from the control device 2, the control unit 5 recognizes the number of channels, so that useless operations at the time of reading tag information can be omitted. Reading time can be shortened.

図12は、制御部5が無線タグ読取プログラム541に従って処理を実行したときの流れを示すフローチャートである。無線タグ読取処理の流れについて説明するが、上述した各部の動作説明と重複する部分が多いため、簡単に説明する。   FIG. 12 is a flowchart showing a flow when the control unit 5 executes processing according to the wireless tag reading program 541. The flow of the wireless tag reading process will be described. However, since there are many portions overlapping the above-described operation description of each unit, a brief description will be given.

まず制御部5は変数i(iは1以上の整数)を1に設定する(ステップS11)。そして指示信号出力部51から出力される各種制御信号に応答して、通信部6は無線タグ9に対して搬送波を送信して活性化させ、無線タグ9から識別情報を受信する(ステップS12)。   First, the control unit 5 sets a variable i (i is an integer of 1 or more) to 1 (step S11). In response to various control signals output from the instruction signal output unit 51, the communication unit 6 transmits a carrier wave to the wireless tag 9 to activate it, and receives identification information from the wireless tag 9 (step S12). .

続いて、制御部5は受信した識別情報とRAM53に格納されている識別情報を比較する(ステップS13)。RAM53内に受信した識別情報と同一の識別情報がなく(ステップS13;NO)、変数iが最大アンテナ数mと等しくなければ(ステップS14;NO)、制御部5は受信した識別情報をRAM53に格納して変数iに1加算し(ステップS15)、ステップS12へ処理を移行する。   Subsequently, the control unit 5 compares the received identification information with the identification information stored in the RAM 53 (step S13). If there is no identification information identical to the received identification information in the RAM 53 (step S13; NO) and the variable i is not equal to the maximum number of antennas m (step S14; NO), the control unit 5 stores the received identification information in the RAM 53. Store and add 1 to the variable i (step S15), and proceed to step S12.

RAM53内に受信した識別情報と同一の識別情報がある場合(ステップS13:YES)、チャネル数決定部52はチャネル数を変数iの示す数に設定する(ステップS16)。また、ステップS14において制御部5が変数iと最大アンテナ数mが等しいと判断した場合(ステップS14;YES)、チャネル数決定部52はチャネル数を最大アンテナ数mが示す数に設定する(ステップS17)。   When there is the same identification information as the received identification information in the RAM 53 (step S13: YES), the channel number determination unit 52 sets the channel number to the number indicated by the variable i (step S16). If the control unit 5 determines in step S14 that the variable i and the maximum number of antennas m are equal (step S14; YES), the channel number determination unit 52 sets the number of channels to the number indicated by the maximum number of antennas m (step S14). S17).

次に、制御装置2からタグ情報読取命令信号が出力されると(ステップS18;YES)、制御部5は変数iを1に設定する(ステップS19)。そして指示信号出力部51から出力される各種制御信号に応答して通信部6は無線タグ9に対して搬送波を送信して活性化させ、無線タグ9からタグ情報を受信する(ステップS20)。制御部5は受信したタグ情報をRAM53のバッファへ格納する(ステップS21)。制御部5はステップS20とS21の処理をチャネル数決定部52が決定したチャネル数の回数だけ繰り返した後、タグ情報読取終了信号を制御装置2に対して出力する(ステップS24)。   Next, when a tag information reading command signal is output from the control device 2 (step S18; YES), the control unit 5 sets the variable i to 1 (step S19). In response to various control signals output from the instruction signal output unit 51, the communication unit 6 transmits a carrier wave to the wireless tag 9 to activate it, and receives tag information from the wireless tag 9 (step S20). The control unit 5 stores the received tag information in the buffer of the RAM 53 (step S21). The control unit 5 repeats the processes of steps S20 and S21 by the number of channels determined by the channel number determination unit 52, and then outputs a tag information reading end signal to the control device 2 (step S24).

次に、制御装置2からタグ情報要求信号が出力されると(ステップS25;YES)、制御部5はRAM53のバッファに格納されたタグ情報を読み出して制御装置2に対して出力する(ステップS26)。   Next, when a tag information request signal is output from the control device 2 (step S25; YES), the control unit 5 reads the tag information stored in the buffer of the RAM 53 and outputs it to the control device 2 (step S26). ).

以上説明したように、無線タグ9の識別情報を読み取り、読み取った識別情報を用いてチャネル数を決定することにより、その後制御装置2からタグ情報読取命令信号が出力されたとき、制御部5は無線タグ9へのタグ情報の読取処理をチャネル数の回数だけ行うことができる。つまり、従来のように無線タグ9に対して必要回数以上にタグ情報の読取処理を行うことがないため、無駄な処理を省くことができ、タグ情報の読取時間を短縮することができる。   As described above, when the tag information read command signal is output from the control device 2 by reading the identification information of the wireless tag 9 and determining the number of channels using the read identification information, the control unit 5 The tag information reading process to the wireless tag 9 can be performed as many times as the number of channels. That is, since the tag information reading process is not performed more than the required number of times for the wireless tag 9 as in the prior art, useless processing can be omitted and the tag information reading time can be shortened.

尚、本発明は上記実施の形態の構成に限られず種々の変形が可能である。例えば、上記実施の形態では、RAM53から同一の識別情報が検出されるまで無線タグ9の識別情報の読取処理を繰り返していたが、この他の方法として、無線タグ9の識別情報の読取処理を最大アンテナ数mの示す回数分だけ繰り返し、受信した識別情報の種類の数をチャネル数とするようにしてもよい。   The present invention is not limited to the configuration of the above embodiment, and various modifications can be made. For example, in the above embodiment, the reading process of the identification information of the wireless tag 9 is repeated until the same identification information is detected from the RAM 53. As another method, the reading process of the identification information of the wireless tag 9 is performed. It may be repeated as many times as indicated by the maximum number of antennas m, and the number of types of identification information received may be the number of channels.

図13は、制御部5が無線タグ読取プログラム541の変形例に従って処理を実行したときの流れを示すフローチャートである。まず制御部5は変数iを1に設定する(ステップS31)。そして指示信号出力部51から出力される各種制御信号に応答して、通信部6は無線タグ9に対して搬送波を送信して活性化させ、無線タグ9から識別情報を受信する(ステップS32)。   FIG. 13 is a flowchart showing a flow when the control unit 5 executes processing according to a modification of the RFID tag reading program 541. First, the control unit 5 sets a variable i to 1 (step S31). In response to the various control signals output from the instruction signal output unit 51, the communication unit 6 transmits a carrier wave to the wireless tag 9 to activate it, and receives identification information from the wireless tag 9 (step S32). .

続いて、制御部5は変数iと最大アンテナ数mを比較する(ステップS33)。変数iと最大アンテナ数mが等しくなければ(ステップS33;NO)、制御部5は受信した識別情報をRAM53に格納して変数iに1加算し(ステップS34)、ステップS32へ処理を移行する。一方、変数iと最大アンテナ数mが等しければ(ステップS33;YES)、チャネル数決定部52はRAM53に記憶された識別情報の種類の数をチャネル数に設定する(ステップS35)。ステップS36以降の処理は、図12に示すステップS18以降の処理と同じであるため、説明を省略する。   Subsequently, the control unit 5 compares the variable i with the maximum number of antennas m (step S33). If the variable i and the maximum number of antennas m are not equal (step S33; NO), the control unit 5 stores the received identification information in the RAM 53, adds 1 to the variable i (step S34), and shifts the processing to step S32. . On the other hand, if the variable i and the maximum number of antennas m are equal (step S33; YES), the channel number determination unit 52 sets the number of types of identification information stored in the RAM 53 as the number of channels (step S35). Since the process after step S36 is the same as the process after step S18 shown in FIG. 12, description is abbreviate | omitted.

本実施の形態における単チャネルの無線タグシステムの電気的構成を示すブロック図。1 is a block diagram illustrating an electrical configuration of a single-channel wireless tag system in this embodiment. 本実施の形態における多チャネルの無線タグシステム1の電気的構成を示すブロック図。1 is a block diagram showing an electrical configuration of a multi-channel wireless tag system 1 in the present embodiment. 従来の無線タグ読取プログラムに従って処理を実行したときの動作の流れを説明した図。The figure explaining the flow of operation when processing is performed according to the conventional RFID tag reading program. 図3に続く動作の流れを説明した図。The figure explaining the flow of the operation | movement following FIG. 従来の無線タグ読取プログラムに従って処理を実行したときの動作の流れを説明した図。The figure explaining the flow of operation when processing is performed according to the conventional RFID tag reading program. 本実施の形態の無線タグ読取プログラムに従って処理を実行したときの動作の流れを説明した図。The figure explaining the flow of operation | movement when a process is performed according to the radio | wireless tag reading program of this Embodiment. 図6に続く動作の流れを説明した図。The figure explaining the flow of the operation | movement following FIG. 図7に続く動作の流れを説明した図。The figure explaining the flow of the operation | movement following FIG. 図8に続く動作の流れを説明した図。The figure explaining the flow of the operation | movement following FIG. 本実施の形態の無線タグ読取プログラムに従って処理を実行したときの動作の流れを説明した図。The figure explaining the flow of operation | movement when a process is performed according to the radio | wireless tag reading program of this Embodiment. 図10に続く動作の流れを説明した図。The figure explaining the flow of the operation | movement following FIG. 本実施の形態における無線タグ読取プログラムに従って処理を実行したときの流れを示すフローチャート。6 is a flowchart showing a flow when processing is executed in accordance with the wireless tag reading program in the present embodiment. 本実施の形態における無線タグ読取プログラムの変形例に従って処理を実行したときの流れを示すフローチャート。The flowchart which shows the flow when a process is performed according to the modification of the RFID tag reading program in this Embodiment. 無線タグシステムの電気的な概略構成を説明するためのブロック図。The block diagram for demonstrating the electrical schematic structure of a wireless tag system. CPUの入力端子を用いてチャネル数を認識させる方法を説明するための図。The figure for demonstrating the method of recognizing the number of channels using the input terminal of CPU.

符号の説明Explanation of symbols

1 無線タグシステム
2 制御装置
3 無線タグ読取装置
4 インタフェース
5 制御部
51 指示信号出力部
52 チャネル数決定部
53 RAM
54 ROM
541 無線タグ読取プログラム
6 通信部
61 搬送波発振回路
62 変調回路
63 アンテナ
64 復調回路
65 アンテナ切換回路
9 無線タグ
DESCRIPTION OF SYMBOLS 1 Wireless tag system 2 Control apparatus 3 Wireless tag reader 4 Interface 5 Control part 51 Instruction signal output part 52 Channel number determination part 53 RAM
54 ROM
541 Radio tag reading program 6 Communication unit 61 Carrier wave oscillation circuit 62 Modulation circuit 63 Antenna 64 Demodulation circuit 65 Antenna switching circuit 9 Radio tag

Claims (10)

固有の識別情報及びタグ情報を記憶した1つ又は複数の無線タグに対して無線通信を行って前記識別情報又は前記タグ情報を読み取るための少なくとも前記無線タグと同数のアンテナと、前記アンテナが複数の場合、前記無線通信を行うアンテナを予め定められた切換パターンに応じて順次切り換え、前記全てのアンテナの切り換えが終わると再度前記切換パターンに応じて前記アンテナを順次切り換える切換手段とを有する通信手段と、
前記無線タグが記憶する識別情報の読み取りを前記通信手段に対して行わせる識別情報読取制御手段と、
前記無線タグが記憶するタグ情報の読み取りを前記通信手段に対して行わせるタグ情報読取制御手段と、
前記通信手段によって読み取られた識別情報を記憶する記憶手段と、
前記記憶された識別情報を用いて無線通信を行う前記アンテナの数を決定する決定手段と、
を備え、前記タグ情報読取制御手段は、前記決定手段によって決定された前記アンテナの数と同じ数だけ前記通信手段に対して前記タグ情報の読み取りを行わせることを特徴とする無線タグ読取装置。
At least the same number of antennas as the wireless tag for performing wireless communication and reading the identification information or the tag information with respect to one or a plurality of wireless tags storing unique identification information and tag information, and a plurality of the antennas In this case, the communication means includes switching means for sequentially switching the antennas for performing the wireless communication according to a predetermined switching pattern, and switching the antennas sequentially according to the switching pattern again after switching of all the antennas is completed. When,
Identification information reading control means for causing the communication means to read identification information stored in the wireless tag;
Tag information reading control means for causing the communication means to read tag information stored in the wireless tag;
Storage means for storing identification information read by the communication means;
Determining means for determining the number of the antennas for performing wireless communication using the stored identification information;
The tag information reading control means causes the communication means to read the tag information by the same number as the number of antennas determined by the determining means.
前記無線タグ読取装置が動作可能な状態に遷移した直後、前記識別情報読取制御手段は前記通信手段に対して前記識別情報の読み取りを行わせるものであることを特徴とする請求項1に記載の無線タグ読取装置。   2. The identification information reading control unit causes the communication unit to read the identification information immediately after the wireless tag reading device transitions to an operable state. Wireless tag reader. 前記アンテナによって前記識別情報が読み取られる毎に、前記記憶手段に記憶された識別情報の中から直近で読み取られた前記識別情報と同一の識別情報を検出する検出手段を更に備え、
前記検出手段によって前記同一の識別情報が検出されたとき、前記識別情報読取制御手段は前記通信手段による前記識別情報の読み取りを中止し、前記決定手段は前記記憶手段に記憶された識別情報の数を前記アンテナの数として決定することを特徴とする請求項1又は2に記載の無線タグ読取装置。
Each time the identification information is read by the antenna, it further comprises detection means for detecting the same identification information as the identification information read most recently from among the identification information stored in the storage means,
When the same identification information is detected by the detection means, the identification information reading control means stops reading the identification information by the communication means, and the determination means determines the number of identification information stored in the storage means. The wireless tag reader according to claim 1, wherein the wireless tag reader is determined as the number of antennas.
前記識別情報読取制御手段は、前記通信手段が所有可能な前記アンテナの最大個数と同じ回数だけ前記識別情報の読み取りを前記通信手段に対して行わせ、
前記識別情報の読み取り終了後、前記決定手段は前記記憶手段に記憶された識別情報の種類の数を前記アンテナの数として決定することを特徴とする請求項1又は2に記載の無線タグ読取装置。
The identification information reading control means causes the communication means to read the identification information as many times as the maximum number of the antennas that can be owned by the communication means,
3. The wireless tag reader according to claim 1, wherein after the reading of the identification information is completed, the determination unit determines the number of types of identification information stored in the storage unit as the number of antennas. .
請求項1〜4の何れか一項に記載の無線タグ読取装置と、
前記無線タグが記憶するタグ情報の読み取り開始を指示する命令信号を前記無線タグ読取装置に対して出力する制御装置と、
を備え、前記制御装置から出力された命令信号に応答して、前記タグ情報読取制御手段は、前記決定手段によって決定された前記アンテナの数と同じ回数だけ前記通信手段に対して前記タグ情報の読み取りを行わせることを特徴とする無線タグシステム。
The wireless tag reader according to any one of claims 1 to 4,
A control device that outputs to the wireless tag reader a command signal instructing to start reading tag information stored in the wireless tag;
In response to the command signal output from the control device, the tag information reading control means transmits the tag information to the communication means as many times as the number of antennas determined by the determination means. A wireless tag system characterized in that reading is performed.
コンピュータを、
固有の識別情報及びタグ情報を記憶した1つ又は複数の無線タグに対して無線通信を行って前記識別情報又は前記タグ情報を読み取るための少なくとも前記無線タグと同数のアンテナを有する通信部に対して前記無線タグが記憶する識別情報の読み取りを行わせる識別情報読取制御手段、
前記通信部に対して前記無線タグが記憶するタグ情報の読み取りを行わせるタグ情報読取制御手段、
前記アンテナによって読み取られた識別情報を用いて無線通信を行う前記アンテナの数を決定する決定手段、
として機能させ、前記タグ情報読取制御手段が前記決定手段によって決定された前記アンテナの数と同じ数だけ前記通信部に対して前記タグ情報の読み取りを行わせることを特徴とするプログラム。
Computer
For a communication unit having at least the same number of antennas as the wireless tag for performing wireless communication with one or more wireless tags storing unique identification information and tag information and reading the identification information or the tag information Identification information reading control means for reading the identification information stored in the wireless tag,
Tag information reading control means for causing the communication unit to read tag information stored in the wireless tag;
Determining means for determining the number of the antennas for performing wireless communication using the identification information read by the antenna;
The tag information reading control unit causes the communication unit to read the tag information by the same number as the number of antennas determined by the determining unit.
前記コンピュータが動作可能な状態に遷移した直後、前記識別情報読取制御手段が前記通信部に対して前記識別情報の読み取りを行わせることを特徴とする請求項6に記載のプログラム。   The program according to claim 6, wherein the identification information reading control unit causes the communication unit to read the identification information immediately after the computer transitions to an operable state. 前記コンピュータを、
前記アンテナによって前記識別情報が読み取られる毎に、前に読み取られた前記識別情報の中から直近で読み取られた前記識別情報と同一の識別情報を検出する検出手段として更に機能させ、
前記検出手段によって前記同一の識別情報が検出されたとき、前記識別情報読取制御手段が前記通信部による前記識別情報の読み取りを中止し、前記決定手段が前記読み取られた識別情報の数を前記アンテナの数として決定することを特徴とする請求項6又は7に記載のプログラム。
The computer,
Each time the identification information is read by the antenna, it further functions as detection means for detecting the same identification information as the identification information read most recently from among the identification information previously read,
When the same identification information is detected by the detection means, the identification information reading control means stops reading the identification information by the communication unit, and the determination means determines the number of identification information read by the antenna. The program according to claim 6, wherein the program is determined as a number of the program.
前記識別情報読取制御手段が、前記通信部が所有可能な前記アンテナの最大個数と同じ回数だけ前記識別情報の読み取りを前記通信部に対して行わせ、
前記決定手段が前記読み取られた識別情報の種類の数を前記アンテナの数として決定することを特徴とする請求項6又は7に記載のプログラム。
The identification information reading control means causes the communication unit to read the identification information as many times as the maximum number of the antennas that the communication unit can own,
The program according to claim 6 or 7, wherein the determining unit determines the number of types of the read identification information as the number of antennas.
外部から入力される前記無線タグが記憶するタグ情報の読み取り開始を指示する命令信号に応答して、前記タグ情報読取制御手段が、前記決定手段によって決定された前記アンテナの数と同じ回数だけ前記通信部に対して前記タグ情報の読み取りを行わせることを特徴とする請求項6〜9の何れか一項に記載のプログラム。   In response to a command signal for instructing to start reading tag information stored in the wireless tag input from the outside, the tag information reading control means is the same number of times as the number of the antennas determined by the determining means. The program according to claim 6, wherein the tag information is read by a communication unit.
JP2007291483A 2007-11-09 2007-11-09 Wireless tag reader, wireless tag system, and program Expired - Fee Related JP5069539B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007291483A JP5069539B2 (en) 2007-11-09 2007-11-09 Wireless tag reader, wireless tag system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007291483A JP5069539B2 (en) 2007-11-09 2007-11-09 Wireless tag reader, wireless tag system, and program

Publications (2)

Publication Number Publication Date
JP2009116764A JP2009116764A (en) 2009-05-28
JP5069539B2 true JP5069539B2 (en) 2012-11-07

Family

ID=40783820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007291483A Expired - Fee Related JP5069539B2 (en) 2007-11-09 2007-11-09 Wireless tag reader, wireless tag system, and program

Country Status (1)

Country Link
JP (1) JP5069539B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6886623B2 (en) * 2018-02-26 2021-06-16 京セラドキュメントソリューションズ株式会社 Image forming device
CN113158999B (en) * 2021-05-26 2024-04-02 南京云阶电力科技有限公司 Terminal jumper wire identification method and device in electrical design drawing based on template matching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3660317B2 (en) * 2002-03-01 2005-06-15 東光電気株式会社 Antenna sheet and reader / writer system for contactless media
JPWO2003078165A1 (en) * 2002-03-18 2005-07-14 セイコーエプソン株式会社 Printing apparatus and printing system

Also Published As

Publication number Publication date
JP2009116764A (en) 2009-05-28

Similar Documents

Publication Publication Date Title
US8330581B2 (en) IC tag, method of controlling the IC tag, and IC tag system
US9413427B2 (en) Emulation of multiple devices in an NFC device
CN109493586B (en) Operation terminal device for manufacturing device and manufacturing system including the same
FI125558B (en) Device for controlling sensors
US20090283600A1 (en) Automatic detection of an enabled interface of a card reader
WO2002009362A1 (en) Barcode identification of wireless terminals
US20080084277A1 (en) Rfid communication system, rfid communication device and rfid communication method
EP3170059A1 (en) Host apparatus and expansion device
JP5069539B2 (en) Wireless tag reader, wireless tag system, and program
US20130210348A1 (en) Apparatus and method for providing near field communication for mobile device
JP6993128B2 (en) Wireless tag readers and programs
JP4470461B2 (en) Device-specific data transmission / reception system and device-specific data transmission / reception module
CN113412487B (en) Communication system and communication method of communication system
CN113468028A (en) Device management method for computing device, apparatus and medium
CN103164371A (en) Data processing method, antenna supplying method and electronic devices
JP2004185601A (en) Non-contact ic card
US20060132287A1 (en) Radio frequency identification interrogation method and radio frequency identification device
JP6915514B2 (en) Communication device
WO2004051491A1 (en) A method and a system for detecting bus width, an electronic device, and a peripheral device
CN113656338A (en) Electronic device and hot-pluggable storage device thereof
US20090115574A1 (en) Radio frequency identificaiton tag
CN115589240B (en) Method, system and device for determining communication phase, equipment to be calibrated and calibration piece
US20210303502A1 (en) Data communication device and data communication module
JP6991016B2 (en) Devices, systems, configuration methods, and programs
JP2006174380A (en) Reader/writer and antenna detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120719

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120817

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

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5069539

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees