JP5327558B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM - Google Patents

COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Download PDF

Info

Publication number
JP5327558B2
JP5327558B2 JP2011103555A JP2011103555A JP5327558B2 JP 5327558 B2 JP5327558 B2 JP 5327558B2 JP 2011103555 A JP2011103555 A JP 2011103555A JP 2011103555 A JP2011103555 A JP 2011103555A JP 5327558 B2 JP5327558 B2 JP 5327558B2
Authority
JP
Japan
Prior art keywords
output
electromagnetic wave
period
communication
initiator
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
JP2011103555A
Other languages
Japanese (ja)
Other versions
JP2011193510A (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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2011103555A priority Critical patent/JP5327558B2/en
Publication of JP2011193510A publication Critical patent/JP2011193510A/en
Application granted granted Critical
Publication of JP5327558B2 publication Critical patent/JP5327558B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Near-Field Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce power consumption. <P>SOLUTION: An initiator specified in NFCIP-1 transmits attribute information representing its own communication capability, and receives from a target, attribute information representing a communication capability of the target. The attribute information contains at least information on low RF output or information on intermittent RF output. The initiator performs operation in at least one of low-RF output mode or intermittent-RF output mode, on the basis of the attribute information, thereby reducing power of output electromagnetic waves. The present invention may be applicable to e.g., an NFC communication apparatus. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、通信装置、通信方法、およびプログラムに関し、特に、消費電力を低減させることができるようにする通信装置、通信方法、およびプログラムに関する。   The present invention relates to a communication device, a communication method, and a program, and more particularly, to a communication device, a communication method, and a program that can reduce power consumption.

IC(Integrated Circuit)カードを用いて、近距離で非接触により無線通信を行う近距離無線通信システムが広く利用されている。例えば、電子乗車券や、電子マネーとしての利用がよく知られている。また、最近では、電子乗車券や電子マネーの機能を備えた携帯電話が広く普及してきている。   2. Description of the Related Art A short-range wireless communication system that uses an IC (Integrated Circuit) card to perform wireless communication without contact at a short distance is widely used. For example, use as an electronic ticket or electronic money is well known. In recent years, mobile phones equipped with electronic ticket and electronic money functions have become widespread.

近距離無線通信システムには、ISO/IEC 14443として規定される近接型のICカードシステム、ISO/IEC 15693として規定される近傍型のICカードシステム、およびISO/IEC 18092として規定されるNFC(Near Field Communication)などがある。なお、ISO/IEC 18092は、NFCIP(Near Field Communication Interface and Protocol)-1の規格である。   Near-field wireless communication systems include a proximity IC card system specified as ISO / IEC 14443, a proximity IC card system specified as ISO / IEC 15693, and NFC (Near as ISO / IEC 18092). Field Communication). ISO / IEC 18092 is a NFCIP (Near Field Communication Interface and Protocol) -1 standard.

ISO/IEC 18092による近距離無線通信には、アクティブモードとパッシブモードとがある。アクティブモードは、データを送受信する複数の通信装置のそれぞれにおいて、電磁波を出力し、その電磁波を変調することによりデータの送信を行う通信モードである。パッシブモードは、複数の通信装置のうちの1の通信装置(イニシエータ)が、電磁波を出力し、その電磁波を変調することによりデータの送信を行う。複数の通信装置のうちの他の通信装置(ターゲット)は、イニシエータが出力する電磁波を負荷変調することによりデータの送信を行う。   Near field communication based on ISO / IEC 18092 has an active mode and a passive mode. The active mode is a communication mode in which each of a plurality of communication devices that transmit and receive data outputs an electromagnetic wave and modulates the electromagnetic wave to transmit data. In the passive mode, one communication device (initiator) of a plurality of communication devices outputs an electromagnetic wave and transmits data by modulating the electromagnetic wave. Other communication devices (targets) among the plurality of communication devices perform data transmission by load-modulating the electromagnetic waves output from the initiator.

ISO/IEC 14443のリーダライタであるPCD(Proximity Coupling Device)、ISO/IEC 15693のリーダライタであるVCD(Vicinity Coupling Device)、およびISO/IEC 18092のパッシブモードにおけるイニシエータは、電磁波を発生することにより、いわゆるRF(Radio Frequency)フィールド(磁界)を形成する。ISO/IEC 14443のICカード(PICC)、ISO/IEC 15693のICカード(VICC)、ISO/IEC 18092のターゲットは、リーダライタまたはイニシエータに近づくと、電磁誘導によって、電源の供給を受け、リーダライタまたはイニシエータとの間でデータ伝送を行うことができる。   An initiator in the passive mode of PCD (Proximity Coupling Device), a reader / writer of ISO / IEC 14443, VCD (Vicinity Coupling Device) of a reader / writer of ISO / IEC 15693, and ISO / IEC 18092 A so-called RF (Radio Frequency) field (magnetic field) is formed. When an ISO / IEC 14443 IC card (PICC), ISO / IEC 15693 IC card (VICC), or an ISO / IEC 18092 target approaches the reader / writer or initiator, power is supplied by electromagnetic induction to the reader / writer. Alternatively, data transmission can be performed with the initiator.

従って、ISO/IEC 14443およびISO/IEC 15693のリーダライタおよびISO/IEC 18092のパッシブモードにおけるイニシエータは、ICカードまたはターゲットへの電源の供給を主たる目的として、長い時間、電磁波を発生し続ける必要がある。そのため、リーダライタおよびイニシエータは、電力の消耗が早くなってしまうという問題がある。例えば、リーダライタまたはイニシエータの機能を有する携帯電話に、上述の電磁波出力を行わせた場合、通常の待ち受け状態のみでは200時間ないし600時間程度である動作可能時間が、10分の1以下となってしまう。   Therefore, the reader / writer of ISO / IEC 14443 and ISO / IEC 15693 and the initiator in the passive mode of ISO / IEC 18092 must continue to generate electromagnetic waves for a long time mainly for the purpose of supplying power to the IC card or target. is there. Therefore, the reader / writer and the initiator have a problem that power consumption is accelerated. For example, when a mobile phone having a reader / writer or initiator function outputs the above-mentioned electromagnetic wave output, the operable time, which is about 200 hours to 600 hours in the normal standby state alone, is less than 1/10. End up.

消費電力を低減する技術については、これまでも、様々な検討がされている(例えば、特許文献1乃至3参照)。   Various studies have been made on techniques for reducing power consumption (see, for example, Patent Documents 1 to 3).

特表2008−533604号公報Special table 2008-533604 特開平11−126240号公報JP-A-11-126240 特開平11−338984号公報JP 11-338984 A

しかしながら、特に、近距離無線通信機能が携帯電話などのバッテリ駆動する電子機器に内蔵される場合においては、節電の要請は依然強く、さらなる消費電力の低減が求められている。   However, particularly in the case where the short-range wireless communication function is built in a battery-driven electronic device such as a mobile phone, there is still a strong demand for power saving, and further reduction of power consumption is required.

本発明は、このような状況に鑑みてなされたものであり、消費電力を低減させることができるようにするものである。   This invention is made | formed in view of such a condition, and enables it to reduce power consumption.

本発明の一側面の通信装置は、電磁波を出力する電磁波発生手段と、前記電磁波をデータにしたがって変調することにより、データを送信するとともに、前記電磁波発生手段が出力した電磁波、または通信相手である相手装置が出力した電磁波を復調することにより、前記相手装置から送信されてくるデータを受信する送受信手段とを備え、前記送受信手段は、前記データとして、自身の通信能力を表す第1の属性情報を送信するとともに、前記相手装置の通信能力を表す第2の属性情報を受信し、前記第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、前記電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に前記電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、前記電磁波発生手段は、前記第2の属性情報として、前記相手装置が前記第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、前記第2の出力パワー範囲内の前記第1の出力パワー範囲より低いパワーで前記電磁波を出力する低RF出力モードの動作を開始し、前記第2の属性情報として、前記相手装置が前記RFオン期間と前記RFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、前記電磁波の出力を前記RF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作を開始するA communication apparatus according to an aspect of the present invention is an electromagnetic wave generating unit that outputs an electromagnetic wave, and transmits the data by modulating the electromagnetic wave according to data, and is an electromagnetic wave output from the electromagnetic wave generating unit or a communication partner. Transmission / reception means for receiving data transmitted from the counterpart apparatus by demodulating the electromagnetic wave output from the counterpart apparatus, wherein the transmission / reception means uses the first attribute information representing its own communication capability as the data. And the second attribute information indicating the communication capability of the counterpart device, and the first attribute information includes a second output power including a power output value lower than the first output power range. RF output power information indicating that the extent is possible the output of the electromagnetic wave, and an RF oN period is a period for outputting the electromagnetic waves after the RF oN period Wherein the intermittent RF output information including the RF off period is a period for stopping the output of the serial electromagnetic wave, the electromagnetic wave generating means, as said second attribute information, the counterpart device operates in the second output power range When the information indicating that the state is set is received, an operation in a low RF output mode for outputting the electromagnetic wave at a power lower than the first output power range within the second output power range is started, and the first After receiving the information indicating that the counterpart device is set to the operation state corresponding to the RF on period and the RF off period as the attribute information of 2, the output of the electromagnetic wave is output only during the RF output on period. The operation in the intermittent RF output mode that stops only during the RF off period is started .

本発明の一側面の通信方法は、電磁波を出力する電磁波発生手段と、前記電磁波をデータにしたがって変調することにより、データを送信するとともに、前記電磁波発生手段が出力した電磁波、または通信相手である相手装置が出力した電磁波を復調することにより、前記相手装置から送信されてくるデータを受信する送受信手段とを備える通信装置の、前記送受信手段が、前記データとして、自身の通信能力を表す第1の属性情報を送信するとともに、前記相手装置の通信能力を表す第2の属性情報を受信し、前記第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、前記電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に前記電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、前記電磁波発生手段が、前記第2の属性情報として、前記相手装置が前記第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、前記第2の出力パワー範囲内の前記第1の出力パワー範囲より低いパワーで前記電磁波を出力する低RF出力モードの動作を開始し、前記第2の属性情報として、前記相手装置が前記RFオン期間と前記RFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、前記電磁波の出力を前記RF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作を開始するステップを含む。 A communication method according to one aspect of the present invention is an electromagnetic wave generation unit that outputs an electromagnetic wave, and transmits the data by modulating the electromagnetic wave according to data, and is an electromagnetic wave output from the electromagnetic wave generation unit or a communication partner. In a communication apparatus comprising a transmission / reception means for receiving data transmitted from the counterpart apparatus by demodulating an electromagnetic wave output from the counterpart apparatus, the transmission / reception means represents the first communication capability as the data . transmits the attribute information, receiving said second attribute information indicating communication ability of the other party apparatus, wherein the first attribute information, the second containing even lower power output value than the first output power range RF output power information indicating that in the output power range is possible the output of the electromagnetic wave, and an RF oN period is a period for outputting the electromagnetic waves, the RF Wherein the intermittent RF output information including the RF off period is a period for stopping the output of the electromagnetic wave after down period, the electromagnetic wave generating means, wherein the second attribute information, the counterpart device is the second output power range When the information indicating that the operation state is set to be received is received , the operation of the low RF output mode for outputting the electromagnetic wave at a power lower than the first output power range within the second output power range is started. When receiving information indicating that the counterpart device has been set to an operation state corresponding to the RF on period and the RF off period as the second attribute information, the output of the electromagnetic wave is set to the RF output on period only. And a step of starting an intermittent RF output mode operation of stopping only during the RF off period after output.

本発明の一側面のプログラムは、コンピュータに、電磁波をデータにしたがって変調することにより、データを送信するとともに、電磁波発生手段が出力した電磁波、または通信相手である相手装置が出力した電磁波を復調することにより、前記相手装置から送信されてくるデータを受信する送受信手段が、前記データとして、自身の通信能力を表す第1の属性情報を送信するとともに、前記相手装置の通信能力を表す第2の属性情報を受信し、前記第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、前記電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に前記電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、前記電磁波発生手段が、前記第2の属性情報として、前記相手装置が前記第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、前記第2の出力パワー範囲内の前記第1の出力パワー範囲より低いパワーで前記電磁波を出力する低RF出力モードの動作を開始し、前記第2の属性情報として、前記相手装置が前記RFオン期間と前記RFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、前記電磁波の出力を前記RF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作を開始する処理を実行させる。 The program according to one aspect of the present invention transmits data to a computer by modulating electromagnetic waves in accordance with data, and demodulates electromagnetic waves output from the electromagnetic wave generation unit or electromagnetic waves output from a counterpart device that is a communication counterpart. Accordingly, the transmission / reception means for receiving the data transmitted from the counterpart device transmits the first attribute information indicating its own communication capability as the data and the second attribute indicating the communication capability of the counterpart device . receiving the attribute information, wherein the first attribute information, RF output power indicating that the second output power range to include low power output value than the first output power range are possible output of the electromagnetic wave information, and an RF oN period is a period for outputting the electromagnetic waves, the RF off period is a period for stopping the output of the electromagnetic wave after the RF oN period Includes a non-intermittent RF output information, when the electromagnetic wave generating means, as said second attribute information, the partner apparatus receives the information indicating that the set in a state of operating in the second output power range, the An operation in a low RF output mode in which the electromagnetic wave is output at a power lower than the first output power range within a second output power range is started, and the counterpart device transmits the RF on period as the second attribute information And the operation in the intermittent RF output mode in which the output of the electromagnetic wave is output only during the RF output on period and then is stopped during the RF off period when the information indicating that the operation state corresponding to the RF off period is set is received. Execute the process to start .

本発明の一側面においては、データとして、自身の通信能力を表す第1の属性情報が送信されるとともに、相手装置の通信能力を表す第2の属性情報が受信され、第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、電磁波発生手段では、第2の属性情報として、相手装置が第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、第2の出力パワー範囲内の第1の出力パワー範囲より低いパワーで電磁波を出力する低RF出力モードの動作が開始され、第2の属性情報として、相手装置がRFオン期間とRFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、電磁波の出力をRF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作が開始されるIn one aspect of the present invention, as data, together with the first attribute information indicating communication ability of itself is transmitted, received second attribute information indicating communication ability of the other party apparatus, the first attribute information Is RF output power information indicating that the electromagnetic wave can be output in a second output power range including a power output value lower than the first output power range, and RF on which is a period during which the electromagnetic wave is output. Period, and intermittent RF output information including an RF off period, which is a period in which the output of electromagnetic waves is stopped after the RF on period. In the electromagnetic wave generating means, the counterpart device uses the second output power range as the second attribute information. When the information indicating that the operation state is set to be received is received, the operation of the low RF output mode for outputting the electromagnetic wave at a power lower than the first output power range within the second output power range is started, and the second Genus of As information, when receiving information indicating that the counterpart device has been set to the operating state corresponding to the RF on period and the RF off period, intermittent output that stops only the RF off period after outputting the output of the electromagnetic wave only for the RF output on period Operation in RF output mode is started .

なお、プログラムは、伝送媒体を介して伝送することにより、又は、記録媒体に記録して、提供することができる。   The program can be provided by being transmitted through a transmission medium or by being recorded on a recording medium.

通信装置は、独立した装置であっても良いし、1つの装置を構成している内部ブロックであっても良い。   The communication device may be an independent device or an internal block constituting one device.

本発明の一側面によれば、消費電力を低減させることができる。   According to one aspect of the present invention, power consumption can be reduced.

本発明を適用した通信システムの一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the communication system to which this invention is applied. パッシブモードを説明する図である。It is a figure explaining passive mode. アクティブモードを説明する図である。It is a figure explaining active mode. NFC通信装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of an NFC communication apparatus. 初期RFCA処理を説明するタイミングチャートである。It is a timing chart explaining an initial RFCA process. レスポンスRFCA処理を説明するタイミングチャートである。It is a timing chart explaining response RFCA processing. ISO/IEC 18092で規定されるコマンドセットを示す図である。It is a figure which shows the command set prescribed | regulated by ISO / IEC 18092. NFCIP-1に従った通信処理の概要を説明するフローチャートである。5 is a flowchart illustrating an outline of communication processing according to NFCIP-1. パッシブモードでのデータ交換を行うのに、NFC通信装置で行われる処理を説明するフローチャートである。It is a flowchart explaining the process performed by an NFC communication apparatus in order to perform data exchange in passive mode. アクティブモードでのデータ交換を行うのに、NFC通信装置で行われる処理を説明するフローチャートである。6 is a flowchart for describing processing performed in an NFC communication apparatus for performing data exchange in an active mode. 省電力モードの通信について説明する図である。It is a figure explaining communication in a power saving mode. 省電力モードの通信について説明する図である。It is a figure explaining communication in a power saving mode. 拡張されたコマンドセットを示す図である。It is a figure which shows the extended command set. コマンドATR_REQの構造を示す図である。It is a figure which shows the structure of command ATR_REQ. PPiフィールドの構造を示す図である。It is a figure which shows the structure of PPi field. コマンドATR_RESの構造を示す図である。It is a figure which shows the structure of command ATR_RES. PPtフィールドの構造を示す図である。It is a figure which shows the structure of a PPt field. コマンドPSL2_REQの構造を示す図である。It is a figure which shows the structure of command PSL2_REQ. FLAGフィールドの構造を示す図である。It is a figure which shows the structure of a FLAG field. コマンドPSL2_RESの構造を示す図である。It is a figure which shows the structure of command PSL2_RES. MSGフィールドの構造を示す図である。It is a figure which shows the structure of a MSG field. 省電力モードでの通信を行う場合の通信処理を説明するフローチャートである。It is a flowchart explaining the communication processing in the case of performing communication in a power saving mode. 省電力モードでの通信を行う場合の通信処理を説明するフローチャートである。It is a flowchart explaining the communication processing in the case of performing communication in a power saving mode. NFC通信装置が組み込まれている携帯電話の構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a mobile phone in which an NFC communication device is incorporated. 磁束密度の関係式を説明する図である。It is a figure explaining the relational expression of magnetic flux density.

[本発明を適用した通信システムの構成例]
図1は、本発明を適用した通信システム(システムとは、複数の装置が論理的に結合したもの物をいい、各構成の装置が同一筐体中にあるか否かは問わない)の一実施の形態の構成例を示している。
[Configuration example of communication system to which the present invention is applied]
FIG. 1 is a diagram of a communication system to which the present invention is applied (a system refers to a logical combination of a plurality of devices, regardless of whether the devices of each configuration are in the same housing). The structural example of embodiment is shown.

図1においては、通信システムは、3つのNFC通信装置1,2,3から構成されている。NFC通信装置1乃至3それぞれは、他のNFC通信装置との間で、単一の周波数の搬送波を使用した、電磁誘導による近接通信(NFC(Near Field Communication))を行うことができるようになっている。   In FIG. 1, the communication system includes three NFC communication devices 1, 2, and 3. Each of the NFC communication devices 1 to 3 can perform near field communication (NFC (Near Field Communication)) by electromagnetic induction using a carrier wave of a single frequency with another NFC communication device. ing.

ここで、NFC通信装置1乃至3が使用する搬送波の周波数としては、例えば、ISM(Industrial Scientific Medical)バンドの13.56MHzなどを採用することができる。   Here, as the frequency of the carrier used by the NFC communication apparatuses 1 to 3, for example, 13.56 MHz of the ISM (Industrial Scientific Medical) band can be employed.

また、近接通信とは、通信する装置どうしの距離が、数10cm以内となって可能となる通信を意味し、通信する装置どうし(の筐体)が接触して行う通信も含まれる。   Proximity communication means communication that enables a distance between communicating devices to be within several tens of centimeters, and includes communication performed by contacting (communicating with) the communicating devices.

なお、図1の通信システムは、NFC通信装置1乃至3のうちの1以上をリーダライタとするとともに、他の1以上をICカードとするICカードシステムとして採用することができる。即ち、NFC通信装置1乃至3は、近接通信を行う装置であり、ICカードシステムのICカードやリーダライタまたはNFC規格に従った通信装置のいずれかに限定されるものではない。また、NFC通信装置1乃至3それぞれを、PDA(Personal Digital Assistant)、PC(Personal Computer)、携帯電話、腕時計、ペン等の通信システムとして採用することも可能である。   Note that the communication system of FIG. 1 can be employed as an IC card system in which one or more of the NFC communication devices 1 to 3 are reader / writers and the other one or more are IC cards. In other words, the NFC communication devices 1 to 3 are devices that perform near field communication, and are not limited to any one of an IC card of an IC card system, a reader / writer, or a communication device that conforms to the NFC standard. Further, each of the NFC communication devices 1 to 3 can be employed as a communication system such as a PDA (Personal Digital Assistant), a PC (Personal Computer), a mobile phone, a wristwatch, and a pen.

[パッシブモードとアクティブモードについての説明]
NFC通信装置1乃至3は、パッシブモードとアクティブモードの2つの通信モードによる通信が可能である。例えば、NFC通信装置1乃至3のうちの、NFC通信装置1とNFC通信装置2の間の通信に注目する。パッシブモードでは、NFC通信装置1とNFC通信装置2のうちの一方のNFC通信装置である、例えば、NFC通信装置1は、自身が発生する電磁波(に対応する搬送波)を変調することにより、他方のNFC通信装置であるNFC通信装置2にデータを送信する。NFC通信装置2は、NFC通信装置1が発生する電磁波(に対応する搬送波)を負荷変調することにより、NFC通信装置1にデータを送信する。これは、ISO/IEC 14443およびISO/IEC 15693のICカードシステムと同様である。
[Description of passive mode and active mode]
The NFC communication apparatuses 1 to 3 can communicate in two communication modes, a passive mode and an active mode. For example, attention is paid to communication between the NFC communication device 1 and the NFC communication device 2 among the NFC communication devices 1 to 3. In the passive mode, for example, the NFC communication device 1 which is one of the NFC communication device 1 and the NFC communication device 2, for example, the NFC communication device 1 modulates an electromagnetic wave (corresponding to a carrier wave) generated by itself. Data is transmitted to the NFC communication apparatus 2 which is the NFC communication apparatus. The NFC communication device 2 transmits data to the NFC communication device 1 by load-modulating an electromagnetic wave (corresponding to the electromagnetic wave) generated by the NFC communication device 1. This is the same as the IC card system of ISO / IEC 14443 and ISO / IEC 15693.

一方、アクティブモードでは、NFC通信装置1とNFC通信装置2のいずれも、自身が発生する電磁波(に対応する搬送波)を変調することにより、データを送信する。   On the other hand, in the active mode, both the NFC communication device 1 and the NFC communication device 2 transmit data by modulating the electromagnetic wave generated by the NFC communication device 1 and the NFC communication device 2.

ここで、電磁誘導による近接通信を行う場合、最初に電磁波を出力して通信を開始し、いわば通信の主導権を握る装置を、イニシエータと呼ぶ。イニシエータは、通信相手にコマンドを送信し、その通信相手は、そのコマンドに対するレスポンスを返す形で、近接通信が行われるが、イニシエータからのコマンドに対するレスポンスを返す通信相手を、ターゲットと呼ぶ。   Here, when performing proximity communication by electromagnetic induction, a device that first outputs an electromagnetic wave and starts communication, and so to speak, is called an initiator. The initiator transmits a command to the communication partner, and the communication partner returns a response to the command to perform near field communication. A communication partner that returns a response to the command from the initiator is called a target.

例えば、いま、NFC通信装置1が電磁波の出力を開始して、NFC通信装置2との通信を開始したとすると、図2および図3に示すように、NFC通信装置1がイニシエータとなり、NFC通信装置2がターゲットとなる。   For example, now, if the NFC communication device 1 starts outputting electromagnetic waves and starts communication with the NFC communication device 2, as shown in FIGS. 2 and 3, the NFC communication device 1 becomes an initiator, and NFC communication is performed. The device 2 is the target.

そして、パッシブモードでは、図2に示すように、イニシエータであるNFC通信装置1が電磁波を出力し続け、NFC通信装置1は、自身が出力している電磁波を変調することにより、ターゲットであるNFC通信装置2に、データを送信する。NFC通信装置2は、イニシエータであるNFC通信装置1が出力している電磁波を負荷変調することにより、NFC通信装置1に、データを送信する。   In the passive mode, as shown in FIG. 2, the NFC communication device 1 that is an initiator continues to output electromagnetic waves, and the NFC communication device 1 modulates the electromagnetic waves that it outputs, thereby Data is transmitted to the communication device 2. The NFC communication device 2 transmits data to the NFC communication device 1 by load-modulating the electromagnetic wave output from the NFC communication device 1 as an initiator.

一方、アクティブモードでは、図3に示すように、イニシエータであるNFC通信装置1は、自身がデータを送信する場合に、自身で電磁波の出力を開始し、その電磁波を変調することにより、ターゲットであるNFC通信装置2に、データを送信する。そして、NFC通信装置1は、データの送信終了後は、電磁波の出力を停止する。ターゲットであるNFC通信装置2も、自身がデータを送信する場合に、自身で電磁波の出力を開始し、その電磁波を変調することにより、ターゲットであるNFC通信装置2に、データを送信する。そして、NFC通信装置2は、データの送信終了後は、電磁波の出力を停止する。   On the other hand, in the active mode, as shown in FIG. 3, when the NFC communication apparatus 1 that is an initiator transmits data, the NFC communication apparatus 1 starts outputting an electromagnetic wave and modulates the electromagnetic wave. Data is transmitted to a certain NFC communication apparatus 2. And the NFC communication apparatus 1 stops the output of electromagnetic waves after the transmission of data is completed. When the target NFC communication apparatus 2 also transmits data, the target NFC communication apparatus 2 starts outputting an electromagnetic wave and modulates the electromagnetic wave to transmit data to the target NFC communication apparatus 2. And the NFC communication apparatus 2 stops the output of electromagnetic waves after transmission of data is completed.

なお、図1では、3つのNFC通信装置1乃至3によって、通信システムが構成されているが、通信システムを構成するNFC通信装置は、3つに限定されるものではなく、2または4以上であっても良い。さらに、通信システムは、NFC通信装置の他、例えば、ISO/IEC 14443およびISO/IEC 15693のICカードシステムを構成するICカードやリーダライタなどを含めて構成することも可能である。   In FIG. 1, the communication system is configured by the three NFC communication devices 1 to 3, but the number of NFC communication devices that configure the communication system is not limited to three, but two or four or more. There may be. Further, the communication system can be configured to include, for example, an IC card or a reader / writer constituting an IC card system of ISO / IEC 14443 and ISO / IEC 15693 in addition to the NFC communication device.

[NFC通信装置1の構成例]
図4は、図1のNFC通信装置1の構成例を示している。なお、図1の他のNFC通信装置2およびNFC通信装置3も、図4のNFC通信装置1と同様に構成されるため、その説明は、省略する。
[Configuration Example of NFC Communication Device 1]
FIG. 4 shows a configuration example of the NFC communication apparatus 1 of FIG. The other NFC communication apparatus 2 and the NFC communication apparatus 3 in FIG. 1 are also configured in the same manner as the NFC communication apparatus 1 in FIG.

アンテナ11は、閉ループのコイルを構成しており、このコイルに流れる電流が変化することで、電磁波を出力する。また、アンテナ11としてのコイルを通る磁束が変化することで、アンテナ11に電流が流れる。   The antenna 11 constitutes a closed loop coil, and outputs an electromagnetic wave when the current flowing through the coil changes. In addition, a current flows through the antenna 11 as the magnetic flux passing through the coil as the antenna 11 changes.

受信部12は、アンテナ11に流れる電流を受信し、同調と検波を行い、復調部13に出力する。復調部13は、受信部12から供給される信号を復調し、デコード部14に供給する。デコード部14は、復調部13から供給される信号としての、例えばマンチェスタ符号などをデコードし、そのデコードの結果得られるデータを、データ処理部15に供給する。   The receiving unit 12 receives the current flowing through the antenna 11, performs tuning and detection, and outputs it to the demodulation unit 13. The demodulator 13 demodulates the signal supplied from the receiver 12 and supplies it to the decoder 14. The decoding unit 14 decodes, for example, a Manchester code as a signal supplied from the demodulation unit 13, and supplies data obtained as a result of the decoding to the data processing unit 15.

データ処理部15は、デコード部14から供給されるデータに基づき、所定の処理を行う。また、データ処理部15は、他の装置に送信すべきデータを、エンコード部16に供給する。   The data processing unit 15 performs predetermined processing based on the data supplied from the decoding unit 14. The data processing unit 15 supplies data to be transmitted to another device to the encoding unit 16.

エンコード部16は、データ処理部15から供給されるデータを、例えば、マンチェスタ符号などにエンコードし、選択部17に供給する。選択部17は、変調部19または負荷変調部20のうちのいずれか一方を選択し、その選択した方に、エンコード部16から供給される信号を出力する。   The encoding unit 16 encodes the data supplied from the data processing unit 15 into, for example, a Manchester code and supplies the encoded data to the selection unit 17. The selection unit 17 selects either the modulation unit 19 or the load modulation unit 20 and outputs the signal supplied from the encoding unit 16 to the selected one.

ここで、選択部17は、制御部21の制御にしたがって、変調部19または負荷変調部20を選択する。制御部21は、通信モードがパッシブモードであり、NFC通信装置1がターゲットとなっている場合は、選択部17に負荷変調部20を選択させる。また、制御部21は、通信モードがアクティブモードである場合、または通信モードがパッシブモードであり、かつ、NFC通信装置1がイニシエータとなっている場合は、選択部17に変調部19を選択させる。従って、エンコード部16が出力する信号は、通信モードがパッシブモードであり、NFC通信装置1がターゲットとなっているケースでは、選択部17を介して、負荷変調部20に供給されるが、他のケースでは、選択部17を介して、変調部19に供給される。   Here, the selection unit 17 selects the modulation unit 19 or the load modulation unit 20 according to the control of the control unit 21. When the communication mode is the passive mode and the NFC communication apparatus 1 is the target, the control unit 21 causes the selection unit 17 to select the load modulation unit 20. Further, the control unit 21 causes the selection unit 17 to select the modulation unit 19 when the communication mode is the active mode or when the communication mode is the passive mode and the NFC communication apparatus 1 is the initiator. . Therefore, the signal output from the encoding unit 16 is supplied to the load modulation unit 20 via the selection unit 17 in the case where the communication mode is the passive mode and the NFC communication apparatus 1 is the target. In this case, the signal is supplied to the modulation unit 19 via the selection unit 17.

電磁波出力部18は、アンテナ11から、所定の単一の周波数の搬送波(の電磁波)を放射させるための電流を、アンテナ11に流す。変調部19は、電磁波出力部18がアンテナ11に流す電流としての搬送波を、選択部17から供給される信号にしたがって変調する。これにより、アンテナ11からは、データ処理部15がエンコード部16に出力したデータにしたがって搬送波を変調した電磁波が放射される。   The electromagnetic wave output unit 18 causes the antenna 11 to pass a current for radiating a carrier wave (having its electromagnetic wave) having a predetermined single frequency from the antenna 11. The modulation unit 19 modulates a carrier wave as a current that the electromagnetic wave output unit 18 passes through the antenna 11 according to a signal supplied from the selection unit 17. As a result, the antenna 11 emits an electromagnetic wave obtained by modulating the carrier wave in accordance with the data output from the data processing unit 15 to the encoding unit 16.

負荷変調部20は、外部からアンテナ11としてのコイルを見たときのインピーダンスを、選択部17から供給される信号にしたがって変化させる。他の装置が搬送波としての電磁波を出力することにより、アンテナ11の周囲にRFフィールド(磁界)が形成されている場合、アンテナ11としてのコイルを見たときのインピーダンスが変化することにより、アンテナ11の周囲のRFフィールドも変化する。これにより、他の装置が出力している電磁波としての搬送波が、選択部17から供給される信号にしたがって変調(負荷変調)され、データ処理部15がエンコード部16に出力したデータが、電磁波を出力している他の装置に送信される。   The load modulation unit 20 changes the impedance when the coil as the antenna 11 is viewed from the outside according to the signal supplied from the selection unit 17. When an RF field (magnetic field) is formed around the antenna 11 by another device outputting an electromagnetic wave as a carrier wave, the impedance when the coil as the antenna 11 is viewed changes. The surrounding RF field also changes. As a result, the carrier wave as the electromagnetic wave output from another device is modulated (load modulation) in accordance with the signal supplied from the selection unit 17, and the data output from the data processing unit 15 to the encoding unit 16 is converted into the electromagnetic wave. It is sent to other devices that are outputting.

ここで、変調部19および負荷変調部20における変調方式としては、例えば、振幅変調(ASK(Amplitude Shift Keying))を採用することができる。但し、変調部19および負荷変調部20における変調方式は、ASKに限定されるものではなく、PSK(Phase Shift Keying)やQAM(Quadrature Amplitude Modulation)その他を採用することが可能である。また、振幅の変調度についても8%から30%、50%、100%等数値に限定されることはなく、好適なものを選択すれば良い。   Here, for example, amplitude modulation (ASK (Amplitude Shift Keying)) can be adopted as a modulation method in the modulation unit 19 and the load modulation unit 20. However, the modulation method in the modulation unit 19 and the load modulation unit 20 is not limited to ASK, and PSK (Phase Shift Keying), QAM (Quadrature Amplitude Modulation) and the like can be adopted. Also, the amplitude modulation degree is not limited to a numerical value such as 8% to 30%, 50%, 100%, and a suitable one may be selected.

制御部21は、NFC通信装置1を構成する各ブロックの制御等を行う。即ち、制御部21は、例えば、CPU(Central Processing Unit)21Aや、EEPROM(Electrically and Erasable Programmable Read Only Memory)21B、その他図示せぬRAM(Random Access Memory)などで構成される。CPU21Aは、EEPROM21Bに記憶されているプログラムを実行し、これにより、NFC通信装置1を構成する各ブロックの制御、その他の各種の処理を行う。EEPROM21Bは、CPU21Aが実行すべきプログラムや、CPU21Aの動作上必要なデータを記憶する。   The control unit 21 performs control of each block configuring the NFC communication apparatus 1. That is, the control unit 21 includes, for example, a CPU (Central Processing Unit) 21A, an EEPROM (Electrically and Erasable Programmable Read Only Memory) 21B, and other RAM (Random Access Memory) not shown. The CPU 21A executes a program stored in the EEPROM 21B, thereby performing control of each block constituting the NFC communication apparatus 1 and various other processes. The EEPROM 21B stores programs to be executed by the CPU 21A and data necessary for the operation of the CPU 21A.

なお、CPU21Aがプログラムを実行することにより行う一連の処理は、CPU21Aに代えて専用のハードウェアを設けて、その専用のハードウェアによって行うことが可能である。また、CPU21Aに実行させるプログラムは、EEPROM21Bにあらかじめインストールしておく他、フレキシブルディスク、CD-ROM(Compact Disc Read Only Memory),MO(Magneto Optical)ディスク,DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリなどのリムーバブル記録媒体に、一時的あるいは永続的に格納(記録)し、いわゆるパッケージソフトウエアとして提供することができる。さらに、プログラムは、近接通信によって、NFC通信装置1に送信し、EEPROM21Bにインストールすることができる。   Note that a series of processing performed by the CPU 21A executing the program can be performed by using dedicated hardware instead of the CPU 21A. The program to be executed by the CPU 21A is installed in the EEPROM 21B in advance, and is also a flexible disk, CD-ROM (Compact Disc Read Only Memory), MO (Magneto Optical) disk, DVD (Digital Versatile Disc), magnetic disk, semiconductor It can be stored (recorded) in a removable recording medium such as a memory temporarily or permanently and provided as so-called package software. Furthermore, the program can be transmitted to the NFC communication device 1 by proximity communication and installed in the EEPROM 21B.

電源部22は、NFC通信装置1を構成する各ブロックに、必要な電源を供給する。なお、図4では、制御部21がNFC通信装置1を構成する各ブロックを制御することを表す線の図示は、図が煩雑になるため、省略してある。また、電源部22がNFC通信装置1を構成する各ブロックに電源を供給することを表す線の図示も同様に省略してある。なお、電源部22は、電池(バッテリ)を内蔵していても良いし、電池を内蔵せずに、アンテナ11に流れる電流から電源となる電力を得るものであっても良い。但し、後者の場合には、NFC通信装置1は、パッシブモードのターゲットとしてのみ動作する。   The power supply unit 22 supplies necessary power to each block constituting the NFC communication apparatus 1. In FIG. 4, illustration of lines indicating that the control unit 21 controls each block configuring the NFC communication apparatus 1 is omitted because the figure becomes complicated. Further, the illustration of lines indicating that the power supply unit 22 supplies power to each block constituting the NFC communication apparatus 1 is also omitted. The power supply unit 22 may include a battery (battery), or may obtain power serving as a power source from a current flowing through the antenna 11 without incorporating a battery. However, in the latter case, the NFC communication apparatus 1 operates only as a passive mode target.

ここで、上述の場合には、デコード部14およびエンコード部16は、マンチェスタ符号を処理するようにした。しかしながら、デコード部14およびエンコード部16では、マンチェスタ符号だけでなく、例えば、モディファイドミラーや、NRZ(Non Return to Zero)などの複数種類の符号の中から1つを選択して処理するようにすることが可能である。   Here, in the case described above, the decoding unit 14 and the encoding unit 16 process the Manchester code. However, the decoding unit 14 and the encoding unit 16 select and process not only the Manchester code but also one of a plurality of types of codes such as a modified mirror and NRZ (Non Return to Zero). It is possible.

[RFCA処理の説明]
NFC通信装置1乃至3は、いずれも、最初に電磁波を出力して通信を開始するイニシエータになり得る。さらに、アクティブモードでは、NFC通信装置1乃至3は、イニシエータとなる場合でも、ターゲットとなる場合でも、自身で電磁波を出力する。
[Description of RFCA processing]
Any of the NFC communication apparatuses 1 to 3 can be an initiator that first outputs an electromagnetic wave to start communication. Further, in the active mode, the NFC communication devices 1 to 3 output electromagnetic waves by themselves even when they are the initiator and the target.

従って、NFC通信装置1乃至3が近接している状態で、そのうちの2以上が同時に電磁波を出力した場合には、コリジョン(collision)が生じ、通信を行うことができなくなる。   Accordingly, when two or more of the NFC communication devices 1 to 3 output electromagnetic waves at the same time, collision occurs and communication cannot be performed.

そこで、NFC通信装置1乃至3それぞれは、他の装置からの電磁波(によるRFフィールド)が存在するか否かを検出し、存在しない場合にのみ、電磁波の出力を開始し、これにより、コリジョンを防止するようになっている。ここで、このように、他の装置からの電磁波が存在するか否かを検出し、存在しない場合にのみ、電磁波の出力を開始する処理を、コリジョンを防止するという目的から、RFCA(RF Collision Avoidance)処理という。   Therefore, each of the NFC communication devices 1 to 3 detects whether or not there is an electromagnetic wave (due to an RF field) from another device, and starts output of the electromagnetic wave only when it does not exist. It comes to prevent. Here, in this way, it is detected whether or not electromagnetic waves from other devices are present, and the process of starting the output of the electromagnetic waves only when there is not, is the RFCA (RF Collision (Avoidance) process.

RFCA処理には、イニシエータとなろうとするNFC通信装置(図1では、NFC通信装置1乃至3のうちの1以上)が最初に行う初期RFCA処理と、アクティブモードでの通信中において、電磁波の出力を開始するNFC通信装置が、その開始をしようとするごとに行うレスポンスRFCA処理との2つがある。初期RFCA処理であっても、レスポンスRFCA処理であっても、電磁波の出力を開始する前に、他の装置による電磁波が存在するか否かを検出し、存在しない場合にのみ、電磁波の出力を開始するという点は同一である。但し、初期RFCA処理とレスポンスRFCA処理とでは、他の装置による電磁波の存在が検出されなくなってから、電磁波の出力を開始しなければならないタイミングまでの時間等が異なる。   The RFCA process includes an initial RFCA process first performed by an NFC communication apparatus (one or more of the NFC communication apparatuses 1 to 3 in FIG. 1) to be an initiator, and an electromagnetic wave output during communication in the active mode. There are two types of response RFCA processing that is performed each time the NFC communication device that starts the communication starts the operation. Whether it is the initial RFCA process or response RFCA process, before starting the output of the electromagnetic wave, it is detected whether there is an electromagnetic wave by another device, and the output of the electromagnetic wave is performed only when it does not exist. The point of starting is the same. However, the initial RFCA process and the response RFCA process differ in the time from when the presence of an electromagnetic wave by another device is no longer detected until the timing at which the output of the electromagnetic wave must be started.

[初期RFCA処理の説明]
そこで、まず図5を参照して、初期RFCA処理について説明する。
[Description of initial RFCA processing]
First, the initial RFCA process will be described with reference to FIG.

図5は、初期RFCA処理によって出力が開始される電磁波を示している。なお、図5において(後述する図6も同様)、横軸は時間を表し、縦軸は、NFC通信装置が出力する電磁波のパワー(レベル)を表す。   FIG. 5 shows an electromagnetic wave whose output is started by the initial RFCA process. In FIG. 5 (the same applies to FIG. 6 described later), the horizontal axis represents time, and the vertical axis represents the power (level) of the electromagnetic wave output from the NFC communication apparatus.

イニシエータとなろうとするNFC通信装置は、常時、他の装置による電磁波の検出を行っており、他の装置による電磁波が、時間TIDT+n×TRFWだけ連続して検出されなかった場合、電磁波の出力を開始する。NFCIP-1では、イニシエータは、1.5 A/mから7.5A/mのパワーで電磁波を出力することが規定されている。即ち、イニシエータは、少なくとも1.5 A/m以上のパワーで、電磁波を出力することが必要とされている。 The NFC communication device that intends to become an initiator always detects electromagnetic waves by other devices, and when the electromagnetic waves by other devices are not continuously detected for a time T IDT + n × T RFW , Start output. NFCIP-1 stipulates that an initiator outputs an electromagnetic wave with a power of 1.5 A / m to 7.5 A / m. That is, the initiator is required to output an electromagnetic wave with a power of at least 1.5 A / m.

そして、イニシエータとなろうとするNFC通信装置は、電磁波の出力開始から時間TIRFGだけ経過した後に、データ(コマンドを含む)の送信(Send Request)を開始する。 Then, the NFC communication apparatus that intends to become an initiator starts transmission (Send Request) of data (including a command) after a time T IRFG has elapsed from the start of output of electromagnetic waves.

ここで、時間TIDT+n×TRFWにおけるTIDTは、イニシエータとしてデータの送受信を開始しようとするNFC通信装置が電磁波が出力されていないことを確認しなければならない最低限の時間であり、初期遅延時間と呼ばれる。初期遅延時間搬送波の周波数をfcで表すこととすると、例えば、4096/fcより大の値が採用される。nは、例えば、0以上3以下の整数で、乱数を用いて生成される。TRFWは、RF待ち時間と呼ばれ、例えば、512/fcが採用される。時間TIRFGは、初期ガードタイムと呼ばれ、例えば、5msより大の値が採用される。 Here, T IDT is in the time T IDT + n × T RFW, a minimum time the NFC communication apparatus has to check that the electromagnetic wave is not output which is to start transmission and reception of data as the initiator, the initial Called delay time. The frequency of the initial delay time Carrier When be represented by f c, for example, a value greater is employed than 4096 / f c. n is an integer from 0 to 3, for example, and is generated using a random number. T RFW is called an RF waiting time, for example, 512 / f c is employed. The time T IRFG is called an initial guard time, and for example, a value larger than 5 ms is adopted.

なお、電磁波が検出されてはならない時間TIDT+n×TRFWに、乱数であるnを採用することにより、複数のNFC通信装置が同一のタイミングで、電磁波の出力を開始してしまう可能性の低減が図られている。 In addition, by adopting n which is a random number for the time T IDT + n × T RFW where electromagnetic waves should not be detected, there is a possibility that a plurality of NFC communication devices start outputting electromagnetic waves at the same timing. Reduction is being achieved.

NFC通信装置が、初期RFCA処理によって、電磁波の出力を開始した場合、そのNFC通信装置は、イニシエータとなる。そして、通信モードとして、アクティブモードが設定されたときには、イニシエータとなったNFC通信装置は、自身のデータの送信を終了した後、電磁波の出力を停止する。一方、通信モードとして、パッシブモードが設定されたときには、イニシエータとなったNFC通信装置は、ターゲットとの通信が完全に完了するまで、初期RFCA処理によって開始した電磁波の出力を、そのまま続行する。   When the NFC communication apparatus starts output of electromagnetic waves by the initial RFCA process, the NFC communication apparatus becomes an initiator. When the active mode is set as the communication mode, the NFC communication apparatus serving as the initiator stops the transmission of the electromagnetic wave after completing the transmission of its own data. On the other hand, when the passive mode is set as the communication mode, the NFC communication apparatus serving as the initiator continues the output of the electromagnetic wave started by the initial RFCA process until the communication with the target is completely completed.

[レスポンスRFCA処理の説明]
次に、図6を参照して、レスポンスRFCA処理について説明する。
[Description of response RFCA processing]
Next, the response RFCA process will be described with reference to FIG.

図6は、レスポンスRFCA処理によって出力が開始される電磁波を示している。   FIG. 6 shows an electromagnetic wave whose output is started by the response RFCA process.

アクティブモードにおいて電磁波を出力しようとするNFC通信装置は、他の装置による電磁波の検出を行い、他の装置による電磁波が、時間TADT+n×TRFWだけ連続して検出されなかった場合、電磁波の出力を開始し、その出力から時間TARFGだけ経過した後に、データの送信(Send Responsese)を開始する。 The NFC communication device that attempts to output an electromagnetic wave in the active mode detects the electromagnetic wave by another device, and when the electromagnetic wave by the other device is not continuously detected for a time T ADT + n × T RFW , Output is started, and data transmission (Send Responsese) is started after the time T ARFG has elapsed from the output.

ここで、時間TADT+n×TRFWにおけるnとTRFWは、図5の初期RFCA処理における場合と同一のものである。また、時間TADT+n×TRFWにおけるTADTは、アクティブディレイタイムと呼ばれ、例えば、768/fc以上2559/fc以下の値が採用される。時間TARFGは、アクティブガードタイムと呼ばれ、例えば、1024/fcより大の値が採用される。 Here, n and T RFW at time T ADT + n × T RFW are the same as those in the initial RFCA process of FIG. Also, T ADT in the time T ADT + n × T RFW is called an active delay time, for example, 768 / f c or more 2559 / f c or less values are adopted. Time T ARFG is called an active guard time, for example, a value greater is employed than 1024 / f c.

図5と図6から明らかなように、初期RFCA処理によって電磁波の出力を開始するには、少なくとも初期遅延時間TIDTの間、電磁波が存在してはならない。また、レスポンスRFCA処理によって電磁波の出力を開始するには、少なくともアクティブディレイタイムTADTの間、電磁波が存在してはならない。 As is apparent from FIGS. 5 and 6, in order to start the output of the electromagnetic wave by the initial RFCA process, the electromagnetic wave must not exist for at least the initial delay time T IDT . Also, to start the electromagnetic wave output of the response RFCA processing, for at least the active delay time T ADT, electromagnetic wave should not exist.

そして、初期遅延時間TIDTは、4096/fcより大の値であるのに対して、アクティブディレイタイムTADTは、768/fc以上2559/fc以下の値であることから、NFC通信装置がイニシエータになろうとする場合には、アクティブモードでの通信中において電磁波を出力しようとする場合よりも、電磁波が存在しない状態が長時間必要である。逆に言えば、NFC通信装置がアクティブモードでの通信中において電磁波を出力しようとする場合には、イニシエータになろうとする場合よりも、電磁波が存在しない状態になってから、それほど間をおかずに、電磁波を出力しなければならない。これは、次のような理由による。 Initial delay time T IDT, since whereas a larger value than 4096 / f c, the active delay time T ADT is a following values 768 / f c or more 2559 / f c, NFC communications When the device is going to be an initiator, a state where no electromagnetic wave is present is required for a longer time than when trying to output an electromagnetic wave during communication in the active mode. In other words, when an NFC communication device tries to output an electromagnetic wave during communication in active mode, the electromagnetic wave does not exist, and it takes less time than when trying to become an initiator. , Must output electromagnetic waves. This is due to the following reason.

即ち、NFC通信装置がアクティブモードで通信を行う場合、一方のNFC通信装置は、自身で電磁波を出力してデータを送信し、その後、電磁波の出力を停止する。そして、他方のNFC通信装置が電磁波の出力を開始し、データを送信する。従って、アクティブモードの通信では、いずれのNFC通信装置も、電磁波の出力を停止していることがある。このため、NFC通信装置がイニシエータになろうとする場合には、そのNFC通信装置の周囲でアクティブモードの通信が行われていないことを確認するために、イニシエータになろうとしているNFC通信装置の周囲で、他の装置が電磁波を出力していないことを、十分な時間確認する必要がある。   That is, when the NFC communication device performs communication in the active mode, one NFC communication device outputs an electromagnetic wave by itself and transmits data, and then stops the output of the electromagnetic wave. Then, the other NFC communication device starts outputting electromagnetic waves and transmits data. Therefore, in active mode communication, any NFC communication apparatus may stop outputting electromagnetic waves. For this reason, when an NFC communication device is going to become an initiator, in order to confirm that active mode communication is not performed around the NFC communication device, the surroundings of the NFC communication device that is going to be an initiator Therefore, it is necessary to confirm that other devices are not outputting electromagnetic waves for a sufficient time.

これに対して、アクティブモードでは、上述したように、イニシエータが電磁波を出力することにより、ターゲットにデータを送信する。そして、ターゲットは、イニシエータが電磁波の出力を停止してから、電磁波の出力を開始することにより、イニシエータにデータを送信する。その後、イニシエータは、ターゲットが電磁波の出力を停止してから、電磁波の出力を開始することにより、ターゲットにデータを送信し、以下、同様にして、イニシエータとターゲットの間でデータがやりとりされる。   On the other hand, in the active mode, as described above, the initiator transmits data to the target by outputting an electromagnetic wave. The target transmits data to the initiator by starting the output of the electromagnetic wave after the initiator stops the output of the electromagnetic wave. Thereafter, the initiator stops the output of the electromagnetic wave after the target stops, and then starts outputting the electromagnetic wave, thereby transmitting data to the target. Thereafter, the data is exchanged between the initiator and the target in the same manner.

従って、アクティブモードの通信を行っているイニシエータとターゲットの周囲に、イニシエータとなろうとするNFC通信装置が存在する場合に、アクティブモードの通信を行っているイニシエータとターゲットのうちの一方が電磁波の出力を停止してから、他方が電磁波の出力を開始するまでの時間が長いと、その間は電磁波が存在しないため、イニシエータとなろうとするNFC通信装置が、初期RFCA処理によって電磁波の出力を開始する。この場合、先に行われていたアクティブモードの通信が妨げられることになる。   Therefore, when there is an NFC communication device that intends to become an initiator around the initiator and target that are performing active mode communication, one of the initiator and target that is performing active mode communication outputs an electromagnetic wave. If it takes a long time for the other to start outputting an electromagnetic wave, the electromagnetic wave does not exist during that time, so that the NFC communication device that intends to become an initiator starts outputting the electromagnetic wave by the initial RFCA process. In this case, communication in the active mode previously performed is hindered.

このため、アクティブモードの通信中に行われるレスポンスRFCA処理では、電磁波が存在しない状態になってから、それほど間をおかずに、電磁波を出力しなければならないようにしている。   For this reason, in the response RFCA process performed during communication in the active mode, the electromagnetic wave must be output without much delay after the electromagnetic wave does not exist.

[通信開始時のターゲットの認識について]
イニシエータになろうとするNFC通信装置は、図5で説明したように、初期RFCA処理によって電磁波の出力を開始し、その後、データの送信を行う。イニシエータになろうとするNFC通信装置は、電磁波の出力を開始することで、イニシエータとなり、そのイニシエータに近接する位置に存在するNFC通信装置はターゲットとなる。
[About target recognition at the start of communication]
As described with reference to FIG. 5, the NFC communication apparatus that intends to become an initiator starts output of electromagnetic waves by the initial RFCA process, and then transmits data. The NFC communication apparatus that is going to become an initiator becomes an initiator by starting the output of electromagnetic waves, and the NFC communication apparatus that exists in a position close to the initiator becomes a target.

ここで、イニシエータが、ターゲットとデータのやりとりをするには、そのデータをやりとりするターゲットを特定しなければならない。このため、イニシエータは、初期RFCA処理によって電磁波の出力を開始した後に、そのイニシエータに近接する位置に存在する1以上のターゲットに対して、各ターゲットを特定する情報としての、例えば、乱数などによって決定されるNFCID(NFC Identification)を要求する。そして、イニシエータに近接する位置に存在するターゲットは、イニシエータからの要求に応じて、自身を特定するNFCIDを、イニシエータに送信する。   Here, in order for the initiator to exchange data with the target, the target that exchanges the data must be specified. For this reason, after starting the output of electromagnetic waves by the initial RFCA process, the initiator is determined by, for example, a random number or the like as information for identifying each target with respect to one or more targets existing in the vicinity of the initiator. NFCID (NFC Identification) to be performed is requested. Then, in response to a request from the initiator, the target existing at a position close to the initiator transmits an NFCID that identifies itself to the initiator.

イニシエータは、以上のようにしてターゲットから送信されてくるNFCIDによってターゲットを特定し、その特定したターゲットとの間で、データのやりとりを行う。   The initiator specifies the target by the NFCID transmitted from the target as described above, and exchanges data with the specified target.

アクティブモードでは、イニシエータが、後述するコマンド(リクエスト)ATR_REQを、そこに自身を特定するNFCIDを含めて送信する。そのATR_REQに対して、1のターゲットが、コマンドATR_REQに対する後述するレスポンスATR_RESを、そこに自身を特定するNFCIDを含めて返す(送信する)。これにより、イニシエータとターゲットとが、互いのNFCIDを認識し、互いを特定する。   In the active mode, the initiator transmits a command (request) ATR_REQ, which will be described later, including an NFCID that identifies itself. In response to the ATR_REQ, one target returns (transmits) a response ATR_RES, which will be described later, to the command ATR_REQ, including the NFCID that identifies itself. As a result, the initiator and the target recognize each other's NFCID and identify each other.

一方、パッシブモードでは、イニシエータは、SDD(Single Device Detection)処理と呼ばれる処理を行うことによって、その周囲(近接する位置)に存在するターゲットを、そのNFCIDによって特定する。   On the other hand, in the passive mode, the initiator performs a process called SDD (Single Device Detection) process to specify a target existing around (close position) by the NFCID.

イニシエータは、SDD処理において、ターゲットのNFCIDを要求するが、この要求は、イニシエータが、ポーリングリクエストフレームと呼ばれるフレームを送信することによって行われる。ターゲットは、ポーリングリクエストフレームを受信すると、例えば、自身のNFCIDを乱数によって決定し、そのNFCIDを配置したポーリングレスポンスフレームと呼ばれるフレームを送信する。イニシエータは、ターゲットから送信されてくるポーリングレスポンスフレームを受信することで、ターゲットのNFCIDを認識する。   The initiator requests the NFCID of the target in the SDD process, and this request is made when the initiator transmits a frame called a polling request frame. When the target receives the polling request frame, for example, the target determines its NFCID by a random number and transmits a frame called a polling response frame in which the NFCID is arranged. The initiator recognizes the NFCID of the target by receiving the polling response frame transmitted from the target.

ところで、パッシブモードのターゲットは、負荷変調によりデータを送信するから、RFCA処理を行わない。従って、SDD処理において、イニシエータが、その周囲のターゲットに対してNFCIDを要求した場合、イニシエータの周囲に、複数のターゲットが存在するときには、その複数のターゲットの2以上から、同時に、NFCIDが送信されてくることがあり得る。この場合、その2以上のターゲットから送信されてくるNFCIDがコリジョンし、イニシエータは、そのコリジョンしたNFCIDを認識することができない。   By the way, since the target in the passive mode transmits data by load modulation, RFCA processing is not performed. Therefore, in the SDD process, when an initiator requests an NFCID from the surrounding targets, when there are multiple targets around the initiator, NFCIDs are simultaneously transmitted from two or more of the multiple targets. It can come. In this case, NFCIDs transmitted from the two or more targets collide, and the initiator cannot recognize the collided NFCID.

そこで、SDD処理は、NFCIDのコリジョンをなるべく避けるために、例えば、タイムスロットを用いた方法で行われる。タイムスロットを用いた方法とは、送信されてきたポーリングコマンドを受信したターゲットは、自分で発生した乱数により返信のコマンドを送信するタイミングを決定し、そのタイミングに従い、NFCIDを格納した返信のコマンドを送信する方法である。   Therefore, the SDD process is performed by, for example, a method using time slots in order to avoid NFCID collision as much as possible. The method using the time slot means that the target that has received the transmitted polling command determines the timing for sending the reply command based on the random number generated by itself, and in accordance with that timing, sends the reply command storing the NFCID. How to send.

なお、上述したように、NFC通信装置は、ISO/IEC 14443およびISO/IEC 15693のICカードシステムを構成するICカードやリーダライタとの間でも、そのICカードやリーダライタが採用している伝送レートで、データのやりとりを行うことができる。いま、ターゲットが、例えば、ISO/IEC 14443およびISO/IEC 15693のICカードシステムのICカードである場合、SDD処理は、例えば、次のようにして行われる。   As described above, the NFC communication device uses the IC card and reader / writer to communicate with the IC card and reader / writer that constitute the IC card system of ISO / IEC 14443 and ISO / IEC 15693. You can exchange data at a rate. If the target is an IC card of an IC card system of ISO / IEC 14443 and ISO / IEC 15693, for example, the SDD process is performed as follows, for example.

即ち、イニシエータは、初期RFCA処理により、電磁波の出力を開始し、ターゲットであるICカードは、その電磁波から電源を得て、処理を開始する。つまり、いまの場合、ターゲットは、既存のICカードシステムのICカードであるから、動作するための電源を、イニシエータが出力する電磁波から生成する。   That is, the initiator starts the output of electromagnetic waves by the initial RFCA process, and the target IC card obtains the power from the electromagnetic waves and starts the process. That is, in this case, since the target is an IC card of an existing IC card system, a power source for operation is generated from the electromagnetic wave output from the initiator.

ターゲットは、電源を得て、動作可能な状態になってから、例えば、最長でも2秒以内に、ポーリングリクエストフレームを受信する準備を行い、イニシエータからポーリングリクエストフレームが送信されてくるのを待つ。   For example, the target prepares to receive a polling request frame within 2 seconds at the longest after obtaining power and becomes operable, and waits for the polling request frame to be transmitted from the initiator.

一方、イニシエータは、ターゲットにおいてポーリングリクエストフレームを受信する準備が整ったか否かに関係なく、ポーリングリクエストフレームを送信することができる。   On the other hand, the initiator can transmit the polling request frame regardless of whether or not the target is ready to receive the polling request frame.

ターゲットは、イニシエータからのポーリングリクエストフレームを受信した場合、上述したように、乱数により決定された返信タイミングで、ポーリングレスポンスフレームを、イニシエータに送信する。イニシエータは、ターゲットからのポーリングレスポンスフレームを正常受信することができた場合、上述したように、そのターゲットのNFCIDを認識する。一方、イニシエータは、ターゲットからのポーリングレスポンスフレームを正常受信することができなかった場合、ポーリングリクエストフレームを、再度送信することができる。   When receiving a polling request frame from the initiator, the target transmits a polling response frame to the initiator at a reply timing determined by a random number as described above. When the initiator can normally receive the polling response frame from the target, the initiator recognizes the NFCID of the target as described above. On the other hand, if the initiator cannot normally receive the polling response frame from the target, it can transmit the polling request frame again.

[ISO/IEC 18092で規定されるコマンドセット]
NFC通信装置では、イニシエータがターゲットにコマンドを送信し、ターゲットが、イニシエータからのコマンドに対するレスポンスを送信する(返す)ことで、通信が行われる。
[Command set defined by ISO / IEC 18092]
In the NFC communication apparatus, communication is performed when the initiator transmits a command to the target, and the target transmits (returns) a response to the command from the initiator.

そこで、次に、ISO/IEC 18092で規定されているコマンドセットについて説明する。   Then, next, the command set prescribed | regulated by ISO / IEC 18092 is demonstrated.

図7は、ISO/IEC 18092で規定されているコマンドセットであり、イニシエータがターゲットに送信するリクエストのコマンドと、ターゲットがイニシエータに送信するレスポンスのコマンドとを示している。   FIG. 7 shows a command set defined by ISO / IEC 18092, which shows a request command that the initiator sends to the target and a response command that the target sends to the initiator.

図7において、アンダーバー(_)の後にREQの文字が記述されているコマンドは、リクエストを表し、アンダーバー(_)の後にRESの文字が記述されているコマンドは、レスポンスを表す。ISO/IEC 18092では、リクエストとして、ATR_REQ,WUP_REQ,PSL_REQ,DEP_REQ,DSL_REQ,RLS_REQの6種類が用意されている。また、リクエストに対するレスポンスとしては、リクエストと同様に、ATR_RES,WUP_RES,PSL_RES,DEP_RES,DSL_RES,RLS_RESの6種類が用意されている。上述したように、イニシエータは、リクエストをターゲットに送信し、ターゲットは、そのリクエストに対応するレスポンスをイニシエータに送信する。従って、リクエストは、イニシエータによって送信され、レスポンスは、ターゲットによって送信される。   In FIG. 7, a command in which the REQ character is described after the underbar (_) represents a request, and a command in which the RES character is described after the underbar (_) represents a response. In ISO / IEC 18092, six types of requests, ATR_REQ, WUP_REQ, PSL_REQ, DEP_REQ, DSL_REQ, and RLS_REQ, are prepared. As responses to requests, six types of ATR_RES, WUP_RES, PSL_RES, DEP_RES, DSL_RES, and RLS_RES are prepared as in the request. As described above, the initiator transmits a request to the target, and the target transmits a response corresponding to the request to the initiator. Thus, the request is sent by the initiator and the response is sent by the target.

各リクエストおよびレスポンスは、1バイトのCMD0フィールドとCMD1フィールドとで構成される計2バイトの命令バイトによって識別される。即ち、命令バイトのCMD0フィールドには、リクエストまたはレスポンスを識別する値が格納される。具体的には、そのコマンドがリクエストである場合には、CMD0フィールドに“D4”が格納され、コマンドがレスポンスである場合には、CMD0フィールドに“D5”が格納される。   Each request and response is identified by a total of 2 instruction bytes composed of a 1-byte CMD0 field and a CMD1 field. That is, a value for identifying a request or a response is stored in the CMD0 field of the instruction byte. Specifically, “D4” is stored in the CMD0 field when the command is a request, and “D5” is stored in the CMD0 field when the command is a response.

命令バイトのCMD1フィールドには、各リクエストおよびレスポンスを識別する値が格納される。具体的には、ATR_REQ,ATR_RES,WUP_REQ,WUP_RES,PSL_REQ,PSL_RES,DEP_REQ,DEP_RES,DSL_REQ,DSL_RES,RLS_REQ,RLS_RESのCMD1フィールドには、それぞれ、“00”,“01”,“02”,“03”,“04”,“05”,“06”,“07”,“08”,“09”,“0A”,“0B”が格納される。   A value for identifying each request and response is stored in the CMD1 field of the instruction byte. Specifically, the ATR_REQ, ATR_RES, WUP_REQ, WUP_RES, PSL_REQ, PSL_RES, DEP_REQ, DEP_RES, DSL_REQ, DSL_RES, RLS_REQ, RLS_RES CMD1 fields have “00”, “01”, “02”, “03”, respectively. ”,“ 04 ”,“ 05 ”,“ 06 ”,“ 07 ”,“ 08 ”,“ 09 ”,“ 0A ”,“ 0B ”are stored.

コマンドATR_REQは、イニシエータが、ターゲットに対して、自身の属性情報(仕様)を知らせるとともに、ターゲットの属性情報を要求するときに、ターゲットに送信される。ここで、イニシエータまたはターゲットの属性情報としては、そのイニシエータまたはターゲットが送受信することのできるデータの伝送レートなどがある。なお、コマンドATR_REQには、イニシエータの属性情報の他、そのイニシエータを特定するNFCIDなどが配置され、ターゲットは、コマンドATR_REQを受信することにより、イニシエータの属性情報とNFCIDを認識する。   The command ATR_REQ is transmitted to the target when the initiator informs the target of its own attribute information (specification) and requests the target attribute information. Here, the attribute information of the initiator or target includes a transmission rate of data that can be transmitted and received by the initiator or target. In addition to the attribute information of the initiator, the command ATR_REQ includes an NFCID that identifies the initiator, and the target receives the command ATR_REQ to recognize the attribute information and the NFCID of the initiator.

コマンドATR_RESは、ターゲットが、コマンドATR_REQを受信した場合に、そのコマンドATR_REQに対するレスポンスとして、イニシエータに送信される。コマンドATR_RESには、ターゲットの属性情報やNFCIDなどが配置される。   The command ATR_RES is transmitted to the initiator as a response to the command ATR_REQ when the target receives the command ATR_REQ. The command ATR_RES includes target attribute information, NFCID, and the like.

なお、コマンドATR_REQやコマンドATR_RESに配置される属性情報としての伝送レートの情報には、イニシエータやターゲットが送受信することのできるデータの伝送レートすべてを含めることができる。この場合、イニシエータとターゲットとの間で、コマンドATR_REQとレスポンスとしてのコマンドATR_RESのやりとりが1度行われるだけで、イニシエータは、ターゲットが送受信可能な伝送レートを認識することができ、ターゲットも、イニシエータが送受信可能な伝送レートを認識することができる。   Note that the transmission rate information as attribute information arranged in the command ATR_REQ and the command ATR_RES can include all transmission rates of data that can be transmitted and received by the initiator and the target. In this case, the command ATR_REQ and the command ATR_RES as a response are exchanged only once between the initiator and the target, and the initiator can recognize the transmission rate at which the target can transmit and receive. Can recognize the transmission rate at which data can be transmitted and received.

コマンドWUP_REQは、イニシエータが、通信するターゲットを選択するときに送信される。即ち、後述するように、コマンドDSL_REQを、イニシエータからターゲットに送信することにより、ターゲットを、ディセレクト(deselect)状態(イニシエータへのデータの送信(レスポンス)を禁止した状態)とすることができる。コマンドWUP_REQは、そのディセレクト状態を解いて、ターゲットを、イニシエータへのデータの送信を可能にする状態とする場合に送信される。なお、コマンドWUP_REQには、ディセレクト状態を解くターゲットのNFCIDが配置される。そして、コマンドWUP_REQを受信したターゲットのうち、そのコマンドWUP_REQに配置されているNFCIDによって特定されるターゲットが、ディセレクト状態を解く。   The command WUP_REQ is transmitted when the initiator selects a target for communication. That is, as will be described later, by transmitting the command DSL_REQ from the initiator to the target, the target can be in a deselect state (a state in which data transmission (response) to the initiator is prohibited). The command WUP_REQ is transmitted when the deselect state is released and the target is set in a state enabling transmission of data to the initiator. In the command WUP_REQ, the target NFCID for solving the deselected state is arranged. Then, among the targets that have received the command WUP_REQ, the target specified by the NFCID arranged in the command WUP_REQ releases the deselect state.

コマンドWUP_RESは、コマンドWUP_REQを受信したターゲットのうち、そのコマンドWUP_REQに配置されているNFCIDによって特定されるターゲットが、ディセレクト状態を解いた場合にコマンドWUP_REQに対するレスポンスとして送信される。   The command WUP_RES is transmitted as a response to the command WUP_REQ when the target specified by the NFCID arranged in the command WUP_REQ among the targets that have received the command WUP_REQ has solved the deselect state.

なお、コマンドWUP_REQは、イニシエータがアクティブモード時にのみ送信し、コマンドWUP_RESは、ターゲットがアクティブモード時にのみ送信する。   The command WUP_REQ is transmitted only when the initiator is in the active mode, and the command WUP_RES is transmitted only when the target is in the active mode.

コマンドPSL_REQは、イニシエータが、ターゲットとの通信に関する通信パラメータを変更(設定)するときに送信される。ここで、通信パラメータとしては、例えば、イニシエータとターゲットとの間でやりとりするデータの伝送レートなどがある。   The command PSL_REQ is transmitted when the initiator changes (sets) a communication parameter related to communication with the target. Here, the communication parameter includes, for example, a transmission rate of data exchanged between the initiator and the target.

コマンドPSL_REQは、イニシエータからターゲットに送信される。コマンドPSL_REQには、変更後の通信パラメータの値が配置される。ターゲットは、コマンドPSL_REQを受信し、そこに配置されている通信パラメータの値にしたがって、通信パラメータを変更する。さらに、ターゲットは、コマンドPSL_REQに対するレスポンスとしてコマンドPSL_RESを送信する。   The command PSL_REQ is transmitted from the initiator to the target. The command PSL_REQ contains the changed communication parameter value. The target receives the command PSL_REQ and changes the communication parameter according to the value of the communication parameter arranged there. Further, the target transmits a command PSL_RES as a response to the command PSL_REQ.

コマンドDEP_REQは、イニシエータが、データ(いわゆる実データ)の送受信(ターゲットとの間のデータ交換)を行うときに送信され、そこには、ターゲットに送信すべきデータが配置される。コマンドDEP_RESは、ターゲットが、コマンドDEP_REQに対するレスポンスとして送信し、そこには、イニシエータに送信すべきデータが配置される。従って、コマンドDEP_REQによって、イニシエータからターゲットにデータが送信され、そのコマンドDEP_REQに対するレスポンスであるコマンドDEP_RESによって、ターゲットからイニシエータにデータが送信される。   The command DEP_REQ is transmitted when the initiator transmits / receives data (so-called actual data) (data exchange with the target), and data to be transmitted to the target is arranged there. The command DEP_RES is transmitted by the target as a response to the command DEP_REQ, and data to be transmitted to the initiator is arranged there. Accordingly, data is transmitted from the initiator to the target by the command DEP_REQ, and data is transmitted from the target to the initiator by the command DEP_RES which is a response to the command DEP_REQ.

コマンドDSL_REQは、イニシエータが、ターゲットをディセレクト状態とするときに送信される。コマンドDSL_REQを受信したターゲットは、そのコマンドDSL_REQに対するレスポンスとしてコマンドDSL_RESを送信してディセレクト状態となり、以後、コマンドWUP_REQ以外のコマンドには反応しなくなる(レスポンスを返さなくなる)。   The command DSL_REQ is transmitted when the initiator sets the target to the deselected state. The target that has received the command DSL_REQ transmits the command DSL_RES as a response to the command DSL_REQ and enters the deselected state. Thereafter, it does not respond to commands other than the command WUP_REQ (no response is returned).

コマンドRLS_REQは、イニシエータが、ターゲットとの通信を完全に終了するときに送信される。コマンドRLS_REQを受信したターゲットは、そのコマンドRLS_REQに対するレスポンスとしてコマンドRLS_RESを送信し、イニシエータとの通信を完全に終了する。   The command RLS_REQ is transmitted when the initiator completely ends the communication with the target. The target that has received the command RLS_REQ transmits the command RLS_RES as a response to the command RLS_REQ, and completes the communication with the initiator.

ここで、コマンドDSL_REQとRLS_REQは、いずれも、ターゲットを、イニシエータとの通信の対象から解放する点で共通する。しかしながら、コマンドDSL_REQによって解放されたターゲットは、コマンドWUP_REQによって、再び、イニシエータと通信可能な状態となるが、コマンドRLS_REQによって解放されたターゲットは、イニシエータが初期RFCA処理から処理をやり直さないと、イニシエータと通信可能な状態とならない。かかる点で、コマンドDSL_REQとRLS_REQは、異なる。   Here, the commands DSL_REQ and RLS_REQ are both common in that the target is released from the target of communication with the initiator. However, the target released by the command DSL_REQ becomes communicable with the initiator again by the command WUP_REQ. However, if the target released by the command RLS_REQ does not repeat the process from the initial RFCA process, the target is released. Communication is not possible. In this respect, the commands DSL_REQ and RLS_REQ are different.

なお、以下では、イニシエータからのコマンドと、ターゲットからレスポンスとして返されるコマンドの区別を容易にするため、例えば、コマンドATR_REQに対するレスポンスのコマンドATR_RESをレスポンスATR_RESと称する。その他のターゲットが送信するコマンドについても同様である。   In the following, in order to easily distinguish a command from the initiator and a command returned as a response from the target, for example, a command ATR_RES of a response to the command ATR_REQ is referred to as a response ATR_RES. The same applies to commands transmitted by other targets.

ところで、NFC通信装置(図1のNFC通信装置1乃至3それぞれ)は、ISO/IEC 18092としてのNFCIP-1にしたがった通信を行うことができる他、後述するように、拡張された機能としての、省電力モードによる通信も行うことができる。   By the way, the NFC communication devices (each of the NFC communication devices 1 to 3 in FIG. 1) can perform communication according to NFCIP-1 as ISO / IEC 18092, and as an extended function as described later. Communication in the power saving mode can also be performed.

そこで、最初に、図8乃至図10を参照して、基本となるNFCIP-1に従った通信処理について説明する。   First, communication processing according to the basic NFCIP-1 will be described with reference to FIGS.

[ISO/IEC 18092に従った通信処理]
図8は、NFCIP-1に従った通信処理の概要を説明するフローチャートである。
[Communication processing according to ISO / IEC 18092]
FIG. 8 is a flowchart for explaining an outline of communication processing according to NFCIP-1.

最初に、ステップS1において、イニシエータとなるNFC通信装置は、初期RFCA処理を行う。ステップS2では、イニシエータとなるNFC通信装置は、ステップS1の初期RFCA処理により、RFフィールドを検出したか否かを判定する。ステップS2において、RFフィールドを検出したと判定された場合、ステップS1に戻り、以下、同様の処理が繰り返される。即ち、イニシエータとなるNFC通信装置は、RFフィールドを検出している間は、そのRFフィールドを形成している他のNFC通信装置による通信の妨げとならないように、RFフィールドを形成しない。   First, in step S1, the NFC communication apparatus that is an initiator performs an initial RFCA process. In step S2, the NFC communication device serving as the initiator determines whether or not an RF field has been detected by the initial RFCA processing in step S1. If it is determined in step S2 that the RF field has been detected, the process returns to step S1 and the same processing is repeated thereafter. That is, while detecting the RF field, the NFC communication apparatus serving as an initiator does not form an RF field so as not to hinder communication by other NFC communication apparatuses that form the RF field.

一方、ステップS2において、RFフィールドを検出していないと判定された場合、NFC通信装置は、ステップS3において、アクティブモードとパッシブモードのうちのいずれかの通信モードを選択し、イニシエータとなって伝送レートの選択等を行う。   On the other hand, if it is determined in step S2 that the RF field has not been detected, the NFC communication apparatus selects one of the active mode and passive mode in step S3 and transmits as an initiator. Select the rate.

即ち、NFCIP-1では、例えば、106kbpsや、212kbps,424kbps等の複数の伝送レートの中から、実際の通信に使用する伝送レートを選択することが可能である。そこで、ステップS3では、イニシエータとなったNFC通信装置は、伝送レートの選択を行う。   That is, in NFCIP-1, for example, a transmission rate used for actual communication can be selected from a plurality of transmission rates such as 106 kbps, 212 kbps, and 424 kbps. Therefore, in step S3, the NFC communication apparatus that has become the initiator selects a transmission rate.

具体的には、パッシブモードの通信を行う場合、処理はステップS2から、ステップS3を構成するステップS3−1とS3−2のうちのステップS3−1に進む。そして、NFC通信装置は、イニシエータとなって、通信モードをパッシブモードに移行させ、伝送レートを選択する。さらに、ステップS3−1では、イニシエータとなったNFC通信装置は、所定の初期化処理とSDD処理を行う。その後、処理は、ステップS4を構成するステップS4−1とS4−2のうちのステップS4−1に進む。   Specifically, when performing passive mode communication, the process proceeds from step S2 to step S3-1 of steps S3-1 and S3-2 that constitute step S3. Then, the NFC communication apparatus becomes an initiator, shifts the communication mode to the passive mode, and selects a transmission rate. Further, in step S3-1, the NFC communication apparatus that has become the initiator performs predetermined initialization processing and SDD processing. Thereafter, the process proceeds to step S4-1 of steps S4-1 and S4-2 constituting step S4.

ステップS4−1では、NFC通信装置は、パッシブモードでアクティベーション(活性化)(起動)し、パッシブモードのターゲットとの間で、コマンドATR_REQとレスポンスATR_RESをやりとりする。   In step S4-1, the NFC communication apparatus is activated (activated) (activated) in the passive mode, and exchanges a command ATR_REQ and a response ATR_RES with the target in the passive mode.

一方、アクティブモードの通信を行う場合、処理は、ステップS2から、ステップS3を構成するステップS3−1とS3−2のうちのステップS3−2に進む。そして、NFC通信装置は、イニシエータとなって、通信モードをアクティブモードに移行させ、伝送レートを選択する。その後、処理は、ステップS4を構成するステップS4−1とS4−2のうちのステップS4−2に進む。   On the other hand, when performing active mode communication, the process proceeds from step S2 to step S3-2 of steps S3-1 and S3-2 that constitute step S3. Then, the NFC communication apparatus becomes an initiator, shifts the communication mode to the active mode, and selects a transmission rate. Thereafter, the process proceeds to step S4-2 of steps S4-1 and S4-2 constituting step S4.

ステップS4−2では、NFC通信装置は、アクティブモードでアクティベーションし、ターゲットとの間で、コマンドATR_REQとレスポンスATR_RESをやりとりする。   In step S4-2, the NFC communication apparatus is activated in the active mode, and exchanges a command ATR_REQ and a response ATR_RES with the target.

ステップS4−1またはステップS4−2の後、ステップS5において、NFC通信装置は、通信に必要な通信パラメータ(例えば、伝送レートなど)を、現在の通信パラメータから変更する必要がある場合には、その通信パラメータを選択する。そして、NFC通信装置は、選択した通信パラメータ等を配置したコマンドPSL_REQとレスポンスPSL_RESを、ターゲットとの間でやりとりして、通信パラメータを変更する。   After step S4-1 or step S4-2, in step S5, the NFC communication apparatus needs to change communication parameters (for example, transmission rate) necessary for communication from the current communication parameters. Select the communication parameter. Then, the NFC communication apparatus exchanges the command PSL_REQ and the response PSL_RES in which the selected communication parameter is arranged with the target, and changes the communication parameter.

ステップS6では、NFC通信装置は、ステップS5で選択した通信パラメータにしたがって、コマンドDEP_REQとレスポンスDEP_RESを、ターゲットとの間でやりとりして、データ交換プロトコルによるデータ交換(通信)を行う。   In step S6, the NFC communication apparatus exchanges a command DEP_REQ and a response DEP_RES with the target according to the communication parameter selected in step S5, and performs data exchange (communication) using a data exchange protocol.

ステップS7では、NFC通信装置は、コマンドDSL_REQとレスポンスDSL_RES、またはコマンドRSL_REQとレスポンスRSL_RESを、ターゲットとの間でやりとりして、非活性化(ディアクティベーション)し、トランザクションを終了する。   In step S7, the NFC communication apparatus exchanges the command DSL_REQ and the response DSL_RES or the command RSL_REQ and the response RSL_RES with the target, deactivates them, and ends the transaction.

NFC通信装置は、例えば、デフォルトで、ターゲットとなるように設定することができる。デフォルトでターゲットに設定されているNFC通信装置は、RFフィールドを形成することはせず、イニシエータからコマンドが送信されてくるまで(イニシエータがRFフィールドを形成するまで)、待ち状態となる。   The NFC communication apparatus can be set to be a target by default, for example. The NFC communication device set as a target by default does not form an RF field, but waits until a command is transmitted from the initiator (until the initiator forms an RF field).

また、NFC通信装置は、例えば、アプリケーションからの要求に応じて、イニシエータとなることができる。さらに、例えば、アプリケーションでは、通信モードをアクティブモードまたはパッシブモードのうちのいずれにするかや伝送レートを選択(決定)することができる。   Further, the NFC communication apparatus can become an initiator in response to a request from an application, for example. Further, for example, the application can select (determine) the transmission rate by setting the communication mode to either the active mode or the passive mode.

また、イニシエータとなったNFC通信装置は、外部にRFフィールドが形成されていなければ、RFフィールドを形成し、ターゲットは、イニシエータによって形成されたRFフィールドによって活性化する。   In addition, if the RF field is not formed outside, the NFC communication apparatus that has become the initiator forms the RF field, and the target is activated by the RF field formed by the initiator.

その後、イニシエータは、選択された通信モードと伝送レートで、コマンドを送信し、ターゲットは、イニシエータと同一の通信モードと伝送レートで、レスポンスのコマンドを返す(送信する)。   Thereafter, the initiator transmits a command in the selected communication mode and transmission rate, and the target returns (transmits) a response command in the same communication mode and transmission rate as the initiator.

[パッシブモードにおける詳細な通信処理]
次に、図9のフローチャートを参照して、パッシブモードでのデータ交換を行うのに、NFC通信装置で行われる処理を説明する。
[Detailed communication processing in passive mode]
Next, with reference to the flowchart of FIG. 9, processing performed in the NFC communication apparatus for performing data exchange in the passive mode will be described.

最初に、ステップS11において、イニシエータは、初期RFCA処理を行い、ステップS12に進み、通信モードをパッシブモードとする。そして、ステップS13において、イニシエータは、初期化処理とSDD処理を行って、伝送レートを選択する。   First, in step S11, the initiator performs an initial RFCA process, proceeds to step S12, and sets the communication mode to the passive mode. In step S13, the initiator performs initialization processing and SDD processing to select a transmission rate.

ステップS11の処理が、図8のステップS1およびS2の処理に対応し、ステップS12およびS13の処理が、図8のステップS3(S3−1)の処理に対応する。   The processing in step S11 corresponds to the processing in steps S1 and S2 in FIG. 8, and the processing in steps S12 and S13 corresponds to the processing in step S3 (S3-1) in FIG.

その後、ステップS14に進み、イニシエータは、ターゲットに属性情報を要求するか否かを判定する。ここで、属性情報とは、NFC通信装置の通信能力を規定した情報で、例えば、NFC通信装置が対応することができる伝送レートの情報などがある。   Thereafter, the process proceeds to step S14, where the initiator determines whether to request attribute information from the target. Here, the attribute information is information that defines the communication capability of the NFC communication apparatus, and includes, for example, information on a transmission rate that can be supported by the NFC communication apparatus.

ステップS14において、ターゲットに属性情報を要求しないと判定された場合、ステップS15において、イニシエータは、ターゲットとの通信を、独自プロトコルにしたがって行う。ステップS15の後、処理はステップS14に戻り、以下、同様の処理が繰り返される。   If it is determined in step S14 that attribute information is not requested from the target, in step S15, the initiator performs communication with the target in accordance with a unique protocol. After step S15, the process returns to step S14, and the same process is repeated thereafter.

一方、ステップS14において、ターゲットに属性情報を要求すると判定された場合、処理はステップS16に進み、イニシエータは、コマンドATR_REQを送信し、これにより、ターゲットに属性情報を要求する。そして、イニシエータは、ターゲットからコマンドATR_REQに対するレスポンスATR_RESが送信されてくるのを待って、ステップS17において、そのレスポンスATR_RESを受信する。   On the other hand, if it is determined in step S14 that attribute information is requested from the target, the process proceeds to step S16, and the initiator transmits a command ATR_REQ, thereby requesting attribute information from the target. Then, the initiator waits for the response ATR_RES to the command ATR_REQ transmitted from the target, and receives the response ATR_RES in step S17.

ステップS16およびS17の処理は、図8のステップS4(S4−1)の処理に対応する。   The processing in steps S16 and S17 corresponds to the processing in step S4 (S4-1) in FIG.

ステップS18では、イニシエータは、ステップS17でターゲットから受信したレスポンスATR_RESに基づき、通信パラメータ、即ち、例えば、伝送レートを変更することができるか否かを判定する。ステップS18において、伝送レートを変更することができないと判定された場合、処理は、ステップS19乃至S21をスキップして、ステップS22に進む。   In step S18, the initiator determines whether the communication parameter, that is, for example, the transmission rate can be changed based on the response ATR_RES received from the target in step S17. If it is determined in step S18 that the transmission rate cannot be changed, the process skips steps S19 to S21 and proceeds to step S22.

一方、ステップS18において、伝送レートを変更することができると判定された場合、ステップS19に進み、イニシエータは、コマンドPSL_REQを送信し、これにより、ターゲットに伝送レートの変更を要求する。そして、イニシエータは、コマンドPSL_REQに対するレスポンスPSL_RESがターゲットから送信されてくるのを待って、ステップS20において、そのレスポンスPSL_RESを受信する。ステップS21では、イニシエータは、ステップS20で受信したレスポンスPSL_RESにしたがい、通信パラメータ、例えば、伝送レートを変更する。   On the other hand, if it is determined in step S18 that the transmission rate can be changed, the process proceeds to step S19, where the initiator transmits a command PSL_REQ, thereby requesting the target to change the transmission rate. Then, the initiator waits for the response PSL_RES to the command PSL_REQ to be transmitted from the target, and receives the response PSL_RES in step S20. In step S21, the initiator changes the communication parameter, for example, the transmission rate, according to the response PSL_RES received in step S20.

ステップS18乃至S21の処理は、図8のステップS5の処理に対応する。   The process of steps S18 to S21 corresponds to the process of step S5 in FIG.

ステップS22では、イニシエータは、データ交換プロトコルにしたがい、ターゲットとの間でデータ交換を行う。即ち、コマンドDEP_REQとレスポンスDEP_RESのやりとりが行われる。ステップS22の処理は、図8のステップS6の処理に対応する。   In step S22, the initiator exchanges data with the target according to the data exchange protocol. That is, the command DEP_REQ and the response DEP_RES are exchanged. The process of step S22 corresponds to the process of step S6 of FIG.

ステップS22においてデータ変換が行われた後は、イニシエータは、必要に応じて、ステップS23またはS25に進む。   After the data conversion is performed in step S22, the initiator proceeds to step S23 or S25 as necessary.

即ち、イニシエータがターゲットをディセレクト状態にする場合、処理はステップS22からS23に進み、イニシエータは、コマンドDSL_REQを送信する。そして、イニシエータは、コマンドDSL_REQに対するレスポンスDSL_RESがターゲットから送信されてくるのを待って、ステップS24において、そのレスポンスDSL_RESを受信する。ステップS24の後、処理はステップS14に戻り、以下、同様の処理が繰り返される。   That is, when the initiator sets the target to the deselected state, the process proceeds from step S22 to S23, and the initiator transmits the command DSL_REQ. Then, the initiator waits for the response DSL_RES to the command DSL_REQ to be transmitted from the target, and receives the response DSL_RES in step S24. After step S24, the process returns to step S14, and the same process is repeated thereafter.

一方、イニシエータがターゲットとの通信を完全に終了する場合、処理はステップS22からS25に進み、イニシエータは、コマンドRLS_REQを送信する。そして、イニシエータは、コマンドRLS_REQに対するレスポンスRLS_RESがターゲットから送信されてくるのを待って、ステップS26において、そのレスポンスRLS_RESを受信する。ステップS26の後、処理はステップS11に戻り、以下、同様の処理が繰り返される。   On the other hand, when the initiator completely ends the communication with the target, the process proceeds from step S22 to S25, and the initiator transmits a command RLS_REQ. Then, the initiator waits for the response RLS_RES to the command RLS_REQ to be transmitted from the target, and receives the response RLS_RES in step S26. After step S26, the process returns to step S11, and the same process is repeated thereafter.

ステップS23とS24の処理や、ステップS25とS26の処理は、図8のステップS7の処理に対応する。   The processes of steps S23 and S24 and the processes of steps S25 and S26 correspond to the process of step S7 in FIG.

[アクティブモードにおける詳細な通信処理]
次に、図10のフローチャートを参照して、アクティブモードでのデータ交換を行うのに、NFC通信装置で行われる処理を説明する。
[Detailed communication processing in active mode]
Next, processing performed in the NFC communication apparatus for exchanging data in the active mode will be described with reference to the flowchart in FIG.

最初に、ステップS31において、イニシエータは、初期RFCA処理を行い、ステップS32に進み、通信モードをアクティブモードとして、伝送レートを選択する。   First, in step S31, the initiator performs initial RFCA processing, proceeds to step S32, selects the transmission rate with the communication mode as the active mode.

ステップS31の処理は、図8のステップS1およびS2の処理に対応し、ステップS32の処理は、ステップS3(S3−2)の処理に対応する。   The processing in step S31 corresponds to the processing in steps S1 and S2 in FIG. 8, and the processing in step S32 corresponds to the processing in step S3 (S3-2).

その後、ステップS33乃至S39において、図9のステップS16乃至S22における場合とそれぞれ同様の処理が行われる。   Thereafter, in steps S33 to S39, the same processing as in steps S16 to S22 of FIG. 9 is performed.

即ち、ステップS33では、イニシエータは、コマンドATR_REQを送信し、これにより、ターゲットに属性情報を要求する。そして、イニシエータは、ターゲットからコマンドATR_REQに対するレスポンスATR_RESが送信されてくるのを待って、ステップS34において、そのレスポンスATR_RESを受信する。   That is, in step S33, the initiator transmits a command ATR_REQ, thereby requesting attribute information from the target. Then, the initiator waits for the response ATR_RES to the command ATR_REQ transmitted from the target, and receives the response ATR_RES in step S34.

ステップS35では、イニシエータは、ステップS34でターゲットから受信したレスポンスATR_RESに基づき、通信パラメータ、例えば、伝送レートを変更することができるか否かを判定する。ステップS35において、通信パラメータを変更することができないと判定された場合、処理は、ステップS36乃至S38をスキップして、ステップS39に進む。   In step S35, the initiator determines whether or not the communication parameter, for example, the transmission rate can be changed, based on the response ATR_RES received from the target in step S34. If it is determined in step S35 that the communication parameter cannot be changed, the process skips steps S36 to S38 and proceeds to step S39.

一方、ステップS35において、通信パラメータを変更することができると判定された場合、処理はステップS36に進み、イニシエータは、コマンドPSL_REQを送信し、これにより、ターゲットに通信パラメータの変更(設定)を要求する。そして、イニシエータは、コマンドPSL_REQに対するレスポンスPSL_RESがターゲットから送信されてくるのを待って、ステップS37において、そのレスポンスPSL_RESを受信する。ステップS38では、イニシエータは、ステップS37で受信したレスポンスPSL_RESにしたがい、通信パラメータ、例えば、伝送レートを変更する。   On the other hand, if it is determined in step S35 that the communication parameter can be changed, the process proceeds to step S36, and the initiator transmits the command PSL_REQ, thereby requesting the target to change (set) the communication parameter. To do. Then, the initiator waits for the response PSL_RES to the command PSL_REQ to be transmitted from the target, and receives the response PSL_RES in step S37. In step S38, the initiator changes the communication parameter, for example, the transmission rate, according to the response PSL_RES received in step S37.

ステップS39では、イニシエータは、データ交換プロトコルにしたがい、ターゲットとの間でデータ交換を行う。即ち、コマンドDEP_REQとレスポンスDEP_RESのやりとりが行われる。   In step S39, the initiator exchanges data with the target according to the data exchange protocol. That is, the command DEP_REQ and the response DEP_RES are exchanged.

ステップS33およびS34の処理は、図8のステップS4(S4−2)の処理に対応し、ステップS35乃至S38の処理は、図8のステップS5の処理に対応する。また、ステップS39の処理は、図8のステップS6の処理に対応する。   The processes in steps S33 and S34 correspond to the process in step S4 (S4-2) in FIG. 8, and the processes in steps S35 to S38 correspond to the process in step S5 in FIG. Further, the process of step S39 corresponds to the process of step S6 of FIG.

ステップS39におけるデータ変換の後は、必要に応じて、ステップS40またはS44に進む。   After the data conversion in step S39, the process proceeds to step S40 or S44 as necessary.

即ち、イニシエータが、いま通信を行っているターゲットをディセレクト状態にし、既にディセレクト状態になっているターゲットのうちのいずれかをウエイクアップさせる場合、処理はステップS39からS40に進む。ステップS40では、イニシエータは、ディセレクト状態にするターゲット宛に、コマンドDSL_REQを送信する。そして、イニシエータは、コマンドDSL_REQに対するレスポンスDSL_RESがターゲットから送信されてくるのを待って、ステップS41において、そのレスポンスDSL_RESを受信する。レスポンスDSL_RESを送信してきたターゲットは、ディセレクト状態になる。   That is, when the initiator sets the target currently communicating to the deselected state and wakes up one of the targets already in the deselected state, the process proceeds from step S39 to S40. In step S40, the initiator transmits a command DSL_REQ to the target to be deselected. Then, the initiator waits for the response DSL_RES to the command DSL_REQ to be transmitted from the target, and receives the response DSL_RES in step S41. The target that has sent the response DSL_RES is in the deselected state.

その後、処理はステップS41からS42に進み、イニシエータは、ウエイクアップさせるターゲット宛に、コマンドWUP_REQを送信する。そして、イニシエータは、コマンドWUP_REQに対するレスポンスWUP_RESがターゲットから送信されてくるのを待って、ステップS43において、そのレスポンスWUP_RESを受信する。レスポンスWUP_RESを送信してきたターゲットはウエイクアップし、そのウエイクアップしたターゲットが、イニシエータがその後に行うステップS35以降の処理の対象となる。   Thereafter, the process proceeds from step S41 to S42, and the initiator transmits a command WUP_REQ to the target to be woken up. The initiator waits for the response WUP_RES to the command WUP_REQ to be transmitted from the target, and receives the response WUP_RES in step S43. The target that has transmitted the response WUP_RES wakes up, and the wake-up target becomes the target of processing after step S35 that the initiator subsequently performs.

一方、イニシエータがターゲットとの通信を完全に終了する場合、処理はステップS39からS44に進む。ステップS44では、イニシエータは、コマンドRLS_REQを送信する。そして、イニシエータは、コマンドRLS_REQに対するレスポンスRLS_RESがターゲットから送信されてくるのを待って、ステップS45において、そのレスポンスRLS_RESを受信する。ステップS45の後、処理はステップS31に戻り、以下、同様の処理が繰り返される。   On the other hand, when the initiator completely ends the communication with the target, the process proceeds from step S39 to S44. In step S44, the initiator transmits a command RLS_REQ. Then, the initiator waits for the response RLS_RES to the command RLS_REQ to be transmitted from the target, and receives the response RLS_RES in step S45. After step S45, the process returns to step S31, and the same process is repeated thereafter.

ステップS40乃至43の処理や、ステップS44とS45の処理は、図8のステップS7の処理に対応する。   The processes in steps S40 to S43 and the processes in steps S44 and S45 correspond to the process in step S7 in FIG.

以上、図8乃至図10を参照して、NFCIP-1に従った通信処理について説明した。   The communication processing according to NFCIP-1 has been described above with reference to FIGS.

[省電力モードでの通信機能の説明]
次に、図1の通信システムのNFC通信装置が、拡張された機能として行うことができる省電力モードの通信について、図11および図12を参照して説明する。なお、以下では、NFC通信装置がパッシブモードによる通信を行うものとして説明する。アクティブモードによる通信については、パッシブモードによる通信の説明中において、違う部分について補足的に説明する。
[Description of communication function in power saving mode]
Next, communication in the power saving mode that can be performed as an extended function by the NFC communication apparatus of the communication system of FIG. 1 will be described with reference to FIGS. 11 and 12. In the following description, it is assumed that the NFC communication apparatus performs communication in the passive mode. Regarding the communication in the active mode, different parts will be supplementarily described in the description of the communication in the passive mode.

NFC通信装置は、省電力モードの通信機能として、図11に示される低RF出力通信機能と、図12に示される間欠RF出力通信機能を有する。   The NFC communication apparatus has a low RF output communication function shown in FIG. 11 and an intermittent RF output communication function shown in FIG. 12 as communication functions in the power saving mode.

低RF出力通信機能とは、図11に示されるように、イニシエータが出力する電磁波のパワー(磁界強度:単位A/m)を、NFCIP-1で規定される値よりも低くした値で通信する機能である。   With the low RF output communication function, as shown in FIG. 11, communication is performed with a value obtained by lowering the power (magnetic field strength: unit A / m) of the electromagnetic wave output from the initiator to a value lower than the value specified by NFCIP-1. It is a function.

図5を参照して説明したように、NFCIP-1では、イニシエータは、1.5A/mから7.5A/mのパワーで電磁波を出力することが規定されている。   As described with reference to FIG. 5, NFCIP-1 stipulates that the initiator outputs an electromagnetic wave with a power of 1.5 A / m to 7.5 A / m.

一方、低RF出力通信機能を有するNFC通信装置は、電磁波のパワーが少なくとも0.3A/mあれば、通信することが可能である。即ち、低RF出力通信機能では、イニシエータは、0.3A/mから7.5A/mのパワーで電磁波を出力することができる。   On the other hand, an NFC communication device having a low RF output communication function can communicate if the electromagnetic wave power is at least 0.3 A / m. That is, in the low RF output communication function, the initiator can output an electromagnetic wave with a power of 0.3 A / m to 7.5 A / m.

従って、電磁波のパワーをNFCIP-1で規定されている値よりも低くして通信が可能であるので、電磁波を出力し続けるイニシエータの消費電力を低減させることができる。   Therefore, communication can be performed with the electromagnetic wave power lower than the value specified in NFCIP-1, and therefore the power consumption of the initiator that continues to output the electromagnetic wave can be reduced.

次に、間欠RF出力通信機能について説明する。   Next, the intermittent RF output communication function will be described.

間欠RF出力通信機能とは、イニシエータが一定期間電磁波を出力した後に、一定期間電磁波の出力を停止する期間を設け、電磁波の出力のオンおよびオフを繰り返しつつ、通信を行う機能である。即ち、図12に示されるように、イニシエータは、時間TIDT+n×TRFW経過した後の電磁波の出力開始から一定期間(図12においてON time periodで示されるRF出力オン期間)、所定のパワーで電磁波を出力する。このRF出力オン期間は、データ(コマンドを含む)の送信(Send Request)が終了するまでの時間に所定の余裕時間を持った時間である。その後、イニシエータは、一定期間(図12においてOFF time periodで示されるRF出力オフ期間)、電磁波の出力を停止(オフ)する。それ以降も、イニシエータは、RF出力オン期間とRF出力オフ期間の電磁波出力のオンおよびオフを繰り返す。 The intermittent RF output communication function is a function that performs communication while repeating the ON / OFF of the output of the electromagnetic wave by providing a period in which the output of the electromagnetic wave is stopped for a predetermined period after the initiator outputs the electromagnetic wave for a predetermined period. That is, as shown in FIG. 12, the initiator has a predetermined power for a certain period (RF output on period indicated by ON time period in FIG. 12) from the start of electromagnetic wave output after time T IDT + n × T RFW has elapsed. To output electromagnetic waves. This RF output ON period is a time with a predetermined margin time until transmission (Send Request) of data (including a command) is completed. Thereafter, the initiator stops (turns off) the output of the electromagnetic wave for a certain period (RF output off period indicated by OFF time period in FIG. 12). Thereafter, the initiator repeatedly turns on and off the electromagnetic wave output during the RF output on period and the RF output off period.

NFCIP-1に従った通信と比較すると、図12を参照して明らかなように、電磁波の出力を停止することができる期間があるので、イニシエータの消費電力を低減させることができる。   Compared with the communication according to NFCIP-1, there is a period during which the output of electromagnetic waves can be stopped, as is apparent with reference to FIG. 12, so that the power consumption of the initiator can be reduced.

なお、NFC通信装置は、低RF出力通信機能と間欠RF出力通信機能のいずれか一方を有するものでもよいし、低RF出力通信機能と間欠RF出力通信機能の両方を有するものでもよい。低RF出力通信機能と間欠RF出力通信機能の両方が実行された場合、例えば、イニシエータとなろうとするNFC通信装置は、時間TIDT+n×TRFW経過した後、0.3A/mのパワーで電磁波を出力する。そして、イニシエータとなろうとするNFC通信装置は、電磁波の出力開始からRF出力オン期間経過後から、RF出力オフ期間については、電磁波の出力を停止する。その後、イニシエータとなろうとするNFC通信装置は、再び、0.3A/mのパワーによる電磁波の出力を開始する。 Note that the NFC communication device may have either a low RF output communication function or an intermittent RF output communication function, or may have both a low RF output communication function and an intermittent RF output communication function. When both the low RF output communication function and the intermittent RF output communication function are executed, for example, the NFC communication apparatus that is going to be an initiator uses an electromagnetic wave with a power of 0.3 A / m after time T IDT + n × T RFW has elapsed. Is output. Then, the NFC communication apparatus that intends to become an initiator stops the output of the electromagnetic wave for the RF output off period after the RF output on period has elapsed since the start of the output of the electromagnetic wave. Thereafter, the NFC communication apparatus that intends to become an initiator starts output of electromagnetic waves with a power of 0.3 A / m again.

次に、上述した省電力モードでの通信処理を行うため、NFC通信装置が、NFCIP-1で規定されたもの以外に有しているコマンドまたはパラメータについて説明する。   Next, in order to perform communication processing in the above-described power saving mode, commands or parameters that the NFC communication apparatus has other than those specified by NFCIP-1 will be described.

[拡張されたコマンドセットの説明]
図13は、NFC通信装置が、図7に示したコマンドセット以外に追加的に有するコマンドセットを示している。
[Explanation of extended command set]
FIG. 13 shows a command set that the NFC communication apparatus additionally has in addition to the command set shown in FIG.

即ち、省電力モードを有するNFC通信装置は、図7に示したコマンドセット以外に、図13に示されるコマンドPSL2_REQと、それに対応するレスポンスのコマンドPSL2_RESをさらにやりとりすることができる。   That is, the NFC communication apparatus having the power saving mode can further exchange the command PSL2_REQ shown in FIG. 13 and the response command PSL2_RES corresponding thereto in addition to the command set shown in FIG.

コマンドPSL2_REQは、CMD0フィールドに“D4”が格納され、CMD1フィールドに“0C”が格納されることにより識別される。レスポンスPSL2_RESは、CMD0フィールドに“D5”が格納され、CMD1フィールドに“0D”が格納されることにより識別される。   The command PSL2_REQ is identified by storing “D4” in the CMD0 field and storing “0C” in the CMD1 field. The response PSL2_RES is identified by storing “D5” in the CMD0 field and storing “0D” in the CMD1 field.

コマンドPSL2_REQは、イニシエータがターゲットとの通信に関する拡張された通信パラメータ(拡張通信パラメータ)を変更(設定)するとき、イニシエータからターゲットに送信される。コマンドPSL2_REQには、変更後の拡張通信パラメータの値が配置される。ターゲットは、コマンドPSL2_REQを受信し、そこに配置されている拡張通信パラメータの値にしたがって、通信パラメータを変更する。さらに、ターゲットは、コマンドPSL2_REQに対するレスポンスとしてコマンドPSL2_RESを送信する。   The command PSL2_REQ is transmitted from the initiator to the target when the initiator changes (sets) an extended communication parameter (extended communication parameter) related to communication with the target. The value of the extended communication parameter after the change is arranged in the command PSL2_REQ. The target receives the command PSL2_REQ and changes the communication parameter according to the value of the extended communication parameter arranged there. Further, the target transmits a command PSL2_RES as a response to the command PSL2_REQ.

次に、省電力モードでの通信処理を行うための各コマンドの詳細な内容について説明する。   Next, detailed contents of each command for performing communication processing in the power saving mode will be described.

[コマンドATR_REQの説明]
図14は、コマンドATR_REQの構造を示している。
[Description of command ATR_REQ]
FIG. 14 shows the structure of the command ATR_REQ.

コマンドATR_REQは、先頭から(図中左から)、CMD0フィールド、CMD1フィールド、および、Byte0乃至Byten+14フィールド(nは0以上の整数値)から構成されている。   The command ATR_REQ includes a CMD0 field, a CMD1 field, and Byte0 to Byten + 14 fields (n is an integer value of 0 or more) from the top (from the left in the figure).

CMD0フィールドとCMD1フィールドには、上述したように、このコマンドがコマンドATR_REQであることを示す値“D4”と“00”が格納される。   As described above, values “D4” and “00” indicating that this command is the command ATR_REQ are stored in the CMD0 field and the CMD1 field.

Byte0乃至Byte9フィールドには、このコマンドATR_REQを送信するNFC通信装置、即ち、イニシエータを特定するNFCIDが格納される。   In the Byte0 to Byte9 fields, an NFC communication apparatus that transmits the command ATR_REQ, that is, an NFCID that specifies an initiator is stored.

Byte10フィールドには、このコマンドATR_REQを送信するイニシエータのデバイスIDであるDIDiが設定される。そこで、以下、Byte10フィールドを、DIDiフィールドとも呼ぶ。   In the Byte10 field, DIDi that is the device ID of the initiator that transmits this command ATR_REQ is set. Therefore, hereinafter, the Byte10 field is also referred to as a DIDi field.

Byte11フィールドには、このコマンドATR_REQを送信するイニシエータがデータを送信する際のビットレート(伝送レート)BSiが設定される。   In the Byte11 field, a bit rate (transmission rate) BSi at which the initiator transmitting the command ATR_REQ transmits data is set.

Byte12フィールドには、このコマンドATR_REQを送信するイニシエータがデータを受信する際のビットレート(伝送レート)BRiが設定される。   In the Byte12 field, a bit rate (transmission rate) BRi at which the initiator transmitting this command ATR_REQ receives data is set.

Byte13フィールドには、このコマンドATR_REQを送信するイニシエータについてのオプションパラメータPPiが設定される。なお、以下、Byte13フィールドを、PPiフィールドとも呼ぶ。PPiフィールドの詳細については、図15を参照して後述する。   In the Byte13 field, an optional parameter PPi for the initiator that transmits this command ATR_REQ is set. Hereinafter, the Byte 13 field is also referred to as a PPi field. Details of the PPi field will be described later with reference to FIG.

Byte14乃至Byte14+nフィールドのそれぞれは、設計者等により指定される各種情報が設定されるフィールドであって、オプションとして用意されているフィールドである。値nは、設計者等により可変可能とされており、0以上の整数値となる。この値nは、後述するように、PPiフィールドに設定される。以下、n個のGiフィールドのそれぞれを、その配置順に(図14中左から順に)、Gi[0]乃至Gi[n] フィールドと呼ぶ。   Each of the Byte14 to Byte14 + n fields is a field in which various information designated by a designer or the like is set, and is a field prepared as an option. The value n can be changed by a designer or the like, and is an integer value of 0 or more. This value n is set in the PPi field, as will be described later. Hereinafter, each of the n Gi fields is referred to as Gi [0] to Gi [n] fields in the order of arrangement (in order from the left in FIG. 14).

[PPiフィールドの詳細]
図15は、PPiフィールドの構造を示している。
[Details of PPi field]
FIG. 15 shows the structure of the PPi field.

PPiフィールドは、図15に示されるように、ビット0乃至ビット7(bit0乃至bit7)から構成される。   As shown in FIG. 15, the PPi field is composed of bit 0 to bit 7 (bit 0 to bit 7).

PPiフィールドは、ビット7が“0”以外に、“1”の値を取りうる点以外は、NFCIP-1と同一である。換言すれば、ビット7が“0”である場合、PPiフィールドは、NFCIP-1で規定されるPPiフィールドそのものである。   The PPi field is the same as NFCIP-1 except that bit 7 can take a value of “1” other than “0”. In other words, when bit 7 is “0”, the PPi field is the PPi field itself defined by NFCIP-1.

NFCIP-1では、ビット7を“0”とすることが決められているが、図1の通信システムでは、ビット7を“1”とすることが可能に拡張されている。ビット7が“1”である場合、イニシエータが省電力モードの通信機能を有していることを表す。   In NFCIP-1, bit 7 is determined to be “0”, but in the communication system of FIG. 1, the bit 7 is extended to be “1”. When bit 7 is “1”, it indicates that the initiator has a power saving mode communication function.

ビット6、ビット3、ビット2には“0”が設定される。   Bits 0, 3 and 2 are set to “0”.

ビット4、ビット5には、データの有効長を指定するための情報LRiであって、図14を参照して上述した値nが設定される。   Bits 4 and 5 are information LLi for designating the effective length of data, and the value n described above with reference to FIG. 14 is set.

ビット1には、Gi[0]乃至Gi[n] フィールドが配置されているか否か(存在するか否か)を示す情報Giが設定される。情報Giは“0”または“1”となるので、例えば、“0”が配置されていない(存在しない)ことを示し、“1”が配置されている(存在する)ことを示すとする。   Bit 1 is set with information Gi indicating whether or not Gi [0] to Gi [n] fields are arranged (whether or not exist). Since the information Gi is “0” or “1”, for example, it is assumed that “0” is not arranged (does not exist) and “1” is arranged (exists).

ビット0には、NAD(Node Address)を使用するか否かを示す情報(0または1)が設定される。NADとは、上述した図14のByte10フィールド、即ち、DIDiフィールドに設定される、コマンドATR_REQを送信するイニシエータのデバイスIDのサブアドレスをいう。ひとつのデバイスIDに対して、16個のサブアドレスを持つことが可能であることが、NFCIP-1で規定されている。   In bit 0, information (0 or 1) indicating whether or not to use NAD (Node Address) is set. NAD refers to the sub-address of the device ID of the initiator that transmits the command ATR_REQ set in the Byte10 field of FIG. 14, that is, the DIDi field. NFCIP-1 stipulates that it is possible to have 16 subaddresses for one device ID.

このビット0において、例えば、“0”が使用しないことを示し、“1”が使用することを示すとすると、ビット0に“0”が設定されていることは、このコマンドATR_REQを送信するイニシエータがサブアドレスを使用しないことを意味する。これに対して、ビット0に“1”が設定されていることは、このコマンドATR_REQを送信するイニシエータがサブアドレスを使用することを意味する。   In this bit 0, for example, if “0” indicates that it is not used and “1” indicates that it is used, the fact that “0” is set in bit 0 indicates that this command ATR_REQ is transmitted. Means that no subaddress is used. On the other hand, setting “1” in bit 0 means that the initiator transmitting this command ATR_REQ uses the sub address.

以上のように、コマンドATR_REQのPPiフィールドが持つ値が拡張され、省電力モードによる通信機能の有無を、イニシエータからターゲットに送信することができる。   As described above, the value of the PPi field of the command ATR_REQ is expanded, and the presence / absence of the communication function in the power saving mode can be transmitted from the initiator to the target.

[コマンドATR_RESの説明]
図16は、コマンドATR_RESの構造を示している。
[Description of command ATR_RES]
FIG. 16 shows the structure of the command ATR_RES.

図16に示されるように、コマンドATR_RESには、先頭から(図中左から)、CMD0フィールド、CMD1フィールド、および、Byte0乃至Byten+15フィールド(nは0以上の整数値)から構成されている。   As shown in FIG. 16, the command ATR_RES includes a CMD0 field, a CMD1 field, and Byte0 to Byten + 15 fields (n is an integer value of 0 or more) from the top (from the left in the figure). .

CMD0フィールドとCMD1フィールドには、上述したように、このコマンドがコマンドATR_RESであることを示す値“D5”と“01”が格納される。   As described above, values “D5” and “01” indicating that this command is the command ATR_RES are stored in the CMD0 field and the CMD1 field.

Byte0乃至Byte12フィールドには、コマンドATR_REQのByte0乃至Byte12フィールドと同様のデータが設定される。   Data similar to the Byte0 to Byte12 fields of the command ATR_REQ is set in the Byte0 to Byte12 fields.

即ち、Byte0乃至Byte9フィールドには、このコマンドATR_RESを送信するNFC通信装置、即ち、ターゲットを特定するNFCIDが格納される。   That is, the Byte 0 to Byte 9 fields store the NFC communication apparatus that transmits the command ATR_RES, that is, the NFCID that specifies the target.

Byte10フィールドには、このコマンドATR_RESを送信するターゲットのデバイスIDであるDIDtが設定される。そこで、以下、Byte10フィールドを、DIDtフィールドとも呼ぶ。   In the Byte10 field, DIDt that is the device ID of the target that transmits this command ATR_RES is set. Therefore, hereinafter, the Byte10 field is also referred to as a DIDt field.

Byte11フィールドには、このコマンドATR_RESを送信するターゲットがデータを送信する際のビットレート(伝送レート)BStが設定される。   In the Byte11 field, a bit rate (transmission rate) BSt at which the target transmitting this command ATR_RES transmits data is set.

Byte12フィールドには、このコマンドATR_RESを送信するターゲットがデータを受信する際のビットレート(伝送レート)BRtが設定される。   In the Byte12 field, a bit rate (transmission rate) BRt at which the target transmitting this command ATR_RES receives data is set.

Byte13フィールドには、ターゲットのタイムアウトの値TOが設定される。   The target timeout value TO is set in the Byte13 field.

Byte14フィールドは、コマンドATR_REQのByte13フィールドと同様である。即ち、Byte14フィールドには、このコマンドATR_RESを送信するターゲットについてのオプションパラメータPPtが設定される。なお、以下、コマンドATR_RESのByte14フィールドを、PPtフィールドとも呼ぶ。PPtフィールドの詳細については、図17を参照して後述する。   The Byte14 field is the same as the Byte13 field of the command ATR_REQ. That is, the option parameter PPt for the target that transmits this command ATR_RES is set in the Byte 14 field. Hereinafter, the Byte 14 field of the command ATR_RES is also referred to as a PPt field. Details of the PPt field will be described later with reference to FIG.

Byte15乃至Byte15+nフィールドは、コマンドATR_REQのByte14乃至Byte14+nフィールドとそれぞれ同様である。即ち、Byte15乃至Byte15+nフィールドは、設計者等により指定される各種情報が設定されるフィールドであって、オプションとして用意されているフィールドである。値nは、設計者等により可変可能とされており、0以上の整数値となる。この値nは、後述するように、PPtフィールドに設定される。以下、n個のGtフィールドのそれぞれを、その配置順に(図16中左から順に)、Gt[0]乃至Gt[n] フィールドと呼ぶ。   The Byte15 to Byte15 + n fields are the same as the Byte14 to Byte14 + n fields of the command ATR_REQ, respectively. That is, the Byte15 to Byte15 + n fields are fields in which various information designated by the designer or the like is set, and are fields that are prepared as options. The value n can be changed by a designer or the like, and is an integer value of 0 or more. This value n is set in the PPt field, as will be described later. Hereinafter, each of the n Gt fields will be referred to as Gt [0] to Gt [n] fields in the order of arrangement (in order from the left in FIG. 16).

[PPtフィールドの詳細]
図17は、PPtフィールドの構造を示している。
[Details of PPt field]
FIG. 17 shows the structure of the PPt field.

図17に示されるように、PPtフィールドは、コマンドATR_REQのPPiフィールドと同様に構成されている。   As shown in FIG. 17, the PPt field is configured in the same manner as the PPi field of the command ATR_REQ.

即ち、PPtフィールドは、ビット7が“0”以外に、“1”の値を取りうる点以外は、NFCIP-1と同一である。換言すれば、ビット7が“0”である場合、PPtフィールドは、NFCIP-1で規定されるPPtフィールドそのものである。   That is, the PPt field is the same as NFCIP-1 except that bit 7 can take a value of “1” other than “0”. In other words, when bit 7 is “0”, the PPt field is the PPt field itself defined by NFCIP-1.

NFCIP-1では、ビット7を“0”とすることが決められているが、図1の通信システムでは、ビット7を“1”とすることが可能に拡張されている。ビット7が“1”である場合、ターゲットが省電力モードの通信機能を有していることを表す。   In NFCIP-1, bit 7 is determined to be “0”, but in the communication system of FIG. 1, the bit 7 is extended to be “1”. When bit 7 is “1”, it indicates that the target has a power saving mode communication function.

ビット6、ビット3、ビット2には“0”が設定される。   Bits 0, 3 and 2 are set to “0”.

ビット4、ビット5には、データの有効長を指定するための情報LRtであって、図16を参照して上述した値nが設定される。   Bits 4 and 5 are information LRt for designating the effective length of data, and the value n described above with reference to FIG. 16 is set.

ビット1には、Gt[0]乃至Gt[n] フィールドが配置されているか否か(存在するか否か)を示す情報Gtが設定される。情報Gtは0または1となるので、例えば、0が配置されていない(存在しない)ことを示し、1が配置されている(存在する)ことを示すとする。   In bit 1, information Gt indicating whether or not the Gt [0] to Gt [n] fields are arranged (whether or not exist) is set. Since the information Gt is 0 or 1, for example, it is assumed that 0 is not arranged (does not exist), and 1 is arranged (exists).

ビット0には、NAD(Node Address)を使用するか否かを示す情報(0または1)が設定される。NADとは、上述した図16のByte10フィールド、即ち、DIDtフィールドに設定される、コマンドATR_RESを送信するターゲットのデバイスIDのサブアドレスをいう。ひとつのデバイスIDに対して、16個のサブアドレスを持つことが可能であることが、NFCIP-1で規定されている。   In bit 0, information (0 or 1) indicating whether or not to use NAD (Node Address) is set. NAD refers to the sub-address of the target device ID that transmits the command ATR_RES, which is set in the Byte10 field of FIG. 16, that is, the DIDt field. NFCIP-1 stipulates that it is possible to have 16 subaddresses for one device ID.

このビット0において、例えば、“0”が使用しないことを示し、“1”が使用することを示すとすると、ビット0に“0”が設定されていることは、このコマンドATR_RESを送信するターゲットがサブアドレスを使用しないことを意味する。これに対して、ビット0に“1”が設定されていることは、このコマンドATR_RESを送信するターゲットがサブアドレスを使用することを意味する。   In this bit 0, for example, if “0” indicates that it is not used and “1” indicates that it is used, the fact that “0” is set in bit 0 indicates that this command ATR_RES is transmitted. Means that no subaddress is used. On the other hand, setting “1” in bit 0 means that the target that transmits this command ATR_RES uses the sub address.

以上のように、レスポンスATR_RESのPPtフィールドが持つ値が拡張され、省電力モードによる通信機能の有無を、ターゲットからイニシエータに返信することができる。   As described above, the value of the PPt field of the response ATR_RES is expanded, and the presence / absence of the communication function in the power saving mode can be returned from the target to the initiator.

次に、図13に示したコマンドPSL2_REQと、それに対応するレスポンスPSL2_RESについて説明する。   Next, the command PSL2_REQ and the corresponding response PSL2_RES shown in FIG. 13 will be described.

[コマンドPSL2_REQの説明]
図18は、コマンドPSL2_REQの構造を示している。
[Description of command PSL2_REQ]
FIG. 18 shows the structure of the command PSL2_REQ.

コマンドPSL2_REQは、先頭から(図中左から)、CMD0フィールド、CMD1フィールド、および、Byte0乃至Byte7フィールドから構成されている。   The command PSL2_REQ includes a CMD0 field, a CMD1 field, and Byte0 to Byte7 fields from the top (from the left in the figure).

CMD0フィールドとCMD1フィールドには、上述したように、このコマンドがコマンドPSL2_REQであることを示す値“D4”と“0C”が格納される。   As described above, the values “D4” and “0C” indicating that this command is the command PSL2_REQ are stored in the CMD0 field and the CMD1 field.

Byte0フィールドには、図19を参照して後述するように、Byte1フィールドおよびByte4乃至Byte7フィールドの有効又は無効を示すフラグFLAGが格納される。なお、以下、Byte0フィールドをFLAGフィールドとも呼ぶ。   As will be described later with reference to FIG. 19, a flag FLAG indicating validity or invalidity of the Byte1 field and the Byte4 to Byte7 fields is stored in the Byte0 field. Hereinafter, the Byte0 field is also referred to as a FLAG field.

Byte1フィールドには、イニシエータが発する電磁波の磁界強度(パワー)が設定される。NFCIP-1では、イニシエータは、1.5A/mを下限値(Hmin)、7.5A/mを上限値(Hmax)として、1.5乃至7.5A/mの範囲内で電磁波を出力することが規定されている。Byte1フィールドに、“00”が設定されているとき、イニシエータはNFCIP-1で規定された1.5乃至7.5A/mの範囲内で電磁波を出力することを表す。一方、Byte1フィールドに、“01”が設定されているとき、イニシエータは下限値を0.3A/mとして、0.3乃至7.5A/mの範囲内で電磁波を出力できることを表す。   In the Byte1 field, the magnetic field intensity (power) of the electromagnetic wave emitted by the initiator is set. In NFCIP-1, the initiator is specified to output electromagnetic waves within the range of 1.5 to 7.5 A / m, with 1.5 A / m as the lower limit (Hmin) and 7.5 A / m as the upper limit (Hmax). Yes. When “00” is set in the Byte1 field, this indicates that the initiator outputs an electromagnetic wave within a range of 1.5 to 7.5 A / m defined by NFCIP-1. On the other hand, when “01” is set in the Byte1 field, the initiator can output an electromagnetic wave within a range of 0.3 to 7.5 A / m with a lower limit of 0.3 A / m.

換言すれば、Byte1フィールドに“00”が設定されているとき、イニシエータが図5を参照して示したNFCIP-1の規格の範囲内の通信を行うことを表す。一方、Byte1フィールドに“01”が設定されているとき、イニシエータが図11を参照して説明した低RF出力通信機能を用いた通信が可能であることを表す。   In other words, when “00” is set in the Byte1 field, it indicates that the initiator performs communication within the range of the NFCIP-1 standard shown with reference to FIG. On the other hand, when “01” is set in the Byte1 field, it indicates that the initiator can perform communication using the low RF output communication function described with reference to FIG.

なお、本実施の形態では、パッシブモードによる通信を行うものとしているので、設定された磁界強度の電磁波を出力するのはイニシエータのみであるが、アクティブモードによる通信が選択された場合には、Byte1フィールドで設定された磁界強度の範囲内の電磁波を、イニシエータとターゲットそれぞれが出力する。   In this embodiment, since the communication in the passive mode is performed, only the initiator outputs the electromagnetic wave having the set magnetic field strength. However, when communication in the active mode is selected, Byte1 The initiator and the target each output an electromagnetic wave within the range of the magnetic field strength set in the field.

Byte2およびByte3フィールドは、将来の使用のため確保されており(RFU : Reserved For Future Use)、そこには、例えば、“0”が格納される。   The Byte2 and Byte3 fields are reserved for future use (RFU: Reserved For Future Use), in which, for example, “0” is stored.

Byte4およびByte5フィールドの2バイトには、図12を参照して説明した間欠RF出力通信機能におけるRF出力オン期間(ON time period)が、例えば、符号なし整数のバイナリ値で設定される。Byte4およびByte5フィールドに設定される値の単位は、例えば、ミリ秒(msec)である。   In two bytes of the Byte4 and Byte5 fields, an RF output on period (ON time period) in the intermittent RF output communication function described with reference to FIG. 12 is set as, for example, an unsigned integer binary value. The unit of the values set in the Byte4 and Byte5 fields is, for example, milliseconds (msec).

Byte6およびByte7フィールドの2バイトには、図12を参照して説明した間欠RF出力通信機能におけるRF出力オフ期間(OFF time period)が、例えば、符号なし整数のバイナリ値で設定される。Byte6およびByte7フィールドに設定される値の単位は、例えば、ミリ秒(msec)である。   In two bytes of the Byte6 and Byte7 fields, an RF output off period (OFF time period) in the intermittent RF output communication function described with reference to FIG. 12 is set as a binary value of an unsigned integer, for example. The unit of the values set in the Byte6 and Byte7 fields is, for example, milliseconds (msec).

[FLAGフィールドの詳細]
図19は、FLAGフィールドの構造を示している。
[Details of FLAG field]
FIG. 19 shows the structure of the FLAG field.

FLAGフィールドは、図19に示されるように、ビット0乃至ビット7(bit0乃至bit7)から構成される。   As shown in FIG. 19, the FLAG field is composed of bit 0 to bit 7 (bit 0 to bit 7).

ビット7には、コマンドPSL2_REQのByte1フィールドに設定されている電磁波の磁界強度の有効または無効を示すフラグが格納される。例えば、ビット7が“0”である場合、Byte1フィールドに設定されている電磁波の磁界強度が無効であることを表し、ビット7が“1”である場合、Byte1フィールドに設定されている電磁波の磁界強度が有効であることを表す。   Bit 7 stores a flag indicating whether the magnetic field strength of the electromagnetic wave set in the Byte1 field of the command PSL2_REQ is valid or invalid. For example, when bit 7 is “0”, it indicates that the magnetic field strength of the electromagnetic wave set in the Byte1 field is invalid, and when bit 7 is “1”, the electromagnetic wave intensity set in the Byte1 field Indicates that the magnetic field strength is effective.

ビット6には、コマンドPSL2_REQのByte4およびByte5フィールドに設定されているRF出力オン期間の有効または無効を示すフラグが格納される。例えば、ビット6が“0”である場合、RF出力オン期間が無効であることを表し、ビット6が“1”である場合、RF出力オン期間が有効であることを表す。   Bit 6 stores a flag indicating validity or invalidity of the RF output ON period set in the Byte4 and Byte5 fields of the command PSL2_REQ. For example, when bit 6 is “0”, the RF output on period is invalid, and when bit 6 is “1”, the RF output on period is valid.

ビット5には、コマンドPSL2_REQのByte6およびByte7フィールドに設定されているRF出力オフ期間の有効または無効を示すフラグが格納される。例えば、ビット5が“0”である場合、RF出力オフ期間が無効であることを表し、ビット5が“1”である場合、RF出力オフ期間が有効であることを表す。   Bit 5 stores a flag indicating validity or invalidity of the RF output off period set in the Byte6 and Byte7 fields of the command PSL2_REQ. For example, when bit 5 is “0”, it indicates that the RF output off period is invalid, and when bit 5 is “1”, it indicates that the RF output off period is valid.

ビット4には、パッシブモードへの移行の有無を示すフラグが格納される。例えば、ビット4が“0”である場合、パッシブモードへの移行が無いことを表し、ビット4が“1”である場合、パッシブモードへの移行が有ることを表す。詳細については、図22及び図23を参照して後述するが、省電力モードによる通信では、パッシブモードで通信を行う場合、最初にNFCIP-1で規定されるアクティブモードの流れに沿った通信を行った後、パッシブモードへ移行する。従って、ビット4のフラグの“1”は、パッシブモードによる通信を行うことを意味し、ビット4のフラグの“0”は、アクティブモードによる通信を行うことを意味する。   Bit 4 stores a flag indicating the presence or absence of transition to the passive mode. For example, when bit 4 is “0”, it indicates that there is no transition to the passive mode, and when bit 4 is “1”, it indicates that there is a transition to the passive mode. The details will be described later with reference to FIG. 22 and FIG. 23. In communication in the power saving mode, when communication is performed in the passive mode, first, communication in accordance with the flow of the active mode defined in NFCIP-1 is performed. After doing so, transition to passive mode. Therefore, “1” in the bit 4 flag means that communication is performed in the passive mode, and “0” in the bit 4 flag means that communication is performed in the active mode.

[コマンドPSL2_RESの説明]
図20は、コマンドPSL2_RESの構造を示している。
[Description of command PSL2_RES]
FIG. 20 shows the structure of the command PSL2_RES.

CMD0フィールドとCMD1フィールドには、上述したように、このコマンドがコマンドPSL2_RESであることを示す値“D5”と“0D”が格納される。   As described above, the values “D5” and “0D” indicating that this command is the command PSL2_RES are stored in the CMD0 field and the CMD1 field.

Byte0フィールドには、図21を参照して後述するように、コマンドPSL2_REQ に対するターゲットの返答を表すメッセージMSGが格納される。なお、以下、Byte0フィールドをMSGフィールドとも呼ぶ。   In the Byte0 field, as will be described later with reference to FIG. 21, a message MSG representing a target response to the command PSL2_REQ is stored. Hereinafter, the Byte0 field is also referred to as a MSG field.

Byte1乃至Byte7フィールドは、将来の使用のため確保されている(RFU : Reserved For Future Use)。Byte1乃至Byte7フィールドには、例えば、“0”が格納される。   The Byte1 to Byte7 fields are reserved for future use (RFU: Reserved For Future Use). For example, “0” is stored in the Byte1 to Byte7 fields.

[MSGフィールドの詳細]
図21は、MSGフィールドの構造を示している。
[Details of MSG field]
FIG. 21 shows the structure of the MSG field.

MSGフィールドは、図21に示されるように、ビット0乃至ビット7(bit0乃至bit7)から構成される。   As shown in FIG. 21, the MSG field is composed of bit 0 to bit 7 (bit 0 to bit 7).

ビット7には、低RF出力通信機能を用いた省電力モードへの対応の可否を表す応答メッセージ(フラグ)が格納される。例えば、ビット7が“0”である場合、0.3乃至7.5A/mの範囲内のパワーで動作する状態に設定したことを表し、ビット7が“1”である場合、0.3乃至7.5A/mの範囲内のパワーで動作する能力を有していないことを表す。以下、MSGフィールドのビット7を低RF出力OKビットとも呼ぶ。   Bit 7 stores a response message (flag) indicating whether or not the power saving mode using the low RF output communication function can be supported. For example, when bit 7 is “0”, it indicates that the operation is performed with a power within a range of 0.3 to 7.5 A / m, and when bit 7 is “1”, 0.3 to 7.5 A / m. This means that it does not have the ability to operate at a power within the range. Hereinafter, bit 7 of the MSG field is also referred to as a low RF output OK bit.

ビット6には、間欠RF出力通信機能を用いた省電力モードへの対応の可否を表す応答メッセージが格納される。例えば、ビット6が“0”である場合、コマンドPSL2_REQのByte4乃至Byte7フィールドで設定されたRF出力オン期間及びRF出力オフ期間の電磁波のオンオフに対応して動作する状態に設定したことを表す。一方、ビット6が“1”である場合、電磁波のオンオフに対応して動作する能力を有していないことを表す。以下、MSGフィールドのビット6を間欠出力OKビットとも呼ぶ。   Bit 6 stores a response message indicating whether or not the power saving mode using the intermittent RF output communication function is available. For example, when bit 6 is “0”, it indicates that the operation is set in accordance with the on / off state of the electromagnetic wave in the RF output on period and the RF output off period set in the Byte 4 to Byte 7 fields of the command PSL2_REQ. On the other hand, when the bit 6 is “1”, it indicates that it does not have the ability to operate in response to on / off of the electromagnetic wave. Hereinafter, bit 6 of the MSG field is also referred to as an intermittent output OK bit.

なお、アクティブモードでは、ターゲットが低RF出力OKビットを“0”にして返信した場合、ターゲットも低RF出力で、電磁波を出力してコマンドを送信する。同様に、ターゲットが間欠出力OKビットを“0”にして返信した場合、ターゲットもイニシエータから受信したRF出力オン期間及びRF出力オフ期間で電磁波を出力してコマンドを送信する。   In the active mode, when the target returns with the low RF output OK bit set to “0”, the target also outputs an electromagnetic wave and transmits a command with low RF output. Similarly, when the target returns with the intermittent output OK bit set to “0”, the target also outputs an electromagnetic wave in the RF output on period and the RF output off period received from the initiator and transmits a command.

ビット5には、パッシブモードへの移行の動作状態を示す応答メッセージが格納される。例えば、ビット5が“1”である場合、コマンドPSL2_REQで指定されたパラメータの設定を完了し、パッシブモードへの移行を完了した(パッシブモードで待機している)ことを表す。一方、ビット5が“0”である場合、パッシブモードへの移行をしないことを表す。以下、MSGフィールドのビット5をパッシブOKビットとも呼ぶ。   Bit 5 stores a response message indicating the operating state of transition to the passive mode. For example, when bit 5 is “1”, it indicates that the setting of the parameter specified by the command PSL2_REQ is completed and the transition to the passive mode is completed (waiting in the passive mode). On the other hand, when bit 5 is “0”, it indicates that no transition to the passive mode is performed. Hereinafter, bit 5 of the MSG field is also referred to as a passive OK bit.

ビット4乃至ビット0は、将来の使用のため確保されている。   Bits 4 through 0 are reserved for future use.

以上のようなパラメータを有するコマンドPSL2_REQと、それに対応するレスポンスPSL2_RESが、省電力モードの実行の可否を確認するため、イニシエータとターゲットとの間でやりとりされる。   The command PSL2_REQ having the parameters as described above and the response PSL2_RES corresponding thereto are exchanged between the initiator and the target in order to confirm whether or not the power saving mode can be executed.

[省電力モードも可能な通信処理]
そこで、次に、図22及び図23を参照して、省電力モードでの通信を行う場合の通信処理について説明する。
[Communication processing that enables power saving mode]
Then, next, with reference to FIG.22 and FIG.23, the communication process in the case of performing communication in a power saving mode is demonstrated.

最初に、最終的な通信モードがアクティブモードであるかまたはパッシブモードであるかにかかわらず、イニシエータは、アクティブモードにおける場合と同様の処理で通信処理を開始する。   First, regardless of whether the final communication mode is the active mode or the passive mode, the initiator starts the communication process in the same process as in the active mode.

従って、図22のステップS101乃至S105の処理は、図10のステップS31乃至S35の処理と、それぞれ同様である。但し、図22のステップS103およびS104における、コマンドATR_REQの送信と、そのレスポンスATR_RESの受信では、PPiフィールドおよびPPtフィールドのビット7において、“0”以外に、“1”の値を取りうる点は異なる。   Therefore, the processes in steps S101 to S105 in FIG. 22 are the same as the processes in steps S31 to S35 in FIG. However, in the transmission of the command ATR_REQ and the reception of the response ATR_RES in steps S103 and S104 of FIG. 22, the bit 7 of the PPi field and the PPt field can take a value of “1” other than “0”. Different.

ステップS105において、レスポンスATR_RESに基づき、通信パラメータを変更することができると判定された場合、処理はステップS106に進み、イニシエータは、ターゲットが省電力モードの通信機能を有しているかを判定する。   If it is determined in step S105 that the communication parameter can be changed based on the response ATR_RES, the process proceeds to step S106, and the initiator determines whether the target has a power saving mode communication function.

ステップS106において、ターゲットが省電力モードの通信機能を有していないと判定された場合、即ち、レスポンスATR_RESのPPtフィールドのビット7が“0”である場合、処理はステップS107に進む。ステップS107乃至S109の処理は、図10のステップS36乃至S38の処理とそれぞれ同様である。   If it is determined in step S106 that the target does not have a power saving mode communication function, that is, if bit 7 of the PPt field of the response ATR_RES is “0”, the process proceeds to step S107. The processing in steps S107 to S109 is the same as the processing in steps S36 to S38 in FIG.

ステップS107乃至S109の処理が実行された後、処理はステップS114に進む。その結果、ステップS107乃至S109の処理が実行された場合、イニシエータとターゲットは、図10を参照して説明した処理と同様の、NFCIP-1に従ったアクティブモードでの通信(データ交換)を行う。   After the processes of steps S107 to S109 are executed, the process proceeds to step S114. As a result, when the processing of steps S107 to S109 is executed, the initiator and the target perform communication (data exchange) in the active mode according to NFCIP-1, similar to the processing described with reference to FIG. .

一方、ステップS106において、ターゲットが省電力モードの通信機能を有していると判定された場合、即ち、レスポンスATR_RESのPPtフィールドのビット7が“1”である場合、処理はステップS110に進む。   On the other hand, if it is determined in step S106 that the target has the communication function of the power saving mode, that is, if bit 7 of the PPt field of the response ATR_RES is “1”, the process proceeds to step S110.

ステップS110では、イニシエータは、コマンドPSL_REQ及びPSL2_REQを送信し、これにより、ターゲットに通信パラメータ及び拡張通信パラメータの変更を要求する。すると、コマンドPSL_REQに対するレスポンスPSL_RESと、コマンドPSL2_REQに対するレスポンスPSL2_RESがターゲットから送信されてくる。イニシエータは、ステップS111において、レスポンスPSL_RES及びPSL2_RESを受信する。そして、ステップS112において、イニシエータは、ステップS111で受信したレスポンスPSL_RES及びPSL2_RESにしたがい、通信パラメータと拡張通信パラメータを変更する。   In step S110, the initiator transmits commands PSL_REQ and PSL2_REQ, thereby requesting the target to change communication parameters and extended communication parameters. Then, a response PSL_RES to the command PSL_REQ and a response PSL2_RES to the command PSL2_REQ are transmitted from the target. In step S111, the initiator receives the responses PSL_RES and PSL2_RES. In step S112, the initiator changes the communication parameter and the extended communication parameter in accordance with the responses PSL_RES and PSL2_RES received in step S111.

ステップS113では、イニシエータは、ターゲットがパッシブモードへの移行を完了しているか否かを判定する。即ち、ステップS113では、イニシエータは、ターゲットから返信されてきたレスポンスPSL2_RESのパッシブOKビットが“1”であるか否かを判定する。ステップS113において、ターゲットがパッシブモードへの移行を完了していないと判定された場合、即ち、パッシブOKビットが“0”である場合、処理はステップS114に進む。   In step S113, the initiator determines whether or not the target has completed the transition to the passive mode. That is, in step S113, the initiator determines whether or not the passive OK bit of the response PSL2_RES returned from the target is “1”. If it is determined in step S113 that the target has not completed the transition to the passive mode, that is, if the passive OK bit is “0”, the process proceeds to step S114.

ステップS114では、イニシエータとターゲットは、図10を参照して説明した処理と同様のアクティブモードでの通信(データ交換)を行う。但し、イニシエータとターゲットは、コマンドPSL2_REQとPSL2_RESにより、省電力モードでの合意がとれているので、ステップS114以降の処理では、省電力モードによるアクティブモードの通信を行う。   In step S114, the initiator and the target perform communication (data exchange) in the active mode similar to the processing described with reference to FIG. However, since the initiator and the target have agreed in the power saving mode by the commands PSL2_REQ and PSL2_RES, in the processing after step S114, active mode communication in the power saving mode is performed.

即ち、イニシエータがターゲットから受信したMSGフィールドの低RF出力OKビットが“0”である場合、低RF出力による通信が行われる。また、イニシエータがターゲットから受信したMSGフィールドの間欠出力OKビットが“0”である場合、間欠RF出力による通信が行われる。さらに、MSGフィールドの低RF出力OKビット及び間欠出力OKビットが“0”である場合、低RF出力かつ間欠RF出力による通信が行われる。   That is, when the low RF output OK bit of the MSG field received from the target by the initiator is “0”, communication with the low RF output is performed. Further, when the intermittent output OK bit of the MSG field received from the target by the initiator is “0”, communication by intermittent RF output is performed. Further, when the low RF output OK bit and the intermittent output OK bit in the MSG field are “0”, communication is performed with low RF output and intermittent RF output.

図22のステップS115乃至S120の処理は、図10のステップS40乃至S45における場合と、それぞれ同様であるので、その説明は省略する。   The processes in steps S115 to S120 in FIG. 22 are the same as those in steps S40 to S45 in FIG.

一方、ステップS113において、ターゲットがパッシブモードへの移行を完了していると判定された場合、即ち、パッシブOKビットが“1”である場合、処理は、図23のステップS121に進む。   On the other hand, if it is determined in step S113 that the target has completed the transition to the passive mode, that is, if the passive OK bit is “1”, the process proceeds to step S121 in FIG.

ステップS121以降の処理は、基本的に、図9を参照して説明したパッシブモードにおける場合と同様である。即ち、図23のステップS121乃至S134の処理は、図9のステップS13乃至S26の処理と、それぞれ同様である。ただし、イニシエータとターゲットは、コマンドPSL2_REQとPSL2_RESの送受信により合意がとれている、低RF出力モード若しくは間欠RF出力モード、またはその両方で、ステップS121以降の処理を行う。   The processing after step S121 is basically the same as in the passive mode described with reference to FIG. That is, the processes in steps S121 to S134 in FIG. 23 are the same as the processes in steps S13 to S26 in FIG. However, the initiator and the target perform the processing after step S121 in the low RF output mode and / or the intermittent RF output mode, which are agreed upon by transmission / reception of the commands PSL2_REQ and PSL2_RES.

以上のようにして、NFC通信装置は、低RF出力の省電力モード(低RF出力モード)または間欠RF出力の省電力モード(間欠RF出力モード)の動作を行うことができる。   As described above, the NFC communication apparatus can operate in a low RF output power saving mode (low RF output mode) or an intermittent RF output power saving mode (intermittent RF output mode).

低RF出力モードでは、パッシブモードおよびアクティブモードのいずれにおいても、出力する電磁波のパワーが異なるのみである。従って、イニシエータとターゲットは、NFCIP-1における場合と同様の通信を行うことができる。   In the low RF output mode, the power of the output electromagnetic wave is different only in both the passive mode and the active mode. Therefore, the initiator and the target can perform the same communication as in NFCIP-1.

間欠RF出力モードについては、パッシブモードでは、搬送波(の電磁波)を出力するのはイニシエータのみであり、ターゲットは、イニシエータが出力する搬送波を負荷変調することによりデータを送信する。従って、間欠RF出力モードにおけるターゲットは、イニシエータが搬送波を出力しているタイミングで負荷変調(データを送信)すればよいので、間欠RF出力モードでも通信が正常に成立する。コマンドPSL2_REQ及びPSL2_RESをやりとりすることで、ターゲットは、どの期間でイニシエータが搬送波の出力を停止するのかわかるので、例えば、その期間は電磁波検出の処理を停止させるなどの対応を行うこともできる。   Regarding the intermittent RF output mode, in the passive mode, only the initiator outputs a carrier wave (electromagnetic wave), and the target transmits data by load-modulating the carrier wave output by the initiator. Therefore, since the target in the intermittent RF output mode only needs to perform load modulation (data transmission) at the timing when the initiator outputs a carrier wave, communication is normally established even in the intermittent RF output mode. By exchanging the commands PSL2_REQ and PSL2_RES, the target can know in which period the initiator stops outputting the carrier wave. For example, the target can take measures such as stopping the electromagnetic wave detection process in that period.

一方、アクティブモードでは、イニシエータおよびターゲットのいずれもが自身で搬送波を出力してデータを送信し、データの送信後、搬送波の出力を停止する。従って、図6を参照して説明したように、アクティブモードの通信中、イニシエータもターゲットも搬送波の出力を停止している状態がある。そのため、イニシエータとなろうとする他のNFC通信装置が初期RFCAによって搬送波の出力を開始して、アクティブモードの通信が妨げられるおそれがあるが、これに対しては、次のようにすることができる。   On the other hand, in the active mode, each of the initiator and the target outputs a carrier wave by itself and transmits data, and after the data is transmitted, the output of the carrier wave is stopped. Therefore, as described with reference to FIG. 6, there is a state in which the output of the carrier wave is stopped by both the initiator and the target during the active mode communication. For this reason, other NFC communication devices that intend to become initiators may start carrier wave output by the initial RFCA, which may hinder active mode communication, but this can be done as follows. .

上述したように、イニシエータとなろうとする他のNFC通信装置は、初期RFCA処理として、少なくとも初期遅延時間TIDTは、電磁波が出力されていないことを確認することが決められている。逆に言うと、電磁波が出力されていない時間が初期遅延時間TIDT以内であれば、イニシエータとなろうとする他のNFC通信装置が電磁波を出力することはない。従って、間欠RF出力モードのアクティブモードでは、RF出力オフ期間を初期遅延時間TIDT以内、即ち、RF出力オフ期間を4096/fc以内とすれば、アクティブモードの通信が妨げられることを確実に回避することができる。 As described above, other NFC communication apparatuses that intend to become initiators are determined to confirm that electromagnetic waves are not output at least for the initial delay time T IDT as the initial RFCA process. In other words, if the time during which no electromagnetic wave is output is within the initial delay time T IDT , other NFC communication devices that intend to become initiators will not output the electromagnetic wave. Thus, in the active mode of the intermittent RF output mode, the RF output OFF period initial delay time T IDT within, i.e., if the RF output OFF period is within 4096 / f c, reliably that communication in the active mode is disturbed It can be avoided.

しかしながら、RF出力オフ期間を初期遅延時間TIDT以内と制限した場合には、消費電力の低減にも限界がある。 However, when the RF output off period is limited to within the initial delay time T IDT , there is a limit in reducing power consumption.

そこで、RF出力オフ期間を初期遅延時間TIDTより大とした場合について説明する。RF出力オフ期間を初期遅延時間TIDTより大とした場合には、イニシエータとなろうとする他のNFC通信装置が電磁波を出力することが有り得る。 Therefore, a case where the RF output off period is set longer than the initial delay time T IDT will be described. When the RF output off period is longer than the initial delay time T IDT, it is possible that another NFC communication apparatus that intends to become an initiator outputs an electromagnetic wave.

しかしながら、上述したように、通信(トランザクション)の最初には、コマンドATR_REQ,ATR_RES,PSL2_REQ、及びPSL2_RESをやりとりし、間欠RF出力モードで動作する場合には、このコマンドATR_REQのPPtフィールドのビット7が“1”となっている。即ち、NFC通信装置(イニシエータとターゲット)は、コマンドATR_REQのPPtフィールドのビット7が“1”となって開始された通信は、間欠RF出力モードであることを認識することができる。従って、通信を開始したNFC通信装置は、PPtフィールドのビット7が“1”とされた後の通信においては、次にPPtフィールドのビット7が“0”とされる(間欠RF出力モードが解除される)まで、イニシエータとなろうとする他のNFC通信装置からの電磁波出力に応答しないようにすることができる。これにより、RF出力オフ期間が初期遅延時間TIDTより大である場合であっても、アクティブモードの通信が妨げられることを確実に回避することができる。なお、PPiフィールドおよびPPtフィールドのビット7を“1”とするか否かは、アプリケーションが決定するが、そのアプリケーションは、CPU21A(図4)で実行されるものでも、NFC通信装置が組み込んだ装置で実行されるものでもよい。 However, as described above, at the beginning of communication (transaction), the commands ATR_REQ, ATR_RES, PSL2_REQ, and PSL2_RES are exchanged, and when operating in the intermittent RF output mode, bit 7 of the PPt field of this command ATR_REQ is set. It is “1”. That is, the NFC communication apparatus (initiator and target) can recognize that the communication started when the bit 7 of the PPt field of the command ATR_REQ is “1” is the intermittent RF output mode. Therefore, the NFC communication apparatus that has started communication sets the bit 7 of the PPt field to “0” in the communication after the bit 7 of the PPt field is set to “1” (the intermittent RF output mode is canceled). It is possible to avoid responding to electromagnetic wave output from other NFC communication devices that intend to become initiators. Thereby, even when the RF output off period is longer than the initial delay time T IDT , it is possible to reliably prevent the active mode communication from being hindered. Whether or not bit 7 of the PPi field and the PPt field is set to “1” is determined by the application. The application is executed by the CPU 21A (FIG. 4), but the device incorporated in the NFC communication apparatus. It may be executed in.

従って、RF出力オフ期間を初期遅延時間TIDTより大とした場合であっても、アクティブモードの通信が妨げられることはない。即ち、RF出力オフ期間およびRF出力オン期間はイニシエータとターゲットの間で任意に決定することができる。 Therefore, even when the RF output off period is longer than the initial delay time T IDT , active mode communication is not hindered. That is, the RF output off period and the RF output on period can be arbitrarily determined between the initiator and the target.

なお、イニシエータとなろうとするNFC通信装置が、一連の通信のやりとり(トランザクション)が終了した後、次に初期RFCA処理を実行する場合の初期遅延時間TIDTには、その前のトランザクションの最後のRF出力オフ期間を、初期遅延時間TIDTの一部としてカウントすることができる。 Note that the initial delay time T IDT when the NFC communication apparatus that intends to become an initiator executes the initial RFCA process next after the end of a series of communication exchanges (transactions) is the last of the previous transactions. The RF output off period can be counted as part of the initial delay time T IDT .

本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiments of the present invention are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.

例えば、上述した実施の形態では、目的とする通信モードがアクティブモードおよびパッシブモードのいずれであっても、最初にNFCIP-1のアクティブモードによる処理フローで、処理を開始し、パッシブモードへの移行が合意された場合に、パッシブモードに変更するようにした。この処理フローには、パッシブモードの処理フローを変更する必要がないという利点がある。従って、パッシブモードの通信処理の互換性を優先しない場合には、図9に示した処理と同様の処理フローを実行し、そのステップS19およびS20で、コマンドPSL_REQとPSL_RESに加えて、コマンドPSL2_REQとPSL2_RESを行うことで、省電力モードを実行してもよい。   For example, in the above-described embodiment, regardless of whether the target communication mode is the active mode or the passive mode, the processing is first started in the processing flow in the active mode of NFCIP-1, and the mode is shifted to the passive mode. Changed to passive mode when is agreed. This processing flow has the advantage that there is no need to change the processing flow in the passive mode. Therefore, when priority is not given to the compatibility of the communication processing in the passive mode, the processing flow similar to the processing shown in FIG. 9 is executed, and in steps S19 and S20, in addition to the commands PSL_REQ and PSL_RES, the command PSL2_REQ and The power saving mode may be executed by performing PSL2_RES.

また、上述した実施の形態では、レスポンスPSL2_RESを受信するまでは、ターゲットが省電力モードでの動作が可能か不明であるので、NFCIP-1にしたがった通信、即ち、1.5 A/m以上の電磁波出力を行うようになされている。しかしながら、例えば、通信の目的に応じて、省電力モードで動作するターゲットのみとの通信が前提であるような場合には、換言すれば、省電力モードではないターゲットとは通信しなくてもよいような場合には、最初から(ステップS101の処理から)、低RF出力モードで電磁波を出力してもよい。   In the above-described embodiment, since it is unknown whether the target can operate in the power saving mode until the response PSL2_RES is received, communication according to NFCIP-1, that is, an electromagnetic wave of 1.5 A / m or more Output has been done. However, for example, when communication with only a target that operates in the power saving mode is a precondition according to the purpose of communication, in other words, it is not necessary to communicate with a target that is not in the power saving mode. In such a case, electromagnetic waves may be output in the low RF output mode from the beginning (from the process of step S101).

さらに、上述した実施の形態では、RF出力オン期間及びRF出力オフ期間は、イニシエータが決定する(決定した値をターゲットに送信する)ようにしたが、イニシエータとターゲットでネゴシエーションしてRF出力オン期間及びRF出力オフ期間を決定してもよい。例えば、ターゲットが、RF出力オン期間及びRF出力オフ期間を、イニシエータから送信された値よりも長く(または短く)したい場合には、所望の値を送信するなどとすることができる。   Furthermore, in the above-described embodiment, the RF output on period and the RF output off period are determined by the initiator (the determined value is transmitted to the target). However, the initiator and the target negotiate the RF output on period. And the RF output off period may be determined. For example, when the target wants to make the RF output on period and the RF output off period longer (or shorter) than the values transmitted from the initiator, a desired value can be transmitted.

また、上述した実施の形態では、Byte4およびByte5フィールド、Byte6およびByte7フィールドに、それぞれ、RF出力オン期間、RF出力オフ期間となる値を設定し、その有効または無効についてはFLAGフィールドのビット6およびビット5で設定した。これに代えて、Byte4およびByte5フィールド、Byte6およびByte7フィールドに設定する値で、有効または無効を設定してもよい。例えば、Byte4およびByte5フィールド、Byte6およびByte7フィールドの値が、“FFFF”または“0000”であるときは間欠出力モードが無効であることなどを意味するようにしてもよい。また、トランザクションが終了したら電磁波出力をオフにしたままにして、次にアプリケーションにより起動されるまでオフのままにしてもよい。低RF出力OKビットやパッシブOKビットについても、イニシエータとターゲットでネゴシエーション(相談)して決定するようにしてもよい。   In the above-described embodiment, the values for the RF output on period and the RF output off period are set in the Byte4 and Byte5 fields, and the Byte6 and Byte7 fields, respectively. Set by bit 5. Instead, valid or invalid may be set with values set in the Byte4 and Byte5 fields and the Byte6 and Byte7 fields. For example, when the values of the Byte4 and Byte5 fields and the Byte6 and Byte7 fields are “FFFF” or “0000”, it may mean that the intermittent output mode is invalid. Alternatively, the electromagnetic wave output may be kept off when the transaction ends, and may remain off until the next activation by the application. The low RF output OK bit and the passive OK bit may be determined by negotiation (consultation) between the initiator and the target.

本発明のポイントは、低RFモードまたは間欠RF出力モードが可能であるか否かについての情報をイニシエータとターゲットとの間で交換することができ、合意のとれた低RFモードまたは間欠RF出力モードで通信を行うことである。従って、どのようなコマンドまたはパラメータを使って低RFモードおよび間欠RF出力モード機能の有無並びに動作パラメータをやりとりするかは任意である。   The point of the present invention is that the information about whether the low RF mode or the intermittent RF output mode is possible can be exchanged between the initiator and the target, and the agreed low RF mode or intermittent RF output mode. Is to communicate with. Therefore, it is arbitrary what command or parameter is used to exchange the operation parameter and the presence / absence of the low RF mode and intermittent RF output mode function.

[節電効果の検証]
次に、上述したNFC通信装置が携帯電話の一部として組み込まれている場合を想定して、携帯電話に組み込まれたNFC通信装置がイニシエータとなって動作した場合の省電力モードによる節電効果を検証する。
[Verification of power saving effect]
Next, assuming the case where the NFC communication device described above is incorporated as a part of a mobile phone, the power saving effect due to the power saving mode when the NFC communication device incorporated in the mobile phone operates as an initiator will be described. Validate.

図24は、NFC通信装置が組み込まれている携帯電話の構成例を示すブロック図である。   FIG. 24 is a block diagram illustrating a configuration example of a mobile phone in which the NFC communication device is incorporated.

携帯電話51は、携帯電話電子回路61、電池(バッテリ)62、NFC回路63、およびNFCアンテナ64により構成されている。   The mobile phone 51 includes a mobile phone electronic circuit 61, a battery (battery) 62, an NFC circuit 63, and an NFC antenna 64.

携帯電話電子回路61は、携帯電話51の音声通信機能を実現する電子回路である。電池62は、例えば、リチウム電池で構成され、携帯電話電子回路61とNFC回路63の両方に電源を供給する。電池62は、携帯電話に一般的なものであって、例えば、供給電圧3.7[V]で800[mAh]程度の能力を有しているものとする。   The mobile phone electronic circuit 61 is an electronic circuit that realizes the voice communication function of the mobile phone 51. The battery 62 is composed of, for example, a lithium battery, and supplies power to both the mobile phone electronic circuit 61 and the NFC circuit 63. The battery 62 is generally used for a mobile phone and has, for example, a capacity of about 800 [mAh] at a supply voltage of 3.7 [V].

NFC回路63およびNFCアンテナ64は、図4に示したNFC通信装置1の各構成に対応する。即ち、NFC回路63が受信部12乃至制御部21に対応し、NFCアンテナ64がアンテナ11に対応する。なお、電源は電池62から供給されるため、図4の電源部22はNFC回路63には含まれない。   The NFC circuit 63 and the NFC antenna 64 correspond to each configuration of the NFC communication apparatus 1 shown in FIG. That is, the NFC circuit 63 corresponds to the receiving unit 12 to the control unit 21, and the NFC antenna 64 corresponds to the antenna 11. Since the power is supplied from the battery 62, the power supply unit 22 in FIG. 4 is not included in the NFC circuit 63.

最初に、携帯電話51のNFC回路63が、NFCIP-1に従ったイニシエータとしての動作を行う場合に、NFCアンテナ64に流す電流を求める。   First, when the NFC circuit 63 of the mobile phone 51 performs an operation as an initiator according to NFCIP-1, a current to be passed through the NFC antenna 64 is obtained.

磁束密度B(z)[μT]と磁界の強さH[A/m]は、次の関係が成り立つ。   The following relationship holds between the magnetic flux density B (z) [μT] and the magnetic field strength H [A / m].

Figure 0005327558
Figure 0005327558

ここで、μ0は変換定数であり、μ0=4π10-7[T/A/m]である。 Here, μ 0 is a conversion constant, and μ 0 = 4π10 −7 [T / A / m].

また、図25に示されるように、半径G[m]の円形コイルに電流C[A]を流したとき、円形コイルの中心からの距離W[m]における磁束密度(円形コイルの垂直成分)B(z)[μT]は、次式(2)で表すことができる。   As shown in FIG. 25, when current C [A] is passed through a circular coil having a radius G [m], the magnetic flux density at a distance W [m] from the center of the circular coil (vertical component of the circular coil). B (z) [μT] can be expressed by the following equation (2).

Figure 0005327558
Figure 0005327558

そこで、式(1)と式(2)から、式(3)が成り立つ。   Therefore, Expression (3) is established from Expression (1) and Expression (2).

Figure 0005327558
Figure 0005327558

左辺がCだけとなるように式(3)を変形した後、右辺のμ0を約分すると、式(4)が得られる。 After transforming Equation (3) so that the left side is C only, Equation (4) is obtained by reducing μ 0 on the right side.

Figure 0005327558
Figure 0005327558

従って、式(4)に、携帯電話51のNFC回路63が、NFCIP-1に従ったイニシエータとしての動作を行う場合の条件を代入することで、NFCアンテナ64に流す電流が求められる。   Therefore, the current flowing through the NFC antenna 64 is obtained by substituting the condition when the NFC circuit 63 of the mobile phone 51 performs an operation as an initiator according to NFCIP-1 into Expression (4).

NFCIP-1では、1.5[A/m]から7.5[A/m]の範囲内のパワーで電磁波を出力することが規定されているが、できるだけ電池62の寿命を長く持たせたいので、イニシエータは、下限値の1.5[A/m]のパワーで電磁波を出力するものとする。また、携帯電話という限られた実装空間なので、動作範囲(近接距離)は3[cm](以内)とする。携帯電話51のNFCアンテナ64は、円形(円状)に1回巻くこととし、円の半径は1.5[cm]であるとする。   NFCIP-1 stipulates that an electromagnetic wave is output with a power within a range of 1.5 [A / m] to 7.5 [A / m]. However, since the life of the battery 62 is desired to be as long as possible, The electromagnetic wave is output at a power of 1.5 [A / m] which is the lower limit value. Further, since the mounting space is limited to a mobile phone, the operation range (proximity distance) is 3 [cm] (within). The NFC antenna 64 of the mobile phone 51 is wound once in a circle (circular shape), and the radius of the circle is 1.5 [cm].

従って、式(4)に、W=0.03[m]、G=0.015[m]、μ0=4π10-7[T/A/m]、および、H=1.5[A/m]が、それぞれ代入される。 Therefore, W = 0.03 [m], G = 0.015 [m], μ 0 = 4π10 −7 [T / A / m], and H = 1.5 [A / m] are assigned to equation (4), respectively. Is done.

その結果、

Figure 0005327558
となる。即ち、携帯電話51がイニシエータとして電磁波を出力する場合、NFC回路63がNFCアンテナ64に0.5[A]の電流を連続して流すことで、NFCアンテナ64から3[cm]離れた位置で、1.5[A/m]の磁界強度を保証することができる。 as a result,
Figure 0005327558
It becomes. That is, when the mobile phone 51 outputs an electromagnetic wave as an initiator, the NFC circuit 63 continuously sends a current of 0.5 [A] to the NFC antenna 64, so that the current is 1.5 [cm] away from the NFC antenna 64. A magnetic field strength of [A / m] can be guaranteed.

次に、NFCアンテナ64に0.5[A](500 [mA])の電流を連続して流した場合の電池62の寿命時間を、電子回路の効率を30%として計算する。この場合、60×800/500=96[min]、96×0.3=28.8[min]となり、寿命時間は、28.8分となる。   Next, the lifetime of the battery 62 when a current of 0.5 [A] (500 [mA]) is continuously passed through the NFC antenna 64 is calculated assuming that the efficiency of the electronic circuit is 30%. In this case, 60 × 800/500 = 96 [min], 96 × 0.3 = 28.8 [min], and the lifetime is 28.8 minutes.

次に、同様の条件で、低RF出力モードによる通信を行った場合の寿命時間を計算する。   Next, the lifetime is calculated when communication is performed in the low RF output mode under the same conditions.

低RF出力モードでは、電磁波のパワーが0.3 [A/m]でよいので、式(4)に、H=0.3[A/m],W=0.03[m],G=0.015[m]を代入して、NFCアンテナ64の中心から3cm離れた位置において磁界強度H=1.5 [A/m]を満たす電流Cを求めると、0.167[A]が得られる。   In low RF output mode, the power of electromagnetic wave may be 0.3 [A / m], so substitute H = 0.3 [A / m], W = 0.03 [m], G = 0.015 [m] into equation (4). Then, when the current C satisfying the magnetic field strength H = 1.5 [A / m] at a position 3 cm away from the center of the NFC antenna 64 is obtained, 0.167 [A] is obtained.

そして、上述の場合と同様に、電子回路の効率を30%として寿命時間を計算すると、60×800/167=287[min]、287×0.3=86.2[min]となり、寿命時間は、86.2分となる。   As in the case described above, when the lifetime is calculated with the efficiency of the electronic circuit being 30%, 60 × 800/167 = 287 [min], 287 × 0.3 = 86.2 [min], and the lifetime is 86.2 minutes. It becomes.

以上より、86.2/28.8=2.99となり、低RF出力モードでイニシエータとしての動作を行うと、電池62の持ちを約3倍に延ばすことができる。即ち、低RF出力モードによれば、消費電力を低減させることができる。   As described above, 86.2 / 28.8 = 2.99. When the operation as the initiator is performed in the low RF output mode, the battery 62 can be extended by about three times. That is, according to the low RF output mode, power consumption can be reduced.

間欠RF出力モードでは、確保するRF出力オフ期間に比例して、電池62の持ち(寿命時間)を延ばすことができる。従って、間欠RF出力モードによっても、消費電力を低減させることができる。   In the intermittent RF output mode, the battery 62 (life time) can be extended in proportion to the ensured RF output OFF period. Therefore, power consumption can be reduced even in the intermittent RF output mode.

なお、上述した例では、低RF出力モードにおける電磁波のパワーの下限値を0.3[A/m]として説明したが、下限値は必ずしも0.3[A/m]である必要はない。例えば、ISO/IEC 15693に規定される0.15[A/m]などでもよいし、その他の値でも勿論よい。   In the above-described example, the lower limit value of the electromagnetic wave power in the low RF output mode has been described as 0.3 [A / m], but the lower limit value is not necessarily 0.3 [A / m]. For example, it may be 0.15 [A / m] defined in ISO / IEC 15693, or other values.

本明細書において、フローチャートに記述されたステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In this specification, the steps described in the flowcharts include processes that are executed in parallel or individually even if they are not necessarily processed in time series, as well as processes that are executed in time series in the described order. Is also included.

1乃至3 NFC通信装置, 11 アンテナ, 12 受信部,13 復調部, 14 デコード部, 15 データ処理部, 16 エンコード部, 17 選択部,18 電磁波出力部, 19 変調部, 20 負荷変調部, 21 制御部, 21A CPU, 21B EEPROM, 22 電源部   1 to 3 NFC communication device, 11 antenna, 12 receiving unit, 13 demodulating unit, 14 decoding unit, 15 data processing unit, 16 encoding unit, 17 selection unit, 18 electromagnetic wave output unit, 19 modulation unit, 20 load modulation unit, 21 Control unit, 21A CPU, 21B EEPROM, 22 Power supply unit

Claims (6)

電磁波を出力する電磁波発生手段と、
前記電磁波をデータにしたがって変調することにより、データを送信するとともに、前記電磁波発生手段が出力した電磁波、または通信相手である相手装置が出力した電磁波を復調することにより、前記相手装置から送信されてくるデータを受信する送受信手段と
を備え、
前記送受信手段は、前記データとして、自身の通信能力を表す第1の属性情報を送信するとともに、前記相手装置の通信能力を表す第2の属性情報を受信し、
前記第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、前記電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に前記電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、
前記電磁波発生手段は、前記第2の属性情報として、前記相手装置が前記第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、前記第2の出力パワー範囲内の前記第1の出力パワー範囲より低いパワーで前記電磁波を出力する低RF出力モードの動作を開始し、前記第2の属性情報として、前記相手装置が前記RFオン期間と前記RFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、前記電磁波の出力を前記RF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作を開始する
通信装置。
Electromagnetic wave generating means for outputting electromagnetic waves;
Data is transmitted by modulating the electromagnetic wave according to data, and transmitted from the counterpart device by demodulating the electromagnetic wave output by the electromagnetic wave generation means or the electromagnetic wave output by the counterpart device that is a communication counterpart. Transmission / reception means for receiving incoming data,
The transmission / reception means transmits, as the data, first attribute information representing its own communication capability, and receives second attribute information representing the communication capability of the counterpart device,
The first attribute information includes RF output power information indicating that the electromagnetic wave can be output in a second output power range including a power output value lower than the first output power range, and the electromagnetic wave. Including an RF on period that is a period for outputting, and intermittent RF output information including an RF off period that is a period for stopping the output of the electromagnetic wave after the RF on period ,
When the electromagnetic wave generation means receives, as the second attribute information , information indicating that the counterpart device is set in a state of operating in the second output power range, the electromagnetic wave generation means falls within the second output power range. The operation of the low RF output mode for outputting the electromagnetic wave at a power lower than the first output power range is started, and the counterpart device corresponds to the RF on period and the RF off period as the second attribute information. A communication device that starts an operation in an intermittent RF output mode in which output of the electromagnetic wave is output only during the RF output on period and then is stopped during the RF off period when information indicating that the operation state is set is received .
前記電磁波発生手段は、前記低RF出力モードおよび前記間欠RF出力モードの両方の動作を行うことにより、出力する前記電磁波のパワーを低下させる
請求項1に記載の通信装置。
The electromagnetic wave generating means, wherein by performing both operations of the low RF output mode and the intermittent RF output mode, the communication device according to claim 1 for reducing the power of the electromagnetic wave to be output.
前記RFオフ期間は、データの送受信を開始しようとする装置が電磁波が出力されていないことを確認しなければならない最低限の時間である初期遅延時間よりも大であり、
前記送受信手段は、前記間欠RF出力モードに設定された後、前記間欠RFモードが解除されるまで、イニシエータとして動作する他の通信装置に対する応答を停止する
請求項1または2に記載の通信装置。
The RF off period is greater than the initial delay time, which is the minimum time that a device attempting to start data transmission / reception must confirm that no electromagnetic waves are being output,
The communication apparatus according to claim 1, wherein the transmission / reception unit stops response to another communication apparatus that operates as an initiator until the intermittent RF mode is canceled after the intermittent RF output mode is set.
前記送受信手段は、前記間欠RFモードにおいて、イニシエータまたはターゲットとしての前記相手装置との間で任意の前記RFオフ期間および前記RFオン期間を設定する
請求項1乃至3のいずれかに記載の通信装置。
Said transmitting and receiving means, in the intermittent RF mode, the communication device according to any one of claims 1 to 3 to set any of the RF off period and the RF ON period between the partner apparatus as the initiator or target .
電磁波を出力する電磁波発生手段と、前記電磁波をデータにしたがって変調することにより、データを送信するとともに、前記電磁波発生手段が出力した電磁波、または通信相手である相手装置が出力した電磁波を復調することにより、前記相手装置から送信されてくるデータを受信する送受信手段とを備える通信装置の、
前記送受信手段が、前記データとして、自身の通信能力を表す第1の属性情報を送信するとともに、前記相手装置の通信能力を表す第2の属性情報を受信し、
前記第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、前記電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に前記電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、
前記電磁波発生手段が、前記第2の属性情報として、前記相手装置が前記第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、前記第2の出力パワー範囲内の前記第1の出力パワー範囲より低いパワーで前記電磁波を出力する低RF出力モードの動作を開始し、前記第2の属性情報として、前記相手装置が前記RFオン期間と前記RFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、前記電磁波の出力を前記RF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作を開始する
ステップを含む通信方法。
An electromagnetic wave generating means for outputting an electromagnetic wave, and modulating the electromagnetic wave according to data to transmit data, and to demodulate the electromagnetic wave output from the electromagnetic wave generating means or the electromagnetic wave output from the counterpart device that is a communication partner By means of a communication device comprising transmission / reception means for receiving data transmitted from the counterpart device,
The transmission / reception means transmits, as the data, first attribute information representing its own communication capability, and receives second attribute information representing the communication capability of the counterpart device,
The first attribute information includes RF output power information indicating that the electromagnetic wave can be output in a second output power range including a power output value lower than the first output power range, and the electromagnetic wave. Including an RF on period that is a period for outputting, and intermittent RF output information including an RF off period that is a period for stopping the output of the electromagnetic wave after the RF on period ,
When the electromagnetic wave generating means receives, as the second attribute information , information indicating that the counterpart device is set in a state of operating in the second output power range, the second attribute information is within the second output power range. The operation of the low RF output mode for outputting the electromagnetic wave at a power lower than the first output power range is started, and the counterpart device corresponds to the RF on period and the RF off period as the second attribute information. A communication method including a step of starting an operation in an intermittent RF output mode in which, when information indicating that the operation state is set is received, the output of the electromagnetic wave is output only during the RF output on period and then stopped during the RF off period .
コンピュータに、
電磁波をデータにしたがって変調することにより、データを送信するとともに、電磁波発生手段が出力した電磁波、または通信相手である相手装置が出力した電磁波を復調することにより、前記相手装置から送信されてくるデータを受信する送受信手段が、前記データとして、自身の通信能力を表す第1の属性情報を送信するとともに、前記相手装置の通信能力を表す第2の属性情報を受信し、
前記第1の属性情報には、第1の出力パワー範囲よりも低いパワー出力値も含む第2の出力パワー範囲で前記電磁波の出力が可能であることを示すRF出力パワー情報、および、前記電磁波を出力する期間であるRFオン期間と、そのRFオン期間後に前記電磁波の出力を停止する期間であるRFオフ期間を含む間欠RF出力情報を含み、
前記電磁波発生手段が、前記第2の属性情報として、前記相手装置が前記第2の出力パワー範囲で動作する状態に設定したことを示す情報を受信したとき、前記第2の出力パワー範囲内の前記第1の出力パワー範囲より低いパワーで前記電磁波を出力する低RF出力モードの動作を開始し、前記第2の属性情報として、前記相手装置が前記RFオン期間と前記RFオフ期間に対応する動作状態に設定したことを示す情報を受信したとき、前記電磁波の出力を前記RF出力オン期間だけ出力した後に前記RFオフ期間だけ停止する間欠RF出力モードの動作を開始する
処理を実行させるプログラム。
On the computer,
Data is transmitted from the counterpart device by demodulating the electromagnetic wave output by the electromagnetic wave generation means or the counterpart device that is the communication counterpart, while transmitting data by modulating the electromagnetic wave according to the data. Transmitting and receiving means for transmitting the first attribute information representing its own communication capability as the data, and receiving the second attribute information representing the communication capability of the counterpart device,
The first attribute information includes RF output power information indicating that the electromagnetic wave can be output in a second output power range including a power output value lower than the first output power range, and the electromagnetic wave. Including an RF on period that is a period for outputting, and intermittent RF output information including an RF off period that is a period for stopping the output of the electromagnetic wave after the RF on period ,
When the electromagnetic wave generating means receives, as the second attribute information , information indicating that the counterpart device is set in a state of operating in the second output power range, the second attribute information is within the second output power range. The operation of the low RF output mode for outputting the electromagnetic wave at a power lower than the first output power range is started, and the counterpart device corresponds to the RF on period and the RF off period as the second attribute information. A program for executing processing for starting an operation in an intermittent RF output mode in which output of the electromagnetic wave is output only during the RF output on period and then is stopped only during the RF off period when information indicating that the operation state is set is received .
JP2011103555A 2011-05-06 2011-05-06 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Expired - Fee Related JP5327558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011103555A JP5327558B2 (en) 2011-05-06 2011-05-06 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011103555A JP5327558B2 (en) 2011-05-06 2011-05-06 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008302485A Division JP2010130311A (en) 2008-11-27 2008-11-27 Communication device, communication method, program and communication system

Publications (2)

Publication Number Publication Date
JP2011193510A JP2011193510A (en) 2011-09-29
JP5327558B2 true JP5327558B2 (en) 2013-10-30

Family

ID=44797872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011103555A Expired - Fee Related JP5327558B2 (en) 2011-05-06 2011-05-06 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP5327558B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11126240A (en) * 1997-10-24 1999-05-11 Kokusai Electric Co Ltd Reader-writer controller and transmission control method therefor
JP2004215225A (en) * 2002-12-17 2004-07-29 Sony Corp Communication system, communication method, and data processing device
JP4023308B2 (en) * 2002-12-17 2007-12-19 ソニー株式会社 Communication apparatus and communication method
JP2005318193A (en) * 2004-04-28 2005-11-10 Fuji Xerox Co Ltd Ic tag, pallet and ic tag position calculator
JP2007060632A (en) * 2005-07-25 2007-03-08 Sony Corp Communication system, communication apparatus and method, and program
US20090231106A1 (en) * 2006-01-27 2009-09-17 Totoku Electric Co., Ltd. Tag Apparatus,Transceiver Apparatus, and Tag System
JP4919494B2 (en) * 2007-03-20 2012-04-18 パナソニック株式会社 Wireless authentication system

Also Published As

Publication number Publication date
JP2011193510A (en) 2011-09-29

Similar Documents

Publication Publication Date Title
JP4720899B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP2010130311A (en) Communication device, communication method, program and communication system
JP4432787B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US8942628B2 (en) Reducing power consumption for connection establishment in near field communication systems
JP4378643B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US20120045989A1 (en) Device discovery in near-field communication
US8903312B2 (en) Modified connection establishment for reducing power consumption in near field communication systems
JP4765743B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP4682735B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2005339141A (en) Portable information storage medium, information processing device, program and communication establishing method
JP5327558B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP4525715B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP5263314B2 (en) Communication device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121203

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130710

LAPS Cancellation because of no payment of annual fees