JP4349323B2 - Communication device and communication synchronization state determination method - Google Patents

Communication device and communication synchronization state determination method Download PDF

Info

Publication number
JP4349323B2
JP4349323B2 JP2005144000A JP2005144000A JP4349323B2 JP 4349323 B2 JP4349323 B2 JP 4349323B2 JP 2005144000 A JP2005144000 A JP 2005144000A JP 2005144000 A JP2005144000 A JP 2005144000A JP 4349323 B2 JP4349323 B2 JP 4349323B2
Authority
JP
Japan
Prior art keywords
data
carrier
response
communication
command
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
JP2005144000A
Other languages
Japanese (ja)
Other versions
JP2006324762A (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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2005144000A priority Critical patent/JP4349323B2/en
Publication of JP2006324762A publication Critical patent/JP2006324762A/en
Application granted granted Critical
Publication of JP4349323B2 publication Critical patent/JP4349323B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Near-Field Transmission Systems (AREA)
  • Communication Control (AREA)

Description

本発明は、非接触通信方式のデータキャリアとの間で通信を行う通信装置、及び前記通信に関する同期状態を判定する方法に関する。   The present invention relates to a communication device that performs communication with a data carrier of a non-contact communication method and a method for determining a synchronization state related to the communication.

非接触通信方式のデータキャリアの1つであるICカードは、カードリーダとの間で電波信号や電磁信号などを用いて通信を行うものであるから、カードリーダに対してはICカードをかざすだけで通信が可能であり、利便性が極めて高い。例えば、特許文献1には、自動車のイグニッションキーに内蔵されるデータキャリアたるトランスポンダが、自動車側に設けられた送受信ECUとの間で非接触通信を行う構成が開示されている。
特開平9−142257号公報
An IC card, which is one of non-contact communication type data carriers, communicates with a card reader using radio signals, electromagnetic signals, etc., so just hold the IC card over the card reader. Communication is possible, and convenience is extremely high. For example, Patent Document 1 discloses a configuration in which a transponder, which is a data carrier built in an ignition key of an automobile, performs non-contact communication with a transmission / reception ECU provided on the automobile side.
JP-A-9-142257

その一方で、非接触で通信を行うICカードには形状やサイズなどに制約が無く、例えば内部の通信を行うための回路を同様に構成することは比較的容易である。即ち、そのように構成すれば、カードリーダに対してICカードと同様の応答信号を送信することが可能になってしまう。従って、カードリーダ側では、通信を行っているICカードが正規のものかどうかが判別できないという問題があった。
本発明は上記事情に鑑みてなされたものであり、その目的は、通信対象であるデータキャリアが正規に構成されたものであるか否かを、通信結果に基づいて判別することが可能となる通信装置、及び通信同期状態判定方法を提供することにある。
On the other hand, there are no restrictions on the shape and size of an IC card that performs non-contact communication, and for example, it is relatively easy to configure a circuit for performing internal communication in the same manner. That is, with such a configuration, a response signal similar to that of an IC card can be transmitted to the card reader. Therefore, there is a problem that the card reader side cannot determine whether or not the IC card performing communication is genuine.
The present invention has been made in view of the above circumstances, and an object of the present invention is to determine whether or not a data carrier to be communicated is properly configured based on a communication result. A communication apparatus and a communication synchronization state determination method are provided.

請求項1記載の通信装置によれば、測定手段が、データキャリアからの応答信号と搬送波に基づいて設定される基準受信信号との同期状態を判定するための測定を行うと、同期判定手段は、その測定結果に基づいて前記応答信号と前記基準受信信号とが同期しているか否かを判定する。即ち、データキャリアが返信する応答信号は搬送波に基づいて生成される信号であるから、応答信号と基準受信信号とが同期していれば、そのデータキャリアは通信装置が送信した搬送波を受信して応答を返したことになる。従って、通信対象が適正に構成されたものであるか否かを確実に判定することができる。 According to the communication device of claim 1, when the measurement unit performs measurement for determining the synchronization state between the response signal from the data carrier and the reference reception signal set based on the carrier wave, the synchronization determination unit Based on the measurement result, it is determined whether or not the response signal and the reference reception signal are synchronized. That is, since the response signal returned by the data carrier is a signal generated based on the carrier wave, if the response signal and the reference reception signal are synchronized, the data carrier receives the carrier wave transmitted by the communication device. A response is returned. Therefore, it can be reliably determined whether or not the communication target is appropriately configured.

請求項2記載の通信装置によれば、測定手段は、応答信号の通信速度、周期、位相のうち1つ以上を測定する。即ち、これらの何れかを測定すれば、応答信号が基準受信信号に対して同期しているか否かを容易に判定することができる。
請求項3記載の通信装置によれば、コマンド送信手段は、同期判定手段が判定を行う場合、データキャリアにIDデータよりもビット数が多い応答データを返信させるためのコマンドを送信する。即ち、同期状態の判定精度は、応答信号のデータビット数が多いほど向上する。従って、所定のバイト数で構成されるIDデータのビット数を上回る応答データをデータキャリアに返信させれば、判定精度を確実に向上させることができる。
According to the communication device of the second aspect, the measuring means measures at least one of the communication speed, the period, and the phase of the response signal. That is, if any of these is measured, it can be easily determined whether or not the response signal is synchronized with the reference reception signal.
According to a third aspect of the present invention, when the synchronization determination unit makes the determination, the command transmission unit transmits a command for returning response data having a bit number larger than that of the ID data to the data carrier. That is, the determination accuracy of the synchronization state is improved as the number of data bits of the response signal is increased. Therefore, if response data exceeding the number of bits of ID data composed of a predetermined number of bytes is returned to the data carrier, the determination accuracy can be improved with certainty.

請求項4記載の通信装置によれば、測定手段が、コマンド生成手段によって生成されたコマンドが、搬送波に重畳されて送信された時点から応答データが返信された場合の応答タイミングを測定すると、同期判定手段は、その応答タイミングと搬送波に基づいて設定される基準応答タイミングとを比較して、搬送波と応答データとが同期しているか否かを判定する。
即ち、請求項1について述べたように、データキャリアが返信する応答信号は搬送波に基づいて生成される信号であるから、データキャリアが、通信装置が送信した搬送波を受信して応答を返していれば、その応答を返すタイミングは基準応答タイミングに対して相関性を有しており、搬送波との同期関係が成立しているはずである。従って、測定した応答タイミングに基づけば、同期判定を確実に行うことができる。
According to the communication device according to claim 4, when the measuring unit measures the response timing when the response data is returned from the time when the command generated by the command generating unit is transmitted superimposed on the carrier wave, the synchronization is performed. The determination unit compares the response timing with a reference response timing set based on the carrier wave, and determines whether the carrier wave and the response data are synchronized.
That is, as described in claim 1, since the response signal returned by the data carrier is a signal generated based on the carrier wave, the data carrier can receive the carrier wave transmitted by the communication device and return a response. For example, the timing at which the response is returned has a correlation with the reference response timing and should have a synchronization relationship with the carrier wave. Therefore, based on the measured response timing, the synchronization determination can be reliably performed.

請求項5記載の通信装置によれば、コマンド生成手段は、同期判定手段が判定を行う場合、通信プロトコルで応答タイミングが明確に規定されている応答データを返信させるコマンドを生成する。斯様に構成すれば、応答タイミングと基準応答タイミングとの比較を、規定されているタイミングに基づいて容易に行うことができる。
請求項6記載の通信装置によれば、前記コマンドを、データキャリアのIDデータを応答させるリクエストコマンドとする。即ち、リクエストコマンドの送信に対してデータキャリアがIDデータを応答するタイミングは、通信プロトコルで明確に規定されているものの1つであるから、タイミング比較を容易に行うことができる。
According to the communication device of the fifth aspect, the command generation means generates a command for returning response data whose response timing is clearly defined by the communication protocol when the synchronization determination means makes the determination. If comprised in this way, a comparison with a response timing and a reference | standard response timing can be performed easily based on the prescribed | regulated timing.
According to the communication device of the sixth aspect, the command is a request command for responding ID data of a data carrier. That is, the timing at which the data carrier responds to the ID data in response to the transmission of the request command is one of those clearly defined by the communication protocol, so that the timing comparison can be easily performed.

請求項7記載の通信装置によれば、測定手段は、応答データに含まれている特定のコードが受信されるタイミングを測定する。即ち、その特定のコードが受信された時点で、タイミングを容易に測定することができる。
請求項8記載の通信装置によれば、特定のコードを同期コードとする。即ち、同期コードは、通信装置が応答信号を受信する際に同期を取るために配置されているコードであるから、同期コードが受信された時点でタイミングを容易に測定することができる。
According to the communication device of the seventh aspect, the measuring means measures the timing at which the specific code included in the response data is received. That is, the timing can be easily measured when the specific code is received.
According to the communication device of the eighth aspect, the specific code is the synchronization code. That is, since the synchronization code is a code arranged for synchronization when the communication device receives the response signal, the timing can be easily measured when the synchronization code is received.

請求項9記載の通信装置によれば、同期判定手段は、搬送波発生手段が発生する搬送波周波数を変化させた場合に、測定手段によって測定される測定値が周波数の変化に応じて変化するか否かを確認して同期判定を行う。即ち、データキャリアが、通信装置が送信した搬送波を受信して応答を返していれば、搬送波周波数が変化するのに応じて測定手段が測定する値も変化するはずである。従って、斯様に判定を行うことで、同期判定を一層確実に行うことができる。   According to the communication device of the ninth aspect, the synchronization determination unit determines whether or not the measurement value measured by the measurement unit changes according to the change in frequency when the carrier frequency generated by the carrier generation unit is changed. Confirm that the synchronization is correct. In other words, if the data carrier receives the carrier transmitted by the communication device and returns a response, the value measured by the measuring means should change as the carrier frequency changes. Therefore, the synchronization determination can be performed more reliably by performing the determination in this way.

請求項10記載の通信装置によれば、同期判定手段が「同期成立」と判断すると、受信した応答データを正規のデータと認識して受け入れるので、正規のデータキャリアが返信した応答データだけを以降の処理に使用することができる。
請求項11記載の通信装置によれば、同期判定手段が「同期不成立」と判断すると、受信した応答データを破棄するので、不正な装置が送信したデータを確実に排除することができる。
請求項12記載の通信装置によれば、同期判定手段が「同期不成立」と判断すると、警報手段に警報信号を出力させるので、不正な装置がデータを送信した場合に報知を行うことができる。
According to the communication device of claim 10, when the synchronization determination means determines that “synchronization is established”, the received response data is recognized and accepted as regular data, so that only the response data returned by the regular data carrier is subsequently received. Can be used for processing.
According to the communication device of the eleventh aspect, when the synchronization determination unit determines that “synchronization is not established”, the received response data is discarded, so that data transmitted by an unauthorized device can be reliably excluded.
According to the communication device of the twelfth aspect, when the synchronization determination unit determines that “synchronization is not established”, the alarm unit outputs an alarm signal, so that notification can be performed when an unauthorized device transmits data.

(第1実施例)
以下、本発明をデータキャリアたるICカードに適用した場合の第1実施例について図1乃至図7を参照して説明する。図3は、ICカードに対し、電波信号によりデータの読み書きを行うリーダライタの電気的構成を示す機能ブロック図である。リーダライタ(通信装置)1は、マイクロコンピュータで構成される処理回路(同期判定手段,コマンド送信手段)2によって制御される。動作電源回路40は、アプリケーションに応じて商用交流電源若しくはバッテリより供給される電源より、リーダライタ1の動作電源を生成して出力する回路である。
(First embodiment)
A first embodiment in which the present invention is applied to an IC card as a data carrier will be described below with reference to FIGS. FIG. 3 is a functional block diagram showing an electrical configuration of a reader / writer that reads and writes data from and to an IC card using radio signals. The reader / writer (communication device) 1 is controlled by a processing circuit (synchronization determination means, command transmission means) 2 constituted by a microcomputer. The operation power supply circuit 40 is a circuit that generates and outputs an operation power supply for the reader / writer 1 from a commercial AC power supply or a power supply supplied from a battery according to an application.

符号化・復号化回路3,変調回路(変調手段)4には、キャリア発生器(搬送波発生手段)5より出力されるキャリア(搬送波)が与えられるようになっている。符号化・復号化回路3は、処理回路2より出力される送信データを符号化して変調回路4に出力する。変調回路4は、キャリアと、符号化・復号化回路3より出力される符号化された送信信号(変調信号)とを乗算することでASK(Amplitude Shift Keying)変調した被変調信号を増幅器6に出力し、増幅器6は、その信号を増幅してアンテナ(送受信手段)7に出力する。すると、電波信号がアンテナ7より外部に送信される。   The encoding / decoding circuit 3 and the modulation circuit (modulation means) 4 are supplied with a carrier (carrier wave) output from a carrier generator (carrier wave generation means) 5. The encoding / decoding circuit 3 encodes the transmission data output from the processing circuit 2 and outputs it to the modulation circuit 4. The modulation circuit 4 multiplies the carrier and the encoded transmission signal (modulation signal) output from the encoding / decoding circuit 3 to multiply the modulated signal subjected to ASK (Amplitude Shift Keying) modulation to the amplifier 6. The amplifier 6 amplifies the signal and outputs it to the antenna (transmission / reception means) 7. Then, a radio signal is transmitted from the antenna 7 to the outside.

アンテナ7には復調回路8の入力端子が接続されており、その復調回路8には、アンテナ7によって受信された電波信号が入力される。復調回路8によって復調された信号は符号化・復号化回路3に出力され、符号化・復号化回路3は、復調回路8によって復調されたアナログ受信信号を処理することで受信データを復号し、デジタルデータとして処理回路2に出力する。通信速度測定器(測定手段)9a及び通信位相測定器(測定手段)9bは、復調されたアナログ受信信号の通信速度及び位相を測定し、測定結果を処理回路2に出力するようになっている。
また、リーダライタ1は警報装置(警報手段)10を備えている。警報装置10は、処理回路2によって制御され、音声メッセージや警報音を出力したり、或いは、文字メッセージをディスプレイに表示させたり警報灯を点灯させるなどして警報表示を行うものである。尚、これらの警報の内、何れか1つのみを行うものであっても良いし、2つ以上を組み合わせて行うものであっても良い。
An input terminal of a demodulation circuit 8 is connected to the antenna 7, and a radio wave signal received by the antenna 7 is input to the demodulation circuit 8. The signal demodulated by the demodulation circuit 8 is output to the encoding / decoding circuit 3, and the encoding / decoding circuit 3 processes the analog reception signal demodulated by the demodulation circuit 8, thereby decoding the received data, It outputs to the processing circuit 2 as digital data. The communication speed measuring device (measuring means) 9a and the communication phase measuring device (measuring means) 9b measure the communication speed and phase of the demodulated analog reception signal and output the measurement result to the processing circuit 2. .
Further, the reader / writer 1 includes an alarm device (alarm means) 10. The alarm device 10 is controlled by the processing circuit 2 and outputs an audio message or an alarm sound, or displays an alarm message by displaying a text message on a display or lighting an alarm lamp. It should be noted that only one of these alarms may be performed, or two or more alarms may be performed in combination.

図4は、非接触式ICカード(データキャリア)11の電気的構成を示すものである。ICカード11は、リーダライタ1より送信されたキャリアをアンテナ12を介して受信すると、動作電源回路13においてキャリアを整流して動作電源を生成し、マイクロコンピュータで構成される処理回路14及びその他の構成要素に供給する。また、キャリアは動作クロック抽出回路15に与えられ、キャリア周期のクロック信号が抽出されると、それを64分周したクロック信号が処理回路14及び符号化・復号化回路16に出力される。   FIG. 4 shows an electrical configuration of the non-contact type IC card (data carrier) 11. When the IC card 11 receives the carrier transmitted from the reader / writer 1 via the antenna 12, the operation power supply circuit 13 rectifies the carrier to generate the operation power, and the processing circuit 14 constituted by a microcomputer and other Supply to the component. The carrier is supplied to the operation clock extraction circuit 15, and when a clock signal having a carrier period is extracted, a clock signal obtained by dividing the carrier signal by 64 is output to the processing circuit 14 and the encoding / decoding circuit 16.

そして、キャリアに重畳されているリーダライタ1からの送信データは復調回路17によって復調され、符号化・復号化回路16において復号化されると、処理回路14に出力される。処理回路14は、動作電源が供給されて起動すると、リーダライタ1からの送信データを受けて内部メモリ14aに記憶されているデータを読み出し、また、ライトコマンドが送信された場合は、そのコマンドに伴って送信されたデータを書き込む。
処理回路14より出力される送信データは符号化・復号化回路16においてマンチェスタ符号に符号化されると、変調回路18に出力される。変調回路18は、符号化されたデータによってキャリアを負荷変調した被変調信号をアンテナ12に出力する。
Then, the transmission data from the reader / writer 1 superimposed on the carrier is demodulated by the demodulation circuit 17, and is decoded by the encoding / decoding circuit 16 and output to the processing circuit 14. When the operation circuit 14 is activated and supplied with power, the processing circuit 14 receives the transmission data from the reader / writer 1 and reads the data stored in the internal memory 14a. When a write command is transmitted, the processing circuit 14 Write the transmitted data.
The transmission data output from the processing circuit 14 is output to the modulation circuit 18 after being encoded into Manchester code in the encoding / decoding circuit 16. The modulation circuit 18 outputs a modulated signal obtained by load-modulating the carrier with the encoded data to the antenna 12.

図5は、リーダライタ1とICカード11との間で行う通信シーケンスの一例を示すものである。リーダライタ1(R/W)がICカード11に対してリクエストコマンドを送信すると、ICカード11は、自身に割り当てられている例えば22バイトのIDデータをリーダライタ1側に返信する(ID応答)。また、リーダライタ1がICカード11に対してReadコマンドを送信すると、ICカード11は、所定量(例えば206バイト)のデータをリーダライタ1側に返信する(データ応答)。   FIG. 5 shows an example of a communication sequence performed between the reader / writer 1 and the IC card 11. When the reader / writer 1 (R / W) transmits a request command to the IC card 11, the IC card 11 returns, for example, 22-byte ID data allocated to itself to the reader / writer 1 side (ID response). . When the reader / writer 1 transmits a Read command to the IC card 11, the IC card 11 returns a predetermined amount (for example, 206 bytes) of data to the reader / writer 1 side (data response).

図6は、リーダライタ1より送信されるキャリアと、ICカード11より返信される応答信号との関係を示す波形図である。ICカード11側では、キャリアを64分周したクロック信号に基づいて、マンチェスタ符号化したデータを応答データとして生成出力する。従って、キャリア周波数をfc(例えば、13.56MHz)とすると、応答データの1ビット送信時間、即ち通信速度は64/fcとなる関係にある。   FIG. 6 is a waveform diagram showing the relationship between the carrier transmitted from the reader / writer 1 and the response signal returned from the IC card 11. The IC card 11 side generates and outputs Manchester encoded data as response data based on the clock signal obtained by dividing the carrier by 64. Accordingly, when the carrier frequency is fc (for example, 13.56 MHz), the response data has a 1-bit transmission time, that is, the communication speed is 64 / fc.

また、図7は、ICカード11の電気的構成を模擬して作成されるICカード模擬装置21の構成を想定したものである。即ち、ICカード11の動作電源回路13及び動作クロック抽出回路15に替えて、キャリアの供給とは無関係に動作電源及び動作クロックを生成する回路22及び23が配置されている。従って、ICカード模擬装置21は、リーダライタ1が送信するキャリアの供給を受けずとも、独自に応答データを送信することが可能となる。   FIG. 7 assumes the configuration of the IC card simulation device 21 created by simulating the electrical configuration of the IC card 11. That is, instead of the operation power supply circuit 13 and the operation clock extraction circuit 15 of the IC card 11, circuits 22 and 23 for generating an operation power supply and an operation clock regardless of the carrier supply are arranged. Accordingly, the IC card simulation device 21 can independently transmit the response data without receiving the carrier supplied by the reader / writer 1.

次に、本実施例の作用について図1及び図2も参照して説明する。図2は、リーダライタ1がICカード11の応答データを受信する場合に、処理回路2を中心として行われる制御内容を示すフローチャートである。また、図1は、図2の制御内容に対応するタイミングチャートであり、(a)はキャリア、(b)はリーダライタ1の復調回路8によって復調された応答信号の波形を示す。   Next, the operation of this embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing the contents of control performed mainly by the processing circuit 2 when the reader / writer 1 receives the response data of the IC card 11. FIG. 1 is a timing chart corresponding to the control contents of FIG. 2, (a) shows the carrier, and (b) shows the waveform of the response signal demodulated by the demodulation circuit 8 of the reader / writer 1.

上述したように、リーダライタ1が、コマンドをキャリアに重畳させてICカード11に送信すると、ICカード11は応答信号を返信するが、その応答信号の冒頭には、図1に示すように、例えばデータ「0」を連続して送信する「プリアンブル」が付加されている。そのプリアンブルに続いて、「同期コード(図1では、データ「10001000」)」が送信される。そして、プリアンブル末尾のデータ「0」から、同期コード冒頭のデータ「1」に切替わった時点がデータ受信の基準位置(タイミング)となり、そこを基点として受信が開始される。   As described above, when the reader / writer 1 superimposes a command on a carrier and transmits it to the IC card 11, the IC card 11 returns a response signal. At the beginning of the response signal, as shown in FIG. For example, a “preamble” for continuously transmitting data “0” is added. Following the preamble, a “synchronization code (data“ 10001000 ”in FIG. 1)” is transmitted. Then, the time point when the data “0” at the end of the preamble is switched to the data “1” at the beginning of the synchronization code becomes the reference position (timing) for data reception, and reception is started from that point.

リーダライタ1は、受信を開始すると、応答信号中のプリアンブルの受信を待つ(ステップS0)。リーダライタ1の通信速度測定器9aは、応答信号のプリアンブルを受信している期間内に、プリアンブル通信速度を測定する(ステップS1)。例えば、プリアンブルが8ビット構成であれば、プリアンブルの送信時間を測定して「8」で除した値が通信速度となる。そして、処理回路2は、その通信速度が「64/fc±α」であるか否かを判断する(ステップS2)。尚、「α」は許容誤差である。   When the reader / writer 1 starts reception, it waits for reception of the preamble in the response signal (step S0). The communication speed measuring device 9a of the reader / writer 1 measures the preamble communication speed within the period during which the preamble of the response signal is received (step S1). For example, if the preamble has an 8-bit configuration, the transmission speed is a value obtained by measuring the preamble transmission time and dividing by “8”. Then, the processing circuit 2 determines whether or not the communication speed is “64 / fc ± α” (step S2). “Α” is an allowable error.

ステップS2において、プリアンブルの通信速度が「64/fc±α」とは異なる場合(「NO」)、その応答信号はキャリアに同期していない、つまり、キャリアを分周したクロックに基づいて生成されたデータではないと判断される。即ち、この場合は正規のICカードによる応答信号ではなく、図7に示すようなICカード模擬装置21によって送信されたデータであるか、若しくは外来ノイズであると判断できる。従って、処理回路2は、その応答信号中のプリアンブルの受入れを拒否し、再度ステップS0に戻る。
一方、ステップS2において、プリアンブルの通信速度が「64/fc±α」である場合(「YES」)、その応答信号はキャリアを分周したクロックに基づいて生成されたデータであり、キャリアに同期していると判断される。次に、同期コード以降の受信においては、通信位相測定器9bにより、応答信号の位相が基準受信信号の位相と同期するか否かを測定する。
In step S2, when the communication speed of the preamble is different from “64 / fc ± α” (“NO”), the response signal is not synchronized with the carrier, that is, generated based on the clock obtained by dividing the carrier. It is determined that the data is not correct. That is, in this case, it can be determined that the data is not a response signal from a legitimate IC card, but data transmitted by the IC card simulation device 21 as shown in FIG. 7 or external noise. Therefore, the processing circuit 2 rejects acceptance of the preamble in the response signal and returns to step S0 again.
On the other hand, when the communication speed of the preamble is “64 / fc ± α” in step S2 (“YES”), the response signal is data generated based on the clock obtained by dividing the carrier and is synchronized with the carrier. It is judged that Next, in the reception after the synchronization code, the communication phase measuring device 9b measures whether or not the phase of the response signal is synchronized with the phase of the reference reception signal.

具体的には、プリアンブルに続く基準位置を検出すると(ステップS3)、図1(c)に示すように、その位置に同期してキャリアを64分周した64/fc周期の基準受信信号を生成する。その上で、この基準受信信号の位相に同期した位置で応答信号の復号処理を行なって応答データを復号する(ステップS4)。この復号の際に、基準受信信号と応答信号との位相ずれが大きい(例えば、位相ずれ許容値が10〜25%程度)と、応答データの復調が正しくできないように構成されている。この動作により、応答信号の位相が基準受信信号の位相と同期するか否かの測定が可能になる。   Specifically, when the reference position following the preamble is detected (step S3), as shown in FIG. 1C, a 64 / fc reference reception signal is generated by dividing the carrier by 64 in synchronization with the position. To do. After that, the response signal is decoded at a position synchronized with the phase of the reference reception signal to decode the response data (step S4). When decoding, if the phase shift between the reference reception signal and the response signal is large (for example, the allowable phase shift value is about 10 to 25%), the response data cannot be demodulated correctly. This operation enables measurement of whether the phase of the response signal is synchronized with the phase of the reference reception signal.

そして、データ長情報で指定された長さのデータ受信が完了すると(ステップS5,「YES」)、データ本体に続いて付加されているチェックコード(例えば、CRC(Cyclic Redundancy Code)など)を確認し(ステップS6)、その確認結果が「OK」であれば(ステップS7,「YES」)処理回路2は応答データを受け入れて(ステップS8)処理を終了する。即ち、この場合、受信された応答データは、基準受信信号(換言すれば、キャリア)に対して同期が取れた位相を受信が完了するまで維持していたことになる。   When the data reception of the length specified by the data length information is completed (step S5, “YES”), the check code added to the data body (eg, CRC (Cyclic Redundancy Code)) is confirmed. If the confirmation result is “OK” (step S7, “YES”), the processing circuit 2 accepts the response data (step S8) and ends the process. That is, in this case, the received response data maintains the phase synchronized with the reference reception signal (in other words, the carrier) until the reception is completed.

一方、ステップS7において、チェックコードの確認結果が「NG」である場合は(「NO」)、その応答データはやはりキャリアに同期しておらず、ICカード模擬装置21などによって送信されたデータである可能性が高い。従って、処理回路2はステップS9に移行し、応答データの受け入れを拒否して処理を終了する。尚、ステップS7における「OK」,「NG」はチェックコード値が適正か否かで判断するが、「NG」と判断する場合は、返信されたチェックコード自体は適正な値であってもキャリアと同期していない状態で送信が行われた結果、リーダライタ1側がデータ値を適正に読取ることができない場合も含んでいる。   On the other hand, if the check code confirmation result is “NG” in step S7 (“NO”), the response data is not synchronized with the carrier, and is data transmitted by the IC card simulation device 21 or the like. There is a high possibility. Accordingly, the processing circuit 2 proceeds to step S9, rejects acceptance of response data, and ends the processing. Note that “OK” and “NG” in step S7 are determined based on whether or not the check code value is appropriate. However, if “NG” is determined, even if the returned check code itself is an appropriate value, the carrier This includes the case where the reader / writer 1 cannot properly read the data value as a result of transmission in a state that is not synchronized with the data.

従って、ステップS7における判断については、応答データ長が長いほど高い精度で判断を行うことができる。例えば、最終的に「OK」と判断するために許容されるデータビットの同期ずれが±10%である場合に、ビット長が少なくともID応答データよりは長い、125バイト=1000ビットの応答データを返信させるようにすれば、1ビット当たり±0.01%の精度で同期ずれを判断することが可能である。例えば、セラミック発振子の精度は0.5%程度であるから、ICカード模擬装置21の動作クロック回路23がセラミック発振子を用いて構成されている場合に、同期ずれを確実に検出することができる。   Therefore, the determination in step S7 can be performed with higher accuracy as the response data length is longer. For example, when the synchronization deviation of the data bits allowed to finally determine “OK” is ± 10%, the response data of 125 bytes = 1000 bits, which is at least longer than the ID response data, is obtained. If a reply is made, it is possible to determine the synchronization shift with an accuracy of ± 0.01% per bit. For example, since the accuracy of the ceramic oscillator is about 0.5%, it is possible to reliably detect the synchronization shift when the operation clock circuit 23 of the IC card simulator 21 is configured using the ceramic oscillator. it can.

以上のように本実施例によれば、リーダライタ1において、通信速度測定器9a及び通信位相測定器9bが、ICカード11により返信される応答信号の通信速度及び位相を測定すると、処理回路2は、その測定結果に基づいて応答信号とキャリアに基づいて設定される基準受信信号とが同期しているか否かを判定する。即ち、ICカード11が返信する応答信号は、キャリアに基づいて生成される信号であるから、双方の信号が同期していればそのICカード11はリーダライタ1が送信したキャリアを受信して応答を返したことになる。従って、通信対象が適正に構成されたものであるか否かを確実に判定することができる。   As described above, according to the present embodiment, in the reader / writer 1, when the communication speed measuring device 9a and the communication phase measuring device 9b measure the communication speed and phase of the response signal returned from the IC card 11, the processing circuit 2 Determines whether the response signal and the reference reception signal set based on the carrier are synchronized based on the measurement result. That is, the response signal returned from the IC card 11 is a signal generated based on the carrier. Therefore, if both signals are synchronized, the IC card 11 receives the carrier transmitted by the reader / writer 1 and responds. Is returned. Therefore, it can be reliably determined whether or not the communication target is appropriately configured.

また、処理回路2は、同期判定を行う場合、ICカード11にビット数が1000ビット程度の応答データを返信させるためのコマンドを送信するので、判定精度を確実に向上させることができる。そして、処理回路2は、「同期成立」と判断すると受信した応答データを正規のデータと認識して受け入れ、「同期不成立」と判断すると受信した応答データを破棄すると共に警報装置10に警報信号を出力させるようにした。従って、正規のICカード11が返信した応答データだけを以降の処理に使用し、ICカード模擬装置21のように不正な装置が送信したデータを確実に排除することができる。そして、不正な装置がデータを送信した場合に、警報装置10により報知を行うことができる。   In addition, when performing the synchronization determination, the processing circuit 2 transmits a command for returning response data having a bit number of about 1000 bits to the IC card 11, so that the determination accuracy can be improved with certainty. The processing circuit 2 recognizes and accepts the received response data as normal data when it is determined that “synchronization is established”, and discards the received response data when it determines that “synchronization is not established” and sends an alarm signal to the alarm device 10. It was made to output. Therefore, only response data returned from the legitimate IC card 11 can be used for the subsequent processing, and data transmitted by an unauthorized device such as the IC card simulation device 21 can be surely excluded. When the unauthorized device transmits data, the alarm device 10 can notify the user.

(第2実施例)
図8及び図9は本発明の第2実施例を示すものであり、第1実施例と同一部分には同一符号を付して説明を省略し、以下異なる部分についてのみ説明する。第2実施例では、ICカードが,標準規格であるJIS X6322−3(ISO/IEC 14443−3)に準拠して構成されたものについて説明している。このICカード11では、第1実施例に対して、コマンド及び応答の形式、通信速度、タイミングなどが異なっている。
ここで、図8に示すように、リーダライタ1がICカード11に対してリクエストコマンドを送信した場合に、ICカード11が応答を返信するまでのタイミングを測定する。従って、第2実施例では、リーダライタ1に通信速度測定器9a及び通信位相測定器9bは不要となる。
(Second embodiment)
8 and 9 show a second embodiment of the present invention. The same parts as those of the first embodiment are denoted by the same reference numerals and the description thereof is omitted, and only different parts will be described below. In the second embodiment, the IC card is configured in accordance with JIS X6322-3 (ISO / IEC 14443-3) which is a standard. The IC card 11 differs from the first embodiment in command and response format, communication speed, timing, and the like.
Here, as shown in FIG. 8, when the reader / writer 1 transmits a request command to the IC card 11, the timing until the IC card 11 returns a response is measured. Therefore, in the second embodiment, the communication speed measuring device 9a and the communication phase measuring device 9b are not required for the reader / writer 1.

図9は、処理回路(測定手段)2の制御内容を示すフローチャートである。先ず、リーダライタ1は、リクエストコマンドを送信すると(ステップS11)、タイミング測定を開始する(ステップS12)。送信されたリクエストコマンドを適正なICカード11が受信すれば、カード側の処理回路14が内部処理を行った後、応答データの送信を開始する。
そして、ICカード11はID応答データを送信するが、処理回路2は、基準位置たる応答データの先頭を検出すると(ステップS13,「YES」)タイミング測定を完了する(ステップS14)。それから、1ビット単位毎に応答データを復号する(ステップS15)。そして、データ受信が完了するまで受信を継続する(ステップS16)。データ受信が完了した場合に、測定した応答タイミングが規定値(1172/fc)か否かを確認し、一致していれば受信データを受入れ(ステップS17,「YES」)ステップS6に移行する。
FIG. 9 is a flowchart showing the control contents of the processing circuit (measuring means) 2. First, when the reader / writer 1 transmits a request command (step S11), it starts timing measurement (step S12). If the appropriate IC card 11 receives the transmitted request command, the processing circuit 14 on the card side performs internal processing and then starts transmitting response data.
Then, the IC card 11 transmits the ID response data, but when the processing circuit 2 detects the head of the response data as the reference position (step S13, “YES”), the timing measurement is completed (step S14). Then, the response data is decoded for each bit unit (step S15). And reception is continued until data reception is completed (step S16). When the data reception is completed, it is confirmed whether or not the measured response timing is a specified value (1172 / fc).

一方、測定した応答タイミングが規定値に一致していないと判断した場合は(ステップS17,「NO」)、応答データを返信してきたにもかかわらずその応答タイミングが異常であるという状況であり、図7に示すようなICカード模擬装置21によって送信されたデータである可能性が高い。従って、処理回路2はステップS9に移行する。
即ち、リーダライタがリクエストコマンドを送信してから、ICカードがその応答を返すまでのタイミングは、JIS X6322−3(ISO/IEC14443−3)で規定されている通信プロトコルに従って定められている。従って、ステップS17で「YES」と判断した場合、応答データはキャリアに同期していると判断することができる。即ち、第2実施例では、キャリア周波数fcに基いて設定される応答タイミングが、基準応答タイミングとなる。
On the other hand, if it is determined that the measured response timing does not match the specified value (step S17, “NO”), the response timing is abnormal although response data is returned. There is a high possibility that the data is transmitted by the IC card simulation device 21 as shown in FIG. Accordingly, the processing circuit 2 proceeds to step S9.
That is, the timing from when the reader / writer transmits a request command to when the IC card returns a response is determined according to the communication protocol defined in JIS X6322-3 (ISO / IEC144443-3). Therefore, if “YES” is determined in step S17, it can be determined that the response data is synchronized with the carrier. That is, in the second embodiment, the response timing set based on the carrier frequency fc becomes the reference response timing.

以上のように第2実施例によれば、処理回路2は、リクエストコマンドが、搬送波に重畳されて送信された時点からID応答データが返信された場合の応答タイミングを測定し、その応答タイミングと搬送波に基づいて設定される基準応答タイミングとを比較することで、搬送波と応答データとが同期しているか否かを判定する。従って、同期判定を、規定されているタイミングに基づいて容易に行うことができる。そして、処理回路2は、ID応答データに含まれている特定コードである同期コードを受信したタイミングを以って応答タイミングを測定するので、その応答タイミングを容易に測定することができる。   As described above, according to the second embodiment, the processing circuit 2 measures the response timing when the ID response data is returned from the time point when the request command is transmitted superimposed on the carrier wave, and the response timing and By comparing the reference response timing set based on the carrier wave, it is determined whether the carrier wave and the response data are synchronized. Therefore, the synchronization determination can be easily performed based on the specified timing. Since the processing circuit 2 measures the response timing with the timing at which the synchronization code, which is a specific code included in the ID response data, is received, the response timing can be easily measured.

(第3実施例)
図10及び図11は本発明の第3実施例を示すものであり、第1実施例と異なる部分についてのみ説明する。図10に示すように、第3実施例のリーダライタ31は、処理回路2,キャリア発生器5に替わる処理回路(同期判定手段,コマンド生成手段)32,キャリア発生器33を備えて構成されている。キャリア発生器(搬送波発生手段)33は、キャリア周波数をfc1,fc2に切替えて出力可能であり、その切替え制御は処理回路32が行うようになっている。
(Third embodiment)
10 and 11 show a third embodiment of the present invention, and only the parts different from the first embodiment will be described. As shown in FIG. 10, the reader / writer 31 of the third embodiment includes a processing circuit 2, a processing circuit (synchronization determination means, command generation means) 32 instead of the carrier generator 5, and a carrier generator 33. Yes. The carrier generator (carrier wave generating means) 33 can output the carrier frequency by switching between fc1 and fc2, and the switching control is performed by the processing circuit 32.

図11は、処理回路32によって行われる制御内容を示すフローチャートである。処理回路32は、先ず、キャリア発生器33が周波数fc1のキャリアを出力するように選択を行い(ステップS21)、そのキャリアを使用してICカード11との通信を行う(ステップS22)。そして、ICカード11が返信した応答データが、キャリア周波数fc1に同期しているか否かを判断する(ステップS23)。ここでの判断は、例えば第1実施例のステップS1,S2やステップS6,S7、また、第2実施例のステップS15の何れかを行えば良い。   FIG. 11 is a flowchart showing the contents of control performed by the processing circuit 32. The processing circuit 32 first selects the carrier generator 33 so as to output a carrier having the frequency fc1 (step S21), and communicates with the IC card 11 using the carrier (step S22). Then, it is determined whether or not the response data returned from the IC card 11 is synchronized with the carrier frequency fc1 (step S23). This determination may be made, for example, at any one of steps S1 and S2 and steps S6 and S7 in the first embodiment and step S15 in the second embodiment.

ステップS23において、ICカード11の応答がキャリア周波数fc1に同期していなければ(「NO」)非同期と判定されるので(ステップS28)、ステップS10と同様に警報装置10を駆動して警報出力を行う(ステップS29)。また、ステップS23において、ICカード11の応答がキャリア周波数fc1に同期している場合(「YES」)、処理回路32は、キャリア発生器33が周波数fc2のキャリアを出力するように選択を行い(ステップS24)、そのキャリアを使用してICカード11との通信を行う(ステップS25)。   In step S23, if the response of the IC card 11 is not synchronized with the carrier frequency fc1 ("NO"), it is determined as asynchronous (step S28), so that the alarm device 10 is driven to output an alarm in the same manner as in step S10. It performs (step S29). In step S23, when the response of the IC card 11 is synchronized with the carrier frequency fc1 (“YES”), the processing circuit 32 performs selection so that the carrier generator 33 outputs a carrier having the frequency fc2 ( In step S24), communication with the IC card 11 is performed using the carrier (step S25).

そして、処理回路32は、ICカード11が返信した応答データが、キャリア周波数fc2に同期しているか否かを判断し(ステップS26)、同期していなければ(「NO」)ステップS28に移行する。一方、応答データがキャリア周波数fc2に同期していれば(「YES」)、この時点でICカード11の応答がキャリアに確実に同期していると判定される(ステップS27)。
以上のように第3実施例によれば、処理回路32は、キャリア発生器33が発生するキャリア周波数を変化させた場合に、測定される値が周波数の変化に応じて変化するか否かを確認して同期判定を行うので、同期判定を一層確実に行うことができる。
Then, the processing circuit 32 determines whether or not the response data returned from the IC card 11 is synchronized with the carrier frequency fc2 (step S26). If not synchronized ("NO"), the processing circuit 32 proceeds to step S28. . On the other hand, if the response data is synchronized with the carrier frequency fc2 (“YES”), it is determined that the response of the IC card 11 is surely synchronized with the carrier at this time (step S27).
As described above, according to the third embodiment, when the carrier frequency generated by the carrier generator 33 is changed, the processing circuit 32 determines whether the measured value changes according to the change in frequency. Since the synchronization determination is performed after confirmation, the synchronization determination can be performed more reliably.

本発明は上記し又は図面に記載した実施例にのみ限定されるものではなく、次のような変形が可能である。
通信速度に替えて、応答データの周波数や位相を測定しても良い。
通信装置は、データを読み出す機能だけを備えるカードリーダであっても良い。
警報装置は、必要に応じて設ければ良い。
データキャリアはICカード11に限ることなく、RFIDタグやこれらと同様の機能を備えている携帯電話機などであっても良い。
通信プロトコルは、JIS X6322−3に限ることなく、各アプリケーションに応じて使用されるものに基づけば良い。
キャリアの分周比は「64」に限ることなく、適宜設定すれば良い。
応答タイミングを測定するための特定コードは、同期コードに限ることはなく、例えば、プリアンブル(の末尾のビット)や、同期コードの次に受信されるデータ(の冒頭のビット)などでも良い。
例えば、通信装置が車両用のイモビライザに適用されている場合は、警報装置として、車両のホーンを鳴動させたり、ライト等を点滅させたりしても良い。
The present invention is not limited to the embodiments described above or shown in the drawings, and the following modifications are possible.
Instead of the communication speed, the frequency and phase of response data may be measured.
The communication device may be a card reader having only a function of reading data.
The alarm device may be provided as necessary.
The data carrier is not limited to the IC card 11, but may be an RFID tag or a mobile phone having the same function as these.
The communication protocol is not limited to JIS X6322-3, but may be based on a protocol used according to each application.
The frequency division ratio of the carrier is not limited to “64” and may be set as appropriate.
The specific code for measuring the response timing is not limited to the synchronization code, and may be, for example, a preamble (the last bit) or data (the first bit) received after the synchronization code.
For example, when the communication device is applied to an immobilizer for a vehicle, a horn of the vehicle or a light or the like may be blinked as an alarm device.

本発明をICカードに適用した場合の第1実施例であり、(a)はキャリア、(b)はリーダライタの復調回路によって復調された応答データの波形を示す図、(c)は基準受信信号波形を示す図1 is a first embodiment when the present invention is applied to an IC card, (a) is a carrier, (b) is a diagram showing a waveform of response data demodulated by a demodulation circuit of a reader / writer, and (c) is a reference reception. Diagram showing signal waveform リーダライタがICカードの応答データを受信する場合に、処理回路を中心として行われる制御内容を示すフローチャートFlowchart showing control contents performed mainly by the processing circuit when the reader / writer receives the response data of the IC card. リーダライタの電気的構成を示す機能ブロック図Functional block diagram showing the electrical configuration of the reader / writer 非接触式ICカードの電気的構成を示す機能ブロック図Functional block diagram showing the electrical configuration of the non-contact IC card リーダライタとICカードとの間で行う通信シーケンスの一例を示す図The figure which shows an example of the communication sequence performed between a reader / writer and an IC card リーダライタより送信されるキャリアと、ICカードより返信される応答信号との関係を示す波形図Waveform diagram showing the relationship between the carrier transmitted from the reader / writer and the response signal returned from the IC card ICカードの電気的構成を模擬して作成されるICカード模擬装置の構成を想定した図A diagram assuming the configuration of an IC card simulation device created by simulating the electrical configuration of an IC card 本発明の第2実施例を示す図1相当図FIG. 1 equivalent view showing a second embodiment of the present invention. 図2の一部相当図Partial equivalent diagram of FIG. 本発明の第3実施例を示す図3相当図FIG. 3 equivalent view showing a third embodiment of the present invention. 図2相当図2 equivalent diagram

符号の説明Explanation of symbols

図面中、1はリーダライタ(通信装置)、2は処理回路(同期判定手段,コマンド送信手段,測定手段)、4は変調回路(変調手段)、5はキャリア発生器(搬送波発生手段)、7はアンテナ(送受信手段)、9aは通信速度測定器(測定手段)、9bは通信位相測定器(測定手段)、11は接触式ICカード(データキャリア)、10は警報装置(警報手段)、32は処理回路(同期判定手段,コマンド生成手段)、33はキャリア発生器(搬送波発生手段)を示す。   In the drawings, 1 is a reader / writer (communication device), 2 is a processing circuit (synchronization determination means, command transmission means, measurement means), 4 is a modulation circuit (modulation means), 5 is a carrier generator (carrier wave generation means), 7 Is an antenna (transmission / reception means), 9a is a communication speed measurement device (measurement means), 9b is a communication phase measurement device (measurement means), 11 is a contact IC card (data carrier), 10 is an alarm device (alarm means), 32 Indicates a processing circuit (synchronization determination means, command generation means), and 33 indicates a carrier generator (carrier wave generation means).

Claims (21)

所定周波数の搬送波を発生させる搬送波発生手段と、
前記搬送波を非接触通信方式のデータキャリアに送信すると共に、当該データキャリアからの応答信号を受信する送受信手段と、
前記データキャリアからの応答信号と、前記搬送波に基づいて設定される基準受信信号との同期状態を判定するための測定を行う測定手段と、
前記測定の結果に基づいて、前記応答信号と前記基準受信信号とが同期しているか否かを判定する同期判定手段とを備えたことを特徴とする通信装置。
Carrier wave generating means for generating a carrier wave of a predetermined frequency;
A transmitting / receiving means for transmitting the carrier wave to a data carrier of a non-contact communication system and receiving a response signal from the data carrier;
Measuring means for measuring to determine a synchronization state between a response signal from the data carrier and a reference received signal set based on the carrier;
A communication apparatus comprising: synchronization determination means for determining whether or not the response signal and the reference reception signal are synchronized based on a result of the measurement.
前記測定手段は、前記応答信号の通信速度、周期、位相のうち、1つ以上を測定することを特徴とする請求項1記載の通信装置。   The communication device according to claim 1, wherein the measurement unit measures at least one of a communication speed, a period, and a phase of the response signal. コマンドを生成し、前記搬送波に重畳させて前記データキャリアに送信するためのコマンド送信手段を備え、
前記コマンド送信手段は、前記同期判定手段が判定を行う場合、前記データキャリアにIDデータよりもビット数が多い応答データを返信させるためのコマンドを送信することを特徴とする請求項1又は2記載の通信装置。
A command transmission means for generating a command and superimposing the command on the carrier wave and transmitting the command to the data carrier;
3. The command transmission means, when the synchronization determination means makes a determination, transmits a command for returning response data having a bit number larger than that of ID data to the data carrier. Communication equipment.
所定周波数の搬送波を発生させる搬送波発生手段と、
非接触通信方式のデータキャリアに所定の応答データを返信させるためのコマンドを生成するコマンド生成手段と、
前記コマンドを前記搬送波に重畳させる変調手段と、
前記コマンドが重畳された搬送波を前記データキャリアに送信すると共に、当該データキャリアからの応答データを受信する送受信手段と、
前記コマンドを送信した時点から、前記応答データが返信された場合の応答タイミングを測定する測定手段と、
前記応答タイミングと、前記搬送波に基づいて設定される基準応答タイミングとを比較することで、前記搬送波と前記応答データとが同期しているか否かを判定する同期判定手段とを備えたことを特徴とする通信装置。
Carrier wave generating means for generating a carrier wave of a predetermined frequency;
Command generating means for generating a command for returning predetermined response data to a data carrier of a non-contact communication method;
Modulation means for superimposing the command on the carrier;
Transmitting and receiving means for transmitting the carrier wave on which the command is superimposed to the data carrier and receiving response data from the data carrier;
Measuring means for measuring a response timing when the response data is returned from the time when the command is transmitted;
Synchronization determination means for determining whether or not the carrier wave and the response data are synchronized by comparing the response timing with a reference response timing set based on the carrier wave is provided. A communication device.
前記コマンド生成手段は、前記同期判定手段が判定を行う場合、通信プロトコルによって応答タイミングが明確に規定されている応答データを返信させるためのコマンドを生成することを特徴とする請求項4記載の通信装置。   5. The communication according to claim 4, wherein the command generation unit generates a command for returning response data whose response timing is clearly defined by a communication protocol when the synchronization determination unit makes a determination. apparatus. 前記コマンドは、データキャリアのIDデータを応答させるリクエストコマンドであることを特徴とする請求項5記載の通信装置。   6. The communication apparatus according to claim 5, wherein the command is a request command for responding ID data of a data carrier. 前記測定手段は、前記応答データに含まれている特定のコードが受信されるタイミングを測定することを特徴とする請求項4乃至6の何れかに記載の通信装置。   The communication device according to claim 4, wherein the measurement unit measures a timing at which a specific code included in the response data is received. 前記特定のコードは、同期コードであることを特徴とする請求項7記載の通信装置。   The communication device according to claim 7, wherein the specific code is a synchronization code. 前記搬送波発生手段は、搬送波周波数を2段階以上に変更可能に構成され、
前記同期判定手段は、前記搬送波発生手段が発生する搬送波周波数を変化させた場合に、前記測定手段によって測定される測定値が前記周波数の変化に応じて変化するか否かを確認して、同期判定を行うことを特徴とする請求項1乃至8の何れかに記載の通信装置。
The carrier wave generating means is configured to be able to change the carrier wave frequency in two or more stages,
The synchronization determination unit confirms whether or not the measurement value measured by the measurement unit changes according to the change in the frequency when the carrier frequency generated by the carrier generation unit is changed. The communication apparatus according to claim 1, wherein the determination is performed.
前記同期判定手段が「同期成立」と判断すると、受信した応答データを正規のデータと認識して受け入れることを特徴とする請求項1乃至9の何れかに記載の通信装置。   10. The communication apparatus according to claim 1, wherein when the synchronization determination unit determines that “synchronization is established”, the received response data is recognized and accepted as regular data. 前記同期判定手段が「同期不成立」と判断すると、受信した応答データを破棄することを特徴とする請求項1乃至10の何れかに記載の通信装置。   11. The communication device according to claim 1, wherein when the synchronization determination unit determines that “synchronization is not established”, the received response data is discarded. 音響又は光による警報信号を発生させる警報手段を備え、
前記同期判定手段が「同期不成立」と判断すると、前記警報手段に前記警報信号を出力させることを特徴とする請求項1乃至11の何れかに記載の通信装置。
Comprising alarm means for generating an alarm signal by sound or light;
12. The communication apparatus according to claim 1, wherein when the synchronization determination unit determines that “synchronization is not established”, the alarm unit outputs the alarm signal.
所定周波数の搬送波を発生して非接触通信方式のデータキャリアに送信し、
前記データキャリアからの応答信号と、前記搬送波に基づいて設定される基準受信信号との同期状態を判定するための測定を行い、
前記測定の結果に基づいて、前記応答信号と前記基準受信信号とが同期しているか否かを判定することを特徴とする通信同期状態判定方法。
Generate a carrier wave of a predetermined frequency and transmit it to a data carrier of a non-contact communication system,
Perform a measurement to determine the synchronization state of the response signal from the data carrier and the reference reception signal set based on the carrier,
A communication synchronization state determination method, comprising: determining whether or not the response signal and the reference reception signal are synchronized based on a result of the measurement.
前記応答信号の通信速度、周期、位相のうち、1つ以上を測定することを特徴とする請求項13記載の通信同期状態判定方法。   The communication synchronization state determination method according to claim 13, wherein one or more of the communication speed, period, and phase of the response signal are measured. 前記同期判定を行う場合、前記データキャリアにIDデータよりもビット数が多い応答データを返信させるためのコマンドを生成し、前記搬送波に重畳させて前記データキャリアに送信することを特徴とする請求項13又は14記載の通信同期状態判定方法。   When performing the synchronization determination, a command for returning response data having a larger number of bits than ID data to the data carrier is generated, and the command is superimposed on the carrier and transmitted to the data carrier. The communication synchronization state determination method according to 13 or 14. 所定周波数の搬送波を発生し、
非接触通信方式のデータキャリアに所定の応答データを返信させるためのコマンドを生成し、前記コマンドを前記搬送波に重畳し、
前記コマンドが重畳された搬送波を前記データキャリアに送信すると共に、当該データキャリアからの応答データを受信し、
前記コマンドを送信した時点から、前記応答データが返信された場合の応答タイミングを測定し、
前記応答タイミングと、前記搬送波に基づいて設定される基準応答タイミングとを比較することで、前記搬送波と前記応答データとが同期しているか否かを判定することを特徴とする通信同期状態判定方法。
Generate a carrier wave of a predetermined frequency,
Generate a command for returning predetermined response data to a data carrier of a non-contact communication method, superimpose the command on the carrier,
Transmitting the carrier wave on which the command is superimposed to the data carrier and receiving response data from the data carrier;
Measure the response timing when the response data is returned from the time of sending the command,
A communication synchronization state determination method comprising: determining whether the carrier wave and the response data are synchronized by comparing the response timing with a reference response timing set based on the carrier wave .
前記同期判定を行う場合、応答タイミングが通信プロトコルにより明確に規定されている応答データを返信させるためのコマンドを生成して送信することを特徴とする請求項16記載の通信同期状態判定方法。   17. The communication synchronization state determination method according to claim 16, wherein when performing the synchronization determination, a command for returning response data whose response timing is clearly defined by a communication protocol is generated and transmitted. 前記コマンドは、データキャリアのIDデータを応答させるリクエストコマンドであることを特徴とする請求項17記載の通信同期状態判定方法。   The communication synchronization state determination method according to claim 17, wherein the command is a request command for responding ID data of a data carrier. 前記応答データに含まれている特定のコードが受信されるタイミングを測定することを特徴とする請求項16乃至18の何れかに記載の通信同期状態判定方法。   The communication synchronization state determination method according to any one of claims 16 to 18, wherein a timing at which a specific code included in the response data is received is measured. 前記特定のコードは、同期コードであることを特徴とする請求項19記載の通信同期状態判定方法。   The communication synchronization state determination method according to claim 19, wherein the specific code is a synchronization code. 搬送波周波数を変化させた場合に測定される測定値が、前記周波数の変化に応じて変化するか否かを確認して同期判定を行うことを特徴とする請求項13乃至20の何れかに記載の通信同期状態判定方法。

21. The synchronization determination is performed by confirming whether or not a measurement value measured when the carrier frequency is changed changes according to the change in the frequency. Communication synchronization status determination method.

JP2005144000A 2005-05-17 2005-05-17 Communication device and communication synchronization state determination method Expired - Fee Related JP4349323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005144000A JP4349323B2 (en) 2005-05-17 2005-05-17 Communication device and communication synchronization state determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005144000A JP4349323B2 (en) 2005-05-17 2005-05-17 Communication device and communication synchronization state determination method

Publications (2)

Publication Number Publication Date
JP2006324762A JP2006324762A (en) 2006-11-30
JP4349323B2 true JP4349323B2 (en) 2009-10-21

Family

ID=37544136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005144000A Expired - Fee Related JP4349323B2 (en) 2005-05-17 2005-05-17 Communication device and communication synchronization state determination method

Country Status (1)

Country Link
JP (1) JP4349323B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107210785A (en) * 2015-02-18 2017-09-26 高通股份有限公司 Active load modulation in near-field communication

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4841192B2 (en) * 2005-07-29 2011-12-21 フェリカネットワークス株式会社 Signal processing circuit and method, and information processing apparatus
US8731116B2 (en) * 2011-02-07 2014-05-20 Access Business Group International Llc System and method of providing communications in a wireless power transfer system
WO2013125245A1 (en) 2012-02-22 2013-08-29 パナソニック株式会社 Reader device, data processing device equipped with same, and authenticity determination method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107210785A (en) * 2015-02-18 2017-09-26 高通股份有限公司 Active load modulation in near-field communication

Also Published As

Publication number Publication date
JP2006324762A (en) 2006-11-30

Similar Documents

Publication Publication Date Title
KR101214887B1 (en) Communication system communication apparatus and communication method
US8543056B2 (en) Communication device, communication method, and program
JP4206109B2 (en) Wireless tag reader
EP1995925A1 (en) Orthogonal demodulation device, orthogonal demodulation method, and program orthogonal demodulation
US8422596B2 (en) Communication device, communication method, and program
JP4349323B2 (en) Communication device and communication synchronization state determination method
JP2002520967A (en) Transponder system having receipt notification corresponding to each transponder
JP4682735B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP4720297B2 (en) Communication device and communication synchronization state determination method
JPH11120307A (en) Communication equipment
JP7454399B2 (en) Communication systems, in-vehicle devices, and programs
JP4737146B2 (en) Portable terminal device, key, and wireless authentication system
JP2008035104A (en) Communication equipment and signal processing method
JP2009271775A (en) Receiving apparatus
JP4336969B2 (en) RFID reader / writer device
JP4319549B2 (en) Communication stations for communication with transponders and other communication stations according to different protocols
JP5304615B2 (en) Non-contact communication device
US20050099267A1 (en) Communication station for communication with transponders and further communication stations with the aid of different transmission parameters
JP5051873B2 (en) Electronic system, electronic device and unit
JP2010136198A (en) Communication apparatus and communication method, synchronizing device and synchronizing method, and computer program
JP2001005923A (en) Data communication equipment
JP4273987B2 (en) Data synchronization apparatus, data communication apparatus, and processing apparatus for data communication apparatus
JP3463688B2 (en) Communication system and communication method
JP2010250746A (en) Authentication system and authentication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090512

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090605

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090713

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

Free format text: PAYMENT UNTIL: 20120731

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4349323

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120731

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20120731

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130731

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130731

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees