KR20030097044A - Apparatus and method for discrimination rf card type - Google Patents

Apparatus and method for discrimination rf card type Download PDF

Info

Publication number
KR20030097044A
KR20030097044A KR1020020034174A KR20020034174A KR20030097044A KR 20030097044 A KR20030097044 A KR 20030097044A KR 1020020034174 A KR1020020034174 A KR 1020020034174A KR 20020034174 A KR20020034174 A KR 20020034174A KR 20030097044 A KR20030097044 A KR 20030097044A
Authority
KR
South Korea
Prior art keywords
card
signal
typea
type
clipping
Prior art date
Application number
KR1020020034174A
Other languages
Korean (ko)
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 KR1020020034174A priority Critical patent/KR20030097044A/en
Publication of KR20030097044A publication Critical patent/KR20030097044A/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems

Abstract

PURPOSE: A device and a method for discriminating a type of an RF(Radio Frequency) card are provided to discriminate a type-A card or a type-B card by receiving a signal from the card and analyzing the signal with a difference of a physical communication method in the same device. CONSTITUTION: An RF signal is inputted from the RF card entered an operation area of an antenna. The RF signal is clipped to a constant level in order to make an envelope have a positive value. An output signal is low-frequency filtered. The output signal is integrated. If an integration value is above a standard value, the RF card is decided as the type-A card. If the integration value is below the standard value, the RF card is decided as the type-B card.

Description

알에프 카드타입 구별장치 및 방법{APPARATUS AND METHOD FOR DISCRIMINATION RF CARD TYPE}RF card type discriminator and method {APPARATUS AND METHOD FOR DISCRIMINATION RF CARD TYPE}

일반적으로 사용되는 RF카드와 단말기(버스단말기, 지하철단말기, 충전단말기 등)와의 통신과정을 살펴보면, 사용자가 RF카드를 단말기의 안테나 유효영역에 가져가면 RF카드는 자신의 존재를 알리기 위한 무선신호를 방출한다. 다음 단말기는 REQ(request)신호를 카드로 보내고 카드는 ATQ(answer to request)신호를 단말기로 보내는 등 초기화 작업을 한다. 초기화후 단말기와 카드는 카드의 칩 고유의시리얼 넘버를 사용하여 안티콜루젼(비트콜루젼) 루프를 실행한다. 안티콜루젼 루프는 2개 이상의 카드가 동시에 단말기 안테나 유효영역에 있을때 복수 카드들중 하나를 선택하기 위하여 수행된다. 즉, 이후에는 특정 시리얼넘버를 가진 카드와 단말기에만 통신이 이루어지게 된다. 다음에 단말기는 내부 보안모듈(SAM)을 이용하여 카드와 인증작업(Mifare방식 카드의 경우 3-pass 인증)을 수행하여 카드내부의 메모리영역(EEPROM)에 접근하여 해당작업을 수행한다.Looking at the communication process between a commonly used RF card and a terminal (bus terminal, subway terminal, charging terminal, etc.), when the user brings the RF card to the antenna effective area of the terminal, the RF card is a radio signal to indicate its existence Release. The next terminal sends a REQ (request) signal to the card and the card performs an initialization operation such as sending an ATQ (answer to request) signal to the terminal. After initialization, the terminal and the card execute the anti-collusion loop using the card's own serial number. An anti-collusion loop is performed to select one of a plurality of cards when two or more cards are simultaneously in the terminal antenna effective area. In other words, the communication is made only to the card and the terminal having a specific serial number. Next, the terminal performs an authentication operation (3-pass authentication in the case of the Mifare type card) using the internal security module (SAM) to access the memory area (EEPROM) inside the card and perform the corresponding operation.

상기 설명은 필립스사의 Mifare방식 RF카드의 동작설명이다. 교통카드를 중심으로 널리 사용되고 있는 RF카드는 현재 필립스사의 Mifare방식의 카드가 가장 일반적으로 이용된다. 그리고, ISO에서는 필립스사의 Mifare방식을 포함하는 typeA 방식 카드를 규격으로 ISO14443A(part1~part4)를 제정하였고, 상기 카드들과 통신방법이 다른 방식인 typeB 방식 카드도 규격으로 ISO14443B를 제정하였다. 그러나, 상기 typeA규격 방식 카드가 Mifare방식을 포함하고 있다고는 하나, 양자는 part1에서 part3까지의 무선영역의 물리적 통신방법만이 동일할 뿐이며, 카드 시리얼넘버의 길이나 암호화 프로토콜 알고리즘방법은 서로 달라 실제 사용상에는 전혀 별개 방식들로 취급된다. 즉, 실제 구현의 면에서는 Mifare방식카드, typeA규격방식 카드, typeB규격방식 카드로 3개의 방식이 있다고 볼 수 있다. ISO14443A규격에서도 물리적 규정과 카드선택방법인 part1 ~ part3까지만 Mifare방식과 typeA방식을 동일하게 취급하며, 단말기와 카드와의 통신 프로토콜을 규정한 part4에서는 typeA방식과 기타방식(Mifare방식)으로 나뉘게 된다. Mifare방식 카드는 구조가 간단하고 저렴하며 현재 널리 사용되고 있는 장점이 있으나, 미래의 기술발전을 감안할때에는 이보다 기능성이 향상된 typeA 방식 카드나 typeB 방식의 카드가 이를 대체할 것으로 추측할 수 있다.The above description is the operation of Philips Mifare RF card. RF card, which is widely used mainly for transportation cards, is the most commonly used Mifare card of Philips. In addition, ISO established ISO14443A (part1 to part4) as a standard for a typeA type card including a Philips Mifare method, and a typeB type card having a different communication method from the cards was also enacted as ISO14443B. However, although the typeA standard card includes the Mifare method, the two are only the same physical communication method in the wireless area from part1 to part3, and the length of the card serial number and the encryption protocol algorithm are different from each other. In use, they are treated in completely separate ways. In other words, there are three types of Mifare cards, typeA standard cards, and typeB standard cards. In the ISO14443A standard, the Mifare method and the typeA method are handled identically to the physical rules and the card selection method part1 to part3, and the part4 which defines the communication protocol between the terminal and the card is divided into the typeA method and the other method (Mifare method). The Mifare card has a simple structure, is cheap, and is widely used. However, in the future, it may be assumed that a typeA card or a typeB card with improved functionality will replace it.

대체를 위해서는 경제적인 이유로 기존의 카드도 호환가능해야 실제적으로 사용될 수 있다. 그러나, 기존의 기술에서는 물리적 통신방법이 동일한 typeA방식 카드와 Mifare방식 카드도 동일한 단말기에서 호환가능하게 사용될 수 없었으며, 물리적 통신방법이 다른 typeB방식 카드와의 호환은 더욱 요원하였다. 단지 기존의 기술로는 단순히 각 방식별 모듈을 한 단말기에 모아놓고 사용시마다 어떤 방식인지를 지정해서 각 방식에 따른 처리를 수행토록하는 정도가 가능한데, 이는 신속한 처리가 필요한 교통카드영역에서는 불편하기 이를 때 없으며, 사용자가 자신이 가진 카드의 type을 알아야 한다는 번거로움이 있다.For replacement, existing cards must be compatible for economic reasons, so they can be used in practice. However, in the conventional technology, a typeA card and a Mifare card with the same physical communication method cannot be used interchangeably in the same terminal, and compatibility with other typeB cards with different physical communication methods is further required. However, with existing technology, it is possible to simply collect the modules for each method in one terminal and designate which method each time it is used to perform the processing according to each method, which is inconvenient in the transportation card area that requires quick processing. There is no time, and the user has to know the type of card he has.

본 발명은 이와 같은 기존 기술의 문제점들을 극복하고자 안출된 것으로써, 그 목적은 물리적인 통신방법이 다른 점을 착안하여 동일한 기기(예컨데, 교통카드 버스단말기)에서 카드에서 신호를 받아 분석하여 typeA카드인지 typeB카드인지를 구별할 수 있는 방법을 제공함에 있다.The present invention has been made to overcome the problems of the existing technology, the object of the present invention is to focus on the difference in the physical communication method of the same device (for example, traffic card bus terminal) by receiving a signal from the card to analyze the typeA card The present invention provides a method for distinguishing between a typeB card and a typeB card.

본 발명의 다른 목적은 상기 물리적 통신방법의 분석으로 typeA카드로 판단된 카드에 대하여 다시 Mifare방식의 카드인지 또는 ISO의 typeA의 모든 일반적인 규격을 따르는 카드인지를 구별하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for discriminating whether a card determined as a typeA card by the analysis of the physical communication method is a card of Mifare type or a card conforming to all general standards of typeA of ISO.

본 발명의 또 다른 목적은 상기 구별방법이 사용되는 카드타입 구별장치, 예컨데 버스단말기나 지하철단말기를 제공함에 있다.Still another object of the present invention is to provide a card type discriminating apparatus in which the above distinguishing method is used, for example, a bus terminal or a subway terminal.

도 1은 본 발명의 카드타입 구별장치의 구조를 도시한 블럭도이다.1 is a block diagram showing the structure of a card type discriminating apparatus of the present invention.

도 2(a)는 단말기가 typeA카드에 보내는 무선신호의 모습을 나타낸 도면이다.Figure 2 (a) is a view showing a state of a radio signal that the terminal sends to the typeA card.

도 2(b)는 typeA카드가 단말기로 보내는 무선신호의 모습을 나타낸 도면이다.Figure 2 (b) is a diagram showing the state of the radio signal sent to the typeA card to the terminal.

도 2(c)는 typeA카드의 무선신호가 본 발명의 클리핑회로를 거친 이후 출력신호의 모습을 나타낸 도면이다.Figure 2 (c) is a view showing the state of the output signal after the radio signal of the typeA card passes the clipping circuit of the present invention.

도 2(d)는 typeA카드의 경우 상기 클리핑 회로의 출력신호가 필터링 회로(LPF)를 거친 이후 출력신호의 모습을 나타낸 도면이다.FIG. 2 (d) is a diagram illustrating the output signal of the clipping circuit after the output signal of the clipping circuit passes through the filtering circuit LPF.

도 2(e)는 typeA카드의 경우 상기 필터링회로의 출력신호가 클리핑 회로를 거친 이후 출력신호의 모습을 나타낸 도면이다.FIG. 2 (e) is a diagram illustrating the output signal of the type A card after the output signal of the filtering circuit passes through the clipping circuit.

도 2(f)는 typeA카드의 경우 상기 클리핑 회로의 출력신호가 적분회로를 거친 이후 출력신호의 모습을 나타낸 도면이다.FIG. 2 (f) is a diagram illustrating the output signal of the clipping circuit after the output signal of the clipping circuit passes through the integration circuit.

도 3(a)는 단말기가 typeB카드에 보내는 무선신호의 모습을 나타낸 도면이다.Figure 3 (a) is a view showing the state of the radio signal that the terminal sends to the typeB card.

도 3(b)는 typeB카드가 단말기로 보내는 무선신호의 모습을 나타낸 도면이다.Figure 3 (b) is a diagram showing the state of the radio signal sent to the typeB card to the terminal.

도 3(c)는 typeB카드의 무선신호가 본 발명의 클리핑회로를 거친 이후 출력신호의 모습을 나타낸 도면이다.Figure 3 (c) is a view showing the state of the output signal after the radio signal of the typeB card passes the clipping circuit of the present invention.

도 3(d)는 typeB카드의 경우 상기 클리핑 회로의 출력신호가 필터링 회로(LPF)를 거친 이후 출력신호의 모습을 나타낸 도면이다.FIG. 3 (d) shows the output signal of the clipping circuit after the output signal of the clipping circuit passes through the filtering circuit LPF.

도 3(e)는 typeB카드의 경우 상기 필터링회로의 출력신호가 클리핑 회로를 거친 이후 출력신호의 모습을 나타낸 도면이다.FIG. 3 (e) is a diagram illustrating the output signal after the output signal of the filtering circuit passes through the clipping circuit in the case of a typeB card.

도 3(f)는 typeB카드의 경우 상기 클리핑 회로의 출력신호가 적분회로를 거친 이후 출력신호의 모습을 나타낸 도면이다.FIG. 3 (f) is a diagram illustrating the output signal after the output signal of the clipping circuit passes through the integration circuit in the case of a typeB card.

도 4는 본 발명의 카드타입 구별방법의 절차를 나타낸 흐름도이다.4 is a flowchart showing the procedure of the card type discrimination method of the present invention.

도 5는 본 발명의 또 다른 카드타입 구별방법의 절차를 나타낸 흐름도이다.5 is a flowchart illustrating a procedure of another card type discriminating method of the present invention.

본 발명의 카드타입 구별방법은 안테나의 동작영역에 들어온 RF카드로부터 RF신호를 입력받는 단계와; 상기 단계에서 입력받은 RF신호를, 상기 RF신호의 포락선이 양의 값을 갖도록 일정 레벨 클리핑하는 단계와; 상기 클리핑 단계의 출력신호를 저주파 통과 필터링하는 단계와; 상기 필터링 단계의 출력신호를 적분하는 단계와; 상기 적분단계의 적분 값이 기준값 이상이면 typeA카드로 판단하고, 기준값 미만이면 typeB로 판단하는 단계로 이루어진 RF카드 구별방법을 제공한다.Card type discrimination method of the present invention comprises the steps of receiving an RF signal from the RF card entered into the operating area of the antenna; Level-clipping the RF signal received in the step so that the envelope of the RF signal has a positive value; Low pass filtering the output signal of the clipping step; Integrating the output signal of the filtering step; When the integral value of the integration step is greater than or equal to the reference value, it is determined as a typeA card, and if less than the reference value, it provides a method for distinguishing an RF card.

또한, 상기의 방법에 있어서, 상기 적분하는 단계 이전에 상기 필터링 단계의 출력신호를, 상기 출력신호의 중간주파수가 존재하는 부분의 적분값이 0이 되도록 일정수준 클램핑시키는 단계를 더 포함하는 것을 특징으로 하는 RF카드의 구별방법을 제공한다.The method may further include clamping the output signal of the filtering step prior to the integrating step so that the integral value of the portion where the intermediate frequency of the output signal exists is zero. It provides a method of distinguishing an RF card.

또한, 상기 2개의 구별방법 각각에 있어서, typeA로 판단된 경우에는 안티콜루젼 루프를 실행하여 선택된 RF카드에 대하여 SELECT명령을 보내는 단계; RF카드로부터 상기 SELECT명령에 대한 응답을 받는 단계; 상기 응답신호의 첫번째 바이트의 여섯번째 비트가 0인 경우에는 Mifare방식의 카드로 판단하고, 1인 경우에는 ISO14443A규격 전부를 따르는 typeA 카드로 판단하는 단계를 더 포함하는 것을 특징으로 하는 RF카드의 구별방법을 제공한다.In addition, in each of the two different methods, if it is determined that the typeA, the anti-collusion loop to execute a SELECT command for the selected RF card; Receiving a response to the SELECT command from an RF card; If the sixth bit of the first byte of the response signal is 0, the card is determined to be a Mifare card, and if it is 1, it is determined to be a typeA card conforming to all of the ISO14443A standard. Provide a method.

본 발명의 구별방법에 사용되는 RF카드 구별장치(단말기)는 RF카드와 무선으로 인터페이스를 이루는 RF안테나를 포함하는 RF인터페이스부와; 상기 RF인터페이스부로부터 입력받은 고주파 신호를 클리핑하는 클리핑 회로, 상기 클리핑된 신호를 필터링하는 필터링회로, 상기 필터링된 신호를 적분하는 적분회로를 포함하고, 상기 인터페이스부로부터 입력받은 고주파 신호를 물리적으로 분석하여 typeA카드인지 typeB카드인지를 구별하는 typeA/B 판단부로 이루어진 것을 특징으로 한다.An RF card discriminating apparatus (terminal) used in the discriminating method of the present invention comprises: an RF interface unit including an RF antenna that wirelessly interfaces with an RF card; And a clipping circuit for clipping the high frequency signal received from the RF interface unit, a filtering circuit for filtering the clipped signal, and an integration circuit for integrating the filtered signal, and physically analyzing the high frequency signal received from the interface unit. It characterized in that the typeA / B determination unit for distinguishing whether the typeA card or typeB card.

또한, 상기 RF인터페이스부 및 typeA/B 판단부와 더불어 상기 typeA/B 판단부에서 typeA로 판단된 카드에 대하여, 카드초기화 및 안티콜루젼 루프를 실행하면서, 단말기의 SELECT신호에 대한 RF카드의 응답을 분석하여 Mifare방식 카드인지, ISO14443A규격 전부를 따르는 typeA 카드인지를 판단하는 Mifare/typeA 판단부로 이루어진 것을 특징으로 한다.The RF card responds to the SELECT signal of the terminal while executing a card initialization and an anti-collusion loop on the card determined as type A in the type A / B determining unit together with the RF interface unit and the type A / B determining unit. It is characterized by consisting of the Mifare / typeA determination unit by analyzing the Mifare type card, whether the typeA card according to all ISO14443A standard.

첨부된 도면을 참조하여 본 발명의 실시예의 구조 및 동작을 상세히 설명하기로 한다. 도 4에 본 발명에 의한 카드타입 구별방법의 일예의 절차 흐름이 도시되어 있다.With reference to the accompanying drawings will be described in detail the structure and operation of the embodiment of the present invention. Figure 4 shows the procedure flow of an example of the card type discrimination method according to the present invention.

일단, 물리적인 통신방법의 차이에 의한 typeA카드인지 typeB카드인지를 판단한다. RF카드가 단말기 안테나(22)의 활성영역에 들어왔을때, 방출하는 전파신호의 모습은 도 1(b) 및 도 2(b)와 같다. 즉, 주캐리어인 고주파수 성분(도면에서는 검게 색칠해져 있다)과 고주파를 변조하는 중간주파수 성분(즉, 주 고주파가 중간주파수로 변조되었다)을 가지고 있다. 도 1(b)에 도시된 바와 같이 typeA카드는 각 비트의 값에 따라 중간주파수로 변조하는 영역과 중간주파수가 없는 영역을 조절하며, 도 2(b)에 도시된 바와 같이 typeB카드의 방출신호는 언제나 중간주파수로 변조되며 단지 각 비트의 값에 따라 중간주파수 성분의 위상이 180도 바뀌게 된다.First, it is determined whether it is a typeA card or a typeB card based on a difference in physical communication methods. When the RF card enters the active region of the terminal antenna 22, the appearance of the radio signal emitted is as shown in Figs. 1 (b) and 2 (b). That is, it has a high frequency component (shown in black in the drawing) that is a main carrier and an intermediate frequency component that modulates a high frequency (that is, the main high frequency has been modulated to an intermediate frequency). As shown in FIG. 1 (b), the typeA card adjusts the region modulating to the intermediate frequency and the region without the intermediate frequency according to the value of each bit, and as shown in FIG. Is always modulated to intermediate frequency, and the phase of the intermediate frequency component is shifted by 180 degrees depending on the value of each bit.

본 발명에서는 이와 같은 각 카드에서 방출되는 신호의 물리적인 차이점에서사용중인 카드의 type을 판단하기 위해, 우선 카드에서 방출되는 신호를 일정레벨로 클리핑시킨다. 클리핑 대신 반파정류할 수도 있는데 이는 클리핑 레벨을 0으로 하는 경우와 동일하다. 클리핑(upper clipping) 레벨은 클리핑된 신호의 포락선의 최소값이 0보다 크도록 조정한다. 클리핑 회로(32)의 출력은 도 1(c) 및 도 2(c)와 같다. 다음 클리핑 회로(32)의 출력을 저주파 통과 필터링 시킨다. 이때 직류성분과 중간주파수는 통과하고 고주파 성분은 제거되어 결과적으로 입력신호의 포락선이 출력으로 나타나게 되며, 저주파 필터링 회로(34)의 출력은 도 1(d) 및 도 2(d)와 같다. 다음에 필터링 회로(32)의 출력값을 일정레벨 클램핑시키는데, 클램핑 레벨은 중간주파수 존재부분의 적분값이 0으로 상쇄되도록 조정하며, 그 출력은 도 1(e) 및 도 2(e)와 같다. 다음에 클램핑 회로(35)의 출력신호를 일정 시간 적분한다. 여기서 일정 시간은 몇개의 비트가 표현되는 시간으로 하며, 이 단계에서 일정시간을 적분할 수도 있지만, 처음 단계부터 일정시간 동안의 신호만을 처리하도록 구현할 수도 있음은 당연하다. 다음 도 1(f) 및 도 2(f)에 도시된 바와 같이 적분회로(36)의 출력값이 기준값이하이면 typeA카드로 판단하고, 기준값 미만이면 typeB카드로 판단한다. typeB카드의 적분회로(36)의 입력신호는 대부분 사인파 성분(중간주파수)으로 구성되므로 출력값은 0에 가깝게 되나, typeA카드의 적분회로(36)의 입력신호는 직류성분을 상당부분 가지고 있으므로 출력값은 일정크기를 가진 양수값을 가지게 된다. 상기 클램핑 회로(35)를 구비하지 않고도 필터링 회로(34)의 출력을 바로 적분회로(36)로 전달하도록 본 발명을 구현할 수 있지만 적분회로(36) 출력값의 판단의 정확도 및 용이성을 위해 상기와 같이클램핑회로(35)를 구비하여 typeB카드의 최종출력값이 0이 되도록 하는 것이 바람직하다.In the present invention, in order to determine the type of the card being used in the physical difference of the signal emitted from each of these cards, first, the signal emitted from the card is clipped to a certain level. You can also half-wave rectify instead of clipping, which is the same as setting the clipping level to zero. The upper clipping level adjusts so that the minimum value of the envelope of the clipped signal is greater than zero. The output of the clipping circuit 32 is the same as that of FIGS. 1C and 2C. Next, the output of the clipping circuit 32 is low pass filtered. At this time, the DC component and the intermediate frequency pass, the high frequency component is removed, and as a result, the envelope of the input signal appears as an output, and the output of the low frequency filtering circuit 34 is as shown in FIGS. 1 (d) and 2 (d). Next, the output value of the filtering circuit 32 is clamped at a constant level, and the clamping level is adjusted so that the integral value of the intermediate frequency present portion is canceled to zero, and its output is as shown in Figs. 1 (e) and 2 (e). Next, the output signal of the clamping circuit 35 is integrated for a predetermined time. In this case, the predetermined time is a time at which a few bits are expressed. In this step, the predetermined time may be integrated. Next, as shown in FIGS. 1 (f) and 2 (f), if the output value of the integrating circuit 36 is less than or equal to the reference value, it is determined as a typeA card, and if it is less than the reference value, it is determined as a typeB card. Since the input signal of the integrating circuit 36 of the typeB card is composed mostly of sine wave components (intermediate frequency), the output value is close to zero, but since the input signal of the integrating circuit 36 of the typeA card has a substantial DC component, the output value is It will have a positive value with a certain size. The present invention can be implemented to deliver the output of the filtering circuit 34 directly to the integrating circuit 36 without having the clamping circuit 35, but as described above for accuracy and ease of determination of the output value of the integrating circuit 36. Preferably, the clamping circuit 35 is provided so that the final output value of the typeB card is zero.

도 1(a) 및 도 2(b)에 도시된 바와 같이, 단말기가 카드에 보내는 무선신호의 모습도 typeA(Mifare포함)와 typeB가 각각 다르므로, 단말기는 판별된 카드의 방식에 따라 다른 무선신호를 사용하여 카드와 통신을 수행해야 한다. 상기의 과정으로 typeB로 판명된 카드에 대해서는 typeB의 규격 프로토콜에 따라 단말기와 통신을 수행하여 해당 작업을 처리하면 되지만, typeA로 판명된 카드는 다시 ISO규격을 따르는 typeA카드인지 Mifare카드인지를 판단해야 한다. 이는 상기 두 방식의 카드가 사용하는 무선신호의 모습은 동일하나, 단말기와 통신시 사용하는 프로토콜 규칙이 다르므로, 어느 방식인지를 결정해야 단말기가 카드에 맞는 프로토콜을 사용하여 카드와 통신을 수행할 수 있게 되는 것이기 때문이다. 이 두 방식의 차이가 프로토콜 - 정확히 말해서는 안티콜루젼 루프 마지막 단계(안티콜루젼 루프 이탈단계) 이후의 프로토콜 - 에 있으므로, 프로토콜에서 카드의 판별방법을 찾아보기로 한다.As shown in Fig. 1 (a) and 2 (b), since the shape of the radio signal that the terminal sends to the card is also different from the typeA (including Mifare) and typeB, the terminal is a different radio depending on the type of card determined The signal must be used to communicate with the card. For the card proved to be typeB by the above process, it is possible to process the operation by communicating with the terminal according to the standard protocol of typeB, but the card proved to be typeA must again determine whether it is a typeA or Mifare card conforming to ISO standards. do. This is because the wireless signal used by the two types of cards is the same, but the protocol rules used when communicating with the terminal are different. Therefore, it is necessary to determine which method the terminal communicates with the card using a protocol suitable for the card. This is because it becomes possible. Since the difference between these two approaches lies in the protocol-to be exact, the protocol after the end of the anti-collusion loop (anti-collusion loop break)-let's look at how to determine the card in the protocol.

본 발명의 Mifare여부 판단 과정을 설명하기 위해 단말기의 카드인식과정부터 다시 기술하면, 카드가 단말기 안테나(22)의 활성영역에 들어오면 초기화 작업과 함께 카드는 자신의 시리얼넘버를 단말기로 보낸다. 여러장의 카드가 동시에 접촉했을때를 대비하여, 단말기는 시리얼넘버를 가지고 안티콜루젼 루프를 실행하여 하나의 카드(시리얼넘버)를 선택한다. 단말기는 선택된 시리얼넘버의 카드에 대하여 통신을 수행하기로 선택되었음을 알리는 SELECT신호를 보내고, 카드는 이에 응답하여 1byte의 SAK(Select Acknowledgement)신호를 보낸다. 이 SAK신호에서 6번째 비트는 "1"인 경우 ISO14443A규격 전부(part1~part4)를 따르는 typeA 방식의 카드인 경우이고, "0"인 경우는 기존의 Mifare방식을 따르는 것이다. 따라서, 이 SAK신호의 6번째 비트를 가지고 사용카드가 Mifare방식 카드인지 ISO14443A규격 전부를 따르는 카드인지를 판단한다. 그런데, 기존 구 버젼의 Mifare방식의 카드는 단말기의 SELECT신호에 응답하여 카드내 kbyte단위의 EEPROM영역크기값을 단말기로 보내기도 한다. 그러나, 이런 Mifare 방식카드는 모두 내부 EEPROM영역크기가 16kbyte이하(즉, SELECT에 대한 응답의 6번째 비트가 "1"이면 32kbyte가 되므로, 이 비트는 "1"이 될 수 없다)이므로, 이 경우에도 본 발명의 판단방법에 따라 Mifare방식카드인지 ISO14443A규격 전부를 따르는 typeA 카드인지 판단할 수 있다. 또한, 도 5에 도시된 바와 같이, Mifare/typeA 방식에 대한 또 다른 판단방법으로써 SELECT신호에 대한 카드 응답의 크기를 가지고 판단할수도 있다. ISO14443A규격 전부(특히, part4)를 따르는 경우에는 SELECT신호에 대한 SAK신호는 1바이트에 2바이트의 CRC(cyclic redundancy checking: 주기적 덧붙임 검사)가 첨부되어야 한다. 반면, 기존 구버젼의 Mifare방식에서는 SELECT신호에 대한 카드내부 EEPROM영역크기값 1byte만이 단말기로 전송된다. 따라서, 단말기의 SELECT신호에 대한 사용카드의 응답 데이타의 크기가 3byte면 ISO14443A규격 전부를 따르는 카드로 판단하고, 1byte면 Mifare방식의 카드로 판단하여 각각의 방식에 따른 절차를 수행한다.In order to explain the Mifare determination process of the present invention, the card recognition process of the terminal is described again. When the card enters the active area of the terminal antenna 22, the card sends its serial number to the terminal along with the initialization operation. In case multiple cards are contacted at the same time, the terminal selects one card (serial number) by executing an anti-collusion loop with the serial number. The terminal sends a SELECT signal indicating that the card of the selected serial number is to perform communication, and the card sends a 1-byte select acknowledgment (SAK) signal in response. In the SAK signal, the sixth bit is "1" in the case of a typeA card conforming to all of the ISO14443A standard (parts 1 through 4), and in the case of "0", the conventional Mifare method is followed. Therefore, with the sixth bit of this SAK signal, it is determined whether the used card is a Mifare type card or a card conforming to all of the ISO14443A standard. However, the old version of the Mifare type card also sends the EEPROM area size value in kbytes in the card to the terminal in response to the terminal's SELECT signal. However, all of these Mifare cards have an internal EEPROM area size of 16 kbytes or less (i.e., if the sixth bit of the response to the SELECT is "1", this bit cannot be "1"). In accordance with the determination method of the present invention, it can be determined whether the Mifare card or the typeA card conforming to all of the ISO14443A standard. In addition, as shown in FIG. 5, another decision method for the Mifare / typeA method may be determined with the magnitude of the card response to the SELECT signal. In accordance with all ISO14443A standards (particularly part4), the SAK signal for a SELECT signal shall be accompanied by two bytes of cyclic redundancy checking (CRC) in one byte. On the other hand, in the old version of Mifare, only 1 byte of the EEPROM area size value in the card for the SELECT signal is transmitted to the terminal. Therefore, if the size of the response data of the card used for the SELECT signal of the terminal is 3 bytes, it is determined that the card conforms to all of the ISO14443A standard, and if it is 1 byte, it is determined that the card is Mifare type.

도 3에 도시된 바와 같이, 상기 방법을 구현하기 위한 본 발명의 RF카드 타입 구별장치(버스단말기, 지하철단말기 등)는, RF카드와 무선으로 인터페이스를 이루는 RF안테나(22)를 포함하는 RF인터페이스부(20)와; 상기 RF인터페이스부(20)로부터 입력받은 고주파 신호를 클리핑하는 클리핑회로(32), 상기 클리핑된 신호를 필터링하는 필터링회로(34), 상기 필터링된 신호를 적분하는 적분회로(36)를 포함하고, 상기 인터페이스부로부터 입력받은 고주파 신호를 물리적으로 분석하여 typeA카드인지 typeB카드인지를 구별하는 typeA/B 판단부(30)와; 상기 typeA/B 판단부(30)에서 typeA로 판단된 카드에 대하여, 카드초기화 및 안티콜루젼 루프를 실행하면서, 단말기의 SELECT신호에 대한 RF카드의 응답을 분석하여 Mifare방식 카드인지, ISO14443A규격 전부를 따르는 typeA 카드인지를 판단하는 Mifare/typeA 판단부(40)로 이루어져 있으며, 상기 각 부분들의 동작들을 조정하는 제어부(10)를 더 구비할 수도 있으며, 상기 typeA/B 판단부(30)는 클램핑회로를 구비하여 상기 필터링회로(34)의 출력신호를 상기 적분회로(36)로 입력하기 전에 클램핑회로(35)에서 일정레벨 클램핑시키는 것이 바람직하다. 클램핑 레벨은 도 1(e) 및 도 2(e)에 도시한 바와 같이 중간주파수 부분의 적분값이 서로 상쇄되어 0이 되도록 하는 것이 좋으며, 이렇게 하는 경우에는 도 1(f) 및 도 2(f)에 도시한 바와 같이 typeA의 적분값은 어느 정도 양수값을 가지나 typeB의 적분값은 0에 가까워 판단이 보다 확실해진다.As shown in FIG. 3, the RF card type discriminating apparatus (bus terminal, subway terminal, etc.) of the present invention for implementing the method includes an RF interface including an RF antenna 22 that wirelessly interfaces with the RF card. Section 20; A clipping circuit 32 for clipping the high frequency signal received from the RF interface unit 20, a filtering circuit 34 for filtering the clipped signal, and an integrating circuit 36 for integrating the filtered signal, A typeA / B determination unit 30 which physically analyzes the high frequency signal received from the interface unit to distinguish between a typeA card and a typeB card; The typeA / B determination unit 30 analyzes the response of the RF card to the SELECT signal of the terminal while executing the card initialization and anti-collapse loop, and whether the card is a Mifare type card or the ISO14443A standard. Mifare / typeA determination unit 40 for determining whether the typeA card according to, and may further include a control unit 10 for adjusting the operations of the respective parts, the typeA / B determination unit 30 is clamping It is preferable that a clamping circuit 35 is provided at a predetermined level before the output signal of the filtering circuit 34 is input to the integrating circuit 36. As shown in Figs. 1 (e) and 2 (e), the clamping level is preferably such that the integral values of the intermediate frequency portions cancel each other to be 0. In this case, Figs. 1 (f) and 2 (f) As shown in Fig. 2), the integral value of typeA has a positive value to some extent, but the integral value of typeB is close to 0, making the judgment more certain.

상기 RF인터페이스부(20)는 RF카드의 신호를 받기 위한 RF안테나(22)와, 무선신호를 디지털신호로 바꾸는 RF모듈로 이루어지고, 상기 typeA/B 판단부(40)는 상기 RF인터페이스부(20)로부터 디지털신호로 변환된 신호가 아닌 아날로그 무선신호를 받아 사용중인 카드의 typeA/typeB 여부를 판단한다. 상기 Mifare/typeA 판단부(40)는 상기 typeA/B 판단부(30)의 판별결과가 typeA인 경우에 활성화되고, 상기 RF인터페이스부(20)로부터 디지탈신호로 변환된 신호를 받아서 사용중인 RF카드의 타입을 최종판단한다.The RF interface unit 20 is composed of an RF antenna 22 for receiving a signal of the RF card, and an RF module for converting a radio signal into a digital signal, and the type A / B determination unit 40 is the RF interface unit ( 20) receives the analog radio signal, not the digital signal, and determines whether the card being used is typeA / typeB. The Mifare / type A determination unit 40 is activated when the determination result of the type A / B determination unit 30 is type A, and receives a signal converted into a digital signal from the RF interface unit 20 and is in use. Final judgment of the type of.

본 발명에 의한 RF카드의 타입 구별장치 및 구별방법에 의하면, 하나의 기기(예, 버스단말기, 지하철단말기)에 사용되는 Mifare 방식카드, typeA 카드, typeB 카드 각각에 대하여, 사용시에 자동적으로 카드의 타입을 판단하여, 당해 타입에 맞는 무선전파신호체계 및 전송/인증 프로토콜을 적절하게 수행할 수 있도록 카드 타입의 자동구별방법을 제공하는 유용함을 가지고 있다.According to the type discriminating device and the distinguishing method of the RF card according to the present invention, for each Mifare type card, typeA card, and typeB card used in one device (e.g., bus terminal, subway terminal), the card is automatically It is useful to provide an automatic discrimination method of a card type to determine a type and to appropriately perform a radio wave signal system and a transmission / authentication protocol suitable for the type.

Claims (5)

안테나의 동작영역에 들어온 RF카드로부터 RF신호를 입력받는 단계;Receiving an RF signal from an RF card entered into an operation region of the antenna; 상기 단계에서 입력받은 RF신호를, 상기 RF신호의 포락선이 양의 값을 갖도록 일정 레벨 클리핑하는 단계;Level-clipping the RF signal received in the step so that the envelope of the RF signal has a positive value; 상기 클리핑 단계의 출력신호를 저주파 통과 필터링하는 단계;Low pass filtering the output signal of the clipping step; 상기 필터링 단계의 출력신호를 적분하는 단계;Integrating the output signal of the filtering step; 상기 적분단계의 적분 값이 기준값 이상이면 typeA카드로 판단하고, 기준값 미만이면 typeB로 판단하는 단계로 이루어진 RF카드타입 구별방법.And determining the typeA card if the integral value of the integration step is equal to or greater than the reference value, and determining the typeB if the integral value is less than the reference value. 제 1항에 있어서, 상기 적분하는 단계 이전에 상기 필터링 단계의 출력신호를, 상기 출력신호의 중간주파수가 존재하는 부분의 적분값이 0이 되도록 일정수준 클램핑시키는 단계를 더 포함하는 것을 특징으로 하는 RF카드타입 구별방법.2. The method of claim 1, further comprising clamping the output signal of the filtering step before the integrating step such that the integral value of the portion where the intermediate frequency of the output signal exists is zero. How to distinguish RF card type. 제 1항 또는 2항에 있어서, typeA로 판단된 경우에는 안티콜루젼 루프를 실행하여 선택된 RF카드에 대하여 SELECT명령을 보내는 단계;3. The method of claim 1 or 2, further comprising: executing a anti-collusion loop to send a SELECT command to the selected RF card if it is determined as typeA; RF카드로부터 상기 SELECT명령에 대한 응답을 받는 단계;Receiving a response to the SELECT command from an RF card; 상기 응답신호의 첫번째 바이트의 여섯번째 비트가 0인 경우에는 Mifare방식의 카드로 판단하고, 1인 경우에는 ISO14443A규격 전부를 따르는 typeA 카드로 판단하는 단계를 더 포함하는 것을 특징으로 하는 RF카드타입 구별방법.If the sixth bit of the first byte of the response signal is 0, it is determined as a Mifare type card, and if 1, it is determined as a typeA card conforming to all of the ISO14443A standard. Way. RF카드와 무선으로 인터페이스를 이루는 RF안테나를 포함하는 RF인터페이스부와;An RF interface unit including an RF antenna that wirelessly interfaces with the RF card; 상기 RF인터페이스부로부터 입력받은 고주파 신호를 클리핑하는 클리핑 회로와, 상기 클리핑된 신호를 필터링하는 필터링회로와, 상기 필터링된 신호를 적분하는 적분회로를 포함하고, 상기 인터페이스부로부터 입력받은 고주파 신호를 물리적으로 분석한 적분회로의 출력값으로 typeA 카드인지 typeB 카드인지를 구별하는 typeA/B 판단부로 이루어진 것을 특징으로 하는 RF카드타입 구별장치.And a clipping circuit for clipping the high frequency signal received from the RF interface unit, a filtering circuit for filtering the clipped signal, and an integration circuit for integrating the filtered signal, and physically storing the high frequency signal received from the interface unit. RF card type discrimination device comprising a typeA / B determination unit for distinguishing the typeA card or typeB card as the output value of the integrated circuit analyzed by. RF카드와 무선으로 인터페이스를 이루는 RF안테나를 포함하는 RF인터페이스부와;An RF interface unit including an RF antenna that wirelessly interfaces with the RF card; 상기 RF인터페이스부로부터 입력받은 고주파 신호를 클리핑하는 클리핑 회로와, 상기 클리핑된 신호를 필터링하는 필터링회로와, 상기 필터링된 신호를 적분하는 적분회로를 포함하고, 상기 인터페이스부로부터 입력받은 고주파 신호를 물리적으로 분석하여 typeA카드인지 typeB카드인지를 구별하는 typeA/B 판단부와;And a clipping circuit for clipping the high frequency signal received from the RF interface unit, a filtering circuit for filtering the clipped signal, and an integration circuit for integrating the filtered signal, and physically storing the high frequency signal received from the interface unit. A typeA / B judging unit for discriminating whether the typeA card is a typeB card or not; 상기 typeA/B 판단부에서 typeA로 판단된 카드에 대하여, 카드초기화 및 안티콜루젼 루프를 실행하면서, 단말기의 SELECT신호에 대한 RF카드의 응답을 분석하여 Mifare방식 카드인지, ISO14443A규격 전부를 따르는 typeA 카드인지를 판단하는 Mifare/typeA 판단부로 이루어진 것을 특징으로 하는 RF카드타입 구별장치.The typeA / B determination unit analyzes the response of the RF card to the SELECT signal of the terminal while executing the card initialization and anti-collusion loop, and is a Mifare type card or a typeA complying with all of the ISO14443A standards. RF card type discriminator, characterized in that consisting of Mifare / type A determination unit for determining whether the card.
KR1020020034174A 2002-06-18 2002-06-18 Apparatus and method for discrimination rf card type KR20030097044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020034174A KR20030097044A (en) 2002-06-18 2002-06-18 Apparatus and method for discrimination rf card type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020034174A KR20030097044A (en) 2002-06-18 2002-06-18 Apparatus and method for discrimination rf card type

Publications (1)

Publication Number Publication Date
KR20030097044A true KR20030097044A (en) 2003-12-31

Family

ID=32387616

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020034174A KR20030097044A (en) 2002-06-18 2002-06-18 Apparatus and method for discrimination rf card type

Country Status (1)

Country Link
KR (1) KR20030097044A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172806A (en) * 1998-12-08 2000-06-23 Hitachi Ltd Non-contact ic card
KR20010111984A (en) * 2000-06-14 2001-12-20 김해성 contactless card type A and/or type B reader
KR20020015245A (en) * 2000-08-21 2002-02-27 강영만 Contactless IC Card Reader of ISO-14443 Type B
KR20020020158A (en) * 2000-09-08 2002-03-14 안민영 Discriminating Apparatus For RF IC Card and The Method Thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172806A (en) * 1998-12-08 2000-06-23 Hitachi Ltd Non-contact ic card
KR20010111984A (en) * 2000-06-14 2001-12-20 김해성 contactless card type A and/or type B reader
KR20020015245A (en) * 2000-08-21 2002-02-27 강영만 Contactless IC Card Reader of ISO-14443 Type B
KR20020020158A (en) * 2000-09-08 2002-03-14 안민영 Discriminating Apparatus For RF IC Card and The Method Thereof

Similar Documents

Publication Publication Date Title
US6577229B1 (en) Multiple protocol smart card communication device
US7309018B2 (en) Semiconductor integrated circuit device and noncontact IC card
CA2280800C (en) Apparatus and method for delivering power to a contactless portable data source
US8379617B2 (en) Communication system, communication device, wired communication device, and communication method
KR20060008273A (en) System and method for minimizing unwanted re-negotiation of a passive rfid tag
US20080290995A1 (en) System and method for optimizing communication between an rfid reader and an rfid tag
US8115590B1 (en) RFID readers limiting theft of confidential information
KR102400727B1 (en) Adaptive rfid reader
US7286691B1 (en) Devices and methods for biometric authentication
US8731108B2 (en) Communication system for recognizing type of noise source
US9369319B1 (en) Wireless communication device and method for identifying the type of modulation among a plurality of modulation types in a near filed communication device
JP5428364B2 (en) Non-contact communication device and decoding unit thereof
EP1877952B1 (en) Circuit for a communication device and method of controlling a transmission
KR20030097044A (en) Apparatus and method for discrimination rf card type
US9558603B2 (en) Smartcard receiving device for providing a remote communication with switching means
CN103136856A (en) Payment device based on audio interface
US7265610B2 (en) Error detection in a signal in amplitude modulation
JP4134143B2 (en) Non-contact IC card, response method, and program thereof
US20170117942A1 (en) Wireless communication device and method of operating the same
KR100862009B1 (en) System and Method for Authenticating RFID Readeror Terminal, Secure RFID Tag for Authenticating RFID Readeror Terminal
EP1675418A1 (en) Method and apparatus for control of data synchronization between a user equipment and a user authentication card
CN102376000A (en) Communication device, information processing system, and encryption switching method
US9979745B2 (en) Method and apparatus for transmitting information
EP2009573A1 (en) System and method for optimizing communication between an rfid reader and an rfid tag
US20200077263A1 (en) Electronic device, vehicle system and method for safeguarding wireless data communication

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application