TWI549063B - A card reader - Google Patents

A card reader Download PDF

Info

Publication number
TWI549063B
TWI549063B TW100108526A TW100108526A TWI549063B TW I549063 B TWI549063 B TW I549063B TW 100108526 A TW100108526 A TW 100108526A TW 100108526 A TW100108526 A TW 100108526A TW I549063 B TWI549063 B TW I549063B
Authority
TW
Taiwan
Prior art keywords
radio frequency
card reader
frequency
signal
magnetic field
Prior art date
Application number
TW100108526A
Other languages
Chinese (zh)
Other versions
TW201237770A (en
Inventor
歐陽立
肖德銀
沈愛民
Original Assignee
國民技術股份有限公司
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 國民技術股份有限公司 filed Critical 國民技術股份有限公司
Priority to TW100108526A priority Critical patent/TWI549063B/en
Publication of TW201237770A publication Critical patent/TW201237770A/en
Application granted granted Critical
Publication of TWI549063B publication Critical patent/TWI549063B/en

Links

Description

讀卡器 Card reader

本發明涉及通信領域,尤其涉及一種讀卡器。 The present invention relates to the field of communications, and in particular, to a card reader.

發明背景 Background of the invention

隨著移動終端的普及,利用移動終端進行移動終端支付的應用需求非常迫切,目前已經有多種實現方案,但各有缺點。當前,已經出現了在移動終端中的使用者識別模組SIM(Subscriber Identity Module)卡上增加射頻功能(稱為射頻SIM卡)或者在移動終端主機板上增加近距離通信模組來實現移動終端近距離通信的方法,後者稱為NFC(Near Field Communication,近場通信),這些方法的出現使得移動終端成為一個可以充值、消費、交易及身份認證的超級智慧終端機,極大地滿足了市場的迫切需求。 With the popularity of mobile terminals, the application requirements for mobile terminal payment using mobile terminals are very urgent. At present, there are various implementation solutions, but each has its own disadvantages. At present, a radio frequency function (called a radio frequency SIM card) is added to a Subscriber Identity Module (SIM) card in a mobile terminal, or a short-range communication module is added to a mobile terminal motherboard to implement a mobile terminal. The method of short-range communication, the latter is called NFC (Near Field Communication). The emergence of these methods makes the mobile terminal become a super-smart terminal that can be recharged, consumed, traded and authenticated, which greatly satisfies the market. Urgent needs.

其中,基於射頻SIM卡的移動終端近距離解決方案以其簡單、無需更改移動終端等優勢得到廣泛的關注,在該方案中,射頻SIM卡採用UHF(Ultra High Frequency,超高頻)技術,由於UHF特別是採用2.4GHz ISM公共頻段(即工業,科學和醫用頻段)的射頻SIM卡,其工作頻率很高,天線的尺寸很小,在SIM卡內放置小型的天線就能發射足夠強度的信號,即使射頻SIM卡嵌入在移動終端內部射頻信號仍然可以從移動終端中透射出來,在讀卡器中採用業界主流的RF(Radio Frequency,射頻)收發晶片 即可無需額外放大可靠接收到絕大多數移動終端的射頻信號,從而實現不必對現有的移動終端進行任何結構改變就可使移動終端具備近距離通信功能。但是,不同移動終端由於內部結構不同造成射頻信號透射效果存在很大的差異,透射強的移動終端其射頻SIM卡射頻通信距離可能達到幾米遠的距離,透射弱的移動終端其射頻SIM卡通信距離只可以達到幾釐米。射頻SIM卡為了避免不同移動終端對RF信號衰減的巨大差異,必須對移動終端進行校準,也就是在使用前必須將移動終端的衰減參數記錄到卡中。需要校準是射頻SIM卡的主要問題。 Among them, the short-distance solution of the mobile terminal based on the radio frequency SIM card has received extensive attention because of its simplicity and no need to change the mobile terminal. In this solution, the radio frequency SIM card adopts UHF (Ultra High Frequency) technology, UHF, especially the RF SIM card using the 2.4GHz ISM common frequency band (ie industrial, scientific and medical frequency bands), the operating frequency is very high, the size of the antenna is small, and a small antenna can be placed in the SIM card to transmit sufficient intensity. Signal, even if the radio frequency SIM card is embedded in the mobile terminal, the radio frequency signal can still be transmitted from the mobile terminal, and the industry mainstream RF (Radio Frequency) transceiver chip is used in the card reader. The RF signal of most mobile terminals can be reliably received without additional amplification, so that the mobile terminal can have the short-range communication function without any structural change to the existing mobile terminal. However, different mobile terminals have great differences in the transmission effect of radio frequency signals due to different internal structures. The radio frequency SIM card radio communication distance of a mobile terminal with strong transmission may reach a distance of several meters, and the radio frequency SIM card communication distance of a mobile terminal with weak transmission. Only a few centimeters can be reached. In order to avoid the huge difference in RF signal attenuation between different mobile terminals, the radio frequency SIM card must be calibrated to the mobile terminal, that is, the attenuation parameter of the mobile terminal must be recorded into the card before use. The need for calibration is a major issue with RF SIM cards.

另外一種移動支付的技術NFC基於ISO14443標準的非接觸卡技術演化而來,兩者根本點在於都採用13.56MHz的磁場傳送信號和能量。NFC技術的主要問題有: Another mobile payment technology, NFC, evolved based on the ISO 14443 standard contactless card technology. The fundamental point is that both transmit signals and energy using a magnetic field of 13.56 MHz. The main problems of NFC technology are:

1.必須改造移動終端才能實現可靠的雙向資料通訊,NFC的磁場線圈不能集成到SIM卡或SD卡(Secure Digital Memory Card,安全數位存儲卡)/TF(TransFLash,快閃記憶體)卡等移動終端用的卡內。 1. The mobile terminal must be modified to achieve reliable two-way data communication. The NFC magnetic field coil cannot be integrated into the SIM card or SD card (Secure Digital Memory Card)/TF (TransFLash) card. The card used in the terminal.

在13.56MHz頻點下,讀卡器和卡之間採用電感線圈耦合的方式交互信號及傳送能量,讀卡器到卡的方向需要同時傳遞能量和13.56MHz調幅信號,對卡上接收線圈的尺寸面積均有較高要求;卡到讀卡器的方向,卡依靠短路和開路卡上線圈的負載調製方式而不是依靠外部能量直接發送場強的方式向讀卡器傳遞資訊,由於負載調製信號要求卡線圈和讀卡器線圈的耦合係數越高越利於讀卡器解碼卡傳送的資訊,這種方式進一步提高了對卡上天線尺寸和面積的要求。另外一方面,由於13.56MHz頻點較低,耦合線圈的尺寸相對較大。綜合上述因素,NFC要求移動終端內的天線線圈足夠大,該尺寸大小完全不能放入SIM卡或SD/TF卡等移動終端用的卡內,不但如此,移動終端上的金屬及其它導電物體會嚴重干 擾天線的接收和負載調製效果,為了達到近場通訊良好的通訊效果,必須對手機進行定制化的改造,使天線的效果達到最佳。改造點例如,將卡的多匝天線放到移動終端的電池後蓋上,或者通過柔性PCB從終端主機板上將天線引到電池背面,天線的面積和普通電池尺寸相當,另外,手機的後蓋不能為金屬材質。 At the frequency of 13.56MHz, the card reader and the card use the inductive coil coupling method to exchange signals and transmit energy. The direction of the card reader to the card needs to transmit energy and the 13.56MHz amplitude modulation signal simultaneously, and the size of the receiving coil on the card. The area has higher requirements; the card is in the direction of the card reader, and the card relies on the short-circuit and the load modulation mode of the coil on the open-circuit card instead of relying on the external energy to directly transmit the field strength to transmit information to the card reader, due to the load modulation signal requirement. The higher the coupling coefficient between the card coil and the card reader coil, the better the information transmitted by the card reader decoding card, which further increases the size and area requirements of the antenna on the card. On the other hand, since the 13.56 MHz frequency is lower, the size of the coupling coil is relatively large. In view of the above factors, the NFC requires that the antenna coil in the mobile terminal is sufficiently large, and the size cannot be placed in the card for the mobile terminal such as the SIM card or the SD/TF card. In addition, the metal and other conductive objects on the mobile terminal will be Severely dry In order to achieve good communication effect of near-field communication, it is necessary to customize the mobile phone to optimize the effect of the antenna. The transformation point is, for example, placing the card's multi-turn antenna on the battery back cover of the mobile terminal, or guiding the antenna from the terminal motherboard to the back of the battery through a flexible PCB, the area of the antenna is equivalent to the size of the ordinary battery, and the rear of the mobile phone The cover cannot be made of metal.

2. NFC所使用的13.56MHz頻點需要校準才能用於距離控制。 2. The 13.56MHz frequency used by NFC needs to be calibrated for distance control.

即使有一種NFC的天線能夠更換到任何移動終端中,由於其使用13.56MHz頻點,該頻點信號在遇到金屬和其它導電物體會形成強烈的渦流效應,信號強度會隨著移動終端結構而變化,從而在NFC卡接收天線上形成場強的巨大波動,無法進行無校準的距離控制。 Even if an NFC antenna can be replaced in any mobile terminal, since it uses the 13.56MHz frequency, the frequency signal will form a strong eddy current effect when encountering metal and other conductive objects, and the signal strength will follow the structure of the mobile terminal. The change causes a large fluctuation in the field strength on the NFC card receiving antenna, and the uncalibrated distance control cannot be performed.

第1圖為線圈接收電路放入各種移動終端內,在同一14443 POS機上保持13.56MHz載波恒定的情況下測試的電壓-距離曲線,其中信號強度值是接收天線感應電壓經過必要的放大後的值,放大倍數保持恒定,只需關注強度隨距離的相對變化。可以看出,不同終端接收到的場強差異>30dB,同一終端從1cm到10cm的場強變化為25dB左右,手機差異造成的場強變化已經超過終端在1cm到10cm距離控制範圍內的場強變化,因此無法採用同一門限對各終端進行距離控制,也就是無法實現無校準距離控制。 Figure 1 shows the voltage-distance curve of the coil receiving circuit placed in various mobile terminals and maintaining the 13.56 MHz carrier constant on the same 14443 POS machine. The signal strength value is the necessary amplification of the receiving antenna induced voltage. Value, the magnification remains constant, just pay attention to the relative change in intensity with distance. It can be seen that the field strength difference received by different terminals is >30dB, and the field strength of the same terminal changes from 1cm to 10cm to about 25dB. The field strength change caused by the difference of the mobile phone has exceeded the field strength of the terminal within the control range of 1cm to 10cm. Changes, so the distance control of each terminal cannot be controlled by the same threshold, that is, the non-calibrated distance control cannot be realized.

發明概要 Summary of invention

本發明所要解決的技術問題是提供一種讀卡器,使得對於各種具有近距離通信功能的移動終端不需要校準就能夠實現電子支付等刷卡交易。 The technical problem to be solved by the present invention is to provide a card reader that enables a card transaction such as electronic payment for a mobile terminal having various short-range communication functions without calibration.

為解決上述技術問題,本發明提出了一種讀卡器,包括至少一個低 頻發射線圈、至少一個驅動電路、至少一個編碼電路、至少一個第一主處理器、至少一個射頻收發電路和至少一個射頻天線,所述低頻發射線圈、驅動電路、編碼電路、第一主處理器、射頻收發電路、射頻天線順次串聯連接;其中,所述低頻發射線圈、驅動電路、編碼電路組成的低頻發射鏈路工作於預先選定的系統無校準工作的最高頻率f0以下的頻率;所述讀卡器發射預先設定的幅度恒定或微分幅度恒定的低頻交變磁場信號,該低頻交變磁場信號的幅度值對應於設定的物理通訊距離,所述低頻交變磁場信號幅度的誤差小於預設誤差值δR,其中δR的典型範圍為<4dB;進一步地,上述讀卡器還可具有以下特點,所述讀卡器的驅動電路和編碼電路之間還設有調製電路。 In order to solve the above technical problem, the present invention provides a card reader comprising at least one low frequency transmitting coil, at least one driving circuit, at least one encoding circuit, at least one first main processor, at least one radio frequency transceiver circuit and at least one radio frequency antenna. The low frequency transmitting coil, the driving circuit, the encoding circuit, the first main processor, the radio frequency transceiver circuit, and the radio frequency antenna are connected in series; wherein the low frequency transmitting coil, the driving circuit, and the encoding circuit form a low frequency transmitting link The preselected system has no frequency below the highest frequency f0 of the calibration operation; the card reader emits a preset low frequency alternating magnetic field signal having a constant amplitude or a constant differential amplitude, the amplitude value of the low frequency alternating magnetic field signal corresponding to the set The physical communication distance, the error of the amplitude of the low-frequency alternating magnetic field signal is less than the preset error value δ R , wherein the typical range of δ R is <4 dB; further, the card reader may further have the following features, the card reader A modulation circuit is further provided between the driving circuit and the encoding circuit.

進一步地,上述讀卡器還可具有以下特點,所述驅動電路中包含有調整電路。 Further, the card reader may further have the following features, and the driving circuit includes an adjusting circuit.

進一步地,上述讀卡器還可具有以下特點,所述驅動電路由順次串聯的DAC、運算放大器和電阻組成。 Further, the above card reader may also have the following features, the driving circuit is composed of a DAC, an operational amplifier and a resistor connected in series.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈為漆包線線圈或PCB線圈。 Further, the card reader may further have the following features: the low frequency transmitting coil is an enameled wire coil or a PCB coil.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈的匝數大於10圈。 Further, the card reader may further have the following feature: the number of turns of the low frequency transmitting coil is greater than 10 turns.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈的匝數為50~500圈。 Further, the card reader may further have the following feature: the low frequency transmitting coil has a number of turns of 50 to 500 turns.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈內填塞有鐵氧體磁芯或鐵芯。 Further, the card reader may further have the following features: the low frequency transmitting coil is filled with a ferrite core or a core.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈所包圍面積的截面至少包含直徑3cm的圓形區域或者3cm*3cm的方形區域。 Further, the card reader may further have the following feature, the cross section of the area enclosed by the low frequency transmitting coil includes at least a circular area of 3 cm in diameter or a square area of 3 cm * 3 cm.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈所包圍的面積大於10平方釐米。 Further, the card reader may further have the following feature: the area surrounded by the low frequency transmitting coil is greater than 10 square centimeters.

進一步地,上述讀卡器還可具有以下特點,所述低頻發射線圈所包圍的面積為20-1000平方釐米。 Further, the card reader may further have the following features: the area surrounded by the low frequency transmitting coil is 20-1000 square centimeters.

進一步地,上述讀卡器還可具有以下特點,還包括本地磁場強度檢測裝置。 Further, the card reader may further have the following features, and further includes a local magnetic field strength detecting device.

進一步地,上述讀卡器還可具有以下特點,所述本地磁場強度檢測裝置由順次相連的控制器、採樣電路、放大電路和低頻接收線圈組成。 Further, the card reader may further have the following features: the local magnetic field strength detecting device is composed of a sequentially connected controller, a sampling circuit, an amplifying circuit and a low frequency receiving coil.

進一步地,上述讀卡器還可具有以下特點,所述控制器集成在所述第一主處理器中。 Further, the above card reader may further have the following features, and the controller is integrated in the first main processor.

進一步地,上述讀卡器還可具有以下特點,所述低頻交變磁場信號幅度的預設誤差值δR小於4dB。 Further, the card reader may further have the following feature, the preset error value δ R of the amplitude of the low-frequency alternating magnetic field signal is less than 4 dB.

為解決上述技術問題,本發明提出了一種上述任一種讀卡器中系統無校準工作的最高頻率f0的確定方法,包括如下步驟:步驟a1,確定系統的距離控制目標(Din,Dv),所述系統中包含至少一個移動射頻裝置和至少一個讀卡器,其中Din表示距離為0~Din的範圍內所有裝載有所述移動射頻裝置的終端確保可刷卡,Dv表示距離波動範圍,距離為Din~(Din+Dv)的範圍內均允許刷卡,距離大於Din+Dv的範圍不允許刷卡;步驟a2,確定讀卡器導致的移動射頻裝置內檢測電壓的波動範圍δR;步驟a3,確定移動射頻裝置本身導致的檢測電壓的波動範圍δC;步驟a4,在f頻率下測試各典型終端及障礙物的電壓距離曲線; 步驟a5,由距離控制目標(Din,Dv)確定移動射頻裝置內檢測電壓的波動範圍δA,δA等於由各典型終端及障礙物的電壓距離曲線得到的具有平均場強衰減曲線斜率的電壓距離曲線上Din點所對應的電壓值與(Din+Dv)點所對應的電壓值之差;步驟a6,確定由終端導致的移動射頻裝置內檢測電壓的波動範圍δT,δT表示終端衰減特性造成的移動射頻裝置內檢測電壓波動範圍,δTARC;步驟a7,計算各典型終端及障礙物間在距離控制範圍內各距離點上的最大場強差異δ,若δ大於δT,則降低頻率f,轉步驟a4;若δ小於δT,則提高頻率f,轉步驟a4;若δ等於δT,則當前測試頻率f等於系統無校準工作的最高頻率f0。 In order to solve the above technical problem, the present invention provides a method for determining a highest frequency f0 of a system without calibration work in any of the above-mentioned card readers, comprising the following steps: Step a1, determining a distance control target (Din, Dv) of the system, The system includes at least one mobile radio frequency device and at least one card reader, wherein Din represents that all terminals loaded with the mobile radio frequency device within the range of 0~Din ensure that the card can be swiped, Dv represents the range of distance fluctuation, and the distance is Din. ~(Din+Dv) is allowed to swipe in the range, the range of distance greater than Din+Dv is not allowed to swipe; in step a2, the fluctuation range δ R of the detection voltage in the mobile radio device caused by the card reader is determined; step a3, determining the movement The fluctuation range of the detection voltage caused by the radio frequency device itself is δ C ; in step a4, the voltage distance curve of each typical terminal and the obstacle is tested at the f frequency; step a5, the distance control target (Din, Dv) determines the detection in the mobile radio frequency device voltage fluctuation range of δ a, δ a each having an average voltage equal to the distance field voltage terminal and a typical curve obtained obstacles strong attenuation slope of the curve The difference between the voltage value from Din point on the curve corresponding to the voltage value (Din + Dv) the corresponding point; step a6, determining the fluctuation range of the mobile radio apparatus by the terminal due to the detection voltage δ T, δ T represents a terminal attenuation The characteristic voltage fluctuation range in the mobile radio frequency device caused by the characteristic, δ T = δ A - δ R - δ C ; Step a7, calculate the maximum field strength difference δ at each distance point between the typical terminal and the obstacle within the distance control range If δ is greater than δ T , the frequency f is decreased, and step a4 is turned; if δ is less than δ T , the frequency f is increased, and step a4 is turned; if δ is equal to δ T , the current test frequency f is equal to the highest frequency of the system without calibration work. F0.

為解決上述技術問題,本發明提出了一種低頻交變磁場距離控制方法,應用於上面任一項所述的讀卡器,包括以下步驟:步驟a,通過低頻發射通道,持續迴圈發射預定發射參數的低頻交變磁場信號,該信號中包含讀卡器的識別碼IDr,所述預定發射參數包括系統無校準工作的最高頻率f0、編碼方式、調製方式及恒定場強參數;同時,通過射頻通道等待接收來自於含有移動射頻裝置的終端的資訊;步驟b,射頻通道收到含有移動射頻裝置的終端的資訊,該資訊中包含終端返回的讀卡器的識別碼IDr及終端本身的識別碼IDc,解碼出IDr及IDc,比較返回的IDr是否與發出的IDr相同,若相同,則此後的射頻通訊通過(IDr,IDc)組合位址實現讀卡器與終端的唯一綁定通訊,否則通訊錯誤,射頻通道繼續等待接收直至收到正確資料;同時低頻通道持續發射預定發射參數的低頻交變磁場信號;步驟c,通過射頻通道進行交易通訊,直至交易完成。 In order to solve the above technical problem, the present invention provides a low frequency alternating magnetic field distance control method, which is applied to the card reader of any of the above, comprising the following steps: Step a, transmitting a predetermined emission through a low frequency transmission channel a low-frequency alternating magnetic field signal of the parameter, wherein the signal includes an identifier IDr of the card reader, and the predetermined transmission parameter includes a highest frequency f0, a coding mode, a modulation mode, and a constant field strength parameter of the system without calibration work; The channel waits to receive information from the terminal containing the mobile radio device; in step b, the radio channel receives the information of the terminal containing the mobile radio device, and the information includes the identifier IDr of the card reader returned by the terminal and the identification code of the terminal itself. IDc, decode IDr and IDc, compare whether the returned IDr is the same as the IDr sent. If the same, the subsequent RF communication realizes the unique binding communication between the reader and the terminal through the combined address of (IDr, IDc), otherwise communication In error, the RF channel continues to wait until it receives the correct data; at the same time the low frequency channel continues to transmit low of the predetermined transmission parameters. An alternating magnetic field signal; step C, by a radio frequency channel for communication transactions until the transaction is completed.

為解決上述技術問題,本發明提出了一種選擇上面所述的低頻交變磁場距離控制方法中發射參數的方法,包括如下步驟:步驟a1,選擇場強恒定方式,即恒定場強參數,場強恒定方式包括峰值場強幅度恒定和微分場強幅度恒定,選擇峰值場強幅度恒定執行步驟a2,選擇微分場強幅度恒定執行步驟a3,恒定場強參數的幅度誤差小於預設誤差值δR;步驟a2,在峰值場強幅度恒定條件下,選擇編碼方式、調製方式、驅動電壓波形,確定低頻磁場強度目標值,從而選擇驅動電壓幅度、調整參數、低頻發射線圈電阻、低頻發射線圈圈數,測量該選擇參數下低頻磁場強度是否符合預定的低頻磁場強度目標值,若是則發射參數選擇完成,結束,否則重新調整驅動電路以及低頻發射線圈參數,直至測量的低頻磁場強度符合預定的低頻磁場強度目標值;步驟a3,在微分場強幅度恒定條件下,選擇編碼方式、調製方式、驅動電壓波形,確定低頻磁場強度目標值,從而選擇驅動電壓幅度、調整參數、低頻發射線圈電阻、低頻發射線圈圈數,然後測量該選擇參數下低頻磁場強度是否符合預定的低頻磁場強度目標值,若是則發射參數選擇完成,結束,否則重新調整驅動電路以及低頻發射線圈參數,直至測量的低頻磁場強度符合預定的低頻磁場強度目標值。 In order to solve the above technical problem, the present invention provides a method for selecting a transmission parameter in the low frequency alternating magnetic field distance control method described above, comprising the following steps: step a1, selecting a constant field strength mode, that is, a constant field strength parameter, field strength The constant mode includes constant peak field strength amplitude and constant differential field strength amplitude, selecting peak field strength constant to perform step a2, selecting differential field strength constant to perform step a3, and the amplitude error of the constant field strength parameter is less than the preset error value δ R ; In step a2, under the condition that the peak field strength is constant, the coding mode, the modulation mode, and the driving voltage waveform are selected, and the target value of the low frequency magnetic field strength is determined, thereby selecting the driving voltage amplitude, the adjustment parameter, the low frequency transmitting coil resistance, and the low frequency transmitting coil lap. Measuring whether the low-frequency magnetic field strength meets the predetermined low-frequency magnetic field strength target value under the selected parameter, if yes, the transmission parameter selection is completed, and the process ends, otherwise the drive circuit and the low-frequency transmission coil parameters are re-adjusted until the measured low-frequency magnetic field strength meets the predetermined low-frequency magnetic field strength. Target value; step a3, in differential Under strong constant amplitude conditions, select the encoding mode, modulation mode, driving voltage waveform, determine the low frequency magnetic field strength target value, and select the driving voltage amplitude, adjustment parameters, low frequency transmitting coil resistance, low frequency transmitting coil turns, and then measure the selected parameters. Whether the low-frequency magnetic field strength meets the predetermined low-frequency magnetic field strength target value, if yes, the transmission parameter selection is completed, and ends, otherwise the drive circuit and the low-frequency transmission coil parameters are re-adjusted until the measured low-frequency magnetic field strength meets the predetermined low-frequency magnetic field strength target value.

為解決上述技術問題,本發明提出了一種讀卡器的自我調整誤差修正方法,應用於前述任一項帶本地磁場強度檢測裝置的讀卡器,包括如下步驟:步驟1、設置讀卡器中本地磁場強度檢測裝置的測量目標Hs和誤差範圍He,其中He小於預設誤差值δR,則在讀卡器本地磁場強度檢測裝置下的誤差修正場強範圍為[Hs-He,Hs+He]; 步驟2、在測試讀卡器時,讀卡器發射低頻磁場信號,本地磁場強度檢測裝置比較當前接收到的低頻磁場信號的磁場強度,調節讀卡器上的發射調整電路,使讀卡器的磁場強度處於設置的誤差修正場強範圍[Hs-He,Hs+He]內。 In order to solve the above technical problem, the present invention provides a self-adjusting error correction method for a card reader, which is applied to any of the aforementioned card readers with a local magnetic field strength detecting device, and includes the following steps: Step 1. Setting a card reader The measurement target Hs and the error range He of the local magnetic field strength detecting device, wherein He is smaller than the preset error value δ R , the error correction field strength range under the local magnetic field strength detecting device of the card reader is [Hs-He, Hs+He] Step 2: When testing the card reader, the card reader emits a low frequency magnetic field signal, and the local magnetic field strength detecting device compares the magnetic field strength of the currently received low frequency magnetic field signal, adjusts the emission adjustment circuit on the card reader, and makes the card reader The magnetic field strength is within the set error correction field strength range [Hs-He, Hs + He].

為解決上述技術問題,本發明提出了一種應用於上面任一項所述的讀卡器的誤差修正系統,所述誤差修正系統包括被測讀卡器和位於該被測讀卡器上方設定高度處的磁場強度檢測裝置。 In order to solve the above technical problem, the present invention provides an error correction system applied to the card reader according to any of the above, wherein the error correction system includes a card reader to be tested and a set height above the card reader to be tested. Magnetic field strength detecting device.

為解決上述技術問題,本發明提出了一種基於上述讀卡器的誤差修正系統的讀卡器的誤差修正方法,其特徵在於,包括如下步驟:步驟1,設置磁場強度檢測裝置的測量目標Hs和誤差範圍He,則被測讀卡器在標準的磁場強度檢測裝置下的誤差修正場強範圍為[Hs-He,Hs+He],其中He小於預設誤差值δR;步驟2,在測試讀卡器時,被測讀卡器發射低頻磁場信號,磁場強度檢測裝置比較當前接收到的低頻磁場信號的磁場強度,調節被測讀卡器上的發射調整電路,使被測讀卡器的磁場強度處於設置的誤差修正場強範圍[Hs-He,Hs+He]內。 In order to solve the above technical problem, the present invention provides an error correction method for a card reader based on the error correction system of the above card reader, characterized in that it comprises the following steps: Step 1, setting a measurement target Hs of the magnetic field strength detecting device and For the error range He, the error correction field strength range of the card reader under the standard magnetic field strength detecting device is [Hs-He, Hs+He], where He is less than the preset error value δ R ; Step 2, in the test When the card reader is in use, the card reader under test transmits a low frequency magnetic field signal, and the magnetic field strength detecting device compares the magnetic field strength of the currently received low frequency magnetic field signal, and adjusts the emission adjustment circuit on the card reader under test to make the card reader under test The magnetic field strength is within the set error correction field strength range [Hs-He, Hs + He].

為解決上述技術問題,本發明提出了一種檢測干擾讀卡器的方法,合法讀卡器工作時搜索附近是否有低頻或者射頻信號,並對搜索到的低頻或者射頻信號進行解碼,判斷該低頻或者射頻信號中攜帶的資訊是否包含該合法讀卡器的唯一標識碼,若包含則說明附近沒有干擾讀卡器,否則有干擾讀卡器。 In order to solve the above technical problem, the present invention provides a method for detecting an interference card reader. When a legal card reader works, it searches for a low frequency or radio frequency signal nearby, and decodes the searched low frequency or radio frequency signal to determine the low frequency or Whether the information carried in the RF signal contains the unique identification code of the legal card reader. If it is included, it means that there is no interference with the card reader nearby, otherwise it will interfere with the card reader.

進一步地,上述檢測干擾讀卡器的方法還可具有以下特點,所述合法讀卡器進一步檢測接收到的低頻或者射頻信號的信號強度,並根據該信號強度判斷自身與附近干擾讀卡器的距離,若附近的干擾讀卡器在設 定的安全距離以內則報警。 Further, the foregoing method for detecting an interference card reader may further have the following feature: the legal card reader further detects a signal strength of the received low frequency or radio frequency signal, and determines, according to the signal strength, itself and the nearby interference card reader. Distance, if the nearby interference card reader is set The alarm is within a certain safe distance.

本發明的讀卡器使得對於各種具有近距離通信功能的移動終端不需要校準就能夠實現電子支付等刷卡交易。 The card reader of the present invention enables card swiping transactions such as electronic payment without requiring calibration for various mobile terminals having short-range communication functions.

圖式簡單說明 Simple illustration

第1圖為線圈接收電路放入各種移動終端內,在同一14443 POS機上保持13.56MHz載波恒定的情況下測試的電壓-距離曲線;第2圖為本發明近距離通信方法中系統無校準工作的最高頻率f0的選擇系統結構框圖;第3圖為由距離控制目標(Din,Dv)確定系統總的接收檢測電壓波動範圍δA的示意圖;第4圖為典型終端及障礙物電壓距離曲線及其波動區間δ示意圖;第5圖為頻率f為3.3KHz時5種典型移動終端的電壓距離曲線;第6圖為移動射頻裝置內部檢測到的無調製直接基帶發射時的接收電壓信號和正弦波FSK調製時的接收電壓信號的電壓波形圖;第7圖為基準電壓距離曲線的計算方法示意圖;第8圖為本發明實施例中近距離通信系統的結構圖;第9圖為讀卡器低頻發射部分示意圖;第10圖為讀卡器低頻數據框架格式示意圖;第11圖為線圈接收電路放入各種移動終端內,用信號源通過低頻發射線圈發射恒定1KHz磁場條件下測試的電壓距離曲線;第12圖為本發明實施例中讀卡器的結構圖;第13圖為第12圖中驅動部分的一種結構圖;第14圖為峰值場強幅度恒定的直流或者交流磁場的典型形式示意圖; 第15圖為微分場強幅度恒定的低頻交流磁場的典型形式示意圖;第16圖為本發明實施例中讀卡器發射參數的選擇流程圖;第17圖為讀卡器的誤差控制系統圖;第18圖為本發明實施例中帶誤差控制裝置的讀卡器的結構圖。 The first picture shows the voltage-distance curve tested when the coil receiving circuit is placed in various mobile terminals and the 13.56 MHz carrier is kept constant on the same 14443 POS machine. The second picture shows the system without calibration in the short-distance communication method of the present invention. The block diagram of the selection system of the highest frequency f0; Figure 3 is a schematic diagram of determining the total receiving detection voltage fluctuation range δ A of the system by the distance control target (Din, Dv); Figure 4 is the typical terminal and obstacle voltage distance curve. And its fluctuation interval δ schematic diagram; Figure 5 is the voltage distance curve of five typical mobile terminals when the frequency f is 3.3KHz; Figure 6 is the received voltage signal and sine of the unmodulated direct baseband transmission detected inside the mobile RF device FIG. 7 is a schematic diagram of a calculation method of a reference voltage distance curve; FIG. 8 is a structural diagram of a short-range communication system according to an embodiment of the present invention; and FIG. 9 is a card reader. Schematic diagram of the low-frequency transmitting part; Figure 10 is a schematic diagram of the format of the low-frequency data frame of the card reader; Figure 11 shows the coil receiving circuit placed in various mobile terminals and passed by the signal source. The low-frequency transmitting coil emits a voltage distance curve tested under a constant 1 KHz magnetic field; FIG. 12 is a structural view of the card reader in the embodiment of the present invention; and FIG. 13 is a structural view of the driving portion in FIG. 12; Schematic diagram of a typical form of a direct current or alternating magnetic field having a constant peak field strength; Fig. 15 is a schematic diagram showing a typical form of a low frequency alternating magnetic field having a constant differential field strength; and Fig. 16 is a flow chart for selecting a transmission parameter of a card reader in an embodiment of the present invention; Fig. 17 is a diagram showing an error control system of the card reader; Fig. 18 is a structural diagram of a card reader with an error control device according to an embodiment of the present invention.

100‧‧‧讀卡器 100‧‧‧ card reader

101‧‧‧第一主處理器 101‧‧‧First main processor

102‧‧‧介面電路 102‧‧‧Interface circuit

103‧‧‧RF收發電路 103‧‧‧RF transceiver circuit

104‧‧‧RF天線 104‧‧‧RF antenna

105‧‧‧低頻發射線圈 105‧‧‧Low frequency transmitting coil

106‧‧‧驅動電路 106‧‧‧Drive circuit

107‧‧‧電路 107‧‧‧ Circuitry

108‧‧‧編碼電路 108‧‧‧Code Circuit

200‧‧‧移動射頻裝置 200‧‧‧Mobile RF device

201‧‧‧第二主處理器 201‧‧‧Second main processor

202‧‧‧SIM/TF/SD卡模組 202‧‧‧SIM/TF/SD card module

203‧‧‧RF收發電路 203‧‧‧RF transceiver circuit

204‧‧‧RF天線 204‧‧‧RF antenna

205‧‧‧門限判斷及解調電路 205‧‧‧ threshold judgment and demodulation circuit

206‧‧‧低頻放大電路 206‧‧‧Low frequency amplifier circuit

207‧‧‧低頻磁感應電路 207‧‧‧Low frequency magnetic induction circuit

301‧‧‧低頻交變磁場 301‧‧‧Low-frequency alternating magnetic field

303‧‧‧低頻磁檢測電壓信號 303‧‧‧Low frequency magnetic detection voltage signal

501‧‧‧移動終端 501‧‧‧Mobile terminal

502‧‧‧低頻接收模組 502‧‧‧Low frequency receiving module

503‧‧‧信號強度測試儀 503‧‧‧Signal Strength Tester

504‧‧‧低頻磁場發射線圈 504‧‧‧Low frequency magnetic field transmitting coil

505‧‧‧信號源 505‧‧‧Signal source

1100‧‧‧射頻收發部分 1100‧‧‧RF Transceiver Section

1101‧‧‧控制器 1101‧‧‧ Controller

1102‧‧‧射頻收發機 1102‧‧‧RF Transceiver

1103‧‧‧射頻天線 1103‧‧‧RF antenna

1200‧‧‧低頻磁場發射部分 1200‧‧‧Low frequency magnetic field emission part

1201‧‧‧編碼電路 1201‧‧‧Code Circuit

1202‧‧‧調製電路 1202‧‧‧Modulation circuit

1203‧‧‧驅動部分 1203‧‧‧Drive section

1204‧‧‧低頻發射線圈 1204‧‧‧Low frequency transmitting coil

1213‧‧‧DAC 1213‧‧‧DAC

1223‧‧‧運放 1223‧‧‧Operation

1233‧‧‧電阻 1233‧‧‧resistance

1400‧‧‧誤差修正部分 1400‧‧‧ Error correction section

1401‧‧‧採樣電路 1401‧‧‧Sampling circuit

1402‧‧‧放大電路 1402‧‧‧Amplification circuit

1403‧‧‧低頻接收線圈 1403‧‧‧Low frequency receiving coil

1701‧‧‧磁場強度檢測裝置 1701‧‧‧Magnetic field strength measuring device

1702‧‧‧修正讀卡器 1702‧‧‧Revised card reader

f0‧‧‧頻點 F0‧‧‧ frequency

Vt‧‧‧門限 Vt‧‧‧ threshold

第1圖為線圈接收電路放入各種移動終端內,在同一14443 POS機上保持13.56MHz載波恒定的情況下測試的電壓-距離曲線;第2圖為本發明近距離通信方法中系統無校準工作的最高頻率f0的選擇系統結構框圖;第3圖為由距離控制目標(Din,Dv)確定系統總的接收檢測電壓波動範圍δA的示意圖;第4圖為典型終端及障礙物電壓距離曲線及其波動區間δ示意圖;第5圖為頻率f為3.3KHz時5種典型移動終端的電壓距離曲線;第6圖為移動射頻裝置內部檢測到的無調製直接基帶發射時的接收電壓信號和正弦波FSK調製時的接收電壓信號的電壓波形圖;第7圖為基準電壓距離曲線的計算方法示意圖;第8圖為本發明實施例中近距離通信系統的結構圖;第9圖為讀卡器低頻發射部分示意圖;第10圖為讀卡器低頻數據框架格式示意圖;第11圖為線圈接收電路放入各種移動終端內,用信號源通過低頻發射線圈發射恒定1KHz磁場條件下測試的電壓距離曲線;第12圖為本發明實施例中讀卡器的結構圖;第13圖為第12圖中驅動部分的一種結構圖;第14圖為峰值場強幅度恒定的直流或者交流磁場的典型形式示意 圖;第15圖為微分場強幅度恒定的低頻交流磁場的典型形式示意圖;第16圖為本發明實施例中讀卡器發射參數的選擇流程圖;第17圖為讀卡器的誤差控制系統圖;第18圖為本發明實施例中帶誤差控制裝置的讀卡器的結構圖。 The first picture shows the voltage-distance curve tested when the coil receiving circuit is placed in various mobile terminals and the 13.56 MHz carrier is kept constant on the same 14443 POS machine. The second picture shows the system without calibration in the short-distance communication method of the present invention. The block diagram of the selection system of the highest frequency f0; Figure 3 is a schematic diagram of determining the total receiving detection voltage fluctuation range δ A of the system by the distance control target (Din, Dv); Figure 4 is the typical terminal and obstacle voltage distance curve. And its fluctuation interval δ schematic diagram; Figure 5 is the voltage distance curve of five typical mobile terminals when the frequency f is 3.3KHz; Figure 6 is the received voltage signal and sine of the unmodulated direct baseband transmission detected inside the mobile RF device FIG. 7 is a schematic diagram of a calculation method of a reference voltage distance curve; FIG. 8 is a structural diagram of a short-range communication system according to an embodiment of the present invention; and FIG. 9 is a card reader. Schematic diagram of the low-frequency transmitting part; Figure 10 is a schematic diagram of the format of the low-frequency data frame of the card reader; Figure 11 shows the coil receiving circuit placed in various mobile terminals and passed by the signal source. The low-frequency transmitting coil emits a voltage distance curve tested under a constant 1 KHz magnetic field; FIG. 12 is a structural view of the card reader in the embodiment of the present invention; and FIG. 13 is a structural view of the driving portion in FIG. 12; Schematic diagram of a typical form of a direct current or alternating magnetic field having a constant peak field strength; Fig. 15 is a schematic diagram showing a typical form of a low frequency alternating magnetic field having a constant differential field strength; and Fig. 16 is a flow chart for selecting a transmission parameter of a card reader in an embodiment of the present invention; Fig. 17 is a diagram showing an error control system of the card reader; Fig. 18 is a structural diagram of a card reader with an error control device according to an embodiment of the present invention.

較佳實施例之詳細說明 Detailed description of the preferred embodiment

在此首先說明,以下本文中所出現的終端在預設情況下指裝載有移動射頻裝置的終端,而且指能夠移動的終端,即移動終端,如手機等,距離指讀卡器與移動射頻裝置之間的距離,也即讀卡器與裝載有移動射頻裝置的終端之間的距離。 Firstly, the terminal appearing in the following refers to a terminal loaded with a mobile radio device in a preset case, and refers to a terminal that can be moved, that is, a mobile terminal, such as a mobile phone, a distance finger reader and a mobile radio device. The distance between the reader and the terminal loaded with the mobile radio device.

本發明針對射頻裝置(尤其是內置於終端中的射頻卡,如射頻SIM卡)與讀卡器裝置近距離交易的距離控制問題,提出了一種由帶有低頻交變磁場發射功能及射頻信號收發功能的讀卡器和與之對應的帶有低頻交變磁場感應接收功能及射頻信號收發功能的移動射頻裝置組成的近距離通信系統,以及與該系統對應的近距離通信方法。本發明利用低頻交變磁場穿透不同終端衰減差異小的特點進行距離控制,利用高頻射頻能有效穿透終端來完成高速雙向通訊進行交易。系統通過預先設定好的門限判定方法來完成無需校準的距離檢測和控制,即讀卡器按照預設的發射參數發射低頻交變磁場信號,移動射頻裝置在各距離點上檢測該磁場信號並放大為與距離對應的幅度恒定的電壓信號,進而通過預先設定的電壓門限Vt來判斷終端是否進入預先設定的有效距離區間(有效距離區間也即允許刷卡的範圍),該電壓門限Vt對所有終端相同,無需校準。本發明通過低頻單向通訊和RF雙向通訊結合的方法來完成讀卡器和移動射頻裝置 的唯一綁定,綁定之後通過射頻通道來完成雙向的高速大資料量的通訊。本發明系統可以實現含有移動射頻裝置的終端(如裝有射頻SIM卡的手機)與讀卡器的資料通信距離(也即交易距離)可靠地控制在規定範圍內,並且無需對終端進行校準。 The invention aims at the distance control problem of the short-distance transaction of the radio frequency device (especially the radio frequency card built in the terminal, such as the radio frequency SIM card) and the card reader device, and proposes a function of transmitting and receiving with low frequency alternating magnetic field and transmitting and receiving radio frequency signals. The function of the card reader and the corresponding short-range communication system comprising a low-frequency alternating magnetic field induction receiving function and a radio frequency signal transceiving function, and a short-distance communication method corresponding to the system. The invention utilizes the characteristics of low-frequency alternating magnetic field penetrating different terminal attenuation differences to perform distance control, and uses high-frequency radio frequency to effectively penetrate the terminal to complete high-speed two-way communication for transaction. The system performs the distance detection and control without calibration by a preset threshold determination method, that is, the card reader transmits the low frequency alternating magnetic field signal according to the preset transmission parameter, and the mobile radio frequency device detects the magnetic field signal at each distance point and amplifies the signal. A voltage signal having a constant amplitude corresponding to the distance is further determined by a preset voltage threshold Vt to determine whether the terminal enters a preset effective distance interval (a range of effective distances, that is, a range in which the card is allowed to be swiped), and the voltage threshold Vt is the same for all terminals. No calibration required. The invention completes the card reader and the mobile radio device by the combination of the low frequency one-way communication and the RF two-way communication The unique binding, after binding, through the RF channel to complete two-way high-speed large data volume communication. The system of the present invention can realize that the data communication distance (ie, the transaction distance) of the terminal (such as the mobile phone equipped with the radio frequency SIM card) containing the mobile radio frequency device and the card reader is reliably controlled within a prescribed range, and the terminal is not required to be calibrated.

以下結合附圖對本發明的原理和特徵進行描述,所舉實例只用於解釋本發明,並非用於限定本發明的範圍。 The principles and features of the present invention are described in the following with reference to the accompanying drawings.

本發明的近距離通信方法,應用於包括至少一個讀卡器和至少一個移動射頻裝置的近距離通信系統,包括如下的步驟a、步驟b、步驟c和步驟d四個步驟,下面分別對各個步驟進行具體說明: The short-range communication method of the present invention is applied to a short-range communication system including at least one card reader and at least one mobile radio frequency device, and includes the following four steps of step a, step b, step c and step d, respectively The steps are specified:

步驟a,讀卡器按照預設的發射參數發射低頻交變磁場信號,該低頻交變磁場信號中攜帶該讀卡器的身份標識資訊,其中,發射參數包括低頻交變磁場信號的頻率,該頻率等於或小於系統無校準工作的最高頻率f0;其中,身份標識資訊可以是識別碼ID。 Step a, the card reader transmits a low frequency alternating magnetic field signal according to a preset transmission parameter, where the low frequency alternating magnetic field signal carries the identity identification information of the card reader, wherein the transmission parameter includes a frequency of the low frequency alternating magnetic field signal, The frequency is equal to or less than the highest frequency f0 of the system without calibration work; wherein the identity information may be an identification code ID.

這裡需要說明的是,本步驟中低頻交變磁場信號的頻率是指所述低頻交變信號的頻譜上3dB頻寬的高端頻率截止點所對應的頻率。 It should be noted here that the frequency of the low-frequency alternating magnetic field signal in this step refers to the frequency corresponding to the high-end frequency cut-off point of the 3 dB bandwidth of the spectrum of the low-frequency alternating signal.

低頻交變磁場頻率越低,穿過各種類型的終端後衰減的差異越小,利用該特性,在頻點選擇系統(如第2圖所示)中選定差異足夠小的頻點,以實現無校準距離控制。採用標準信號源通過標準的磁場發射線圈發送低頻交變磁場信號,在各個典型的移動終端及障礙物內部接收該低頻交變磁場信號,調整發射頻率直到找到頻點f0,使移動射頻裝置(裝載在移動終端中)接收到的電壓(該電壓是由低頻交變磁場信號經放大後得到的與距離對應的幅度恒定的的電壓信號)在距離發射線圈平面中心點相同距離條件下,不同終端及障礙物間的場強差異大致等於設定的波動範圍δT,該頻點f0及低於該頻點f0的頻段是系統無校準工作的頻段,不需要校 準任何系統中的任何終端,工作頻點(即前述的低頻交變磁場信號的頻率)高於f0,系統需要校準,通常工作頻點高於f0越多,需要校準的終端越多,校準的複雜度越高。頻點選定是一次性工作,一旦選定,在使用中無需更改。 The lower the frequency of the low-frequency alternating magnetic field, the smaller the difference in attenuation after passing through various types of terminals. With this characteristic, the frequency selection system (as shown in Fig. 2) selects frequency points with sufficiently small differences to achieve no Calibrate distance control. The low frequency alternating magnetic field signal is transmitted through a standard magnetic field transmitting coil by using a standard signal source, and the low frequency alternating magnetic field signal is received inside each typical mobile terminal and obstacle, and the transmitting frequency is adjusted until the frequency point f0 is found, so that the mobile radio frequency device is loaded (loading In the mobile terminal, the received voltage (the voltage is a voltage signal whose amplitude corresponding to the distance obtained by the low-frequency alternating magnetic field signal is amplified) is at the same distance from the center point of the plane of the transmitting coil, and different terminals and The field strength difference between the obstacles is roughly equal to the set fluctuation range δ T . The frequency point f0 and the frequency band lower than the frequency point f0 are the frequency bands in which the system has no calibration work. It is not necessary to calibrate any terminal in any system, and the working frequency point (The frequency of the aforementioned low-frequency alternating magnetic field signal) is higher than f0, and the system needs to be calibrated. Generally, the more the operating frequency is higher than f0, the more terminals that need to be calibrated, the higher the calibration complexity. Frequency selection is a one-time job, once selected, no changes are needed during use.

第2圖為本發明近距離通信方法中系統無校準工作的最高頻率f0的選擇系統結構框圖,如第2圖所示,頻點選擇系統的組成為:發送系統由信號源505和低頻磁場發射線圈504組成,接收系統由典型移動終端501及障礙物、信號強度測試儀503(電壓表、示波器、頻譜儀等)組成,移動終端501內部具有低頻接收模組502。信號源505可以精確的產生各種頻率、波形和幅度的信號。頻點選擇的原理是:信號源505產生固定幅度頻率為f的正弦波信號,通過發射線圈504發送,低頻接收模組502放置在選定的典型移動終端501或障礙物內部,接收到的低頻信號通過專用信號線接到信號強度測試儀503,信號強度測試儀503測試接收到的電壓。改變移動終端的距離可以得到該移動終端或障礙物在頻率f條件下的檢測電壓隨距離變化的曲線(以下稱為電壓距離曲線),更換移動終端或障礙物可以得到多個終端的曲線,改變頻率f也可以得到不同的曲線。 2 is a structural block diagram of a selection system of the highest frequency f0 in which the system has no calibration work in the short-range communication method of the present invention. As shown in FIG. 2, the frequency point selection system has the following components: the transmission system consists of a signal source 505 and a low-frequency magnetic field. The transmitting coil is composed of a typical mobile terminal 501 and an obstacle, a signal strength tester 503 (a voltmeter, an oscilloscope, a spectrum analyzer, etc.), and the mobile terminal 501 has a low frequency receiving module 502 therein. Signal source 505 can accurately generate signals of various frequencies, waveforms, and amplitudes. The principle of frequency point selection is that the signal source 505 generates a sine wave signal with a fixed amplitude frequency f, which is transmitted through the transmitting coil 504, and the low frequency receiving module 502 is placed inside the selected typical mobile terminal 501 or obstacle, and the received low frequency signal. The signal strength tester 503 is connected to the signal strength tester 503 through a dedicated signal line, and the signal strength tester 503 tests the received voltage. Changing the distance of the mobile terminal can obtain a curve of the detection voltage of the mobile terminal or the obstacle under the condition of the frequency f (hereinafter referred to as a voltage distance curve), and changing the mobile terminal or the obstacle can obtain a curve of the plurality of terminals, and change A different curve can also be obtained for the frequency f.

步驟a中,系統無校準工作的最高頻率f0通過下述步驟確定: In step a, the highest frequency f0 of the system without calibration work is determined by the following steps:

步驟101,確定距離控制目標(Din,Dv),其中Din表示0~Din範圍內所有終端確保可刷卡,Dv表示距離波動範圍,距離為Din~(Din+Dv)的範圍內均允許刷卡,距離大於Din+Dv範圍不允許刷卡;例如(5cm,5cm)表示5cm以下所有終端確保可刷卡,5cm~10cm允許刷卡,超過10cm不能刷卡。距離控制目標由具體的應用確定。(0~Din+Dv)稱為距離控制範圍。 Step 101, determining a distance control target (Din, Dv), wherein Din indicates that all terminals in the range of 0~Din ensure that the card can be swiped, Dv represents the range of distance fluctuation, and the distance is allowed to be swiped within the range of Din~(Din+Dv). More than Din+Dv range is not allowed to swipe; for example (5cm, 5cm) means that all terminals below 5cm ensure that the card can be swiped, 5cm~10cm allow swiping, and more than 10cm can not swipe. The distance control target is determined by the specific application. (0~Din+Dv) is called the distance control range.

步驟102,確定讀卡器導致的移動射頻裝置內檢測電壓的波動範圍δ R;讀卡器低頻發射電路參數波動形成發射場強的波動,造成移動射頻裝置內檢測電壓的波動,該參數包括發射驅動電壓波動、線圈參數波動、溫度影響等。δR由讀卡器設計及生產環節來控制,該波動可以在生產環節校準,由於低頻發射電路工作頻率很低,通常δR可以被控制得很好,例如4dB以內。 Step 102: determining a fluctuation range δ R of the detection voltage in the mobile radio frequency device caused by the card reader; the fluctuation of the low frequency transmission circuit parameter of the card reader forms a fluctuation of the transmission field strength, causing fluctuation of the detection voltage in the mobile radio frequency device, and the parameter includes the transmission. Drive voltage fluctuations, coil parameter fluctuations, temperature effects, etc. δ R is controlled by the reader design and production process. This fluctuation can be calibrated in the production process. Since the low frequency transmitting circuit operates at a low frequency, δ R can usually be controlled well, for example, within 4 dB.

步驟103,確定移動射頻裝置本身導致的檢測電壓的波動範圍δC;移動射頻裝置本身低頻接收電路參數波動造成的最終檢測輸出電壓的波動,該參數包括接收天線誤差、放大器增益誤差、比較器或AD誤差、溫度影響及雜訊等。δC由移動射頻裝置設計及生產環節來控制,該波動可以在生產環節校準,由於移動射頻裝置低頻接收電路工作頻率很低,通常δC可以被控制得很好,例如4dB以內。 Step 103: determining a fluctuation range δ C of the detection voltage caused by the mobile radio frequency device itself; and fluctuating the final detection output voltage caused by the fluctuation of the low frequency receiving circuit parameter of the mobile radio frequency device, the parameter including the receiving antenna error, the amplifier gain error, the comparator or AD error, temperature effects, and noise. δ C is controlled by the design and production of mobile RF devices. This fluctuation can be calibrated at the production stage. Since the operating frequency of the low frequency receiving circuit of the mobile RF device is very low, δ C can usually be controlled well, for example, within 4 dB.

步驟104,在f頻率下測試各典型終端及障礙物的電壓距離曲線,其中f頻率為處於特低頻頻段或甚低頻頻段或低頻頻段中的任一頻率,特低頻頻段的頻率範圍為300Hz~3000Hz,甚低頻頻段的頻率範圍為3KHz~30KHz,低頻頻段的頻率範圍為30KHz~300KHz;在進行本步驟104之前先要做個準備工作,即選定典型終端及典型障礙物。典型終端的選取原則主要依據終端金屬或導電結構的多少來選取,金屬越多,衰減越大,例如可以選取塑膠外殼、金屬外殼、厚金屬殼、薄金屬殼、大尺寸終端、小尺寸終端等,典型終端的數量不嚴格限制,典型終端的選取基本可以覆蓋終端對低頻交變磁場信號的衰減特點。為了避免個別移動終端差異太大,可以在應用中加入移動終端型號認證,對每種需要支援支付應用的移動終端嘗試做刷卡測試,確認該型號的移動終端衰減特性符合要求。典型障礙物可以選擇不同材質的標準 形狀的塑膠、鋁、銅、鐵、不銹鋼等移動終端常見材料,放置在讀卡器和移動射頻裝置之間作為移動終端衰減特性的一種等效障礙物測量衰減效果。 Step 104, testing the voltage distance curve of each typical terminal and obstacle at the f frequency, wherein the f frequency is in any of the ultra low frequency band or the low frequency band or the low frequency band, and the frequency range of the special low frequency band is 300 Hz to 3000 Hz. The frequency range of the very low frequency band is 3KHz~30KHz, and the frequency range of the low frequency band is 30KHz~300KHz. Before performing this step 104, a preparatory work is to be performed, that is, a typical terminal and a typical obstacle are selected. The selection principle of a typical terminal is mainly selected according to the number of terminal metals or conductive structures. The more metal, the greater the attenuation. For example, plastic casing, metal casing, thick metal shell, thin metal shell, large-size terminal, small-sized terminal, etc. can be selected. The number of typical terminals is not strictly limited. The selection of a typical terminal can basically cover the attenuation characteristics of the terminal to the low-frequency alternating magnetic field signal. In order to avoid the difference of individual mobile terminals, the mobile terminal model authentication may be added in the application, and the mobile terminal that needs to support the payment application is attempted to perform a card test to confirm that the attenuation characteristics of the mobile terminal of the model meet the requirements. Typical obstacles can choose the standard of different materials Shapes of plastic, aluminum, copper, iron, stainless steel and other mobile terminal common materials, placed between the card reader and the mobile radio device as an equivalent obstacle measurement attenuation effect of the mobile terminal attenuation characteristics.

步驟105,由距離控制目標(Din,Dv)確定移動射頻裝置內檢測電壓的波動範圍δA,δA等於由各典型終端及障礙物的電壓距離曲線得到的具有平均場強衰減曲線斜率的電壓距離曲線上Din點所對應的電壓值與(Din+Dv)點所對應的電壓值之差;第3圖為由距離控制目標(Din,Dv)確定系統總的接收檢測電壓波動範圍δA的示意圖。如第3圖所示,(Din+Dv)點所對應的電壓值為V2,Din點所對應的電壓值為V1,則δA=V1-V2。 Step 105: Determine, by the distance control target (Din, Dv), a fluctuation range δ A of the detection voltage in the mobile radio frequency device, and δ A is equal to a voltage having a slope of the average field strength attenuation curve obtained from a voltage distance curve of each typical terminal and the obstacle The difference between the voltage value corresponding to the Din point on the curve and the voltage value corresponding to the (Din+Dv) point; the third figure is the total receiving detection voltage fluctuation range δ A determined by the distance control target (Din, Dv) schematic diagram. As shown in Fig. 3, the voltage value corresponding to the (Din+Dv) point is V2, and the voltage value corresponding to the Din point is V1, then δ A = V1 - V2.

步驟106,確定由終端導致的移動射頻裝置內檢測電壓的波動範圍δT,參數δT表示終端衰減特性造成的移動射頻裝置內檢測電壓波動範圍,δTARCStep 106: determining a fluctuation range δ T of the detected voltage in the mobile radio frequency device caused by the terminal, where the parameter δ T represents a range of detection voltage fluctuations in the mobile radio frequency device caused by the terminal attenuation characteristic, δ T = δ A - δ R - δ C ;

步驟107,計算各典型終端及障礙物間在距離控制範圍內各距離點上的最大場強差異δ(又稱為波動區間),若δ大於δT,則降低頻率f,轉步驟a4;若δ小於δT,則提高頻率f,轉步驟a4;若δ等於δT,則當前測試頻率f等於系統無校準工作的最高頻率f0。 Step 107: Calculate a maximum field strength difference δ (also referred to as a fluctuation interval) at each distance point between each typical terminal and an obstacle in a distance control range. If δ is greater than δ T , decrease the frequency f, and go to step a4; If δ is smaller than δ T , the frequency f is increased, and step a4 is turned; if δ is equal to δ T , the current test frequency f is equal to the highest frequency f0 of the system without calibration work.

第4圖為典型終端及障礙物電壓距離曲線及其波動區間δ示意圖。如第4圖所示,最大衰減終端或障礙物對應的電壓距離曲線稱為最大衰減曲線,最小衰減終端或障礙物對應的電壓距離曲線稱為最小衰減曲線,最大及最小衰減曲線包圍的區域稱為典型終端及障礙物電壓距離曲線分佈區間,任意距離D在最小衰減曲線上對應的電壓為V3,在最大衰減曲線上對應的電壓為V4,則δ=V3-V4。 Figure 4 is a typical terminal and obstacle voltage distance curve and its fluctuation interval δ schematic. As shown in Figure 4, the voltage distance curve corresponding to the maximum attenuation terminal or obstacle is called the maximum attenuation curve. The voltage attenuation curve corresponding to the minimum attenuation terminal or obstacle is called the minimum attenuation curve, and the area surrounded by the maximum and minimum attenuation curves is called For a typical terminal and obstacle voltage distance curve distribution interval, the voltage corresponding to the minimum attenuation curve of any distance D is V3, and the corresponding voltage on the maximum attenuation curve is V4, then δ=V3-V4.

至此,在限定距離控制目標的情況下,系統無校準工作的最高頻率f0 就確定下來了。系統可以採用調製的方式,也可以採用直接發送基帶信號的方式,系統工作的主要頻率分量最高只要不大於f0,距離控制就無需校準。 At this point, in the case of limiting the distance control target, the system has no calibration frequency of the highest frequency f0 It is sure. The system can adopt the modulation method or the method of directly transmitting the baseband signal. The maximum frequency component of the system operation is as long as it is not greater than f0, and the distance control does not need to be calibrated.

舉例說明f0的確定過程。第5圖為頻率f為3.3KHz時5種典型移動終端的電壓距離曲線。如第5圖所示,系統距離控制目標為(5cm,5cm),系統0~10cm距離區間電壓的變化範圍約為40dB,讀卡器和移動射頻裝置導致的移動射頻裝置內檢測電壓波動均為4dB,即δRC=4dB,δA=20dB,δTARC=12dB。假設5種終端可以代表系統所使用的所有終端,檢查曲線在各距離點上的最大波動約等於12dB,因此該系統無校準工作的最高頻率f0可確定為f0=3.3KHz。 An example of the determination process of f0. Figure 5 is a voltage distance curve of five typical mobile terminals at a frequency f of 3.3 kHz. As shown in Figure 5, the system distance control target is (5cm, 5cm), the range of the system 0~10cm distance voltage is about 40dB, and the detection voltage fluctuations in the mobile RF device caused by the reader and mobile radio device are 4 dB, ie δ R = δ C = 4 dB, δ A = 20 dB, δ T = δ A - δ R - δ C = 12 dB. Assuming that the five terminals can represent all the terminals used by the system, the maximum fluctuation of the inspection curve at each distance point is approximately equal to 12 dB, so the highest frequency f0 of the system without calibration work can be determined as f0=3.3 KHz.

步驟a中,發射參數還可以包括調製方式、編碼方式及發射磁感應強度幅值Br。發射參數選定的基本原則是保證移動射頻裝置在各距離點上對讀卡器所發射的低頻交變磁場信號檢測並放大後的信號是與距離對應的幅度恒定的電壓信號。第6圖為移動射頻裝置內部檢測到的無調製直接基帶發射時的接收電壓信號和正弦波FSK調製時的接收電壓信號的電壓波形圖,其中,a為無調製直接基帶發射時的接收電壓信號波形圖,b為正弦波FSK調製時的接收電壓信號波形圖。如第6圖所示,檢測電壓信號是包含解調資訊的變化電壓信號,該信號可以為無直流分量的交流電壓信號,也可以是有直流分量的電壓信號,幅度恒定是指交流分量的變化最大幅度在不同傳輸符號間恒定。 In step a, the transmission parameters may further include a modulation mode, an encoding mode, and a transmitting magnetic induction intensity amplitude Br. The basic principle of selecting the transmission parameters is to ensure that the mobile radio frequency device detects and amplifies the low-frequency alternating magnetic field signal emitted by the card reader at various distance points, and the signal is a voltage signal with a constant amplitude corresponding to the distance. Figure 6 is a voltage waveform diagram of the received voltage signal and the received voltage signal when the sinusoidal FSK modulation is detected in the unmodulated direct baseband transmission detected by the mobile radio frequency device, where a is the received voltage signal when the direct baseband is transmitted without modulation. Waveform diagram, b is the waveform of the received voltage signal when sinusoidal FSK modulation. As shown in FIG. 6, the detection voltage signal is a variable voltage signal including demodulation information, and the signal may be an AC voltage signal without a DC component or a voltage signal having a DC component, and the constant amplitude refers to a change of an AC component. The maximum is constant between different transmission symbols.

發射參數中的調製方式、編碼方式及發射磁感應強度幅值Br通過下述步驟a11至步驟a13選定:步驟a11,選定任意一種無平均直流分量的編碼方式,例如曼徹斯特碼,差分曼徹斯特碼,歸零碼等; 步驟a12,選擇無調製方式或幅度無變化的載波調製方式,載波調製方式可以選定任意一種幅度無變化的調製方式,例如載波可以採用正弦波、脈衝、三角波等,調製方式可以選為開關鍵控法(OOK)、相移鍵控法或頻移鍵控法(FSK)等;採用無調製方式時,編碼後的基帶信號直接經驅動電路驅動由發射線圈發射;步驟a13,選定發射磁感應強度幅值Br,方法為:在選定的小於f0的工作頻率、調製方式及編碼方式下,先選定典型雜訊終端及易於實現的移動射頻裝置內磁檢測及放大的增益參數,將包含移動射頻裝置的移動終端放置在離讀卡器為距離控制目標最遠處即Din+Dv距離處,如果移動射頻裝置採用霍爾器件、巨磁阻器件等檢測磁場強度值的磁感應電路接收,則讀卡器發射磁感應強度變化幅度恒定的磁場信號;如果移動射頻裝置採用線圈等檢測磁場強度變化率的感應電路接收,則讀卡器發射磁感應強度變化率幅度(即微分幅度)恒定的磁場信號,測試讀卡器未發送低頻交變磁場信號條件下移動射頻裝置內檢測電壓的固有雜訊電壓幅度Vn,然後測量讀卡器用選定的調製編碼方式發送低頻交變磁場信號時移動射頻裝置內的檢測電壓Vr,選擇發射幅度值Bgate或微分幅度值B_RATEgate,使Vr/Vn>SNR,SNR為移動射頻裝置的信噪比。SNR值的選擇通常越大越好,但是太大會造成讀卡器發送功率過大,實現困難,典型值可選擇SNR=10。當SNR確定,Br通過上述方式便確定了,根據系統選擇的磁感應電路類型不同,Br參數值分為兩種,霍爾器件及巨磁阻器件接收系統為磁感應強度幅值門限Bgate,線圈接收系統為磁感應強度變化率幅值門限B_RATEgate。 The modulation mode, the coding mode and the emission magnetic induction intensity amplitude Br in the transmission parameters are selected by the following steps a11 to a13: step a11, selecting any coding mode without the average DC component, such as Manchester code, differential Manchester code, zeroing Code, etc. In step a12, a carrier modulation mode with no modulation mode or no amplitude change is selected, and the carrier modulation mode may select any modulation mode with no change in amplitude. For example, the carrier may adopt a sine wave, a pulse, a triangular wave, etc., and the modulation mode may be selected as an open key control. Method (OOK), phase shift keying method or frequency shift keying method (FSK); when using no modulation method, the encoded baseband signal is directly driven by the transmitting coil by the driving circuit; in step a13, the selected transmitting magnetic induction intensity is selected. The value Br is obtained by selecting a typical noise terminal and an easy-to-implement gain parameter of the magnetic detection and amplification in the mobile radio device under the selected operating frequency, modulation mode and coding mode less than f0, which will include the mobile radio device. The mobile terminal is placed at a distance from the card reader at a distance far from the control target, that is, Din+Dv. If the mobile radio device is received by a magnetic induction circuit that detects a magnetic field strength value such as a Hall device or a giant magnetoresistive device, the reader emits A magnetic field signal having a constant amplitude of change in magnetic induction intensity; if the mobile radio frequency device uses a coil or the like to detect a rate of change of the magnetic field strength When the sensing circuit receives, the card reader emits a magnetic field signal whose amplitude of the magnetic induction intensity change rate (ie, the differential amplitude) is constant, and tests the inherent noise voltage amplitude of the detection voltage in the mobile radio device under the condition that the card reader does not transmit the low frequency alternating magnetic field signal. And then measuring the detection voltage Vr in the radio frequency device when the card reader transmits the low frequency alternating magnetic field signal by using the selected modulation and coding mode, selecting the emission amplitude value Bgate or the differential amplitude value B_RATEgate, so that Vr/Vn>SNR, SNR is the mobile radio frequency device Signal to noise ratio. The choice of SNR value is usually as large as possible, but too large will cause the reader to transmit too much power and achieve difficulty. Typical values can be SNR=10. When the SNR is determined, Br is determined by the above method. According to different types of magnetic induction circuits selected by the system, the Br parameter values are divided into two types. The Hall device and the giant magnetoresistive device receiving system are magnetic induction intensity amplitude thresholds Bgate, coil receiving system. For the magnetic induction intensity change rate amplitude threshold B_RATEgate.

步驟b,移動射頻裝置在各距離點上接收、檢測所述低頻交變磁場信號並放大為與距離對應的幅度恒定的的電壓信號,進而通過預設的電壓 門限Vt判斷裝載有所述移動射頻裝置的終端是否進入了預設的有效距離區間,所述電壓門限Vt對裝或有所述移動射頻裝置的所有終端相同;步驟b中,預設的電壓門限Vt通過下述步驟201至步驟203確定,前提是,確定讀卡器發射及移動射頻裝置接收是無波動的,或者兩者引起的接收檢測電壓波動遠小於δR及δC:步驟201,在選定的發射參數下,測量各典型終端和障礙物的電壓距離曲線,其中,發射參數包括低頻交變磁場信號的頻率、調製方式、編碼方式及發射磁感應強度幅值Br;步驟202,求取基準電壓距離曲線,基準電壓距離曲線是典型終端及障礙物曲線的中間值,其距離典型終端曲線的上邊界及下邊界的電壓幅度都為δT/2,如第7圖所示;步驟203,選定移動射頻裝置內檢測電壓門限值Vt,Vt值等於距離控制目標Din與(Din+Dv)分別對應的電壓值之間以dBmV為單位的電壓值的中間值。如第7圖所示,在基準電壓距離曲線上對應於Din的電壓為V5(dBmV),對應於(Din+Dv)點的電壓值為V6(dBmV),則Vt=V5-(V5-V6)/2(dBmV)。 Step b, the mobile radio frequency device receives and detects the low frequency alternating magnetic field signal at each distance point and amplifies the voltage signal with a constant amplitude corresponding to the distance, and further determines that the mobile radio frequency is loaded by a preset voltage threshold Vt. Whether the terminal of the device enters a preset effective distance interval, the voltage threshold Vt is the same for all terminals that are equipped with the mobile radio frequency device; in step b, the preset voltage threshold Vt passes through the following steps 201 to 203 The determination is based on the premise that it is determined that the reader transmitter and the mobile radio device receive no fluctuations, or that the received detection voltage fluctuation caused by the two is much smaller than δ R and δ C : Step 201, under the selected transmission parameters, measure each typical a voltage distance curve of the terminal and the obstacle, wherein the transmission parameter includes a frequency, a modulation mode, a coding mode, and a transmission magnetic induction intensity amplitude Br of the low frequency alternating magnetic field signal; and step 202, obtaining a reference voltage distance curve, and the reference voltage distance curve is The intermediate value of the typical terminal and obstacle curve, the voltage amplitude from the upper and lower boundaries of the typical terminal curve is δ T /2, as shown in FIG. 7; in step 203, the detection voltage threshold Vt in the mobile radio device is selected, and the Vt value is equal to the voltage value corresponding to the distance control target Din and (Din+Dv) respectively in dBmV. The intermediate value of the voltage value. As shown in Fig. 7, the voltage corresponding to Din on the reference voltage distance curve is V5 (dBmV), and the voltage value corresponding to the (Din+Dv) point is V6 (dBmV), then Vt=V5-(V5-V6 )/2 (dBmV).

步驟c,若與接收到的低頻交變磁場信號對應的電壓信號大於或等於預設的電壓門限Vt,則裝載有移動射頻裝置的終端進入了預設的有效刷卡區間,移動射頻裝置從接收到的低頻交變磁場信號中獲取讀卡器的身份標識資訊,並將其連同自身的身份標識資訊一起通過射頻通道傳送給讀卡器; Step c, if the voltage signal corresponding to the received low frequency alternating magnetic field signal is greater than or equal to the preset voltage threshold Vt, the terminal loaded with the mobile radio frequency device enters the preset effective swipe interval, and the mobile radio frequency device receives from the receiving Obtaining the identity information of the card reader in the low frequency alternating magnetic field signal, and transmitting the card identification information together with the identity information thereof to the card reader through the radio frequency channel;

步驟d,讀卡器接收移動射頻裝置通過射頻通道傳送的資訊,比較該資訊中讀卡器的身份標識資訊是否同自身的身份標識資訊一致,若一致則以自身的身份標識資訊和移動射頻裝置的身份標識資訊的結合作為組 合位址,與移動射頻裝置通過射頻通道進行刷卡交易。此處,刷卡交易不單指電子支付,還可以是其他通過射頻通道進行的通訊過程,比如充值、消費、身份認證等,本文中的刷卡交易泛指通過射頻通道進行的通信,尤其指近距離通信中通過射頻通道進行的通信。 Step d, the card reader receives the information transmitted by the mobile radio device through the radio frequency channel, and compares whether the identity information of the card reader in the information is consistent with the identity information of the card, and if they are consistent, the identity information and the mobile radio device are identified by themselves. Combination of identity information as a group The address is combined with the mobile radio device to perform a card transaction through the RF channel. Here, the card transaction does not only refer to electronic payment, but also other communication processes through the RF channel, such as recharge, consumption, identity authentication, etc. The card transaction in this document refers to communication through the RF channel, especially near-field communication. Communication through the RF channel.

本發明中,低頻交變磁場信號的頻率處於特低頻頻段或甚低頻頻段或低頻頻段,其中,特低頻頻段的頻率範圍為300Hz~3000Hz,甚低頻頻段的頻率範圍為3KHz~30KHz,低頻頻段的頻率範圍為30KHz~300KHz。優選地,低頻交變磁場信號的頻率可以為300Hz~50KHz。優選地,低頻交變磁場信號的頻率可以為500Hz、1KHz、1.5KHz、2KHz、2.5KHz、3KHz、4KHz、5KHz、10KHz、20KHz或30KHz。 In the present invention, the frequency of the low-frequency alternating magnetic field signal is in the ultra-low frequency band or the low-frequency band or the low-frequency band, wherein the frequency range of the ultra-low frequency band is 300 Hz to 3000 Hz, and the frequency range of the low-frequency band is 3 kHz to 30 KHz, and the frequency band of the low frequency band is The frequency range is from 30KHz to 300KHz. Preferably, the frequency of the low frequency alternating magnetic field signal may be 300 Hz to 50 kHz. Preferably, the frequency of the low frequency alternating magnetic field signal may be 500 Hz, 1 KHz, 1.5 KHz, 2 KHz, 2.5 KHz, 3 KHz, 4 KHz, 5 KHz, 10 KHz, 20 KHz or 30 KHz.

本發明近距離通信方法採用低頻磁場單向通訊和射頻電磁場高速雙向通訊的結合,從而避免了NFC系統中採用唯一13.56MHz頻點雙向通訊及距離控制帶來天線問題及終端信號衰減差異大等問題。本方法中,讀卡器利用低頻單向通道將自身唯一標識IDr(即前述的身份標識資訊)傳給移動射頻裝置,移動射頻裝置通過射頻雙向通道將自身唯一標識IDc附加在IDr後回傳給讀卡器,讀卡器比較回傳的IDr的正確性,進而實現了讀卡器與移動射頻裝置的唯一綁定。綁定後讀卡器與移動射頻裝置採用射頻雙向通道實現高速大資料量的通訊,直至本次交易完成。 The short-distance communication method of the invention adopts a combination of low-frequency magnetic field one-way communication and radio frequency electromagnetic field high-speed two-way communication, thereby avoiding problems such as antenna problem caused by unique 13.56 MHz frequency point two-way communication and distance control in NFC system, and large difference in terminal signal attenuation. . In the method, the card reader transmits the unique identifier IDr (ie, the aforementioned identity information) to the mobile radio device by using the low frequency unidirectional channel, and the mobile radio device attaches its unique identifier IDc to the IDr through the radio frequency bidirectional channel, and then transmits the signal to the IDr. The card reader compares the correctness of the returned IDr, thereby realizing the unique binding of the card reader to the mobile radio device. After binding, the card reader and the mobile RF device use the RF bidirectional channel to realize high-speed and large-volume communication until the transaction is completed.

本發明近距離通信方法實現了含有移動射頻裝置的射頻通信終端(如裝有射頻SIM卡的手機)與讀卡器的資料通信距離(也即交易距離)可靠地控制在規定範圍內,並且無需對終端進行校準。 The short-range communication method of the invention realizes that the data communication distance (ie, the transaction distance) of the radio frequency communication terminal (such as the mobile phone equipped with the radio frequency SIM card) containing the mobile radio frequency device and the card reader is reliably controlled within the prescribed range, and Calibrate the terminal.

為了實現上述的近距離通信方法,本發明還提出了一種近距離通信系統。本發明的近距離通信系統包括至少一個讀卡器和至少一個移動射頻裝置,其中: 讀卡器用於按照預設的發射參數發射低頻交變磁場信號,該低頻交變磁場信號中攜帶該讀卡器的身份標識資訊,其中,發射參數包括低頻交變磁場信號的頻率,該頻率等於或小於系統無校準工作的最高頻率f0;讀卡器還用於接收移動射頻裝置通過射頻通道傳送的資訊,比較該資訊中讀卡器的身份標識資訊是否同自身的身份標識資訊一致,若一致則以自身的身份標識資訊和移動射頻裝置的身份標識資訊的結合作為組合位址,與移動射頻裝置通過射頻通道進行刷卡交易;移動射頻裝置,用於在各距離點上接收、檢測讀卡器發射的低頻交變磁場信號並放大為與距離對應的幅度恒定的的電壓信號,進而通過預設的電壓門限Vt判斷裝載有該移動射頻裝置的終端是否進入了預設的有效距離區間,其中,電壓門限Vt對裝載有該移動射頻裝置的所有終端相同;移動射頻裝置還用於在與接收到的低頻交變磁場信號對應的電壓信號大於或等於預設的電壓門限Vt時,從接收到的低頻交變磁場信號中獲取讀卡器的身份標識資訊,並將其連同自身的身份標識資訊一起通過射頻通道傳送給讀卡器;移動射頻裝置還用於與讀卡器通過射頻通道進行刷卡交易。 In order to implement the above-described short-range communication method, the present invention also proposes a short-range communication system. The near field communication system of the present invention includes at least one card reader and at least one mobile radio frequency device, wherein: The card reader is configured to transmit a low frequency alternating magnetic field signal according to a preset transmission parameter, where the low frequency alternating magnetic field signal carries identity information of the card reader, wherein the transmission parameter includes a frequency of the low frequency alternating magnetic field signal, and the frequency is equal to Or the maximum frequency f0 of the system without calibration work; the card reader is further configured to receive information transmitted by the mobile radio device through the radio frequency channel, and compare whether the identity information of the card reader in the information is consistent with the identity information of the card, if consistent The combination of the identity information of the identity and the identity information of the mobile radio device is used as a combined address, and the mobile radio device performs the card transaction through the radio frequency channel; the mobile radio device is configured to receive and detect the card reader at each distance point. Transmitting the low-frequency alternating magnetic field signal and amplifying the voltage signal with a constant amplitude corresponding to the distance, and determining whether the terminal loaded with the mobile radio frequency device enters a preset effective distance interval by using a preset voltage threshold Vt, wherein The voltage threshold Vt is the same for all terminals loaded with the mobile radio device; The device is further configured to: when the voltage signal corresponding to the received low frequency alternating magnetic field signal is greater than or equal to the preset voltage threshold Vt, obtain the identifier information of the card reader from the received low frequency alternating magnetic field signal, and It is transmitted to the card reader through the RF channel together with its own identity information; the mobile radio device is also used for card transaction with the card reader through the RF channel.

其中,身份標識資訊可以為識別碼ID。 The identity information may be an ID code.

由上述可見,本發明近距離通信系統中的讀卡器具有低頻發射功能和射頻收發功能這樣兩個基本功能,也可以說本發明近距離通信系統中的讀卡器具有低頻發射模組和射頻收發模組這樣兩個基本模組;本發明近距離通信系統中的移動射頻裝置具有低頻接收功能和射頻收發功能這樣兩個基本功能,也可以說本發明近距離通信系統中的移動射頻裝置具有低頻接收模組和射頻收發模組這樣兩個基本模組。 It can be seen from the above that the card reader in the short-range communication system of the present invention has two basic functions of a low-frequency transmitting function and a radio frequency transceiving function, and it can be said that the card reader in the short-range communication system of the present invention has a low-frequency transmitting module and a radio frequency. The two basic modules of the transceiver module; the mobile radio frequency device in the short-range communication system of the present invention has two basic functions of a low frequency receiving function and a radio frequency transceiving function, and it can also be said that the mobile radio frequency device in the short-distance communication system of the present invention has Two basic modules, such as a low frequency receiving module and a radio frequency transceiver module.

進一步地,上述的近距離通信系統可以由如下的具體電路來實現: 讀卡器包括至少一個低頻發射線圈、至少一個驅動電路、至少一個編碼電路、至少一個第一主處理器、至少一個射頻收發電路和至少一個射頻天線,其中,低頻發射線圈、驅動電路、編碼電路、第一主處理器、射頻收發電路、射頻天線、順次串聯連接;移動射頻裝置包括至少一個低頻磁感應電路、至少一個低頻放大電路、至少一個門限判斷及解調電路、至少一個第二主處理器、至少一個射頻收發電路和至少一個射頻天線,其中,低頻磁感應電路、低頻放大電路、門限判斷及解調電路、第二主處理器、射頻收發電路、射頻天線順次串聯連接。優選地,在上述具體實現電路中,讀卡器的驅動電路和編碼電路之間還可以設有調製電路。 Further, the above-mentioned short-range communication system can be implemented by the following specific circuits: The card reader includes at least one low frequency transmitting coil, at least one driving circuit, at least one encoding circuit, at least one first main processor, at least one radio frequency transceiver circuit, and at least one radio frequency antenna, wherein the low frequency transmitting coil, the driving circuit, and the encoding circuit a first main processor, a radio frequency transceiver circuit, an RF antenna, and a serial connection; the mobile radio device includes at least one low frequency magnetic induction circuit, at least one low frequency amplification circuit, at least one threshold determination and demodulation circuit, and at least one second main processor At least one radio frequency transceiver circuit and at least one radio frequency antenna, wherein the low frequency magnetic induction circuit, the low frequency amplification circuit, the threshold determination and demodulation circuit, the second main processor, the radio frequency transceiver circuit, and the radio frequency antenna are sequentially connected in series. Preferably, in the above specific implementation circuit, a modulation circuit may be further disposed between the driving circuit of the card reader and the encoding circuit.

在上述具體實現電路中,讀卡器中的低頻發射線圈、驅動電路和編碼電路(帶調製電路時,還包括調製電路)可以認為是低頻發射模組的組成部分,讀卡器中的第一主處理器、射頻收發電路和射頻天線可以認為是讀卡器中射頻收發模組的組成部分;移動射頻裝置中的低頻磁感應電路、低頻放大電路和門限判斷及解調電路可以認為是低頻接收模組的組成部分,移動射頻裝置中的第二主處理器、射頻收發電路、射頻天線可以認為是移動射頻裝置中射頻收發模組的組成部分。 In the above specific implementation circuit, the low frequency transmitting coil, the driving circuit and the encoding circuit (including the modulating circuit when modulating the circuit) in the card reader can be regarded as a component of the low frequency transmitting module, and the first in the card reader The main processor, the RF transceiver circuit and the RF antenna can be considered as components of the RF transceiver module in the card reader; the low frequency magnetic induction circuit, the low frequency amplification circuit and the threshold determination and demodulation circuit in the mobile RF device can be regarded as the low frequency receiving mode. The components of the group, the second main processor in the mobile radio device, the radio frequency transceiver circuit, and the radio frequency antenna can be considered as components of the radio frequency transceiver module in the mobile radio device.

優選地,在上述具體實現電路中,低頻發射線圈可以為漆包線線圈或PCB線圈。進一步地,低頻發射線圈的匝數可以大於10圈。優選地,低頻發射線圈的匝數為50~500圈。優選地,低頻發射線圈內填塞有鐵氧體磁芯或鐵芯。優選地,低頻發射線圈所包圍面積的截面最寬處大於移動射頻終端的截面寬度。優選地,低頻發射線圈所包圍面積的截面至少包含直徑3cm的圓形區域或者3cm*3cm的方形區域。 Preferably, in the above specific implementation circuit, the low frequency transmitting coil may be an enameled wire coil or a PCB coil. Further, the number of turns of the low frequency transmitting coil may be greater than 10 turns. Preferably, the number of turns of the low frequency transmitting coil is 50 to 500 turns. Preferably, the low frequency transmitting coil is packed with a ferrite core or a core. Preferably, the cross-sectional area of the area enclosed by the low-frequency transmitting coil is the widest than the cross-sectional width of the mobile radio frequency terminal. Preferably, the section of the area enclosed by the low frequency transmitting coil comprises at least a circular area of 3 cm in diameter or a square area of 3 cm * 3 cm.

優選地,上述的低頻磁感電路可以為PCB線圈、漆包線線圈、霍爾器件或巨磁阻器件。 Preferably, the low frequency magnetic induction circuit described above may be a PCB coil, an enameled wire coil, a Hall device or a giant magnetoresistive device.

本發明中,移動射頻裝置可以置於移動終端中,也可以置於移動終端內的SIM卡、UIM卡、USIM卡、TF卡或SD卡中。其中,移動終端可以為手機、個人數位助理PDA或筆記型電腦等。 In the present invention, the mobile radio frequency device may be placed in the mobile terminal, or may be placed in a SIM card, a UIM card, a USIM card, a TF card or an SD card in the mobile terminal. The mobile terminal can be a mobile phone, a personal digital assistant PDA or a notebook computer.

下面對本發明近距離通信系統的原理進行說明: The principle of the short-range communication system of the present invention will be described below:

1、系統無校準工作的最高頻率f0的選定方法及裝置在前述近距離通信方法的內容中已有闡述,此處不再贅述; 1. The method and apparatus for selecting the highest frequency f0 of the system without calibration work have been described in the content of the aforementioned short-range communication method, and will not be described herein;

2、距離測量和控制實現原理如下:讀卡器根據距離控制目標,以設定的發射參數持續不斷的迴圈發送不高於選定頻率f0的低頻交變磁場信號,該信號中以調製或直接基帶傳送的方式攜帶資料訊框,資料訊框內包含讀卡器的唯一識別碼Idr(當然也可以是其他身份標識資訊)。當裝載有移動射頻裝置的移動終端置於讀卡器周圍,低頻交變磁場信號穿透該終端到達其內部的移動射頻裝置,移動射頻裝置在各距離點上檢測該磁場信號並放大為與距離對應的幅度恒定的的電壓信號,當電壓的幅度低於卡內預設的接收電壓門限值Vt,表示終端未進入有效刷卡距離範圍,不允許刷卡;當電壓的幅度高於卡內預設的接收電壓門限值Vt,表示終端進入讀卡器預定的有效刷卡範圍,移動射頻裝置內的低頻接收電路(指前述的低頻磁感應電路、低頻放大電路和門限判斷及解調電路)啟動解碼過程,得到讀卡器的唯一標識碼IDr。另一方面,移動射頻裝置內磁場轉換後的電壓信號與讀卡器和移動射頻裝置之間的距離存在一一對應關係,該關係由電壓距離變化曲線確定,根據該對應關係,可以由該電壓確定移動射頻裝置與讀卡器之間的距離,從而間接的確定了移動終端與讀卡器的距離。Vt和發射參數的設定是一次工作,一旦設定在使用中無需更改。 2. The principle of distance measurement and control is as follows: the card reader transmits a low-frequency alternating magnetic field signal not higher than the selected frequency f0 according to the distance control target and continuously circulates with the set transmission parameter, and the signal is modulated or directly baseband The data transmission method carries the data frame, and the data frame contains the unique identification code Idr of the card reader (of course, it can also be other identity information). When the mobile terminal loaded with the mobile radio frequency device is placed around the card reader, the low frequency alternating magnetic field signal penetrates the terminal to reach the internal mobile radio frequency device, and the mobile radio frequency device detects the magnetic field signal at each distance point and amplifies the distance to the distance Corresponding to the constant voltage signal, when the amplitude of the voltage is lower than the preset receiving voltage threshold Vt in the card, it indicates that the terminal does not enter the effective swipe distance range, and the card is not allowed to be swiped; when the voltage is higher than the preset in the card Receiving the voltage threshold value Vt, indicating that the terminal enters the predetermined valid card swipe range of the card reader, and the low frequency receiving circuit (refers to the low frequency magnetic induction circuit, the low frequency amplifying circuit and the threshold determining and demodulating circuit) in the mobile radio device starts the decoding process, and obtains the decoding process. The unique identification code IDr of the reader. On the other hand, there is a one-to-one correspondence between the voltage signal after the magnetic field conversion in the mobile radio frequency device and the distance between the card reader and the mobile radio frequency device, and the relationship is determined by the voltage distance variation curve, and according to the corresponding relationship, the voltage can be used. The distance between the mobile radio device and the card reader is determined, thereby indirectly determining the distance between the mobile terminal and the card reader. The setting of Vt and transmission parameters is one operation, and no change is required once the setting is in use.

3、移動射頻裝置接入讀卡器的過程原理: 移動射頻裝置接入讀卡器主要包含讀卡器和移動射頻裝置的唯一綁定過程。這裡舉例說明該綁定過程:移動射頻裝置中從低頻信號中解出讀卡器唯一識別碼IDr後傳送到移動射頻裝置內的第二主處理模組,該第二主處理模組將移動射頻裝置的唯一識別碼IDc連同收到的IDr一起,通過RF收發模組發送給讀卡器,讀卡器收到移動射頻裝置返回的(IDr,IDc)後,確認識別碼為IDc的移動射頻裝置正確的返回了讀卡器的識別碼IDr,是本次交易的唯一通訊終端。由於IDr編碼保證了該讀卡器周圍其它讀卡器的識別碼在該時刻不相同,因此識別碼為IDc的移動射頻裝置確認了其與識別碼為IDr的讀卡器建立了唯一的通訊。至此,移動射頻裝置和讀卡器實現了唯一綁定,雙方通過(IDr,IDc)組合位址唯一的識別對方。綁定後的通訊過程採用RF通道進行交互不會產生錯誤。移動射頻裝置接入成功後,距離控制過程完成,可在RF通道上進行後續的交易過程,直至交易結束。 3. The process principle of the mobile radio device accessing the card reader: The mobile radio device access card reader mainly includes a unique binding process of the card reader and the mobile radio device. The binding process is illustrated here: the mobile radio device removes the card reader unique identification code IDr from the low frequency signal and transmits it to the second main processing module in the mobile radio device, and the second main processing module will move the radio frequency The unique identification code IDc of the device is sent to the card reader through the RF transceiver module together with the received IDr, and the card reader receives the (IDr, IDc) returned by the mobile radio device, and confirms the mobile radio device with the identification code IDc. Correctly returned the reader ID code IDr, which is the only communication terminal of this transaction. Since the IDr encoding ensures that the identification codes of other card readers around the card reader are different at this time, the mobile radio device with the ID code IDc confirms that it has unique communication with the card reader whose ID code is IDr. At this point, the mobile radio device and the card reader realize unique binding, and the two parties uniquely identify each other through the (IDr, IDc) combined address. The binding communication process uses RF channels for interaction without error. After the mobile radio device is successfully accessed, the distance control process is completed, and the subsequent transaction process can be performed on the RF channel until the transaction ends.

4、交易過程:讀卡器和移動射頻裝置通過RF通道建立了可靠的唯一通訊鏈路,在該鏈路基礎上,雙方可以實現交易所需的身份認證及其他交易所需的過程。所有這些過程均通過快速的RF通道完成,由於前述過程的完成保證了只能在預定的距離範圍內完成接入,因此整個交易過程也是在限定範圍內的近距離通訊。 4. Transaction process: The card reader and the mobile radio device establish a reliable unique communication link through the RF channel. On the basis of the link, both parties can implement the process required for identity authentication and other transactions required for the transaction. All of these processes are performed through a fast RF channel. Since the completion of the aforementioned process ensures that access can only be completed within a predetermined distance, the entire transaction process is also within a limited range of short-range communication.

下面通過實施例對本發明作進一步說明。 The invention is further illustrated by the following examples.

第8圖為本發明實施例中近距離通信系統的結構圖。如第8圖所示,該系統由2部分組成:讀卡器裝置100和移動射頻裝置200,該移動射頻裝置200放在移動終端內部,並通過移動終端通訊介面與終端交互。 Figure 8 is a structural diagram of a short-range communication system in an embodiment of the present invention. As shown in Fig. 8, the system consists of two parts: a card reader device 100 and a mobile radio device 200, which is placed inside the mobile terminal and interacts with the terminal through the mobile terminal communication interface.

讀卡器100由下述模組組成:第一主處理器101,負責讀卡器低頻及 高頻的控制及其他協議處理,第一主處理器101通過介面電路102或直接連接到外部通訊介面;編碼電路108,負責將低頻訊框資料進行逐比特編碼,調製電路107負責將編碼輸出的符號流對載波進行調製形成調製信號送給驅動電路106,不需要調製時編碼後的信號直接送給驅動電路106;驅動電路106,負責驅動低頻發射線圈105,產生低頻交變磁場301;由低頻發射線圈105、驅動電路106、調製電路107及編碼電路108構成的低頻發射模組,其發射場強值可更改並設定;低頻發射線圈105通常由較多匝數特定形狀的線圈構成;RF收發電路103,通過RF天線104接收及發射RF信號。 The card reader 100 is composed of the following modules: a first main processor 101, which is responsible for the low frequency of the card reader and For high frequency control and other protocol processing, the first main processor 101 is directly connected to the external communication interface through the interface circuit 102; the encoding circuit 108 is responsible for bit-by-bit encoding the low frequency frame data, and the modulation circuit 107 is responsible for encoding the output. The symbol stream modulates the carrier to form a modulated signal and sends it to the driving circuit 106. The encoded signal is directly sent to the driving circuit 106 when no modulation is required. The driving circuit 106 is responsible for driving the low frequency transmitting coil 105 to generate a low frequency alternating magnetic field 301; The low-frequency transmitting module formed by the transmitting coil 105, the driving circuit 106, the modulating circuit 107 and the encoding circuit 108 can change and set the transmission field strength value; the low-frequency transmitting coil 105 is usually composed of a plurality of coils of a specific shape; The circuit 103 receives and transmits an RF signal through the RF antenna 104.

移動射頻裝置200由下述模組組成:第二主處理器201,負責低頻及射頻模組的控制及其他協定處理,也負責和移動終端的通訊;SIM/TF/SD卡模組202為移動終端的SIM/TF/SD卡本體模組,具體何種模組由卡類型確定;低頻磁感應電路207,由PCB線圈、漆包線線圈、霍爾器件或其他能感應磁場變化的電路元件構成,負責感應低頻交變磁場信號301並轉換為電信號;低頻放大電路206負責放大低頻磁感應電路檢測到的電信號得到低頻磁檢測電壓信號303;門限判斷及解調電路205,負責對低頻磁檢測電壓信號303按照預設的門限Vt進行判決,未達到門限Vt不解調也不允許刷卡,達到門限Vt對信號進行解調,解調後的信號送給第二主處理器201;RF收發電路203通過RF天線204負責與讀卡器的RF收發模組完成RF雙向通訊。 The mobile radio device 200 is composed of the following modules: a second main processor 201, which is responsible for the control of low frequency and radio frequency modules and other protocol processing, and is also responsible for communication with the mobile terminal; the SIM/TF/SD card module 202 is mobile The SIM/TF/SD card body module of the terminal, which module is determined by the card type; the low frequency magnetic induction circuit 207 is composed of a PCB coil, an enameled wire coil, a Hall device or other circuit components capable of sensing a magnetic field change, and is responsible for sensing The low frequency alternating magnetic field signal 301 is converted into an electrical signal; the low frequency amplifying circuit 206 is responsible for amplifying the electrical signal detected by the low frequency magnetic sensing circuit to obtain a low frequency magnetic detecting voltage signal 303; the threshold determining and demodulating circuit 205 is responsible for the low frequency magnetic detecting voltage signal 303 The decision is made according to the preset threshold Vt. If the threshold Vt is not reached, the card is not demodulated and the card is not allowed to be swiped. The threshold Vt is used to demodulate the signal, and the demodulated signal is sent to the second main processor 201. The RF transceiver circuit 203 passes the RF. The antenna 204 is responsible for performing RF two-way communication with the RF transceiver module of the card reader.

系統通過預先設定好的門限判定方法來完成無需校準的距離檢測和控制,即讀卡器100按照預設的發射參數發射低頻交變磁場信號301,移動射頻裝置200接收該磁場信號轉換為低頻磁檢測電壓信號303,並通過預先設定的門限Vt來判斷終端是否進入預先設定的有效距離區間,該門 限Vt對所有終端相同,無需針對不同終端修改(即所謂校準)。通過低頻單向通訊和RF雙向通訊結合的方法來完成讀卡器100和移動射頻裝置200的唯一綁定,即讀卡器100利用低頻單向通道將自身唯一標識IDr傳給移動射頻裝置200,移動射頻裝置200通過射頻雙向通道將卡自身唯一標識IDc附加在IDr後回傳給讀卡器100,讀卡器100比較回傳IDr的正確性,進而實現了讀卡器100與移動射頻裝置200的唯一綁定。綁定之後通過射頻通道來完成雙向的高速大資料量的通訊。 The system performs the distance detection and control without calibration by using a preset threshold determination method, that is, the card reader 100 transmits the low frequency alternating magnetic field signal 301 according to the preset transmission parameter, and the mobile radio frequency device 200 receives the magnetic field signal and converts it into a low frequency magnetic field. Detecting the voltage signal 303 and determining whether the terminal enters a preset effective distance interval by a preset threshold Vt, the gate The limit Vt is the same for all terminals and does not need to be modified for different terminals (so-called calibration). The unique binding of the card reader 100 and the mobile radio frequency device 200 is completed by the combination of the low frequency one-way communication and the RF two-way communication, that is, the card reader 100 transmits the unique identifier IDr to the mobile radio device 200 by using the low frequency one-way channel. The mobile radio device 200 transmits the card's own unique identifier IDc to the card reader 100 through the RF bidirectional channel, and the card reader 100 compares the correctness of the IDR, thereby implementing the card reader 100 and the mobile radio device 200. The only binding. After the binding, the two-way high-speed and large-volume communication is completed through the RF channel.

本實施例中,近距離通信系統的具體工作流程如下: In this embodiment, the specific working process of the short-range communication system is as follows:

(一)首先,選定系統工作的基本參數,包括RF頻點,無校準低頻頻點f0,讀卡器發射參數,移動射頻裝置的接收電壓門限Vt。 (1) First, select the basic parameters of the system operation, including the RF frequency point, the uncalibrated low frequency frequency point f0, the reader transmission parameter, and the receiving voltage threshold Vt of the mobile RF device.

1. RF頻點選擇 1. RF frequency selection

上述RF通訊的頻點通常採用2400~2483MH 2.4G ISM頻段,以實現高速的通訊和對終端的良好穿透性,也可以採用其它頻點,例如433MHz,900MHz,5GHz等。 The frequency of the above RF communication usually adopts the 2400~2483MH 2.4G ISM frequency band to achieve high-speed communication and good penetration to the terminal, and other frequency points such as 433MHz, 900MHz, 5GHz, etc. can also be used.

2.無校準低頻頻點f0選擇 2. No calibration low frequency frequency f0 selection

採用前述方法確定系統低頻無校準工作頻點f0,對於典型的GSM移動通訊終端,要實現0~10cm範圍的距離控制,f0頻點通常小於10KHz,典型值包括500Hz,1KHz,1.5KHz,2KHz,2.5KHz,3KHz,5KHz等。 The above method is used to determine the system low frequency uncalibrated working frequency point f0. For a typical GSM mobile communication terminal, the distance control in the range of 0~10 cm is to be realized, the f0 frequency point is usually less than 10 KHz, and the typical values include 500 Hz, 1 kHz, 1.5 kHz, 2 kHz, 2.5KHz, 3KHz, 5KHz, etc.

3.讀卡器發射參數的選擇 3. Selection of the reader's transmission parameters

發射參數主要包括調製方式、編碼方式及發射磁感應強度幅值Br。 The transmission parameters mainly include the modulation mode, the coding mode and the amplitude of the transmitted magnetic induction intensity Br.

第9圖為讀卡器低頻發射部分示意圖。參見第8圖,讀卡器低頻發射電路由驅動電路106、調製電路107及編碼電路108構成的,驅動電路106驅動的低頻調製信號輸出到低頻發射線圈105。 Figure 9 is a schematic diagram of the low frequency transmitting part of the card reader. Referring to Fig. 8, the low frequency transmitting circuit of the card reader is composed of a driving circuit 106, a modulating circuit 107 and an encoding circuit 108, and the low frequency modulated signal driven by the driving circuit 106 is output to the low frequency transmitting coil 105.

調製電路107可以採用多種調製方式: 1)載波調製方式調製:編碼電路108產生的基帶信號通過調製電路107對載波進行調製,載波可以為正弦波、方波及三角波等,調製可以採用開關頻移鍵控OOK、相移鍵控、頻移鍵控FSK等,調製後的信號通過驅動電路106載入到低頻發射線圈105上;2)無載波直接基帶發射:編碼電路108產生的基帶信號,通過驅動電路106直接載入到低頻發射線圈105上;3)其他調製方式:由於本發明系統採用門限判斷的方式進行距離控制,因此調製方式不宜採用幅度調製,凡是發送過程中能夠保持移動射頻裝置內檢測電壓幅度基本恒定的調製方式均可以用於本發明的近距離通信系統;編碼電路108可以採用多種編碼方式: Modulation circuit 107 can take a variety of modulation methods: 1) Carrier modulation mode modulation: the baseband signal generated by the encoding circuit 108 is modulated by the modulation circuit 107, and the carrier can be a sine wave, a square wave, a triangular wave, etc., and the modulation can be switched frequency shift keying OOK, phase shift keying, frequency Shift keyed FSK or the like, the modulated signal is loaded into the low frequency transmitting coil 105 through the driving circuit 106; 2) the carrierless direct baseband transmitting: the baseband signal generated by the encoding circuit 108 is directly loaded into the low frequency transmitting coil through the driving circuit 106. 105; 3) Other modulation methods: Since the system of the present invention uses the threshold judgment method for distance control, the modulation method should not adopt amplitude modulation, and any modulation method capable of maintaining the amplitude of the detection voltage in the mobile radio frequency device substantially constant during the transmission process can be The short-range communication system used in the present invention; the encoding circuit 108 can adopt various encoding methods:

1)曼徹斯特編碼:比特1編碼為兩個符號01,比特0編碼為10。 1) Manchester coding: Bit 1 is encoded as two symbols 01 and bit 0 is encoded as 10.

2)差分曼徹斯特編碼:有兩種比特符號序列:01及10,比特1編碼為與上一符號序列不同,比特0則相同,或者反過來編碼亦可。 2) Differential Manchester coding: There are two bit symbol sequences: 01 and 10. The bit 1 code is different from the previous symbol sequence, bit 0 is the same, or the code is reversed.

3)其他編碼方式:由於本發明系統採用門限判斷的方式進行距離控制,因此低頻調製信號必須保持均值穩定,編碼後的序列不能含有直流分量,凡是編碼後平均直流分量為零的編碼方式均可以用於本發明的近距離通信系統。 3) Other coding methods: Since the system of the present invention uses the threshold judgment method for distance control, the low-frequency modulation signal must maintain a stable average value, and the encoded sequence cannot contain a DC component, and any coding method in which the average DC component after coding is zero can be used. A near field communication system for use in the present invention.

確定好調製方式和編碼方式後,採用前述方法,確定讀卡器發射磁感應強度幅值Br。調整Br的過程實際上是調整線圈匝數,線徑,形狀等參數的過程。 After determining the modulation mode and the coding mode, the aforementioned method is used to determine the amplitude of the magnetic induction intensity Br of the card reader. The process of adjusting Br is actually a process of adjusting the parameters such as the number of turns of the coil, the wire diameter, and the shape.

4.移動射頻裝置接收電壓門限Vt的選擇 4. Mobile RF device receiving voltage threshold Vt selection

採用前述方法確定卡接收門限電壓Vt。 The card receiving threshold voltage Vt is determined by the aforementioned method.

上述參數的選定是一次性的,一旦選定,工作中無需改變。 The selection of the above parameters is one-off. Once selected, there is no need to change the work.

(二)其次,工作參數確定後的系統工作流程如下: (2) Secondly, the system workflow after the work parameters are determined is as follows:

步驟A100:距離測量和控制過程。讀卡器100的第一主處理器101產生包含讀卡器的唯一識別碼IDr的資料訊框,送給編碼電路108完成編碼,編碼後的信號通過調製電路107調製或不經調製直接送給驅動電路106,調製電壓送給低頻發射線圈105發射,通過預先設定好框架格式、調製編碼方式及驅動能力,發射線圈105以設定的強度Br持續不斷的按照上述框架格式迴圈發送指定參數的低頻交變磁場信號301。當移動終端置於讀卡器周圍,低頻交變磁磁場信號301穿透該終端到達內部的移動射頻裝置200,移動射頻裝置200內的低頻磁感應電路207檢測到低頻磁信號,轉換為電信號後經低頻放大電路206放大後得到低頻磁檢測電壓303,當電壓的幅度小於(或大於)於預設的接收電壓門限值Vt,不允許刷卡;當電壓的幅度大於等於於(或小於等於)預設的接收電壓門限值Vt,表示終端進入讀卡器預定的有效刷卡範圍,低頻接收電路啟動解碼過程,得到讀卡器的唯一標識碼IDr。另一方面,所述移動射頻裝置內磁場轉換後的電壓信號與讀卡器和移動射頻裝置之間的距離存在一一對應關係,該關係由電壓-距離變化曲線確定,根據該對應關係,可以由該電壓確定移動射頻裝置與讀卡器的距離,從而間接的確定了移動終端與讀卡器的距離。上述門限值Vt對所有終端均相同,無需針對每個終端修正,也就是無需知道校準,從而上述過程是一種無需校準的距離測量及控制過程;步驟A100中的框架格式定義如下:第10圖為讀卡器低頻數據框架格式示意圖,如第10圖所示,讀卡器低頻資料訊框每訊框分為如下域:同步碼:8比特,通常為FFH,用於訊框同步;控制域:8比特,用於提供訊框資料的解訊框資訊,如長度,資料類 型等,可留保留位用於擴展;IDr:N比特,讀卡器唯一識別碼,由控制域指定;CRC:對控制域,IDr進行校驗,可採用CRC校驗和或其他方式。 Step A100: Distance measurement and control process. The first main processor 101 of the card reader 100 generates a data frame including the unique identification code IDr of the card reader, and sends it to the encoding circuit 108 for encoding. The encoded signal is modulated by the modulation circuit 107 or directly sent without modulation. The driving circuit 106 transmits the modulation voltage to the low-frequency transmitting coil 105. By setting the frame format, the modulation and coding mode and the driving capability in advance, the transmitting coil 105 continuously transmits the low frequency of the specified parameter according to the frame format with the set intensity Br continuously. The alternating magnetic field signal 301. When the mobile terminal is placed around the card reader, the low frequency alternating magnetic field signal 301 penetrates the terminal to reach the internal mobile radio frequency device 200, and the low frequency magnetic induction circuit 207 in the mobile radio frequency device 200 detects the low frequency magnetic signal and converts it into an electrical signal. After being amplified by the low frequency amplifying circuit 206, the low frequency magnetic detecting voltage 303 is obtained. When the amplitude of the voltage is less than (or greater than) the preset receiving voltage threshold value Vt, the card is not allowed to be swiped; when the magnitude of the voltage is greater than or equal to (or less than or equal to) The received voltage threshold value Vt indicates that the terminal enters the predetermined effective card swipe range of the card reader, and the low frequency receiving circuit starts the decoding process to obtain the unique identification code IDr of the card reader. On the other hand, there is a one-to-one correspondence between the voltage signal after the magnetic field conversion in the mobile radio frequency device and the distance between the card reader and the mobile radio frequency device, and the relationship is determined by the voltage-distance curve, and according to the corresponding relationship, The distance between the mobile radio device and the card reader is determined by the voltage, thereby indirectly determining the distance between the mobile terminal and the card reader. The above threshold Vt is the same for all terminals, and there is no need to correct for each terminal, that is, there is no need to know the calibration, so the above process is a distance measurement and control process without calibration; the frame format in step A100 is defined as follows: Figure 10 is The format of the low frequency data frame of the card reader is as shown in Fig. 10. The frame of the low frequency data frame of the card reader is divided into the following fields: synchronization code: 8 bits, usually FFH, used for frame synchronization; control domain: 8 bits, used to provide information about the frame of the frame data, such as length, data class Type, etc., can retain reserved bits for expansion; IDr: N bits, card reader unique identification code, specified by the control field; CRC: check the control domain, IDr, CRC checksum or other methods can be used.

上面所述框架格式僅作為一種示例,不限制本發明實際採用的框架格式,原則上任何包含能唯一識別讀卡器的框架格式均可使用。唯一識別碼可採用足夠長度的亂數,也可採用所有讀卡器人工分配唯一碼的方式,或其他方式產生的識別碼。 The frame format described above is only an example and does not limit the frame format actually employed by the present invention. In principle, any frame format including a card reader that can uniquely recognize the card reader can be used. The unique identification code may be a random number of sufficient length, or a method in which all readers manually assign a unique code, or an identification code generated in other manners.

步驟A200:移動射頻裝置接入讀卡器的過程:移動射頻裝置接入讀卡器主要包含讀卡器100和移動射頻裝置200的唯一綁定過程,實際上表示讀卡器和移動射頻裝置所在移動終端的唯一綁定過程。移動射頻裝置200內部低頻接收電路解出讀卡器唯一識別碼Idr後傳送到移動射頻裝置內第一主處理器201,該模組將移動射頻裝置自身的唯一識別碼Idc連同收到的Idr一起,通過移動射頻裝置內RF收發電路203和RF天線204發送給讀卡器100,讀卡器內部RF天線103和RF收發電路104收到移動射頻裝置返回的(IDr,IDc)後,傳送給第一主處理器101處理,第一主處理器101確認識別碼為IDc的移動射頻裝置正確的返回了讀卡器IDr,是本次交易的唯一通訊終端。由於IDr編碼保證了該讀卡器周圍其它讀卡器的識別碼在該時刻不相同,因此識別碼為IDc的卡確認了其與識別碼為IDr的讀卡器建立了唯一的通訊。至此,移動射頻裝置和讀卡器實現了唯一綁定,雙方通過(IDr,IDc)組合位址唯一的識別對方。綁定後的通訊過程採用RF通道進行交互不會產生錯誤。移動射頻裝置成功接入讀卡器後,距離控制過程完成,可在RF通道上進行後續的交易過程;步驟A200中的移動射頻裝置唯一識別碼IDc,是預先存儲在移動射頻裝置內非動態記憶體內(NVM)的唯一識別碼,或者是由移動射頻裝置內 產生的足夠長的的亂數。 Step A200: The process of the mobile radio device accessing the card reader: the mobile radio device access card reader mainly includes the unique binding process of the card reader 100 and the mobile radio device 200, which actually indicates that the card reader and the mobile radio device are located. The unique binding process for mobile terminals. The internal low frequency receiving circuit of the mobile radio frequency device 200 decodes the card reader unique identification code Idr and transmits it to the first main processor 201 in the mobile radio device. The module together with the unique identification code Idc of the mobile radio device itself together with the received Idr The RF transceiver unit 203 and the RF antenna 204 in the mobile radio device are sent to the card reader 100, and the internal RF antenna 103 and the RF transceiver circuit 104 of the card reader receive the (IDr, IDc) returned by the mobile radio device, and then transmit the signal to the first A main processor 101 processes, and the first main processor 101 confirms that the mobile radio device whose identification code is IDc correctly returns the card reader IDr, which is the only communication terminal of the transaction. Since the IDr encoding ensures that the identification codes of other card readers around the card reader are different at this time, the card whose ID is IDc confirms that it has unique communication with the card reader whose ID code is IDr. At this point, the mobile radio device and the card reader realize unique binding, and the two parties uniquely identify each other through the (IDr, IDc) combined address. The binding communication process uses RF channels for interaction without error. After the mobile radio device successfully accesses the card reader, the distance control process is completed, and the subsequent transaction process can be performed on the RF channel; the mobile radio device unique identification code IDc in step A200 is pre-stored in the non-dynamic memory of the mobile radio device. In vivo (NVM) unique identification code, or by mobile radio device Produce a long enough random number.

步驟A300:交易過程。讀卡器100和移動射頻裝置200通過RF通道建立了可靠的唯一通訊鏈路,在該鏈路基礎上,雙方可以實現交易所需的身份認證及其他交易所需的過程。所有這些過程均通過快速的RF通道完成,直至本次交易結束。由於前述步驟A100~A200的完成保證了移動射頻裝置200只能在預定的距離範圍內完成接入,因此整個交易過程也是在限定距離範圍內才能完成交易。交易過程是成熟的POS機處理流程,本發明不做詳細描述。 Step A300: The transaction process. The card reader 100 and the mobile radio device 200 establish a reliable unique communication link through the RF channel, on the basis of which the two parties can implement the process required for identity authentication and other transactions required for the transaction. All of these processes are done through a fast RF channel until the end of the transaction. Since the completion of the foregoing steps A100~A200 ensures that the mobile radio device 200 can only complete access within a predetermined distance range, the entire transaction process is also within a limited distance to complete the transaction. The transaction process is a mature POS machine processing flow, which is not described in detail in the present invention.

移動射頻裝置200中低頻信號檢測電路207通常可以用PCB線圈、漆包線線圈或霍爾器件構成,該檢測電路並不僅限於用這幾種元件,原則上任何能將磁場變化轉變為電信號的感測器都可以用於該模組,唯一的限制是能放入卡內部。 The low frequency signal detecting circuit 207 in the mobile radio frequency device 200 can generally be constructed by using a PCB coil, an enameled wire coil or a Hall device. The detecting circuit is not limited to the use of these components, and in principle any sensing capable of converting a magnetic field change into an electrical signal. The device can be used for this module, the only restriction is that it can be placed inside the card.

本發明系統利用低頻交變磁場實現距離檢測和控制,並實現讀卡器和移動射頻裝置的單向通訊,利用RF通道結合低頻通訊實現終端的可靠綁定,同時利用RF通道實現讀卡器和移動射頻裝置之間高速的資料通訊。其具有如下特點點:1.可以無需改造移動終端,只需更換終端內部的SIM卡/TF/SD卡,即可實現可靠的雙向距離通訊;2讀卡器發射低頻交變磁場信號,移動射頻裝置只需接收該磁場信號,由於是單向通訊,並且無需讀卡器通過磁場提供能量,因此可以將接收線圈或其他接收電路小型化,足以將移動射頻裝置放入SIM卡/TF/SD卡內;3.由於接收信號較弱,移動射頻裝置內需要增加放大電路。另外移動射頻裝置內同時放置RF收發電路,與讀卡器內的RF收發電路實現雙向高速通訊,如前面所述,RF電路的天線很小,可以輕易的集成到SIM卡/TF/SD卡內。 The system of the invention realizes the distance detection and control by using the low frequency alternating magnetic field, realizes the one-way communication between the card reader and the mobile radio frequency device, realizes the reliable binding of the terminal by using the RF channel combined with the low frequency communication, and realizes the card reader by using the RF channel. High-speed data communication between mobile radio devices. It has the following characteristics: 1. It is possible to realize reliable two-way distance communication without replacing the mobile terminal, and only need to replace the SIM card/TF/SD card inside the terminal; 2 the card reader emits low-frequency alternating magnetic field signals, and moves the radio frequency The device only needs to receive the magnetic field signal. Because it is one-way communication, and the card reader does not need to provide energy through the magnetic field, the receiving coil or other receiving circuit can be miniaturized enough to put the mobile radio device into the SIM card/TF/SD card. 3. Because the receiving signal is weak, an amplifying circuit needs to be added in the mobile radio frequency device. In addition, the RF transceiver circuit is placed in the mobile RF device at the same time, and the RF transceiver circuit in the card reader realizes two-way high-speed communication. As described above, the antenna of the RF circuit is small and can be easily integrated into the SIM card/TF/SD card. .

依照本發明所述方法選定的頻點f0,系統在該頻點以下工作無需校 準,作為一種擴展,系統工作在f0頻點以上,也不是絕對不行,可能的效果是性能降低,距離控制的精度降低,同時可能需要輔以簡單的校準,這些應用並不與本發明所述原則從根本上衝突,只是一種性能改變的延伸應用。 According to the frequency point f0 selected by the method of the present invention, the system does not need to work below the frequency point. As an extension, the system works above the f0 frequency point, and it is not absolutely impossible. The possible effect is that the performance is degraded, the accuracy of the distance control is reduced, and it may be necessary to supplement the simple calibration. These applications are not described in the present invention. The principle is fundamentally conflicting, but an extension of performance changes.

本發明近距離通信系統實現了含有移動射頻裝置的射頻通信終端(如裝有射頻SIM卡的手機)與讀卡器的資料通信距離(也即交易距離)可靠地控制在規定範圍內,並且無需對終端進行校準。 The near field communication system of the invention realizes that the data communication distance (ie, the transaction distance) of the radio frequency communication terminal (such as the mobile phone equipped with the radio frequency SIM card) containing the mobile radio frequency device and the card reader is reliably controlled within the prescribed range, and Calibrate the terminal.

採用本發明所述的系統和方法,選擇合適的無校準工作的最高頻點f0,用低於f0的低頻交變磁場進行距離測量和控制,移動終端間結構差異的影響可以減小到距離控制目標所要求的波動範圍之內,從而實現無校準距離控制。第11圖為線圈接收電路放入各種移動終端內,用信號源通過低頻發射線圈發射恒定1KHz磁場條件下測試的電壓距離曲線。如第11圖所示,為系統在1KHz頻率下多個典型終端的電壓距離曲線實例。其中信號強度值是接收天線感應電壓經過必要的放大後的值,放大倍數保持恒定,只需關注強度隨距離的相對變化。從第11圖可以看出,終端之間的場強差異<5dB,而各終端在1~10cm範圍的場強變化範圍達到40dB,不考慮讀卡器發射場強波動及移動射頻裝置檢測電路的誤差,移動射頻裝置端採用統一的門限Vt來判斷各終端是否在目標距離範圍之內,距離控制的誤差在終端之間的差異大致為1cm範圍,完全滿足無校準距離控制的要求。 By adopting the system and method of the invention, selecting the highest frequency point f0 of the non-calibration work, and measuring and controlling the distance with the low frequency alternating magnetic field lower than f0, the influence of the structural difference between the mobile terminals can be reduced to the distance control The range of fluctuations required by the target, thus achieving uncalibrated distance control. Figure 11 is a voltage distance curve tested by a coil receiving circuit placed in various mobile terminals using a signal source to emit a constant 1 KHz magnetic field through a low frequency transmitting coil. As shown in Fig. 11, it is an example of the voltage distance curve of a plurality of typical terminals at a frequency of 1 kHz. The signal strength value is the value after the necessary amplification of the receiving antenna induced voltage, and the magnification is kept constant, and only the relative change of the intensity with the distance is concerned. It can be seen from Fig. 11 that the field strength difference between the terminals is <5 dB, and the field strength variation range of each terminal in the range of 1 to 10 cm reaches 40 dB, regardless of the fluctuation of the field strength of the reader and the detection circuit of the mobile radio device. Error, the mobile RF device uses a uniform threshold Vt to determine whether each terminal is within the target distance range. The distance control error is approximately 1 cm between the terminals, which fully meets the requirements of non-calibrated distance control.

讀卡器 Card reader

本發明提出了一種讀卡器。第12圖為本發明實施例中讀卡器的結構圖。如第12圖所示,本實施例中,讀卡器包括低頻磁場發射部分1200和射頻收發部分1100兩部分,其中,低頻磁場發射部分1200包括編碼電路 1201、調製電路1202、驅動部分1203和低頻發射線圈1204,射頻收發部分1100包括控制器1101、射頻收發機1102和射頻天線1103。其中,驅動部分1203包括驅動電路和調整電路。可見,第12圖所示的讀卡器與第8圖所示的近距離通信系統中讀卡器裝置100的結構是基本一致的,只是在第12圖中,將第8圖中的第一主處理器101具體為控制器1101了。其中,低頻發射線圈、驅動電路、編碼電路組成的低頻發射鏈路工作於預先選定的系統無校準工作的最高頻率f0以下的頻率。讀卡器發射預先設定的幅度恒定或微分幅度恒定的低頻交變磁場信號,該低頻交變磁場信號的幅度值對應於設定的物理通訊距離,低頻交變磁場信號幅度的誤差小於預設誤差值δR關於低頻交變磁場信號的幅度值與物理通訊距離的確定方法前面已經說明過,此處不再贅述。 The present invention proposes a card reader. Figure 12 is a structural diagram of a card reader in an embodiment of the present invention. As shown in FIG. 12, in the present embodiment, the card reader includes a low frequency magnetic field transmitting portion 1200 and a radio frequency transmitting and receiving portion 1100. The low frequency magnetic field transmitting portion 1200 includes an encoding circuit 1201, a modulation circuit 1202, a driving portion 1203, and a low frequency. The transmitting coil 1204, the radio frequency transceiver portion 1100 includes a controller 1101, a radio frequency transceiver 1102, and a radio frequency antenna 1103. The driving portion 1203 includes a driving circuit and an adjusting circuit. It can be seen that the card reader shown in FIG. 12 is basically identical to the structure of the card reader device 100 in the short-range communication system shown in FIG. 8, but in FIG. 12, the first in FIG. The main processor 101 is specifically the controller 1101. Wherein, the low-frequency transmitting link composed of the low-frequency transmitting coil, the driving circuit and the encoding circuit operates at a frequency below the highest frequency f0 of the pre-selected system without calibration work. The card reader emits a preset low-frequency alternating magnetic field signal with a constant amplitude or a constant differential amplitude, and the amplitude value of the low-frequency alternating magnetic field signal corresponds to a set physical communication distance, and the error of the amplitude of the low-frequency alternating magnetic field signal is less than a preset error value. The method for determining the amplitude value and the physical communication distance of the δ R with respect to the low-frequency alternating magnetic field signal has been described above, and will not be described herein.

其中:低頻發射線圈1204,其作用是發射低頻磁場信號。主要可以由漆包線繞制或者由PCB走線繪製組成;控制器1101負責整個讀卡器的控制,包括低頻磁場發射部分1200的控制以及射頻收發部分1100的控制;射頻收發機1102負責射頻信號的收發,射頻通信頻率主要是UHF頻段,尤其是2400Mhz~2483MHz頻段,也可以採用其它頻段,例如433MHz、900MHz、5GHz等;射頻天線1103負責射頻能量的輻射與接收;編碼電路1201主要負責低頻磁場信號資訊的編碼;調製電路1202主要負責將編碼後的低頻磁場信號資訊調製到載波上;驅動部分1203包含驅動電路以及調整電路,驅動電路主要負責將低 頻磁場信號放大並增強其驅動能力,調整電路主要負責調整低頻磁場信號強度的誤差。驅動電路可以是由DAC(Digital Analog Canverter,數位類比轉換器)與運算放大器(以下簡稱運放)組成的方波、正弦波、三角波等波形的生成以及放大電路,也可以是由電阻、電容、運放組成的方波、正弦波、三角波等波形的生成以及放大電路。調整電路可以是調整驅動電路的輸出電壓,也可以是調整負載的電阻。 Wherein: the low frequency transmitting coil 1204, the function of which is to emit a low frequency magnetic field signal. The controller 1101 can be mainly composed of an enameled wire or a PCB trace; the controller 1101 is responsible for the control of the entire card reader, including the control of the low frequency magnetic field transmitting portion 1200 and the control of the radio frequency transceiver portion 1100; the radio frequency transceiver 1102 is responsible for transmitting and receiving radio frequency signals. The RF communication frequency is mainly UHF frequency band, especially the 2400Mhz~2483MHz frequency band, and other frequency bands, such as 433MHz, 900MHz, 5GHz, etc.; the RF antenna 1103 is responsible for the radiation and reception of the RF energy; the coding circuit 1201 is mainly responsible for the low frequency magnetic field signal information. The modulation circuit 1202 is mainly responsible for modulating the encoded low frequency magnetic field signal information onto the carrier; the driving portion 1203 includes a driving circuit and an adjusting circuit, and the driving circuit is mainly responsible for the low The frequency magnetic field signal amplifies and enhances its driving capability, and the adjustment circuit is mainly responsible for adjusting the error of the low frequency magnetic field signal strength. The driving circuit may be a square wave, a sine wave, a triangular wave or the like which is formed by a DAC (Digital Analog Canverter) and an operational amplifier (hereinafter referred to as an operational amplifier), and may be a resistor, a capacitor, or a capacitor. Waveforms such as square waves, sine waves, and triangular waves composed of op amps and amplifier circuits. The adjustment circuit can be an adjustment of the output voltage of the driving circuit or a resistance of the adjustment load.

第13圖為第12圖中驅動部分的一種結構圖。驅動部分1203可以由順次串聯的DAC 1213、運放1223和電阻1233組成。 Figure 13 is a structural view of the driving portion in Fig. 12. The driving portion 1203 may be composed of a DAC 1213, an operational amplifier 1223, and a resistor 1233 that are sequentially connected in series.

基於上述的讀卡器,本發明提出了一種低頻交變磁場距離控制方法,應用於上述的讀卡器,該低頻交變磁場距離控制方法包括如下步驟: Based on the above card reader, the present invention proposes a low frequency alternating magnetic field distance control method, which is applied to the above card reader, and the low frequency alternating magnetic field distance control method comprises the following steps:

步驟a,通過低頻發射通道,持續迴圈發射預定發射參數的低頻交變磁場信號,該信號中包含讀卡器的識別碼IDr,頂定發射參數包括系統無校準工作的最高頻率f0、編碼方式、調製方式及恒定場強參數;同時,通過射頻通道等待接收來自於含有移動射頻裝置的終端的資訊;步驟a中,系統無校準工作的最高頻率f0的選擇方法如下:低頻交變磁場頻率越低,穿過各種類型的終端後衰減的差異越小,利用該特性,在頻點選擇系統中選定差異足夠小的頻點,以實現無校準距離控制。採用標準信號源通過標準的磁場發射線圈發送低頻交變磁場,在各個典型的移動終端及障礙物內部接收該交變磁場,調整發射頻率直到找到頻點f0,使移動射頻裝置接收到的電壓在距離發射線圈平面中心點相同距離條件下,不同終端及障礙物間的場強差異大致等於設定的波動範圍δT,該頻點及低於該頻點的頻段是系統無校準工作的頻段,高於f0頻點,系統需要校準,通常頻點高於f0越多,需要校準的終端越多,校準的複雜度越高。頻點選定是一次性工作,一旦選定,在使用中無需更改。 Step a, transmitting a low-frequency alternating magnetic field signal of a predetermined transmission parameter through a low-frequency transmission channel, wherein the signal includes an identifier IDr of the card reader, and the top emission parameter includes a highest frequency f0 of the system without calibration work, and an encoding method The modulation mode and the constant field strength parameter; at the same time, waiting for receiving information from the terminal containing the mobile radio device through the radio frequency channel; in step a, the selection method of the highest frequency f0 of the system without calibration work is as follows: the frequency of the low frequency alternating magnetic field is higher Low, the smaller the difference in attenuation after passing through various types of terminals, the characteristic point is used to select a frequency point with a sufficiently small difference in the frequency selection system to achieve non-calibrated distance control. Using a standard signal source to transmit a low-frequency alternating magnetic field through a standard magnetic field transmitting coil, receiving the alternating magnetic field inside each typical mobile terminal and obstacle, adjusting the transmitting frequency until the frequency point f0 is found, so that the voltage received by the mobile radio frequency device is Under the same distance from the plane center point of the transmitting coil, the field strength difference between different terminals and obstacles is approximately equal to the set fluctuation range δ T . The frequency point and the frequency band below the frequency point are the frequency bands in which the system has no calibration work, and the frequency is high. At the f0 frequency, the system needs to be calibrated. Generally, the more frequencies are higher than f0, the more terminals that need to be calibrated, the higher the complexity of calibration. Frequency selection is a one-time job, once selected, no changes are needed during use.

步驟a中,除頻點外,其它預定發射參數的選擇方法如下: In step a, in addition to the frequency point, other predetermined transmission parameters are selected as follows:

步驟a1:選擇場強恒定方式(即恒定場強參數),場強恒定方式包括峰值場強幅度恒定和微分場強幅度恒定,選擇峰值場強幅度恒定執行步驟a2,選擇微分場強幅度恒定執行步驟a3,恒定場強參數的幅度誤差小於預設誤差值δR;峰值場強幅度恒定的直流或者交流磁場的典型形式如第14圖所示,其可以是直流磁場,也可以是方波磁場或者正弦波磁場:微分場強幅度恒定的低頻交流磁場,為一種磁場最大變化率恒定的低頻交流磁場,典型形式如第15圖所示,由第15圖可見:在典型微分幅度恒定的三角波磁場發射條件下,SIM卡線圈感應到的電壓為方波形態。 Step a1: Select a constant field strength mode (ie, a constant field strength parameter). The constant field strength method includes a constant peak field strength amplitude and a constant differential field strength amplitude, and the peak field strength is selected to be constant. Step a2 is performed to select a differential field strength constant. In step a3, the amplitude error of the constant field strength parameter is less than the preset error value δ R ; the typical form of the direct current or alternating magnetic field having a constant peak field strength amplitude is as shown in Fig. 14, which may be a DC magnetic field or a square wave magnetic field. Or a sinusoidal magnetic field: a low-frequency alternating magnetic field with a constant differential field strength, which is a low-frequency alternating magnetic field with a constant maximum rate of change of the magnetic field. The typical form is shown in Fig. 15, which can be seen from Fig. 15: a triangular wave magnetic field with a constant differential amplitude. Under the launch condition, the voltage sensed by the SIM card coil is in the form of a square wave.

讀卡器發射恒定的場強可作為距離檢測的參考場強,由於低頻磁場隨著距離的變化,場強快速的衰減,因此讀卡器周圍隨距離變化的低頻場強可以作為距離的尺規,通過精確控制每個讀卡器發射場強的差異值δR可以控制讀卡器作為距離檢測尺規的精度,其中δR的典型範圍為4dB以內,即δR的典型值小於4dB。 The reader can emit a constant field strength as the reference field strength for distance detection. Since the low frequency magnetic field decays rapidly with the distance, the low frequency field strength around the reader can be used as the distance gauge. The accuracy of the reader as a distance detection ruler can be controlled by precisely controlling the difference value δ R of the field strength of each reader, wherein the typical range of δ R is within 4 dB, that is, the typical value of δ R is less than 4 dB.

步驟a2:在峰值場強幅度恒定條件下,選擇編碼方式、調製方式、驅動電壓波形,確定低頻磁場強度目標值,從而選擇驅動電壓幅度、調整參數、低頻發射線圈電阻、低頻發射線圈圈數,測量該選擇參數下低頻磁場強度是否符合與預定的低頻磁場強度目標值的誤差在δR範圍內,若是則發射參數選擇完成,結束,否則重新調整驅動電路以及低頻發射線圈參數,直至測量的低頻磁場強度符合與預定的低頻磁場強度目標值的誤差在δR範圍內; 發射參數的選擇流程如第16圖所示。步驟a2中,詳細的選擇方法如下: 編碼方式選擇:在峰值場強幅度恒定發射磁場條件下,編碼方式無特定要求,編碼方式選擇是一次性工作,一旦選定,在使用中無需更改;調製方式選擇:在峰值場強幅度恒定發射磁場條件下,主要是FSK、PSK等恒包絡調製方式,調製方式選擇是一次性工作,一旦選定,在使用中無需更改;驅動電壓波形選擇:在峰值場強幅度恒定發射磁場條件下,驅動電壓波形最好為方波,驅動電壓波形選擇是一次性工作,一旦選定,在使用中無需更改;低頻磁場強度目標值選擇:低頻磁場強度目標值根據讀卡器應用的需求來確定,如果是中遠距離應用,則對磁場強度要求高,如果是近距離應用,則對磁場強度要求低;驅動電壓幅度選擇:選定低頻磁場強度目標值後,則選擇相應的驅動電壓幅度,驅動電壓幅度可以是驅動電路供電電壓滿幅值的60%以上;調整參數選擇:可調整驅動電路的輸出電壓,也可以是調整負載的電阻,使低頻發射磁場與預設的場強值相符合。具體地,在驅動部分為第13圖所示的電路時,可以通過調整DAC輸出電壓或運放放大倍數以及調整負載電阻來進行參數調整;發射線圈參數選擇:發射線圈主要可以由漆包線繞制或者由PCB走線繪製組成;低頻發射線圈的面積儘量大於普通手機面積,以保證不同的手機sim卡位置都在低頻發射線圈之內,從而保證手機刷卡的穩定性與便捷性;低頻發射線圈的面積(指線圈所包圍的面積,下同)主要大於10平方釐米,進一步地,低頻發射線圈的面積所包圍可以為20-1000平方釐米;低頻發射線圈,在保證相同磁通量的前提下,匝數需求與驅動電壓需求是成反比的;低頻發射線圈的匝數主要大於10匝,進一步地,低頻 發射線圈的匝數為50-500圈;低頻發射線圈的電阻主要大於10歐姆,進一步地,低頻發射線圈的電阻為50-500歐姆。 Step a2: under the condition that the peak field strength is constant, the coding mode, the modulation mode, and the driving voltage waveform are selected, and the target value of the low frequency magnetic field strength is determined, thereby selecting the driving voltage amplitude, the adjustment parameter, the low frequency transmitting coil resistance, and the low frequency transmitting coil lap. Measuring whether the low-frequency magnetic field strength under the selected parameter meets the target value of the predetermined low-frequency magnetic field strength in the range of δ R , if yes, the selection of the transmission parameter is completed, and ends, otherwise the driving circuit and the low-frequency transmitting coil parameters are re-adjusted until the measured low frequency The magnetic field strength is in accordance with the predetermined low frequency magnetic field strength target value error in the range of δ R ; the selection procedure of the emission parameters is as shown in Fig. 16. In step a2, the detailed selection method is as follows: Coding mode selection: Under the condition of constant peak field intensity constant emission magnetic field, there is no specific requirement for coding mode, and the coding mode selection is one-time work. Once selected, no change is needed in use; modulation mode Choice: Under the condition of peak field strength constant emission magnetic field, mainly constant envelope modulation mode such as FSK, PSK, etc. Modulation mode selection is one-time operation. Once selected, no change is needed in use; drive voltage waveform selection: peak field strength Under the condition of constant amplitude transmitting magnetic field, the driving voltage waveform is preferably square wave, and the driving voltage waveform selection is one-time operation. Once selected, there is no need to change in use; low frequency magnetic field strength target value selection: low frequency magnetic field strength target value according to card reader The requirements of the application are determined. If it is a medium-distance application, the magnetic field strength is high. If it is a close-range application, the magnetic field strength is low. The driving voltage amplitude is selected: after the low-frequency magnetic field strength target value is selected, the corresponding driving is selected. Voltage amplitude, drive voltage amplitude can be driven by the drive circuit Pressure over 60% of the full amplitude; adjustment parameter selection: the adjustable voltage output driving circuit may adjust the load resistance, low frequency magnetic field emission consistent with a preset field strength values. Specifically, when the driving part is the circuit shown in FIG. 13, the parameter adjustment can be performed by adjusting the DAC output voltage or the operational amplifier amplification factor and adjusting the load resistance; the transmitting coil parameter selection: the transmitting coil can be mainly wound by an enameled wire or It is composed of PCB traces; the area of the low-frequency transmit coil is as large as the area of the ordinary mobile phone, so as to ensure that the position of the SIM card of different mobile phones is within the low-frequency transmit coil, thus ensuring the stability and convenience of the mobile phone card; the area of the low-frequency transmit coil (refer to the area enclosed by the coil, the same below) is mainly greater than 10 square centimeters, further, the area of the low-frequency transmitting coil can be surrounded by 20-1000 square centimeters; low-frequency transmitting coil, under the premise of ensuring the same magnetic flux, the number of turns required It is inversely proportional to the driving voltage requirement; the number of turns of the low-frequency transmitting coil is mainly greater than 10匝, further, the number of turns of the low-frequency transmitting coil is 50-500 circles; the resistance of the low-frequency transmitting coil is mainly greater than 10 ohms, further, low-frequency emission The resistance of the coil is 50-500 ohms.

以上參數選定之後,測量磁場強度是否符合與預定的低頻磁場強度目標值的誤差在δR範圍內,如果不符合,則重新調整驅動電路以及低頻發射線圈參數;如符合,則所述預定參數選擇完成。 After the above parameters are selected, whether the measured magnetic field strength meets the target value of the predetermined low frequency magnetic field strength is within a range of δ R , and if not, the drive circuit and the low frequency transmitting coil parameters are re-adjusted; if yes, the predetermined parameter is selected. carry out.

步驟a3:在微分場強幅度恒定條件下,選擇編碼方式、調製方式、驅動電壓波形,確定低頻磁場強度目標值,從而選擇驅動電壓幅度、調整參數、低頻發射線圈電阻、低頻發射線圈圈數,然後測量該選擇參數下低頻磁場強度是否符合與預定的低頻磁場強度目標值的誤差在δR範圍內,若是則發射參數選擇完成,結束,否則重新調整驅動電路以及低頻發射線圈參數,直至測量的低頻磁場強度符合與預定的低頻磁場強度目標值的誤差在δR範圍內。 Step a3: under the condition that the differential field strength is constant, the coding mode, the modulation mode, and the driving voltage waveform are selected, and the target value of the low frequency magnetic field strength is determined, thereby selecting the driving voltage amplitude, the adjustment parameter, the low frequency transmitting coil resistance, and the low frequency transmitting coil lap. Then measuring whether the low-frequency magnetic field strength under the selected parameter meets the error of the predetermined low-frequency magnetic field strength target value in the range of δ R , and if so, the transmission parameter selection is completed, and ends, otherwise the driving circuit and the low-frequency transmitting coil parameters are re-adjusted until the measurement The low frequency magnetic field strength meets the predetermined low frequency magnetic field strength target value error in the range of δ R .

步驟a3中,詳細的選擇步驟如下:編碼方式選擇:在微分場強幅度恒定發射條件下,編碼方式主要由曼徹斯特碼或者其它歸零碼組成,編碼方式選擇是一次性工作,一旦選定,在使用中無需更改;調製方式選擇:在場強幅度恒定發射磁場條件下,主要是FSK、PSK等恒包絡調製方式,調製方式選擇是一次性工作,一旦選定,在使用中無需更改;驅動電壓波形選擇:在場強幅度恒定發射磁場條件下,驅動電壓波形最好為三角波,驅動電壓波形選擇是一次性工作,一旦選定,在使用中無需更改;後續步驟與步驟a2中峰值場強幅度恒定發射磁場條件選擇方式一致,不再重複敘述。 In step a3, the detailed selection steps are as follows: coding mode selection: under the condition of constant field intensity constant emission, the coding mode is mainly composed of Manchester code or other return-to-zero code, and the coding mode selection is one-time work. Once selected, it is used. No need to change in the medium; modulation mode selection: under the condition of constant field emission magnetic field, mainly FSK, PSK and other constant envelope modulation mode, the modulation mode selection is one-time work, once selected, no need to change in use; drive voltage waveform selection : Under the condition of constant field emission magnetic field, the driving voltage waveform is preferably triangular wave, and the driving voltage waveform selection is one-time operation. Once selected, there is no need to change in use; the peak field strength constant in the subsequent steps and step a2 is constant. The condition selection method is the same and will not be repeated.

步驟b,射頻通道收到含有移動射頻裝置的終端的資訊,該資訊中包含終端返回的讀卡器的識別碼IDr及終端本身的識別碼IDc,解碼出IDr及IDc,比較返回的IDr是否與發出的IDr相同,如果相同,則此後的射頻通訊通過(IDr,IDc)組合位址實現讀卡器與終端的唯一綁定通訊;如果不同,則通訊錯誤,射頻通道繼續等待接收直至收到正確資料;同時低頻通道持續發射預定發射參數的低頻交變磁場信號; Step b: The radio frequency channel receives the information of the terminal that includes the mobile radio frequency device, and the information includes the identifier IDr of the card reader returned by the terminal and the ID code cc of the terminal itself, decodes the IDr and the IDc, and compares the returned IDr with The IDRs sent are the same. If they are the same, the subsequent RF communication realizes the unique binding communication between the reader and the terminal through the combined address of (IDr, IDc); if it is different, the communication error occurs, and the RF channel continues to wait until receiving correctly. Data; at the same time, the low frequency channel continuously transmits a low frequency alternating magnetic field signal of a predetermined transmission parameter;

步驟c,通過射頻通道進行交易通訊,直至交易完成。同時低頻通道持續發射預定參數的低頻交變磁場信號。 In step c, the transaction is communicated through the RF channel until the transaction is completed. At the same time, the low frequency channel continuously transmits the low frequency alternating magnetic field signal of the predetermined parameter.

低頻交變磁場的頻率主要是0-100KHz,進一步地,低頻交變磁場頻率可以是0-10KHz。 The frequency of the low frequency alternating magnetic field is mainly 0-100 KHz, and further, the low frequency alternating magnetic field frequency may be 0-10 KHz.

步驟a2及a3中,讀卡器發射場強誤差範圍δR的控制方法如下:為了保證批量生產時每台讀卡器之間的一致性,需要建立一個對每台讀卡器進行誤差修正的系統,該系統檢測並調整每台讀卡器的誤差,以保證每台讀卡器的一致性,從而保證刷卡距離的可控。 In steps a2 and a3, the control method for transmitting the field strength error range δ R of the card reader is as follows: in order to ensure the consistency between each card reader during mass production, it is necessary to establish an error correction for each card reader. System, the system detects and adjusts the error of each reader to ensure the consistency of each reader, thus ensuring the controllable distance of the card.

讀卡器的誤差修正系統如第17圖所示,讀卡器的誤差修正系統包括被修正讀卡器1702和位於被修正讀卡器1702上方設定高度Dc處的磁場強度檢測裝置1701。 The error correction system of the card reader is as shown in Fig. 17, and the error correction system of the card reader includes a modified card reader 1702 and a magnetic field strength detecting means 1701 located at a set height Dc above the corrected card reader 1702.

基於第17圖所述的誤差修正系統,讀卡器的誤差修正方法如下:步驟1、設置磁場強度檢測裝置的測量目標Hs和誤差範圍He,則被修正讀卡器在標準的磁場強度檢測裝置下的誤差修正場強範圍為[Hs-He,Hs+He];其中He<δR,δR為預設誤差值,He越小系統餘量越大;步驟2、在測試讀卡器時,被修正讀卡器發射低頻磁場信號,磁場強度檢測裝置比較當前接收到的低頻磁場信號的磁場強度,調節被修正讀卡器上的發射調整電路,使被修正讀卡器的磁場強度處於設置的誤差修 正場強範圍[Hs-He,Hs+He]內。 Based on the error correction system described in FIG. 17, the error correction method of the card reader is as follows: Step 1. Set the measurement target Hs and the error range He of the magnetic field strength detecting device, and then correct the card reader in the standard magnetic field strength detecting device. The error correction field strength range is [Hs-He, Hs+He]; where He<δ R , δ R is the preset error value, the smaller He is, the larger the system margin is; the second step is when testing the card reader. The modified card reader emits a low frequency magnetic field signal, and the magnetic field strength detecting device compares the magnetic field strength of the currently received low frequency magnetic field signal, and adjusts the emission adjustment circuit on the modified card reader so that the magnetic field strength of the corrected card reader is set. The error correction field strength range [Hs-He, Hs + He].

該誤差修正系統可以是單獨的系統,也可以是在讀卡器上本身附帶的功能模組,從而實現讀卡器的自誤差修正功能。 The error correction system can be a separate system or a function module attached to the card reader, thereby implementing the self-error correction function of the card reader.

自帶誤差修正功能的讀卡器的結構如第18圖所示。由第18圖可見,自帶誤差修正功能的讀卡器與前述讀卡器相比,多了誤差修正部分1400,誤差修正部分1400由順次相連的採樣電路1401、放大電路1402和低頻接收線圈1403組成,其中,採樣電路1401與控制器1101相連。讀卡器通過在讀卡器上的接收線圈,感應到讀卡器低頻發射線圈輻射出來的電壓,並通過放大以及採樣傳送到控制器處,控制器通過判斷採樣信號幅度的大小來判斷低頻發射信號是否符合發射強度的要求。 The structure of the card reader with its own error correction function is shown in Figure 18. As can be seen from Fig. 18, the card reader with its own error correction function has an error correction portion 1400 which is composed of a sequentially connected sampling circuit 1401, an amplifying circuit 1402 and a low frequency receiving coil 1403, as compared with the aforementioned card reader. In the composition, the sampling circuit 1401 is connected to the controller 1101. The card reader senses the voltage radiated from the low-frequency transmitting coil of the card reader through the receiving coil on the card reader, and transmits it to the controller through amplification and sampling. The controller determines the low-frequency transmitting signal by judging the magnitude of the sampling signal amplitude. Whether it meets the requirements of emission intensity.

基於第18圖所示的自帶誤差修正功能的讀卡器,讀卡器的自我調整誤差修正方法如下:步驟1、設置讀卡器本地磁場強度檢測裝置的測量目標Hs和誤差範圍He,則在讀卡器本地磁場強度檢測裝置下的誤差修正場強範圍為[Hs-He,Hs+He],其中He<δR,He越小系統餘量越大;本地磁場強度檢測裝置由第18圖中所示的順次相連的控制器1101、採樣電路1401、放大電路1402和低頻接收線圈1403組成;步驟2、在測試讀卡器時,讀卡器低頻發射線圈發射低頻磁場信號,本地磁場強度檢測裝置比較當前接收到的低頻磁場信號的磁場強度,調節讀卡器上的發射調整電路,使讀卡器的磁場強度處於設置的誤差修正場強範圍[Hs-He,Hs+He]內。 Based on the card reader with the error correction function shown in Fig. 18, the self-adjustment error correction method of the card reader is as follows: Step 1. Set the measurement target Hs and the error range He of the local magnetic field strength detecting device of the card reader, The range of error correction field strength under the local magnetic field strength detecting device of the card reader is [Hs-He, Hs+He], where He<δ R , the smaller He is, the larger the system margin is; the local magnetic field strength detecting device is shown in Fig. 18. The sequentially connected controller 1101, the sampling circuit 1401, the amplifying circuit 1402 and the low frequency receiving coil 1403 are shown; Step 2. When testing the card reader, the low frequency transmitting coil of the card reader transmits a low frequency magnetic field signal, and the local magnetic field strength is detected. The device compares the magnetic field strength of the currently received low frequency magnetic field signal, and adjusts the emission adjustment circuit on the card reader so that the magnetic field strength of the card reader is within the set error correction field strength range [Hs-He, Hs + He].

本發明的讀卡器還具有檢測旁邊是否有干擾讀卡器並報警的功能。具體地,檢測干擾讀卡器的方法如下:合法讀卡器工作時搜索附近是否有低頻或者射頻信號,並對搜索到的低頻或者射頻信號進行解碼,判斷 該低頻或者射頻信號中攜帶的資訊是否包含該合法讀卡器的唯一標識碼,若包含則說明附近沒有干擾讀卡器,否則有干擾讀卡器。合法讀卡器還可以進一步檢測接收到的低頻或者射頻信號的信號強度,並根據該信號強度判斷自身與附近干擾讀卡器的距離,如果附近的干擾讀卡器在設定的安全距離以內則報警。 The card reader of the present invention also has the function of detecting whether there is interference with the card reader and alarming. Specifically, the method for detecting the interference card reader is as follows: when the legal card reader works, it searches for nearby low frequency or radio frequency signals, and decodes the searched low frequency or radio frequency signals to determine Whether the information carried in the low frequency or radio frequency signal contains the unique identification code of the legal card reader, if included, it indicates that there is no interference with the card reader nearby, otherwise the card reader is interfered. The legal card reader can further detect the signal strength of the received low frequency or radio frequency signal, and determine the distance between itself and the nearby interference card reader according to the signal strength, and if the nearby interference card reader is within the set safety distance, the alarm is generated. .

由上可見,本發明的讀卡器使得對於各種具有近距離通信功能的移動終端不需要校準就能夠實現電子支付等刷卡交易。 As can be seen from the above, the card reader of the present invention enables a card transaction such as electronic payment for a mobile terminal having various short-range communication functions without requiring calibration.

以上所述僅為本發明的較佳實施例,並不用以限制本發明,凡在本發明的精神和原則之內,所作的任何修改、等同替換、改進等,均應包含在本發明的保護範圍之內。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

1100‧‧‧射頻收發部分 1100‧‧‧RF Transceiver Section

1101‧‧‧控制器 1101‧‧‧ Controller

1102‧‧‧射頻收發機 1102‧‧‧RF Transceiver

1103‧‧‧射頻天線 1103‧‧‧RF antenna

1200‧‧‧低頻磁場發射部分 1200‧‧‧Low frequency magnetic field emission part

1201‧‧‧編碼電路 1201‧‧‧Code Circuit

1202‧‧‧調製電路 1202‧‧‧Modulation circuit

1203‧‧‧驅動部分 1203‧‧‧Drive section

1204‧‧‧低頻發射線圈1204‧‧‧Low frequency transmitting coil

Claims (17)

一種射頻讀卡器,至少包括:低頻發射線圈、驅動電路、編碼電路、第一主處理器、射頻收發電路及射頻天線,所述低頻發射線圈、所述驅動電路、所述編碼電路、所述第一主處理器、所述射頻收發電路及所述射頻天線順次串聯連接;其中,所述低頻發射線圈、所述驅動電路及所述編碼電路組成低頻發射鏈路;所述低頻發射鏈路被配置為按照預設的發射參數發射低頻交變磁場信號,所述低頻交變磁場信號中攜帶所述射頻讀卡機的身分標誌資訊;其中,所述發射參數包括所述低頻交變磁場信號的頻率及場強參數;其中,所述頻率等於或小於系統無校準工作的最高頻率f0;所述場強參數根據預設的物理通訊距離設定,所述物理通訊距離是指所述射頻讀卡器與移動射頻裝置進行射頻通訊的物理距離;所述射頻收發電路及所述射頻天線用於接收所述移動射頻裝置通過射頻通道傳送的資訊;所述第一主處理器用於驗證所述資訊,並根據所述資訊控制與所述移動射頻裝置通過所述射頻通道進行刷卡交易。 A radio frequency card reader comprising at least: a low frequency transmitting coil, a driving circuit, an encoding circuit, a first main processor, a radio frequency transceiver circuit, and an RF antenna, the low frequency transmitting coil, the driving circuit, the encoding circuit, and the The first main processor, the radio frequency transceiver circuit and the radio frequency antenna are connected in series; wherein the low frequency transmitting coil, the driving circuit and the encoding circuit form a low frequency transmitting link; the low frequency transmitting link is Configuring to transmit a low-frequency alternating magnetic field signal according to a preset transmission parameter, where the low-frequency alternating magnetic field signal carries identity information of the radio frequency card reader; wherein the transmission parameter includes the low-frequency alternating magnetic field signal Frequency and field strength parameters; wherein the frequency is equal to or less than a highest frequency f0 of the system without calibration work; the field strength parameter is set according to a preset physical communication distance, and the physical communication distance refers to the radio frequency card reader a physical distance for radio frequency communication with the mobile radio device; the radio frequency transceiver circuit and the radio frequency antenna are configured to receive the mobile shot Information transmitted by means of radio frequency channel; said first host processor for verifying the information, and credit card transactions by the radio frequency channel based on the control information with the mobile radio device. 根據申請專利範圍第1項所述的射頻讀卡器,進一步包括在所述驅動電路和所述解碼電路之間的調製電路。 The radio frequency card reader according to claim 1, further comprising a modulation circuit between the driving circuit and the decoding circuit. 根據申請專利範圍第1項所述的射頻讀卡器,其中所述驅動電路包括調 整電路。 The radio frequency card reader according to claim 1, wherein the driving circuit comprises a tone The whole circuit. 根據申請專利範圍第3項所述的射頻讀卡器,進一步包括順次串聯的數位類比轉換器(DAC)、運算放大器和電阻。 The radio frequency card reader according to claim 3, further comprising a serial analog-to-digital converter (DAC), an operational amplifier, and a resistor. 根據申請專利範圍第1項所述的射頻讀卡器,進一步包括本地磁探測器。 The radio frequency card reader according to claim 1, further comprising a local magnetic detector. 根據申請專利範圍第5項所述的射頻讀卡器,其中所述本地磁探測器包括控制器、採樣電路、放大電路、和低頻接收線圈。 The radio frequency card reader of claim 5, wherein the local magnetic detector comprises a controller, a sampling circuit, an amplifying circuit, and a low frequency receiving coil. 根據申請專利範圍第1項所述的射頻讀卡器,其中所述低頻發射線圈的匝數大於10圈。 The radio frequency card reader of claim 1, wherein the low frequency transmitting coil has a number of turns greater than 10 turns. 一種利用射頻讀卡器的方法,所述射頻讀卡器包括低頻發射鏈路,其中所述方法包括:所述低頻發射鏈路按照預設的發射參數發射低頻交變磁場信號,所述低頻交邊磁場信號中攜帶射頻讀卡器的身分標識資訊;其中,所述發射參數包括所述低頻交變磁場信號的頻率及場強參數,其中,所述頻率等於或小於系統無校準工作的最高頻率f0;所述場強參數根據預設的物理通訊距離設定,所述物理通訊距離是指所述射頻讀卡器與移動射頻裝置進行射頻通訊的物理距離;所述移動射頻裝置在各距離點上接收、檢測所述低頻交變磁場信號並放大為與距離對應的幅度恆定的電壓信號,當接收到所述低頻交變磁場信號對應電壓信號大於或等於預設的變壓門限Vt時,所述移動射頻裝置從接到的所述低頻交變磁場信號中獲取所述射頻讀卡器的身分標識資訊,並連同移動射頻裝置的身分標識資訊一起通過射頻通道傳送給所述射頻讀卡器; 所述射頻讀卡器接收所述移動射頻裝置通過所述射頻通道傳送的資訊,驗證所述資訊並根據所述資訊與所述移動射頻裝置通過所述射頻通道進行刷卡交易。 A method for utilizing a radio frequency card reader, the radio frequency card reader comprising a low frequency transmit link, wherein the method comprises: the low frequency transmit link transmitting a low frequency alternating magnetic field signal according to a preset transmit parameter, the low frequency crossover The edge magnetic field signal carries the identity identification information of the radio frequency card reader; wherein the transmission parameter includes a frequency and a field strength parameter of the low frequency alternating magnetic field signal, wherein the frequency is equal to or less than a maximum frequency of the system without calibration work The field strength parameter is set according to a preset physical communication distance, where the physical communication distance refers to a physical distance between the radio frequency card reader and the mobile radio frequency device for radio frequency communication; the mobile radio frequency device is at each distance point. Receiving and detecting the low-frequency alternating magnetic field signal and amplifying the voltage signal with a constant amplitude corresponding to the distance, when receiving the low-frequency alternating magnetic field signal corresponding voltage signal is greater than or equal to a preset variable voltage threshold Vt, The mobile radio frequency device acquires the identity identification information of the radio frequency card reader from the received low frequency alternating magnetic field signal, and moves together The identity identification information of the frequency device is transmitted to the radio frequency card reader through the radio frequency channel; The radio frequency card reader receives information transmitted by the mobile radio frequency device through the radio frequency channel, verifies the information, and performs a card transaction with the mobile radio frequency device according to the information through the radio frequency channel. 根據申請專利範圍第8項所述之利用射頻讀卡器的方法,其中確定所述系統無校準工作的最高頻率f0包括:(a1)確定所述射頻卡與所述射頻讀卡器之間的距離控制目標值(Din,Dv),其中Din表示:在0~Din範圍內,可確保所有配置所述射頻卡的終端被所述射頻讀卡器讀取;其中Dv表示距離浮動範圍,以使所述射頻卡被所述射頻讀卡器在Din~(Din+Dv)的距離範圍內被讀取,且超出(Din+Dv)的距離範圍,所述射頻卡將不允許被所述射頻讀卡器讀取;(a2)確定所述射頻卡檢測電信號的浮動範圍δR,其中所述浮動範圍由所述射頻讀卡器導致;(a3)確定由所述射頻卡本身導致的檢測電信號波動範圍δC;(a4)在頻率f下測試各種典型終端及障礙物的電信號-距離曲線;(a5)根據所述距離控制目標值(Din,Dv)確定所述射頻卡的檢測電信號波動範圍δA,其中δA等於所述各種典型終端及障礙物的電信號-距離曲線得到的具有平均場強衰減曲線斜率的電壓距離曲線上Din點電信號與(Din+Dv)點電信號的差值;(a6)確定由所述終端導致的所述射頻卡內檢測電信號的波動範圍δT,其中δT表示:由所述終端的衰減特性導致的所述射頻卡內檢測電壓的波動範圍,δT=δA-δR-δC;及(a7)計算所述各種典型終端及障礙物間,在射頻通信距離控制範圍 內的不同距離點上的最大場強差值δ,若δ大於δT,則降低頻率f,並回到步驟(a4),若δ小於δT,則增大頻率f,並回到(a4),若δ等於δT,則當前測試頻率f等於頻率f0。 The method of using a radio frequency card reader according to claim 8, wherein determining the highest frequency f0 of the system without calibration operation comprises: (a1) determining between the radio frequency card and the radio frequency card reader. The distance control target value (Din, Dv), wherein Din indicates that in the range of 0~Din, all terminals configuring the radio frequency card are ensured to be read by the radio frequency card reader; wherein Dv represents a distance floating range, so that The radio frequency card is read by the radio frequency card reader within a distance range of Din~(Din+Dv) and exceeds a distance range of (Din+Dv), the radio frequency card will not be allowed to be read by the radio frequency Card reader reading; (a2) determining a floating range δR of the radio frequency card detecting electrical signal, wherein the floating range is caused by the radio frequency card reader; (a3) determining a detecting electrical signal caused by the radio frequency card itself The fluctuation range δC; (a4) testing the electrical signal-distance curve of various typical terminals and obstacles at the frequency f; (a5) determining the fluctuation of the detected electrical signal of the radio frequency card according to the distance control target value (Din, Dv) Range δA, where δA is equal to the electrical power of the various typical terminals and obstacles a difference between the Din point electric signal and the (Din+Dv) point electric signal on the voltage distance curve obtained by the distance-distance curve having the average field strength attenuation curve; (a6) determining the radio frequency card caused by the terminal Detecting a fluctuation range δT of the electrical signal, wherein δT represents: a fluctuation range of the detection voltage in the radio frequency card caused by an attenuation characteristic of the terminal, δT=δA−δR−δC; and (a7) calculating the various typical terminals And obstacles, in the range of RF communication distance control The maximum field strength difference δ at different distance points within, if δ is greater than δT, the frequency f is decreased, and the process returns to step (a4). If δ is smaller than δT, the frequency f is increased and returned to (a4). If δ is equal to δT, the current test frequency f is equal to the frequency f0. 根據申請專利範圍第8項所述之利用射頻讀卡器的方法,進一步包括:(a)通過低頻發射通道,所述射頻讀卡器不斷發射帶有預設發射參數的信號,其中所述信號包括所述射頻讀卡器的身份識別碼(IDr),其中發射參數包括頻率f、編碼方式、調製方式、和恒定場強參數;通過射頻通道,所述射頻讀卡器等待接收來自配置有所述射頻卡的移動終端的資訊;(b)在所述射頻卡與所述射頻讀卡器之間通過所述射頻通道交換資訊;所述資訊包括:被所述射頻卡接收以及從所述射頻卡返回的所述身份識別碼(IDr);所述移動終端的識別碼(IDc);及所述射頻讀卡器解碼的所述身份識別碼(IDr)和所述識別碼(IDc);所述射頻讀卡器判斷從所述射頻卡返回的所述身份識別碼(IDr)是否與所述射頻讀卡器發射的所述身份識別碼(IDr)一致;若一致,則在後續的射頻通信過程中,利用(IDr,IDc)組合位址形成所述射頻讀卡器和終端唯一綁定;否則,表示通信錯誤,返回步驟(a),直到確定出一致的身份識別碼(IDr);(c)通過所述射頻通道進行交易。 The method of using a radio frequency card reader according to claim 8, further comprising: (a) transmitting, by the low frequency transmission channel, the radio frequency card reader continuously transmits a signal with a preset transmission parameter, wherein the signal The identifier (IDr) of the radio frequency reader is included, wherein the transmission parameter includes a frequency f, an encoding mode, a modulation mode, and a constant field strength parameter; and the radio frequency card reader waits for receiving from the configuration through the radio frequency channel Information about the mobile terminal of the radio frequency card; (b) exchanging information between the radio frequency card and the radio frequency card reader through the radio frequency channel; the information includes: receiving by the radio frequency card and from the radio frequency The identification code (IDr) returned by the card; the identification code (IDc) of the mobile terminal; and the identification code (IDr) and the identification code (IDc) decoded by the radio frequency card reader; The radio frequency card reader determines whether the identity code (IDr) returned from the radio frequency card is consistent with the identity code (IDr) transmitted by the radio frequency card reader; if consistent, in subsequent radio frequency communication In the process, use (IDr, IDc) The combined address forms a unique binding of the radio frequency reader and the terminal; otherwise, indicating a communication error, returning to step (a) until a consistent identification number (IDr) is determined; (c) transacting through the radio frequency channel . 根據申請專利範圍第8項所述之利用射頻讀卡器的方法,進一步包括: (a11)選擇以下一種方式:峰值場強幅值恒定;或微分場強幅值恒定;並相應的執行以下步驟(a21)或(a31);(a21)對於所述峰值場強幅值恒定方式:選擇編碼方式、調製方式、和驅動電壓波形;確定低頻磁場的目標場強,以選定以下參數:驅動電壓幅值;校正參數;低頻發射線圈電阻;及低頻發射線圈匝數;檢測在選定參數下所述低頻磁場的信號強度是否符合預設的低頻磁場的強度目標值;若符合,則參數選擇完成;否則重新校正參數;或(a31)對於所述微分場強幅值恒定方式:選擇編碼方式、調製方式、驅動電壓波形;確定所述低頻磁場的目標場強,以選定以下參數:驅動電壓幅值;校正參數;低頻發射線圈電阻;及低頻發射線圈匝數; 檢測在選定參數下所述低頻磁場的信號強度是否符合預設的低頻磁場的強度目標值;若符合,則參數選擇完成;否則重新校正參數。 The method for using a radio frequency card reader according to claim 8 of the patent application scope further includes: (a11) selecting one of the following methods: the peak field strength amplitude is constant; or the differential field strength amplitude is constant; and correspondingly performing the following steps (a21) or (a31); (a21) for the peak field strength amplitude constant mode Select the coding mode, modulation mode, and drive voltage waveform; determine the target field strength of the low frequency magnetic field to select the following parameters: drive voltage amplitude; correction parameters; low frequency transmit coil resistance; and low frequency transmit coil turns; detection in selected parameters Whether the signal strength of the low frequency magnetic field meets the intensity target value of the preset low frequency magnetic field; if it is met, the parameter selection is completed; otherwise, the parameter is recalibrated; or (a31) for the differential field strength amplitude constant mode: select coding Mode, modulation mode, driving voltage waveform; determining a target field strength of the low frequency magnetic field to select the following parameters: driving voltage amplitude; calibration parameter; low frequency transmitting coil resistance; and low frequency transmitting coil turns; Detecting whether the signal strength of the low frequency magnetic field meets the preset intensity target value of the low frequency magnetic field under the selected parameter; if it is met, the parameter selection is completed; otherwise, the parameter is recalibrated. 根據申請專利範圍第8項所述之利用射頻讀卡器的方法,進一步包括對於通信距離誤差的自我調整校正;所述自我調整校正包括:(i)設置本地磁探測器的測量目標Hs和誤差範圍He,其中He小於預設誤差值δR,且其中由所述本地磁探測器探測到的場強在預期範圍[Hs-He,Hs+He]內;(ii)所述本地磁探測器將當前接收所述低頻磁場的信號的磁場強度與預期範圍相比較,若不在預期範圍內,則調節所述射頻讀卡器的發射調整線圈。 The method for using a radio frequency card reader according to claim 8 of the patent application, further comprising self-adjustment correction for a communication distance error; the self-adjustment correction comprises: (i) setting a measurement target Hs and an error of the local magnetic detector a range He, where He is less than a preset error value δR, and wherein the field strength detected by the local magnetic detector is within an expected range [Hs-He, Hs + He]; (ii) the local magnetic detector will The magnetic field strength of the signal currently receiving the low frequency magnetic field is compared to the expected range, and if not within the expected range, the emission adjustment coil of the radio frequency reader is adjusted. 根據申請專利範圍第12項所述之利用射頻讀卡器的方法,其中所述誤差自我調整校正通過所述射頻讀卡器外部的本地磁探測器向外部進行、或通過置於所述射頻讀卡器內的磁探測器在內部進行。 The method of using a radio frequency card reader according to claim 12, wherein the error self-adjustment correction is performed externally by a local magnetic detector external to the radio frequency reader, or by being placed in the radio frequency reading The magnetic detector inside the card is internally performed. 根據申請專利範圍第8項所述之利用射頻讀卡器的方法,進一步包括:檢測干擾射頻讀卡器。 The method of using a radio frequency card reader according to claim 8 of the patent application, further comprising: detecting an interfering radio frequency card reader. 根據申請專利範圍第14項所述之利用射頻讀卡器的方法,其中所述檢測干擾射頻讀卡器包括:對低頻信號或射頻信號進行搜索。 The method of using a radio frequency card reader according to claim 14, wherein the detecting the interference radio frequency card reader comprises: searching for a low frequency signal or a radio frequency signal. 根據申請專利範圍第15項所述之利用射頻讀卡器的方法,進一步包括:若探測到所述低頻信號或射頻信號,則對其進行解碼; 確定所述解碼的信號是否包括合法射頻讀卡器上唯一的身份識別碼。 The method for using a radio frequency card reader according to claim 15, further comprising: decoding the low frequency signal or the radio frequency signal if the low frequency signal or the radio frequency signal is detected; Determining whether the decoded signal includes a unique identification code on a legitimate radio frequency reader. 根據申請專利範圍第16項所述之利用射頻讀卡器的方法,進一步包括:根據所述低頻信號或射頻信號的強度,判斷與所述干擾射頻讀卡器的距離;若判斷所述距離在預設安全距離內,則發出警報。 The method for using a radio frequency card reader according to claim 16 , further comprising: determining a distance from the interfering radio frequency card reader according to the strength of the low frequency signal or the radio frequency signal; if the distance is determined to be An alarm is issued within the preset safety distance.
TW100108526A 2011-03-14 2011-03-14 A card reader TWI549063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100108526A TWI549063B (en) 2011-03-14 2011-03-14 A card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100108526A TWI549063B (en) 2011-03-14 2011-03-14 A card reader

Publications (2)

Publication Number Publication Date
TW201237770A TW201237770A (en) 2012-09-16
TWI549063B true TWI549063B (en) 2016-09-11

Family

ID=47223224

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100108526A TWI549063B (en) 2011-03-14 2011-03-14 A card reader

Country Status (1)

Country Link
TW (1) TWI549063B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330684A (en) * 2008-05-19 2008-12-24 深圳市中兴集成电路设计有限责任公司 Method for controlling effective communication distance based on radio frequency SIM card
CN101359363A (en) * 2008-09-23 2009-02-04 清华大学 Method for preventing interception in radio frequency recognition system using back-scattering modulation technique
CN101835157A (en) * 2010-06-02 2010-09-15 联动优势科技有限公司 Dual-frequency antenna mobile phone
CN101354739B (en) * 2008-08-25 2010-12-29 国民技术股份有限公司 Method for controlling radio frequency SIM card communication distance in virtue of label recognition and communication system thereof
CN101241542B (en) * 2005-01-31 2011-05-25 索尼株式会社 Communication apparatus, communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241542B (en) * 2005-01-31 2011-05-25 索尼株式会社 Communication apparatus, communication method
CN101330684A (en) * 2008-05-19 2008-12-24 深圳市中兴集成电路设计有限责任公司 Method for controlling effective communication distance based on radio frequency SIM card
CN101354739B (en) * 2008-08-25 2010-12-29 国民技术股份有限公司 Method for controlling radio frequency SIM card communication distance in virtue of label recognition and communication system thereof
CN101359363A (en) * 2008-09-23 2009-02-04 清华大学 Method for preventing interception in radio frequency recognition system using back-scattering modulation technique
CN101835157A (en) * 2010-06-02 2010-09-15 联动优势科技有限公司 Dual-frequency antenna mobile phone

Also Published As

Publication number Publication date
TW201237770A (en) 2012-09-16

Similar Documents

Publication Publication Date Title
US10019611B2 (en) Communication device and system
JP5468144B2 (en) Near field communication method and system
WO2011140732A1 (en) Short-range communication method and system
US8630584B2 (en) RF SIM card, card reader, and communication method
WO2011113216A1 (en) Mobile radio frequency apparatus, radio frequency integrated circuit card and radio frequency memory card
CN102194090B (en) Card reader
WO2013063503A2 (en) Adaptive nfc transceivers
KR20130105259A (en) Near field commnunications device having adjustable gain
CN102768722B (en) Communication system and method
CN102810144B (en) Method and device for distance-controllable mobile payment
US8929805B2 (en) System, method, and device for radio frequency communication
CN102769483A (en) Communication system and method
CN102769474A (en) Radio frequency device and distance control method for low-frequency alternating magnetic field
Gossar et al. Investigations to achieve very high data rates for proximity coupling devices at 13.56 MHz and NFC applications
TWI549063B (en) A card reader
TWI501575B (en) Mobile rf apparatus, rf ic card and rf storage card
TWI509522B (en) Rf device, rf reader, and related communication system and method
US11544480B2 (en) Method for compensating for a phase shift between the signal emitted by an object and that received from a reader equipped with an envelope detector and corresponding object
JP2010257381A (en) Noncontact ic card information processor

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees