KR100383517B1 - Data transmission/reception device of proximity card - Google Patents

Data transmission/reception device of proximity card Download PDF

Info

Publication number
KR100383517B1
KR100383517B1 KR10-2001-0013217A KR20010013217A KR100383517B1 KR 100383517 B1 KR100383517 B1 KR 100383517B1 KR 20010013217 A KR20010013217 A KR 20010013217A KR 100383517 B1 KR100383517 B1 KR 100383517B1
Authority
KR
South Korea
Prior art keywords
data
clock
frame
signal
byte
Prior art date
Application number
KR10-2001-0013217A
Other languages
Korean (ko)
Other versions
KR20020073215A (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 KR10-2001-0013217A priority Critical patent/KR100383517B1/en
Publication of KR20020073215A publication Critical patent/KR20020073215A/en
Application granted granted Critical
Publication of KR100383517B1 publication Critical patent/KR100383517B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0723Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs

Landscapes

  • Information Transfer Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 근접식 비접촉식 카드의 국제규격인 ISO14443 타입B를 만족하는 비접촉식 카드의 송수신 장치에 관한 것이다.The present invention relates to a transmission / reception apparatus for a contactless card that satisfies ISO14443 Type B, which is an international standard for proximity contactless cards.

본 발명의 비접촉 근접식 카드의 데이터 송수신 장치는 데이터 전송부, 수신 데이터 프레임 검출부, 수신 데이터 변환부, 클럭 생성부를 포함한다.The apparatus for transmitting and receiving data of a non-contact proximity card of the present invention includes a data transmitter, a received data frame detector, a receiver data converter, and a clock generator.

데이터 전송부는 입력되는 바이트 데이터를 비트 데이터로 변환하고, 프레임의 시작 영역(SOF)과 프레임의 끝 영역(EOF)을 알리는 신호를 송신하고자 하는 데이터 프레임의 앞과 뒤에 부가하여 송신 클럭에 동기하여 직렬 전송한다. 프레임 검출부는 카드로부터 수신되는 데이터의 프레임의 시작과 프레임이 끝을 검출하여 유효한 프레임을 검출한다. 수신 데이터 변환부는 직렬로 수신되는 데이터 프레임을 수신 클럭과 동기시켜 바이트 데이터로 변환하고 변환된 바이트 데이터를 데이터 버스나 포트에 실어준다. 클럭 생성부는 메인 클럭을 입력받아 데이터 전송부, 수신 데이터 프레임 검출부 및 수신 데이터 변환부에서 필요한 클럭을 생성한다.The data transfer unit converts the input byte data into bit data, and serially synchronizes with the transmission clock in addition to the front and rear of the data frame to transmit a signal indicating the start area (SOF) and end area (EOF) of the frame. send. The frame detector detects a valid frame by detecting a start of a frame and an end of a frame of data received from the card. The receiving data converter converts the serially received data frame into byte data in synchronization with the receiving clock and loads the converted byte data onto a data bus or port. The clock generator receives the main clock and generates a clock required by the data transmitter, the received data frame detector, and the received data converter.

Description

비접촉 근접식 카드의 데이터 송수신 장치 {DATA TRANSMISSION/RECEPTION DEVICE OF PROXIMITY CARD}Data Transceiver for Contactless Proximity Card {DATA TRANSMISSION / RECEPTION DEVICE OF PROXIMITY CARD}

본 발명은 비접촉 근접식 카드의 데이터 송수신 장치에 관한 것으로서, 특히 근접식 비접촉식 카드의 국제규격인 ISO14443 타입B를 만족하는 비접촉식 카드의 송수신 장치에 관한 것이다.The present invention relates to a data transmission / reception apparatus for a contactless proximity card, and more particularly, to a transmission / reception apparatus for a contactless card that satisfies ISO14443 Type B, which is an international standard for proximity contactless cards.

국제규격인 ISO14443 타입B에 따르면, 단말기에서 카드로의 데이터 전송은 13.56MHz의 반송파를 사용하여 106Kbps의 데이터 전송속도로 데이터 프레임을 전송하고, 카드로부터의 데이터 수신은 847KHz의 부반송파를 사용하여 위상편이변조 방식(PSK)으로 106Kbps의 데이터를 수신하도록 되어 있다.According to the international standard ISO14443 Type B, data transmission from the terminal to the card uses a 13.56 MHz carrier to transmit data frames at a data rate of 106 Kbps, and data reception from the card uses a 847 KHz subcarrier to shift the phase. A modulation scheme (PSK) is used to receive 106 Kbps of data.

이러한 국제규격을 만족하여 데이터를 송수신하기 위해, 종래에는 데이터 송수신 장치의 기능을 마이크로 컨트롤러를 사용하여 소프트웨어적으로 구현하거나 특정회사의 주문형 반도체 제품을 사용하여 데이터 송수신 장치 및 방법을 구현하고 있었다.In order to transmit and receive data satisfying such international standards, conventionally, the functions of the data transmission / reception device have been implemented in software using a microcontroller, or a data transmission / reception device and method are implemented using a custom semiconductor product of a specific company.

그러나, 소프트웨어적으로 구현된 제품은 가격적으로는 장점이 있지만 ISO14443 규격에서 정하는 106Kbps의 데이터 속도를 시간적으로 맞추기 어렵고 개발 플랫폼이 바뀌면 완전히 다시 개발해야 하는 문제점을 가지고 있다.However, software-implemented products have advantages in terms of price, but they are difficult to match the data rate of 106Kbps as defined by the ISO14443 standard in time, and have to be completely redeveloped when the development platform changes.

한편, 특정회사의 주문형 반도체 제품을 사용하여 데이터 송수신장치를 구현하는 경우에는 비용이 고가로 되며, 데이터 송수신에 문제가 발생했을 때 분석을 할 수 없다는 문제점을 가지고 있다.On the other hand, when implementing a data transceiver using a specific company's custom-made semiconductor products, the cost is expensive, there is a problem that can not be analyzed when a problem occurs in the data transmission and reception.

본 발명이 이루고자하는 기술적 과제는 이와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 ISO14443 타입 B의 규격을 만족하는 모든 카드와 데이터를 주고받을 수 있도록 하드웨어적으로 설계된 데이터 송수신 장치를 제공하기 위한 것이다.SUMMARY OF THE INVENTION The present invention has been made in an effort to solve the above problems, and an object of the present invention is to provide a data transmission / reception apparatus designed in hardware to exchange data with all cards that meet the ISO14443 type B standard. will be.

또한, 본 발명의 목적은 제조비용이 적게들고 문제 발생시 쉽게 분석할 수 있는 데이터 송수신 장치를 제공하기 위한 것이다.In addition, an object of the present invention is to provide a data transmitting and receiving device that can be easily analyzed when a problem occurs with low manufacturing cost.

도1은 ISO14443의 타입 B 카드에 사용되는 데이터 프레임 구조를 나타내는 도면이다.1 is a diagram showing a data frame structure used for a type B card of ISO14443.

도2는 본 발명의 실시예에 따른 데이터 송수신 장치를 나타내는 도면이다.2 is a view showing a data transmission and reception apparatus according to an embodiment of the present invention.

도3은 본 발명의 실시예에 따른 클럭 생성부를 상세하게 나타내는 도면이다.3 is a diagram illustrating a clock generator in detail according to an exemplary embodiment of the present invention.

도4는 본 발명의 실시예에 따른 데이터 전송부를 상세하게 나타내는 도면이다.4 is a view showing in detail a data transmission unit according to an embodiment of the present invention.

도5는 본 발명의 실시예에 따른 수신 데이터 프레임 검출부를 상세하게 나타내는 도면이다.5 is a diagram illustrating in detail a received data frame detector according to an embodiment of the present invention.

도6은 본 발명의 실시예에 따른 수신 데이터 변환부를 상세하게 나타내는 도면이다.6 is a view showing in detail a received data conversion unit according to an embodiment of the present invention.

도7은 본 발명의 실시예에 따른 데이터 전송부의 타이밍도를 나타낸다.7 is a timing diagram of a data transmission unit according to an embodiment of the present invention.

도8은 본 발명의 실시예에 따른 수신데이터 프레임 검출부 및 수신 데이터 변환부의 타이밍도를 나타낸다.8 is a timing diagram of a reception data frame detector and a reception data converter according to an exemplary embodiment of the present invention.

도9는 본 발명의 실시예에 따른 데이터 송신의 흐름도이다.9 is a flowchart of data transmission according to an embodiment of the present invention.

도10은 본 발명의 실시예에 따른 데이터 수신의 흐름도이다.10 is a flowchart of data reception according to an embodiment of the present invention.

상기한 목적을 달성하기 위한 본 발명의 특징에 따른 근접식 카드의 데이터 송수신 장치는Apparatus for transmitting and receiving data of a proximity card according to a feature of the present invention for achieving the above object

입력되는 바이트 데이터를 비트 데이터로 변환하고, 프레임의 시작 영역(SOF)과 프레임의 끝 영역(EOF)을 알리는 신호를 송신하고자 하는 데이터 프레임의 앞과 뒤에 부가하여 송신 클럭에 동기하여 직렬 전송하는 데이터 전송부; 카드로부터 수신되는 데이터의 프레임의 시작과 프레임이 끝을 검출하여 유효한 프레임을 검출하는 수신 데이터 프레임 검출부; 직렬로 수신되는 데이터 프레임을 수신 클럭과 동기시켜 바이트 데이터로 변환하고 변환된 바이트 데이터를 데이터 버스나 포트에 실어주는 수신 데이터 변환부; 및 메인 클럭을 입력받아 상기 데이터 전송부, 상기 수신 데이터 프레임 검출부 및 상기 수신 데이터 변환부에서 필요한 클럭을 생성하는 클럭 생성부를 포함한다.Data that is converted into bit data into bit data, and serially transmitted in synchronization with the transmission clock in addition to the front and rear of the data frame to transmit a signal indicating the start area (SOF) and end area (EOF) of the frame. A transmission unit; A received data frame detector for detecting a valid frame by detecting a start and an end of a frame of data received from the card; A reception data conversion unit for converting serially received data frames into byte data in synchronization with a reception clock and loading the converted byte data on a data bus or a port; And a clock generator which receives a main clock and generates a clock required by the data transmitter, the received data frame detector, and the received data converter.

여기서, 상기 데이터 전송부에서 사용하는 송신 클럭과 상기 수신 데이터 변환부에서 사용하는 수신 클럭이 106KHz인 것이 바람직하다.Here, it is preferable that the transmission clock used by the data transmission unit and the reception clock used by the reception data converter are 106 KHz.

상기 클럭 생성부는The clock generator

상기 데이터 전송부에서 사용하기 위한 106KHz의 송신 클럭(TX_106KHz)을 바이트 단위로 생성하며 상기 데이터 전송부의 데이터 전송을 금지시키기 위한 금지신호(INHIBIT)를 생성하는 송신 클럭 생성부; 및 상기 수신 데이터 프레임 검출부 및 상기 수신 데이터 변환부에서 사용하는 106KHz의 수신 클럭(RX_106KHz)을 생성하는 수신 클럭 생성부를 포함한다.A transmission clock generation unit generating a transmission clock (TX_106KHz) of 106 KHz for use in the data transmission unit in bytes and generating a prohibition signal (INHIBIT) for prohibiting data transmission of the data transmission unit; And a reception clock generator for generating a reception clock (RX_106KHz) of 106 KHz used by the reception data frame detector and the reception data converter.

상기 데이터 전송부는The data transmission unit

상기 클럭 생성부에서 생성된 송신 클럭을 입력받아 송신하고자 하는 바이트 데이터를 직렬의 비트 데이터로 변환하고, 변환된 직렬 데이터에 프레임의 시작과 프레임의 끝을 부가하여 송신할 데이터 프레임을 생성하는 송신 프레임 생성부; 및 전송되는 데이터를 체크하여 한 바이트의 데이터가 종료하면 바이트 종료신호를 발생시켜 상기 클럭 생성부의 송신 클럭의 발생을 중단시키는 바이트 전송 체크부를 포함한다.The transmission frame which receives the transmission clock generated by the clock generator and converts the byte data to be transmitted into serial bit data, and adds the start and end of the frame to the converted serial data to generate a data frame to be transmitted. Generation unit; And a byte transfer check unit which generates a byte end signal and stops generation of the transmission clock of the clock generator when the byte of data is ended by checking the transmitted data.

상기 수신 프레임 검출부는The receiving frame detector

프레임의 시작 영역의 종료시점과 프레임의 끝 영역의 종료 시점 사이에서 하이 레벨 상태이고, 나머지 영역에서 로우 레벨인 프레임 검출 신호(DET_SOF_EOF)를 출력하는 것이 바람직하다.It is preferable to output the frame detection signal DET_SOF_EOF which is at a high level between the end time of the start area of the frame and the end time of the end area of the frame and low level in the remaining areas.

상기 수신 데이터 변환부는The received data converter

상기 프레임 검출 신호와 수신 데이터를 입력받아 비트 단위의 직렬 수신 데이터 프레임을 바이트 데이터로 변환하는 바이트 데이터 검출부; 바이트 데이터의 변환완료를 나타내는 신호(DATA_READY)를 발생하는 바이트 준비 신호 발생부를 포함한다.A byte data detector which receives the frame detection signal and the received data and converts a serial received data frame in units of bits into byte data; And a byte ready signal generator for generating a signal DATA_READY indicating completion of conversion of byte data.

한편, 본 발명의 하나의 특징에 따른 근접식 카드의 데이터 송신 장치는On the other hand, the apparatus for transmitting data of a proximity card according to one aspect of the present invention

입력되는 바이트 데이터를 비트 데이터로 변환하고, 프레임의 시작 영역(SOF)과 프레임의 끝 영역(EOF)을 알리는 신호를 송신하고자 하는 데이터 프레임의 앞과 뒤에 부가하여 106KHz의 송신클럭에 동기하여 직렬 전송하는 데이터 전송부; 및 메인 클럭을 입력받아 상기 데이터 전송부에서 사용하기 위한 106KHz의 송신 클럭(TX_106KHz)을 바이트 단위로 생성하며 상기 데이터 전송부의 데이터 전송을 금지시키기 위한 금지신호(INHIBIT)를 생성하는 송신 클럭 생성부를 포함한다.Converts the input byte data into bit data and transmits serially in synchronization with the transmit clock of 106KHz in addition to the front and rear of the data frame to transmit a signal indicating the start area (SOF) and end area (EOF) of the frame. A data transmission unit; And a transmission clock generation unit configured to receive a main clock and generate a transmission clock TX_106KHz of 106 KHz for use in the data transmission unit by a byte unit, and generate an INHIBIT to prohibit data transmission of the data transmission unit. do.

한편, 본 발명의 하나의 특징에 따른 근접식 카드의 데이터 수신 장치는On the other hand, the apparatus for receiving data of a proximity card according to an aspect of the present invention

카드로부터 수신되는 데이터의 프레임의 시작과 프레임의 끝을 검출하여 유효한 프레임을 검출하는 수신 데이터 프레임 검출부; 직렬로 수신되는 데이터 프레임을 106KHz의 수신 클럭과 동기시켜 바이트 데이터로 변환하고 변환된 바이트 데이터를 데이터 버스나 포트에 실어주는 수신 데이터 변환부; 및 메인 클럭을 입력받아 상기 수신 데이터 프레임 검출부 및 상기 수신 데이터 변환부에서 필요한 클럭을 생성하는 수신 클럭 생성부를 포함한다.A reception data frame detection unit for detecting a valid frame by detecting a start and an end of a frame of data received from the card; A receiving data converter for converting serially received data frames into byte data by synchronizing with a receiving clock of 106 KHz and loading the converted byte data on a data bus or a port; And a reception clock generator for receiving a main clock and generating a clock required by the reception data frame detector and the reception data converter.

이하에서는 도면을 참조하여 본 발명의 실시예를 상세하게 설명한다.Hereinafter, with reference to the drawings will be described an embodiment of the present invention;

먼저, 도1을 참조하여 ISO14443의 타입 B 카드에 사용되는 데이터 프레임 구조를 설명한다.First, a data frame structure used for a type B card of ISO14443 will be described with reference to FIG.

도1에 도시한 바와 같이, ISO14443의 타입 B 카드에 사용되는 데이터 프레임 구조는 프레임 시작 영역(SOF; start of frame), 데이터 영역(DATA1, DATA2,...,DATAn) 및 프레임 끝 영역(EOF; end of frame)으로 이루어진다. 프레임 시작 영역과 프레임 끝 영역(SOF, EOF)은 10 비트(또는 11 비트)가 모두 0인 값으로 이루어진다. 각 데이터 영역은 10 비트이며, 각각 1 비트의 시작 비트, 8비트의 데이터 비트, 1비트의 정지 비트로 이루어진다. 이때, 시작 비트의 값은 0이며, 정지 비트의 값은 l이다.As shown in Fig. 1, the data frame structure used for the Type B card of ISO14443 has a start of frame (SOF), a data area (DATA1, DATA2, ..., DATAn) and an end frame (EOF). ; end of frame). The frame start area and the frame end areas SOF and EOF have a value in which 10 bits (or 11 bits) are all zero. Each data area is 10 bits, and each consists of one bit of start bits, eight bits of data bits, and one bit of stop bits. At this time, the value of the start bit is 0 and the value of the stop bit is l.

본 발명의 실시예에 따른 데이터 송수신 장치는 이와 같은 국제 규격에 따라 106KHz의 송신 클럭에 동기시켜 비트 데이터 프레임을 전송하고 위상편이변조방식에서 검출된 106KHz의 수신 데이터를 입력받아 내부 클럭과 동기시켜 데이터를 검출한다.The data transmission and reception apparatus according to the embodiment of the present invention transmits a bit data frame in synchronization with a transmission clock of 106KHz according to the international standard, and receives received data of 106KHz detected by a phase shift modulation method and synchronizes with an internal clock. Detect.

도2는 본 발명의 실시예에 따른 데이터 송수신 장치를 나타내는 도면이다.2 is a view showing a data transmission and reception apparatus according to an embodiment of the present invention.

도2에 도시한 바와 같이, 본 발명의 실시예에 의한 데이터 송수신 장치는 클럭 생성부(100), 데이터 전송부(200), 수신 데이터 프레임 검출부(300) 및 수신 데이터 변환부(400)를 포함한다.As shown in FIG. 2, the apparatus for transmitting and receiving data according to the embodiment of the present invention includes a clock generator 100, a data transmitter 200, a received data frame detector 300, and a received data converter 400. do.

클럭 생성부(100)는 13.56MHz의 메인 클럭을 입력받아 데이터 전송부(200), 수신 데이터 프레임 검출부(300) 및 수신 데이터 변환부(400)에서 필요한 847KHz와 106KHz의 클럭을 공급한다. 데이터 전송부(200)는 클럭생성부(100)와 연결되어 바이트 데이터를 비트 데이터로 변환하고 프레임의 시작과 끝을 알리는 신호(SOF,EOF)를 송신하고자 하는 데이터 프레임의 앞과 뒤에 부가하여 106Kbps로 직렬 전송한다. 수신 데이터 프레임 검출부(300)는 클럭생성부(100)와 연결되어 수신되는 데이터로부터 유효한 프레임(즉, 프레임의 시작과 끝)을 검출한다. 수신 데이터 변환부(400)는 클럭생성부(100)와 수신 데이터 프레임 검출부(300)와 연결되어 직렬로 수신되는 데이터 프레임을 106KHz와 동기시켜 바이트 데이터로 변환하고 이 변환된 바이트 데이터를 데이터 버스나 포트에 실어준다.The clock generator 100 receives a main clock of 13.56 MHz and supplies clocks of 847 KHz and 106 KHz required by the data transmitter 200, the received data frame detector 300, and the received data converter 400. The data transmission unit 200 is connected to the clock generation unit 100 to convert byte data into bit data, and in addition to the front and rear of the data frame to transmit the signal (SOF, EOF) indicating the start and end of the frame 106Kbps Serial transmission The received data frame detector 300 is connected to the clock generator 100 to detect valid frames (that is, start and end of the frame) from the received data. The reception data conversion unit 400 is connected to the clock generation unit 100 and the reception data frame detection unit 300 to convert serially received data frames into 106 bytes in synchronization with 106 KHz, and convert the converted byte data into a data bus or Put it on the port.

다음은 도3 내지 도8을 참조하여 본 발명의 실시예에 따른 클럭 생성부(100), 데이터 전송부(200), 수신 데이터 프레임 검출부(300) 및 수신 데이터 변환부(400)를 상세하게 설명한다.Next, the clock generator 100, the data transmitter 200, the received data frame detector 300, and the received data converter 400 according to the embodiment of the present invention will be described in detail with reference to FIGS. 3 to 8. do.

도3, 도4, 도5, 도6은 각각 본 발명의 실시예에 따른 클럭 생성부, 데이터 전송부, 수신 데이터 프레임 검출부, 수신 데이터 변환부를 상세하게 나타내는 도면이다. 도7, 도8은 본 발명의 실시예에 따른 데이터 전송부의 타이밍도와 수신데이터 프레임 검출부 및 수신 데이터 변환부의 타이밍도를 나타낸다.3, 4, 5, and 6 are diagrams showing details of a clock generator, a data transmitter, a received data frame detector, and a received data converter according to an exemplary embodiment of the present invention. 7 and 8 illustrate timing diagrams of a data transmission unit and timing diagrams of a reception data frame detector and a reception data converter according to an exemplary embodiment of the present invention.

도2 및 도3에 도시한 바와 같이, 클럭 생성부(100)는 13.56MHz의 클럭신호, 바이트 전송 시작 신호 (STARTBYTE*), 바이트 전송 종료 신호(ENDBYTE), 하드웨어 초기화 신호(CLEAR*), 수신 데이터(RX_DATA)를 입력받아 데이터 전송부(200)에서 사용하기 위한 클럭(TX_106KHz), 데이터 전송부(200)가 바이트 전송을 금지하기 위한 금지 신호(INHIBIT), 수신데이터 검출부(300) 및 수신 데이터 변환부(400)에서 사용하기 위한 클럭(RX_106KHz, 847KHz)을 발생한다.2 and 3, the clock generator 100 receives a clock signal of 13.56 MHz, a byte transfer start signal STARTBYTE *, a byte transfer end signal ENDBYTE, a hardware initialization signal CLEAR *, and a reception signal. The clock TX_106KHz for receiving the data RX_DATA and using it in the data transmission unit 200, the prohibition signal INHIBIT for the data transmission unit 200 to inhibit byte transmission, the reception data detection unit 300, and the reception data The converter 400 generates clocks RX_106KHz and 847KHz for use.

도3에 도시한 바와 같이, 본 발명의 실시예에 따른 클럭 생성부(100)는 데이터 전송부(200)에서 사용하기 위한 클럭(TX_106KHz)을 바이트 단위로 생성하며 금지신호(INHIBIT)를 생성하는 송신 클럭 생성부(120), 수신데이터 검출부(300) 및 수신 데이터 변환부(400)에서 사용하기 위한 수신 클럭(RX_106KHz, 847KHz)을 생성하기 위한 수신 클럭 생성부(140)를 포함한다.As shown in FIG. 3, the clock generation unit 100 generates a clock signal TX_106KHz for use in the data transmission unit 200 in units of bytes, and generates a prohibition signal INHIBIT. And a reception clock generator 140 for generating reception clocks RX_106KHz and 847KHz for use in the transmission clock generator 120, the reception data detector 300, and the reception data converter 400.

송신 클럭 생성부(120)는 13.56MHz의 클럭을 입력받아 847KHz의 클럭을 생성하는 카운터(C1), 이 카운터(C1)에 연결되어 847KHz의 클럭을 입력받아 송신을 위한 106KHz 클럭(TX_106KHz)을 생성하는 카운터(C2), STARTBYTE* 신호와 ENDBYTE 신호를 입력받아 출력을 카운터(C2)의 클리어 단자(CRL)에 공급하는 오어 게이트(OR1)로 이루어진다. 도7에 도시한 바와 같이 1바이트의 데이터를 송신하기 위해 카드 단말기의 마이크로 컨트롤러(도시하지 않음)가 송신 클럭 생성부(120)의 오어 게이트(OR1)의 입력 신호인 STARTBYTE* 신호를 하이 레벨에서 로우 레벨로 하면, TX_106KHz 클럭이 발생한다. 1바이트의 데이터 전송이 종료되면 뒤에서 설명하는 바와 같이 ENDBYTE가 로우 레벨에서 하이 레벨로 변화되어 TX_106KHz의 클럭발생을 중지한다. 즉, 송신 클럭 생성부(120)는 STARTBYTE* 신호와 ENDBYTE 신호 중 어느 하나 이상이 하이 레벨인 경우 금지신호(INHIBIT)를 발생시켜 송신 클럭의 발생을 중지시키며, 이 금지신호는 후술하는 데이터 전송부(200)에 입력된다.The transmission clock generator 120 receives a clock of 13.56 MHz and generates a clock of 847 KHz, and is connected to the counter C1 to receive a clock of 847 KHz and generates a 106 KHz clock (TX_106 KHz) for transmission. It consists of an OR gate OR1 which receives a counter C2, a STARTBYTE * signal and an ENDBYTE signal, and supplies an output to a clear terminal CRL of the counter C2. As shown in FIG. 7, the microcontroller (not shown) of the card terminal transmits the STARTBYTE * signal, which is an input signal of the OR gate OR1 of the transmission clock generator 120, at a high level to transmit one byte of data. At a low level, a TX_106KHz clock is generated. When one-byte data transfer is completed, ENDBYTE is changed from low level to high level as described later to stop TX_106KHz clock generation. That is, when at least one of the STARTBYTE * signal and the ENDBYTE signal is at a high level, the transmission clock generator 120 generates an INHIBIT signal to stop generation of the transmission clock. It is input to 200.

수신 클럭 생성부(140)는 오어 게이트(OR2), 카운터(C3, C4), 인버터(IN2), 플립플롭(FF1)으로 이루어진다. 송신 클럭 생성부(120)에서 발생하는 847KHz의 클럭을 입력받아 수신데이터 검출에 필요한 106KHz의 클럭(RX_106KHz)을 발생한다. ISO14443 타입B의 규격에서 수신데이터 프레임은 프레임 시작신호(SOF)전에 일정시간 동안 수신데이터는 하이 레벨로 들어오게 된다. 프레임을 수신하기 전 크리어 신호(CLEAR*)를 로우 레벨로 하여 플립플롭(FF1)의 출력을 하이 레벨로 초기화 한 후, 크리어 신호(CLEAR*)를 하이 레벨로 한다. 플립플롭(FF1)의 출력단자는 오어 게이트(OR2)의 입력에 연결되어 오어 게이트(OR2) 출력이 하이 레벨이 된다. 오어 게이트(OR2)의 하이 레벨 출력은 카운터(C3)의 크리어 단자(CLR)로 입력되어 카운터(C3)의 출력을 로우 레벨로 만든다. 수신 프레임이 없는 경우 RX_DATA 신호는 로우 레벨로 있기 때문에 인버터(IN1)을 거치면 하이 레벨이 된다. 이 신호는 카운터(C4)의 크리어 단자로 입력되어 카운터(C3)의 출력이 모두 로우 레벨이 된다. 만약 수신데이터(RX_DATA)가 847KHz의 8주기 이상으로 하이 레벨이 계속되면 플립플롭(FF1)과 연결된 카운터(C4)의 출력이 로우 레벨에서 하이 레벨로 변화하여 오어 게이트(OR2)에 입력된다. 인버터(IN1),카운터(C4), 플립플롭(FF1)은 수신 데이터(RX_DATA)에 잡음으로 인한 카운터(C3)의 오동작을 방지하기 위하여 사용된다. 수신 데이터 신호(RX_DATA)가 847KHz의 주기로 8주기 미만동안 하이 레벨로 있으면 RX_106KHz의 클럭은 발생되지 않는다. 수신 데이터신호(RX_DATA)가 8주기 이상 하이레벨로 있다가 로우 레벨로 변화하면 그 때부터 카운터(C3)는 동작을 하여 수신 데이터 검출에 필요한 클럭(RX_106KHz)를 발생하게 된다. 이 클럭은 수신 프레임검출부(300)로 입력되어 유효한 수신데이터 프레임을 검출하는데 사용된다.The reception clock generator 140 includes an OR gate OR2, counters C3 and C4, an inverter IN2, and a flip-flop FF1. The 847 KHz clock generated by the transmission clock generator 120 is input to generate a 106 KHz clock (RX_106 KHz) necessary for detecting received data. In the ISO14443 type B standard, the received data frame is received at a high level for a predetermined time before the frame start signal (SOF). Before the frame is received, the clear signal CLEAR * is set to the low level and the output of the flip-flop FF1 is initialized to the high level, and then the clear signal CLEAR * is set to the high level. The output terminal of the flip-flop FF1 is connected to the input of the OR gate OR2 so that the output of the OR gate OR2 is at a high level. The high level output of the OR gate OR2 is input to the cree terminal CLR of the counter C3 to bring the output of the counter C3 to a low level. If there is no receiving frame, the RX_DATA signal is at a low level, and thus goes high through the inverter IN1. This signal is input to the cree terminal of the counter C4 so that the outputs of the counter C3 are all at the low level. If the received data RX_DATA continues at a high level for more than 8 cycles of 847 kHz, the output of the counter C4 connected to the flip-flop FF1 changes from a low level to a high level and is input to the OR gate OR2. The inverter IN1, the counter C4, and the flip-flop FF1 are used to prevent a malfunction of the counter C3 due to noise in the received data RX_DATA. If the received data signal RX_DATA is at a high level for less than eight periods at a period of 847 KHz, the clock of RX_106 KHz is not generated. When the received data signal RX_DATA is at a high level for at least 8 cycles and then changed to a low level, the counter C3 operates to generate a clock RX_106 KHz necessary for detecting the received data. This clock is input to the reception frame detection unit 300 and used to detect a valid received data frame.

도4에 도시한 바와 같이, 데이터 전송부(200)는 송신 프레임 생성부(220) 및 바이트 전송 체크부(240)로 이루어진다.As shown in FIG. 4, the data transmitter 200 includes a transmission frame generator 220 and a byte transmission checker 240.

송신 프레임 생성부(220)는 플립플롭 (FF2,FF3), 병렬-직렬 쉬프트레지스터(RG1), 앤드게이트(AND1)로 이루어지며, 클럭생성부(100)와 연결되어 송신을 위한 클럭 TX_106KHz를 입력받아 보내고자 하는 바이트 데이터(P2[0...7])를 직렬의 비트 데이터(DATA)로 변환하고, 직렬로 변환된 비트 데이터(DATA)와 SOFEOF신호를 이용하여 송신할 데이터 프레임을(TX_DATA)을 만든다.The transmission frame generator 220 includes flip-flops FF2 and FF3, a parallel-serial shift register RG1, and an AND gate AND1, and is connected to the clock generator 100 to input a clock TX_106KHz for transmission. Convert the byte data (P2 [0 ... 7]) to be received and converted into serial bit data (DATA), and use the serially converted bit data (DATA) and SOFEOF signal to transmit the data frame (TX_DATA). )

데이터 전송부(200)의 송신 프레임 생성부(220)에 입력되는 데이터는 8비트로 구성되어 있지만 국제규격인 ISO14443 타입B에 따라 데이터를 직렬로 전송하기 위해서는 도1에 도시한 바와 같이 시작 비트(Start Bit), 정지 비트(Stop Bit)를 추가하여야 한다. 도4에 도시한 바와 같이, 본 발명의 실시예에서는 시작 비트(항상 "0"의 값임)를 만들기 위해 제일 먼저 전송되는 레지스터(RG1)의 H단자를 로우 레벨(그라운드)로 고정하였으며, 8번째 데이터 비트와 정지 비트(항상 "1"의 값임)를 전하기 위하여 플립플롭(FF2)을 사용하였다. 본 발명의 실시예에서는 8개의 입력단자를 사용하는 레지스터(RG1)를 사용하였기 때문에 플립플롭(FF2)의 클리어 단자(CL)에 8번째의 데이터 비트가 입력되고, 플립플롭(FF2)의 출력신호가 레지스터의 입력단자(SER)에 입력되도록 설계되었다. 즉, 레지스터(RG1)의 입력단자(SER)는 8번째의 데이터 비트와 정지 비트가 함께 입력되도록 설계되었다. 그러나, 9개의 이상의 입력단자를 가지는 레지스터를 사용하는 경우에는 8비트의 데이터 비트와 정지 비트가 각각 별개의 입력단자에 입력되도록 설계할 수 있다. 레지스터(RG1)의 INH 단자에는 송신 클럭 생성부에서 생성되는 금지신호(INHIBIT) 신호가 입력되며, 도7에 도시한 바와 같이 금지신호가 하이 레벨인 경우 레지스터(RG1)의 동작이 중지된다. 플립플롭(FF3)은 레지스터(RG1)에서 직렬로 나오는 비트 데이터를 106KHz의 송신클럭에 동기시키기 위하여 사용된다.Although the data input to the transmission frame generator 220 of the data transmitter 200 is composed of 8 bits, in order to transmit data serially according to the international standard ISO14443 Type B, as shown in FIG. Bit and Stop Bit should be added. As shown in Fig. 4, in the embodiment of the present invention, the H terminal of the register RG1, which is transmitted first, is fixed at a low level (ground) in order to make a start bit (always a value of "0"). Flip-flop FF2 was used to convey data bits and stop bits (which are always values of "1"). In the embodiment of the present invention, since the register RG1 using eight input terminals is used, the eighth data bit is input to the clear terminal CL of the flip-flop FF2, and the output signal of the flip-flop FF2 is input. Is designed to be input to the input terminal (SER) of the register. That is, the input terminal SER of the register RG1 is designed such that the eighth data bit and the stop bit are input together. However, when a register having nine or more input terminals is used, it is possible to design such that eight bits of data bits and stop bits are input to separate input terminals. The inhibit signal INHIBIT signal generated by the transmission clock generator is input to the INH terminal of the register RG1. When the inhibit signal is at a high level as shown in FIG. 7, the operation of the register RG1 is stopped. The flip-flop FF3 is used to synchronize the bit data coming out of the register RG1 in series with a transmission clock of 106 KHz.

송신 프레임 생성부(220)의 앤드게이트(AND1)는 플립플롭(FF3)으로부터 출력되는 송신클럭에 동기된 변환 데이터(DATA0)와 프레임의 시작과 끝을 나타내는 신호(SOFEOF)를 앤드 게이트(AND1)에 입력받아 송신 데이터 프레임(TX_DATA)을 생성한다.The AND gate AND1 of the transmission frame generator 220 transmits the converted data DATA0 synchronized with the transmission clock output from the flip-flop FF3 and the signal SOFEOF indicating the start and end of the frame. The transmission data frame TX_DATA is generated by receiving the input signal.

바이트 전송 체크부(240)는 카운터(C5), 앤드게이트(AND2), 플립플롭(FF4)으로 이루어지며, 전송되는 데이터를 체크하여 한 바이트의 데이터가 종료하면 ENDBYTE신호를 발생시켜 클럭 생성부(100)의 TX_106KHz의 발생을 중단시킨다. 바이트 전송 체크부(240)의 앤드 게이트(AND2)는 송신 클럭(TX_106Khz)이 10개 입력될 때마다 하이레벨의 펄스 신호를 플립플롭(FF4)의 클럭단자에 입력하여, ENDBYTE 신호를 하이레벨로 한다. 이 ENDBYTE 신호는 도3에 도시한 바와 같이 송신 클럭 생성부(120)의 오어 게이트(OR1)에 입력된다.The byte transfer checker 240 includes a counter C5, an AND gate AND2, and a flip-flop FF4. The byte transfer checker 240 generates a ENDBYTE signal when one byte of data ends by checking the data to be transmitted. Generation of TX_106KHz in 100) is stopped. The AND gate AND2 of the byte transfer checker 240 inputs a high level pulse signal to the clock terminal of the flip-flop FF4 whenever 10 transmission clocks TX_106Khz are input, thereby bringing the ENDBYTE signal to the high level. do. This ENDBYTE signal is input to the OR gate OR1 of the transmission clock generator 120 as shown in FIG.

도2 및 도5에 도시한 바와 같이, 수신 데이터 프레임 검출부(300)는 인버터(IN2),카운터 (C6), 앤드게이트(AND3), 플립플롭 (FF5)으로 이루어져 있으며, 수신을 위한 클럭신호 RX_106KHz와 수신 데이터 RX_DATA, 초기화 신호 CLEAR*를 입력받아 수신 데이터 프레임을 검출하고, 수신 데이터 프레임이 검출되는 동안 유효 프레임을 체크하기 위한 파형인 DET_SOF_EOF를 하이 레벨로 유지한다.As shown in Figs. 2 and 5, the reception data frame detection unit 300 is composed of an inverter IN2, a counter C6, an AND gate AND3, and a flip-flop FF5, and a clock signal RX_106KHz for reception. And receive data RX_DATA and initialization signal CLEAR * to detect the received data frame, and maintain a high level DET_SOF_EOF, which is a waveform for checking valid frames while the received data frame is detected.

도5에서, 수신되는 데이터 중 로우레벨이 10비트 이상이 되면 앤드 게이트(AND3)의 출력이 로우 레벨에서 하이 레벨로 변환되어 플립플롭(FF5)의 출력이 토글된다. 즉, 플립플롭(FF5)의 출력 파형 DET_SOF_EOF은 도8에 도시한 바와 같이 프레임의 시작 영역(SOF)이 종료되면 하이 레벨 상태로 되며, 프레임의 끝 영역(EOF)이 종료되면 로우 레벨로 된다. 따라서, 플립플롭(FF5)의 출력이 하이 레벨인 경우가 유효한 수신 데이터 프레임으로 인식하게 된다.In FIG. 5, when the low level of the received data becomes 10 bits or more, the output of the AND gate AND3 is changed from the low level to the high level, and the output of the flip-flop FF5 is toggled. That is, the output waveform DET_SOF_EOF of the flip-flop FF5 becomes high level when the start region SOF of the frame ends, as shown in FIG. 8, and becomes low level when the end region EOF of the frame ends. Therefore, the case where the output of the flip-flop FF5 is at a high level is recognized as a valid received data frame.

도6에 도시한 바와 같이, 수신 데이터 변환부(400)는 바이트 데이터 검출부(420) 및 바이트 준비 신호 발생부(440)로 이루어진다.As shown in FIG. 6, the received data converter 400 includes a byte data detector 420 and a byte ready signal generator 440. As shown in FIG.

바이트 데이터 검출부(420)는 앤드 게이트(AND4, AND5), 인버터(IN3), 플립플롭(FF6), 직렬-병렬 쉬프트 레지스터(RG2), 래치(L1)로 이루어지며, 프레임검출 신호(DET_SOF_EOF)와 수신 데이터(RX_DATA)를 입력받아 비트단위의 직렬 수신 데이터 프레임을 바이트 데이터로 변환한다.The byte data detector 420 includes an AND gate AND4 and AND5, an inverter IN3, a flip-flop FF6, a series-parallel shift register RG2, and a latch L1, and a frame detection signal DET_SOF_EOF. Receives the receive data RX_DATA and converts the serial receive data frame in bit units into byte data.

바이트 준비 신호 발생부(440)는 카운터(C7, C8), 앤드 게이트(AND6), 인버터(IN4), 플립플롭(FF7)으로 이루어지며, 바이트 데이터의 변환 완료를 나타내는 신호 DATA_READY를 발생한다. 바이트 준비신호 발생부(440)가 DATA_READY 신호를 발생하여 데이터 준비를 알리면 단말기의 마이크로 컨트롤러(도시하지 않음)는 바이트 데이터 검출부(420)에 의해 변환된 바이트 데이터를 읽어 들인다.The byte ready signal generator 440 includes counters C7 and C8, an AND gate AND6, an inverter IN4, and a flip-flop FF7, and generates a signal DATA_READY indicating completion of conversion of byte data. When the byte preparation signal generator 440 generates a DATA_READY signal to notify data preparation, the microcontroller (not shown) of the terminal reads the byte data converted by the byte data detector 420.

구체적으로, 바이트 데이터 검출부(420)의 레지스터(RG2)는 수신된 데이터 중 시작 비트를 제외한 8비트의 데이터를 저장한 후 래치(L1)로 출력한다. 바이트 준비 신호 발생부(440)의 앤드 게이트(AND6)는 수신된 데이터가 9번째 비트가 되면 출력이 로우 레벨에서 하이 레벨로 변환되고 플립플롭(FF7)의 출력이 로우레벨에서 하이 레벨로 변하여 바이트 데이터 준비 신호(DATA_READY신호)를 발생하고 쉬프트 레지스터(RG2)에 저장된 8비트의 데이터가 래치(L1)에 저장되도록 래치(L1)의 클럭단자(CLK)로 입력된다. 마이크로 컨트롤러(도시하지 않음)는 DATA_READY신호를 점검하여 하이 레벨이면 1바이트의 데이터가 수신되었음을 나타내므로 RCV_EN*을 로우레벨로 하여 래치(L1)로부터 데이터를 읽어 들인다. 마이크로 컨트롤러는 데이터를 읽은 후 DATA_CLEAR* 신호를 로우레벨로 하여 레지스터(RG2)와 플립플롭(FF7)을 클리어한다.Specifically, the register RG2 of the byte data detector 420 stores 8-bit data except for the start bit among the received data and outputs the data to the latch L1. When the received data reaches the ninth bit, the AND gate AND6 of the byte ready signal generator 440 converts the output from the low level to the high level, and the output of the flip-flop FF7 changes from the low level to the high level so that the byte The data ready signal DATA_READY signal is generated and input to the clock terminal CLK of the latch L1 so that 8 bits of data stored in the shift register RG2 are stored in the latch L1. The microcontroller (not shown) checks the DATA_READY signal to indicate that one byte of data has been received at a high level, and therefore reads data from the latch L1 with RCV_EN * at the low level. After reading the data, the microcontroller clears the registers RG2 and flip-flop FF7 with the DATA_CLEAR * signal at the low level.

바이트 데이터 검출부(420)의 인버터(IN3)와 플립플롭(FF6)은 SOF 이후 각 데이터의 시작 비트를 감지하여 카운터(C7)를 동작시킨다. EOF를 검출하면 앤드 게이트(AND5)의 출력이 로우레벨로 되어 플립플롭 (FF6)의 클리어 단자(CL)에도 로우레벨이 입력되어 출력이 클리어된다. 이 신호는 카운터(C7,C8)의 클리어 단에 하이레벨로 입력되어 출력을 클리어하게 되며 수신단 회로의 동작이 정지하게 된다.The inverter IN3 and the flip-flop FF6 of the byte data detector 420 detect the start bit of each data after the SOF to operate the counter C7. When EOF is detected, the output of the AND gate AND5 becomes low level, the low level is also input to the clear terminal CL of the flip-flop FF6, and the output is cleared. This signal is input to the clear stage of the counters C7 and C8 at a high level to clear the output and the operation of the receiver circuit is stopped.

다음은 도9 및 도10을 참조하여 본 발명의 실시예에 따른 데이터 송신 및 데이터 수신의 흐름을 설명한다.Next, a flow of data transmission and data reception according to an embodiment of the present invention will be described with reference to FIGS. 9 and 10.

먼저 도7 및 도9를 참조하여 데이터 송신의 흐름을 설명한다.First, the flow of data transmission will be described with reference to FIGS. 7 and 9.

도7에 도시한 바와 같이, 단말기의 마이크로 컨트롤러(도시하지 않음)는 SOFEOF 신호를 특정시간 동안 로우 레벨로 하여 프레임의 시작 영역(SOF)을 만든다. (S100) 이때 로우 레벨로 유지되는 시간은 도1에 도시한 ISO14443 타입 B의 데이터 프레임 구조에 의해 결정된다.As shown in Fig. 7, the microcontroller (not shown) of the terminal makes the SOFEOF signal low level for a specific time to make the start area SOF of the frame. At this time, the time maintained at the low level is determined by the data frame structure of ISO14443 type B shown in FIG.

그리고 나서, 마이크로 컨트롤러는 전송하고자 하는 1 바이트 데이터를 포트나 데이터 버스에 쓰고 LOAD* 신호를 발생하여 레지스터(RG1)에 데이터를 로드한 후, (S110) STARTBYTE* 신호를 하이 레벨에서 로우 레벨로 하여 송신 클록 생성부가 송신을 위한 클럭 TX_106 KHz를 발생시키도록 한다. (S120) 그러면, 레지스터(RG1)에 저장되어 있던 바이트 데이터가 TX_106KHz에 동기되어 직렬의 비트 데이터 TX_DATA로 나온다. (S130)Then, the microcontroller writes the 1-byte data to be transferred to the port or data bus, generates a LOAD * signal, loads the data into the register RG1, and then (S110) sets the STARTBYTE * signal from high level to low level. The transmission clock generator generates a clock TX_106 KHz for transmission. (S120) Then, the byte data stored in the register RG1 is synchronized with TX_106KHz to come out as serial bit data TX_DATA. (S130)

마이크로 컨트롤러는 바이트 전송 체크부(240)에서 출력되는 ENDBYTE 신호가 하이 레벨인지(즉, 1 바이트 데이터의 전송이 종료되었는지)를 체크하여(S140), ENDBYTE 신호가 하이 레벨인 경우 STARTBYTE*를 로우 레벨에서 하이 레벨로 한다. (S150) 그리고 나서, 마이크로 컨트롤러는 전송된 1 바이트의 데이터가 마지막 바이트인지를 체크하여(S160) 마지막 바이트가 아닌 경우에는 상기 단계 S110으로 되돌리고, 마지막 바이트인 경우에는 SOFEOF 신호를 특정시간 로우 레벨로 하여 시프레임의 끝 영역(SOF)을 만든다. (S170)The microcontroller checks whether the ENDBYTE signal output from the byte transfer checker 240 is at a high level (that is, whether transmission of 1 byte of data has been completed) (S140), and if the ENDBYTE signal is at a high level, STARTBYTE * is set to a low level. To the high level. (S150) Then, the microcontroller checks whether the transmitted one byte of data is the last byte (S160), and if it is not the last byte, returns to the step S110, and if it is the last byte, the SOFEOF signal is brought to a specific low level level. To create the end region (SOF) of the timeframe. (S170)

먼저 도8 및 도10를 참조하여 데이터 수신의 흐름을 설명한다.First, the flow of data reception will be described with reference to FIGS. 8 and 10.

도8에 도시한 바와 같이, 단말기의 마이크로 컨트롤러는 데이터 프레임을 송신한 후 데이터 수신을 위해 CLEAR* 신호를 하이 레벨 ⇒ 로우 레벨 ⇒ 하이 레벨로 하여 데이터 수신을 위한 하드웨어를 초기화한다. (S200)As shown in Fig. 8, the microcontroller of the terminal initializes the hardware for data reception by transmitting a data frame and then setting the CLEAR * signal from high level to low level to high level for data reception. (S200)

그리고 나서, 마이크로 컨트롤러는 수신 데이터 검출부로부터 출력되는 유효 프레임 검출 파형(DET_SOF_EOF)으로부터 유효한 프레임이 검출되었는지를 검사한다. (S210) 상기 단계 S210에서 유효 프레임이 검출되지 않은 경우에는 소정 시간이 경과되었는지를 판단하여(S230) 소정 시간이 경과한 경우 수신 에러 처리하고(S235) 소정 시간이 경과되지 않은 경우에는 상기 단계 S210으로 되돌린다.Then, the microcontroller checks whether a valid frame has been detected from the valid frame detection waveform DET_SOF_EOF output from the reception data detector. (S210) If no valid frame is detected in step S210, it is determined whether a predetermined time has elapsed (S230). If a predetermined time has elapsed, a reception error process is performed (S235). Return to

상기 단계 S210에서 유효 프레임이 검출된 경우에는 마이크로 컨트롤러는 수신 데이터 변환부(400)로부터 출력되는 DATA_READY 신호가 하이 레벨인지를 체크하여(S220) 하이 레벨인 경우 RCV_EN*을 하이 레벨에서 로우 레벨로 하여 포트에서 1 바이트의 데이터를 읽은 후 RCV_EN*을 하이 레벨로 한다. (S240) 마이크로 컨트롤러는 1 바이트의 데이터를 읽고난 후 DATA_CLEAR*를 하이 레벨 ⇒ 로우 레벨 ⇒ 하이 레벨로 하여 DATA_READY를 클리어한다. (S250)When the valid frame is detected in step S210, the microcontroller checks whether the DATA_READY signal output from the reception data conversion unit 400 is high level (S220). In the case of the high level, RCV_EN * is set from high level to low level. After reading one byte of data from the port, set RCV_EN * high. (S240) The microcontroller clears DATA_READY by reading DATA of 1 byte and then setting DATA_CLEAR * to High Level ⇒ Low Level ⇒ High Level. (S250)

그리고 나서, 마이크로 컨트롤러는 유효한 프레임이 종료되었는지를 판단하여(S260) 종료된 경우, 수신 데이터 프레임 종료로 인식하여 수신 데이터를 처리하고(S270), 종료되지 않은 경우 단계 S220으로 되돌린다.Then, the microcontroller determines whether the valid frame has ended (S260), when it is finished, recognizes that the received data frame is over, processes the received data (S270), and returns to step S220 when it is not finished.

이상에서는 본 발명의 실시예에 대하여 설명하였으나, 본 발명은 상기한 실시예에만 한정되는 것은 아니고 그 외의 다양한 변형이나 변경이 가능하다.As mentioned above, although the Example of this invention was described, this invention is not limited only to the Example mentioned above, A various other deformation | transformation and a change are possible.

예를 들어, 본 발명의 실시예에서는 오어 게이트, 앤드 게이트, 인버터, 카운터, 플립플롭, 레지스터, 래치 등의 논리회로를 사용하여 설명하였으나, 이외의 다른 논리회로를 통해 구현할 수도 있으며, 실시예에서 언급한 논리 회로를 변형시켜 구현할 수도 있다.For example, the embodiment of the present invention has been described using logic circuits such as or gate, end gate, inverter, counter, flip-flop, register, and latch, but may be implemented through other logic circuits. It can also be implemented by modifying the logic circuit mentioned.

또한, 위에서 설명한 실시예에서는 데이터 송수신 장치를 통합적으로 구현하였으나, 데이터 송신 장치, 데이터 수신 장치를 개별적으로 구현할 수도 있다. 이 경우 당업자는 위에서 설명한 실시예로부터 쉽게 데이터 송신 장치 및 데이터 수신 장치를 구현할 수 있다.In addition, in the above-described embodiment, the data transmission / reception apparatus may be integrated, but the data transmission apparatus and the data reception apparatus may be separately implemented. In this case, those skilled in the art can easily implement a data transmission device and a data reception device from the above-described embodiment.

이상에서 설명한 바와 같이, 본 발명은 비접촉 근접식 카드의 국제규격인 ISO14443 Type B의 규격을 만족하는 모든 카드와 데이터를 송수신할 수 있도록 하드웨어적으로 데이터 송수신 부분이 설계되었기 때문에 데이터 속도를 맞추는데 문제없이 안정적으로 동작하며 개발 플랫폼에 관계없이 적용될 수 있다.As described above, in the present invention, since the data transmission / reception portion is designed in hardware to transmit and receive data with all cards that meet the ISO14443 Type B standard, which is an international standard for a contactless proximity card, there is no problem in adjusting the data rate. It works reliably and can be applied regardless of development platform.

또한, 일반적인 부품을 사용하여 송수신장치를 개발하여 특정회사의 제품보다 가격적으로 유리하며 문제발생시 쉽게 분석할 수가 있다. 또한, 향후 제품의 단가 및 크기를 절감하기 위한 주문형 반도체 설계에 그대로 적용할 수 있다.In addition, by developing a transceiver using general components, it is more cost-effective than the product of a specific company and can be easily analyzed when a problem occurs. It can also be applied to custom semiconductor designs to reduce the cost and size of future products.

Claims (25)

입력되는 바이트 데이터를 비트 데이터로 변환하고, 프레임의 시작 영역(SOF)과 프레임의 끝 영역(EOF)을 알리는 신호를 송신하고자 하는 데이터 프레임의 앞과 뒤에 부가하여 송신 클럭에 동기하여 직렬 전송하는 데이터 전송부;Data that is converted into bit data into bit data, and serially transmitted in synchronization with the transmission clock in addition to the front and rear of the data frame to transmit a signal indicating the start area (SOF) and end area (EOF) of the frame. A transmission unit; 카드로부터 수신되는 데이터의 프레임의 시작과 프레임의 끝을 검출하여 유효한 프레임을 검출하는 수신 데이터 프레임 검출부;A reception data frame detection unit for detecting a valid frame by detecting a start and an end of a frame of data received from the card; 직렬로 수신되는 데이터 프레임을 수신 클럭과 동기시켜 바이트 데이터로 변환하고 변환된 바이트 데이터를 데이터 버스나 포트에 실어주는 수신 데이터 변환부; 및A reception data conversion unit for converting serially received data frames into byte data in synchronization with a reception clock and loading the converted byte data on a data bus or a port; And 메인 클럭을 입력받아 상기 데이터 전송부, 상기 수신 데이터 프레임 검출부 및 상기 수신 데이터 변환부에서 필요한 클럭을 생성하는 클럭 생성부를 포함하는 근접식 카드의 데이터 송수신 장치.And a clock generator configured to receive a main clock and generate a clock required by the data transmitter, the received data frame detector, and the received data converter. 제1항에 있어서,The method of claim 1, 상기 데이터 전송부에서 사용하는 송신 클럭과 상기 수신 데이터 변환부에서 사용하는 수신 클럭이 106KHz인 것을 특징으로 하는 근접식 카드의 데이터 송수신 장치.And a transmission clock used in the data transmission unit and a reception clock used in the reception data conversion unit are 106 KHz. 제2항에 있어서,The method of claim 2, 상기 클럭 생성부는The clock generator 상기 데이터 전송부에서 사용하기 위한 106KHz의 송신 클럭(TX_106KHz)을 바이트 단위로 생성하며 상기 데이터 전송부의 데이터 전송을 금지시키기 위한 금지신호(INHIBIT)를 생성하는 송신 클럭 생성부; 및A transmission clock generation unit generating a transmission clock (TX_106KHz) of 106 KHz for use in the data transmission unit in bytes and generating a prohibition signal (INHIBIT) for prohibiting data transmission of the data transmission unit; And 상기 수신 데이터 프레임 검출부 및 상기 수신 데이터 변환부에서 사용하는 106KHz의 수신 클럭(RX_106KHz)을 생성하는 수신 클럭 생성부를 포함하는 근접식 카드의 데이터 송수신 장치.And a reception clock generation unit for generating a reception clock (RX_106 KHz) of 106 KHz used by the reception data frame detection unit and the reception data conversion unit. 제3항에 있어서,The method of claim 3, 상기 송신 클럭 생성부는The transmission clock generator 13.56KHz의 메인 클럭을 입력받아 847KHz의 클럭을 생성하는 제1 카운터;A first counter receiving a main clock of 13.56 KHz and generating a clock of 847 KHz; 상기 제1 카운터로부터 출력되는 847KHz의 클럭을 입력받아 106KHz의 송신 클럭(TX_106KHz)을 생성하는 제2 카운터;A second counter that receives a clock of 847KHz output from the first counter and generates a transmit clock (TX_106KHz) of 106KHz; 바이트의 시작신호(STARTBYTE*)와 바이트의 종료 신호(ENDBYTE)를 입력받아, 바이트의 시작전이나 바이트의 종료 후에 금지신호(INHIBIT)를 발생시키고, 금지신호를 상기 제2 카운터의 클리어 단자에 입력하는 오어 게이트를 포함하는 근접식 카드의 데이터 송수신 장치.The start signal of the byte (STARTBYTE *) and the end signal of the byte (ENDBYTE) are input, and a prohibition signal (INHIBIT) is generated before the start of the byte or after the end of the byte, and the prohibition signal is input to the clear terminal of the second counter. Apparatus for transmitting and receiving data of a proximity card comprising an OR gate. 제2항에 있어서,The method of claim 2, 상기 데이터 전송부는The data transmission unit 상기 클럭 생성부에서 생성된 송신 클럭을 입력받아 송신하고자 하는 바이트 데이터를 직렬의 비트 데이터로 변환하고, 변환된 직렬 데이터에 프레임의 시작과 프레임의 끝을 부가하여 송신할 데이터 프레임을 생성하는 송신 프레임 생성부; 및The transmission frame which receives the transmission clock generated by the clock generator and converts the byte data to be transmitted into serial bit data, and adds the start and end of the frame to the converted serial data to generate a data frame to be transmitted. Generation unit; And 전송되는 데이터를 체크하여 한 바이트의 데이터가 종료하면 바이트 종료신호를 발생시켜 상기 클럭 생성부의 송신 클럭의 발생을 중단시키는 바이트 전송 체크부를 포함하는 근접식 카드의 데이터 송수신 장치.And a byte transfer check unit for generating a byte end signal to stop generation of the transmission clock of the clock generator when a byte of data ends by checking the transmitted data. 제5항에 있어서,The method of claim 5, 상기 송신 프레임 생성부는The transmission frame generation unit 로우 레벨의 시작 비트, 송신하고자 하는 바이트 데이터와 하이 레벨의 정지 비트를 병렬로 입력받아 직렬로 변환하는 병렬-직렬 쉬프트 레지스터;A parallel-serial shift register configured to receive a low level start bit, byte data to be transmitted and a high level stop bit in parallel, and convert the serial bits into serial; 상기 병렬-직렬 쉬프트 레지스터로부터 출력되는 직렬의 비트 데이터를 106KHz의 송신 클럭에 동기시키기 위한 플립플롭; 및A flip-flop for synchronizing serial bit data output from the parallel-serial shift register to a transmit clock of 106 KHz; And 상기 플립플롭으로부터 출력되는 106KHz의 송신 클럭에 동기된 데이터와 프레임의 시작 영역과 끝 영역을 나타내는 신호(SOFEOF)를 입력받아 송신 데이터 프레임을 출력하는 앤드 게이트를 포함하는 근접식 카드의 데이터 송수신 장치.And an AND gate receiving data synchronized with a 106 KHz transmission clock output from the flip-flop and a signal (SOFEOF) indicating a start region and an end region of a frame and outputting a transmission data frame. 제5항에 있어서,The method of claim 5, 상기 바이트 전송 체크부는The byte transfer check unit 106KHz의 송신 클럭이 10개 입력될 때마다 하이레벨의 펄스 신호를 생성하는앤드 게이트; 및An end gate for generating a high level pulse signal whenever 10 transmission clocks of 106 KHz are inputted; And 상기 앤드 게이트로부터 출력되는 펄스신호를 클럭단자에 입력하여 상기 바이트 종료신호를 출력하는 플립플롭을 포함하는 근접식 카드의 데이터 송수신 장치.And a flip-flop for outputting the byte termination signal by inputting a pulse signal output from the AND gate to a clock terminal. 제2항에 있어서,The method of claim 2, 상기 수신 프레임 검출부는The receiving frame detector 프레임의 시작 영역의 종료시점과 프레임의 끝 영역의 종료 시점 사이에서 하이 레벨 상태이고, 나머지 영역에서 로우 레벨인 프레임 검출 신호(DET_SOF_EOF)를 출력하는 것을 특징으로 하는 근접식 카드의 데이터 송수신 장치.And a frame detection signal (DET_SOF_EOF) which is at a high level between the end time of the start area of the frame and the end time of the end area of the frame and low level in the remaining areas. 제8항에 있어서,The method of claim 8, 상기 수신 프레임 검출부는The receiving frame detector 106KHz의 수신 클럭과 수신 데이터를 각각 입력단자와 클리어 단자에 입력하는 카운터;A counter for inputting a receive clock and receive data of 106 KHz to an input terminal and a clear terminal, respectively; 상기 카운터의 출력을 입력받아 수신 데이터 중 로우레벨이 10 비트 이상이면 하이 레벨의 펄스 값을 출력하는 앤드 게이트;An AND gate receiving the output of the counter and outputting a high pulse value when a low level of the received data is 10 bits or more; 상기 앤드 게이트로부터 하이 레벨의 펄스 값이 입력될 때마다 토글되어 상기 프레임 검출 신호를 출력하는 플립플롭을 포함하는 근접식 카드의 데이터 송수신 장치.And a flip-flop that is toggled whenever a high level pulse value is input from the AND gate to output the frame detection signal. 제8항에 있어서,The method of claim 8, 상기 수신 데이터 변환부는The received data converter 상기 프레임 검출 신호와 수신 데이터를 입력받아 비트 단위의 직렬 수신 데이터 프레임을 바이트 데이터로 변환하는 바이트 데이터 검출부;A byte data detector which receives the frame detection signal and the received data and converts a serial received data frame in units of bits into byte data; 바이트 데이터의 변환완료를 나타내는 신호(DATA-READY)를 발생하는 바이트 준비 신호 발생부를 포함하는 근접식 카드의 데이터 송수신 장치.A data transmitting / receiving device for a proximity card comprising a byte ready signal generator for generating a signal (DATA-READY) indicating conversion of byte data. 제10항에 있어서,The method of claim 10, 상기 바이트 준비 신호 발생부는The byte ready signal generation unit 847KHz의 클럭을 입력받아 106KHz의 클럭을 출력하는 제1 카운터;A first counter that receives a clock of 847 kHz and outputs a clock of 106 kHz; 상기 제1 카운트의 출력을 입력받아 카운트하는 제2 카운터;A second counter that receives the output of the first count and counts the output; 상기 제2 카운터의 출력신호를 입력받아, 수신된 데이터가 9번째 비트가 되면 하이 레벨의 펄스 값을 출력하는 제1 앤드 게이트;A first AND gate receiving the output signal of the second counter and outputting a high level pulse value when the received data reaches the ninth bit; 상기 앤드 게이트의 출력신호가 클럭신호로 입력되어 데이터 준비 신호를 출력하는 제1 플립플롭을 포함하는 근접식 카드의 데이터 송수신 장치.And a first flip-flop for outputting a data preparation signal by inputting the output signal of the AND gate as a clock signal. 제11항에 있어서,The method of claim 11, 상기 바이트 데이터 검출부는The byte data detection unit 수신 데이터와 프레임 검출신호를 입력받는 제2 앤드 게이트;A second AND gate configured to receive received data and a frame detection signal; 상기 제2 앤드 게이트로부터 출력되는 직렬의 출력신호 중 시작 비트를 제외한 8비트의 데이터를 저장하는 직렬-병렬 쉬프트 레지스터; 및A serial-parallel shift register for storing 8-bit data excluding a start bit among serial output signals output from the second and gate; And 상기 쉬프트 레지스터에 저장된 데이터를 저장하며, 마이크로 컨트롤러의 제어하여 저장된 데이터를 마이크로 컨트롤러에 전달하는 래치를 포함하는 근접식 카드의 데이터 송수신 장치.And a latch configured to store data stored in the shift register and to transfer the stored data to the microcontroller by controlling the microcontroller. 제12항에 있어서,The method of claim 12, 상기 바이트 데이터 검출부는The byte data detection unit 상기 제2 앤드 게이트의 출력에 대응하는 신호와 상기 프레임 검출신호를 입력받는 제3 앤드 게이트;A third AND gate configured to receive a signal corresponding to an output of the second AND gate and the frame detection signal; 상기 제3 앤드게이트의 출력신호를 클리어 단자로 입력받고, 상기 제2 앤드게이트의 출력신호를 클록신호로 입력받고, 출력신호가 상기 쉬프트 레지스터의 클리어 단자에 입력되는 제2 플립플롭을 추가로 포함하는 근접식 카드의 데이터 송수신 장치.And a second flip-flop for receiving the output signal of the third end gate as a clear terminal, the output signal of the second end gate as a clock signal, and the output signal being input to the clear terminal of the shift register. Device for transmitting and receiving data of a proximity card. 제1항 내지 제13항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 13, 상기 근접식 카드의 데이터 송수신 장치는 ISO14443 타입 B 카드에 사용되는 것을 특징으로 하는 근접식 카드의 데이터 송수신 장치.The data transmitting / receiving apparatus of the proximity card is used for the ISO14443 type B card. 입력되는 바이트 데이터를 비트 데이터로 변환하고, 프레임의 시작영역(SOF)과 프레임의 끝 영역(EOF)을 알리는 신호를 송신하고자 하는 데이터 프레임의 앞과 뒤에 부가하여 106KHz의 송신클럭에 동기하여 직렬 전송하는 데이터 전송부; 및Converts the input byte data into bit data and transmits serially in synchronization with the transmission clock of 106KHz in addition to the front and rear of the data frame to transmit a signal indicating the start area (SOF) and end area (EOF) of the frame. A data transmission unit; And 메인 클럭을 입력받아 상기 데이터 전송부에서 사용하기 위한 106KHz의 송신 클럭(TX_106KHz)을 바이트 단위로 생성하며 상기 데이터 전송부의 데이터 전송을 금지시키기 위한 금지신호(INHIBIT)를 생성하는 송신 클럭 생성부를 포함하는 근접식 카드의 데이터 송신 장치.A transmission clock generator for generating a 106KHz transmission clock TX_106KHz for receiving the main clock in bytes and generating a prohibition signal INHIBIT for prohibiting data transmission of the data transmission unit; Data transmission device of proximity card. 제15항에 있어서,The method of claim 15, 상기 송신 클럭 생성부는The transmission clock generator 13.56KHz의 메인 클럭을 입력받아 847KHz의 클럭을 생성하는 제1 카운터;A first counter receiving a main clock of 13.56 KHz and generating a clock of 847 KHz; 상기 제1 카운터로부터 출력되는 847KHz의 클럭을 입력받아 106KHz의 송신 클럭(TX_106KHz)을 생성하는 제2 카운터;A second counter that receives a clock of 847KHz output from the first counter and generates a transmit clock (TX_106KHz) of 106KHz; 바이트의 시작신호(STARTBYTE*)와 바이트의 종료 신호(ENDBYTE)를 입력받아, 바이트의 시작전이나 바이트의 종료 후에 금지신호(INHIBIT)를 발생시키고, 금지신호를 상기 제2 카운터의 클리어 단자에 입력하는 오어 게이트를 포함하는 근접식 카드의 데이터 송신 장치.The start signal of the byte (STARTBYTE *) and the end signal of the byte (ENDBYTE) are input, and a prohibition signal (INHIBIT) is generated before the start of the byte or after the end of the byte, and the prohibition signal is input to the clear terminal of the second counter. Apparatus for transmitting data of a proximity card comprising an OR gate. 제15항에 있어서,The method of claim 15, 상기 데이터 전송부는The data transmission unit 상기 송신 클럭 생성부에서 생성된 송신 클럭을 입력받아 송신하고자 하는 바이트 데이터를 직렬의 비트 데이터로 변환하고, 변환된 직렬 데이터에 프레임의 시작과 프레임의 끝을 부가하여 송신할 데이터 프레임을 생성하는 송신 프레임 생성부; 및The transmission clock receives the transmission clock generated by the transmission clock generation unit, converts the byte data to be transmitted into serial bit data, and adds the beginning and end of the frame to the converted serial data to generate a data frame for transmission. A frame generator; And 전송되는 데이터를 체크하여 한 바이트의 데이터가 종료하면 바이트 종료신호를 발생시켜 상기 송신 클럭 생성부의 송신 클럭의 발생을 중단시키는 바이트 전송 체크부를 포함하는 근접식 카드의 데이터 송신 장치.And a byte transfer check unit which checks the data to be transmitted and generates a byte end signal to stop generation of the transmit clock of the transmit clock generator when one byte of data ends. 제17항에 있어서,The method of claim 17, 상기 송신 프레임 생성부는The transmission frame generation unit 로우 레벨의 시작 비트, 송신하고자 하는 바이트 데이터와 하이 레벨의 정지 비트를 병렬로 입력받아 직렬로 변환하는 병렬-직렬 쉬프트 레지스터;A parallel-serial shift register configured to receive a low level start bit, byte data to be transmitted and a high level stop bit in parallel, and convert the serial bits into serial; 상기 병렬-직렬 쉬프트 레지스터로부터 출력되는 직렬의 비트 데이터를 106KHz의 송신 클럭에 동기시키기 위한 플립플롭; 및A flip-flop for synchronizing serial bit data output from the parallel-serial shift register to a transmit clock of 106 KHz; And 상기 플립플롭으로부터 출력되는 106KHz의 송신 클럭에 동기된 데이터와 프레임의 시작 영역과 끝 영역을 나타내는 신호(SOFEOF)를 입력받아 송신 데이터 프레임을 출력하는 앤드 게이트를 포함하는 근접식 카드의 데이터 송신 장치.And an AND gate for receiving data synchronized with a transmission clock of 106 KHz output from the flip-flop and a signal (SOFEOF) indicating a start area and an end area of a frame and outputting a transmission data frame. 제17항에 있어서,The method of claim 17, 상기 바이트 전송 체크부는The byte transfer check unit 106KHz의 송신 클럭이 10개 입력될 때마다 하이레벨의 펄스 신호를 생성하는 앤드 게이트; 및An AND gate for generating a high level pulse signal every time 10 transmission clocks of 106 KHz are inputted; And 상기 앤드 게이트로부터 출력되는 펄스신호를 클럭단자에 입력하여 상기 바이트 종료신호를 출력하는 플립플롭을 포함하는 근접식 카드의 데이터 송신 장치.And a flip-flop for outputting the byte termination signal by inputting a pulse signal output from the AND gate to a clock terminal. 카드로부터 수신되는 데이터의 프레임의 시작과 프레임의 끝을 검출하여 유효한 프레임을 검출하는 수신 데이터 프레임 검출부;A reception data frame detection unit for detecting a valid frame by detecting a start and an end of a frame of data received from the card; 직렬로 수신되는 데이터 프레임을 106KHz의 수신 클럭과 동기시켜 바이트 데이터로 변환하고 변환된 바이트 데이터를 데이터 버스나 포트에 실어주는 수신 데이터 변환부; 및A receiving data converter for converting serially received data frames into byte data by synchronizing with a receiving clock of 106 KHz and loading the converted byte data on a data bus or a port; And 메인 클럭을 입력받아 상기 수신 데이터 프레임 검출부 및 상기 수신 데이터 변환부에서 필요한 클럭을 생성하는 수신 클럭 생성부를 포함하는 근접식 카드의 데이터 수신 장치.And a receiving clock generator for receiving a main clock and generating a clock required by the receiving data frame detector and the receiving data converter. 제20항에 있어서,The method of claim 20, 상기 수신 프레임 검출부는The receiving frame detector 프레임의 시작 영역의 종료시점과 프레임의 끝 영역의 종료 시점 사이에서 하이 레벨 상태이고, 나머지 영역에서 로우 레벨인 프레임 검출 신호(DET_SOF_EOF)를 출력하는 것을 특징으로 하는 근접식 카드의 데이터 수신 장치.And a frame detection signal (DET_SOF_EOF) which is at a high level between the end time of the start area of the frame and the end time of the end area of the frame and low level in the remaining areas. 제21항에 있어서,The method of claim 21, 상기 수신 프레임 검출부는The receiving frame detector 106KHz의 수신 클럭과 수신 데이터를 각각 입력단자와 클리어 단자에 입력하는 카운터;A counter for inputting a receive clock and receive data of 106 KHz to an input terminal and a clear terminal, respectively; 상기 카운터의 출력을 입력받아 수신 데이터 중 로우레벨이 10 비트 이상이면 하이 레벨의 펄스 값을 출력하는 앤드 게이트;An AND gate receiving the output of the counter and outputting a high pulse value when a low level of the received data is 10 bits or more; 상기 앤드 게이트로부터 하이 레벨의 펄스 값이 입력될 때마다 토글되어 상기 프레임 검출 신호를 출력하는 플립플롭을 포함하는 근접식 카드의 데이터 수신 장치.And a flip-flop that is toggled whenever a high level pulse value is input from the AND gate to output the frame detection signal. 제21항에 있어서,The method of claim 21, 상기 수신 데이터 변환부는The received data converter 상기 프레임 검출 신호와 수신 데이터를 입력받아 비트 단위의 직렬 수신 데이터 프레임을 바이트 데이터로 변환하는 바이트 데이터 검출부;A byte data detector which receives the frame detection signal and the received data and converts a serial received data frame in units of bits into byte data; 바이트 데이터의 변환완료를 나타내는 신호(DATA-READY)를 발생하는 바이트 준비 신호 발생부를 포함하는 근접식 카드의 데이터 수신 장치.And a byte ready signal generator for generating a signal (DATA-READY) indicating completion of conversion of byte data. 제23항에 있어서,The method of claim 23, wherein 상기 바이트 준비 신호 발생부는The byte ready signal generation unit 847KHz의 클럭을 입력받아 106KHz의 클럭을 출력하는 제1 카운터;A first counter that receives a clock of 847 kHz and outputs a clock of 106 kHz; 상기 제1 카운트의 출력을 입력받아 카운트하는 제2 카운터;A second counter that receives the output of the first count and counts the output; 상기 제2 카운터의 출력신호를 입력받아, 수신된 데이터가 9번째 비트가 되면 하이 레벨의 펄스 값을 출력하는 제1 앤드 게이트;A first AND gate receiving the output signal of the second counter and outputting a high level pulse value when the received data reaches the ninth bit; 상기 앤드 게이트의 출력신호가 클럭신호로 입력되어 데이터 준비 신호를 출력하는 제1 플립플롭을 포함하는 근접식 카드의 데이터 수신 장치.And a first flip-flop for outputting a data preparation signal by inputting the output signal of the AND gate as a clock signal. 제24항에 있어서,The method of claim 24, 상기 바이트 데이터 검출부는The byte data detection unit 수신 데이터와 프레임 검출신호를 입력받는 제2 앤드 게이트;A second AND gate configured to receive received data and a frame detection signal; 상기 제2 앤드 게이트로부터 출력되는 직렬의 출력신호 중 시작 비트를 제외한 8비트의 데이터를 저장하는 직렬-병렬 쉬프트 레지스터; 및A serial-parallel shift register for storing 8-bit data excluding a start bit among serial output signals output from the second and gate; And 상기 쉬프트 레지스터에 저장된 데이터를 저장하며, 마이크로 컨트롤러의 제어하여 저장된 데이터를 마이크로 컨트롤러에 전달하는 래치를 포함하는 근접식 카드의 데이터 수신 장치.And a latch for storing data stored in the shift register and transferring the stored data to the microcontroller by controlling the microcontroller.
KR10-2001-0013217A 2001-03-14 2001-03-14 Data transmission/reception device of proximity card KR100383517B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0013217A KR100383517B1 (en) 2001-03-14 2001-03-14 Data transmission/reception device of proximity card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0013217A KR100383517B1 (en) 2001-03-14 2001-03-14 Data transmission/reception device of proximity card

Publications (2)

Publication Number Publication Date
KR20020073215A KR20020073215A (en) 2002-09-23
KR100383517B1 true KR100383517B1 (en) 2003-05-12

Family

ID=27697405

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0013217A KR100383517B1 (en) 2001-03-14 2001-03-14 Data transmission/reception device of proximity card

Country Status (1)

Country Link
KR (1) KR100383517B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100448883B1 (en) * 2002-10-23 2004-09-18 한국전자통신연구원 EOF apparatus and method for burst mode packet data tranceiver
KR100730745B1 (en) * 2005-04-28 2007-06-28 주식회사 하이온콥 Rfid system and controlling method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10173570A (en) * 1996-12-10 1998-06-26 Shinko Electric Co Ltd Contactless ic card device
KR20000054359A (en) * 2000-06-02 2000-09-05 김해성 noncontact type-card leader
JP2001045083A (en) * 1999-07-30 2001-02-16 Fujitsu Ltd Carrier synchronization type demodulator for psk signal
KR20010111984A (en) * 2000-06-14 2001-12-20 김해성 contactless card type A and/or type B reader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10173570A (en) * 1996-12-10 1998-06-26 Shinko Electric Co Ltd Contactless ic card device
JP2001045083A (en) * 1999-07-30 2001-02-16 Fujitsu Ltd Carrier synchronization type demodulator for psk signal
KR20000054359A (en) * 2000-06-02 2000-09-05 김해성 noncontact type-card leader
KR20010111984A (en) * 2000-06-14 2001-12-20 김해성 contactless card type A and/or type B reader

Also Published As

Publication number Publication date
KR20020073215A (en) 2002-09-23

Similar Documents

Publication Publication Date Title
US8006008B2 (en) Apparatus and method for data processing having an on-chip or off-chip interconnect between two or more devices
CN101809556B (en) Methodology and circuit for interleaving and serializing/deserializing lcd, camera, keypad and GPIO data across a serial stream
US20020075173A1 (en) Parallel in serial out circuit for use in data communication system
JPH0787447B2 (en) System utilizing synchronous serial transmission medium
US6687779B1 (en) Method and apparatus for transmitting control information across a serialized bus interface
CN114442514B (en) USB3.0/3.1 control system based on FPGA
JPH0783382B2 (en) Method for converting a high speed serial data pattern input signal to a parallel data pattern output
US20100097249A1 (en) Serial signal receiving device, serial transmission system and serial transmission method
US7194008B2 (en) Method and apparatus for parsing data streams
JPH03191633A (en) Data transfer system
EP3327579B1 (en) Serial data communications using a uart module and method therefor
US6385319B1 (en) Encoding circuit and method of detecting block code boundary and establishing synchronization between scrambler and descrambler
CN107171728A (en) 1B4B and the forward direction of Manchester's code, reverse transfer method and device, system
KR100383517B1 (en) Data transmission/reception device of proximity card
US6880026B2 (en) Method and apparatus for implementing chip-to-chip interconnect bus initialization
US7216269B2 (en) Signal transmit-receive device, circuit, and loopback test method
US9094911B2 (en) Data communication system, method of optimizing preamble length, and communication apparatus
EP1417787B1 (en) Optical transmitter for transmitting a plurality of output signals
US8149862B1 (en) Multi-protocol communication circuit
JPH09181714A (en) Frame synchronizing signal detector
JPH10322404A (en) Serial data communication method and system
CN103001901A (en) Integrated circuit high-speed digital interface module based on modified difference pulse code modulation (MDPCM)
US7020163B2 (en) Frame communication system
CN113676310B (en) Data transmission device for radar system
JPH1198200A (en) Start-stop synchronization type serial data transmission and reception method, transmitter, receiver and transmitter-receiver

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060502

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee