KR101208786B1 - Synchronization method between reader and tag - Google Patents

Synchronization method between reader and tag Download PDF

Info

Publication number
KR101208786B1
KR101208786B1 KR1020090017908A KR20090017908A KR101208786B1 KR 101208786 B1 KR101208786 B1 KR 101208786B1 KR 1020090017908 A KR1020090017908 A KR 1020090017908A KR 20090017908 A KR20090017908 A KR 20090017908A KR 101208786 B1 KR101208786 B1 KR 101208786B1
Authority
KR
South Korea
Prior art keywords
tag
time
reader
seconds
message
Prior art date
Application number
KR1020090017908A
Other languages
Korean (ko)
Other versions
KR20090065482A (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 KR1020090017908A priority Critical patent/KR101208786B1/en
Publication of KR20090065482A publication Critical patent/KR20090065482A/en
Application granted granted Critical
Publication of KR101208786B1 publication Critical patent/KR101208786B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/01Details
    • G06K7/016Synchronisation of sensing process

Abstract

본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법은, 리더(reader)가 제1 라이트(write) 명령 메시지를 제1 시각에 태그(tag)로 전송하는 단계; 상기 태그가 상기 제1 라이트 명령 메시지를 제2 시각에 상기 리더로부터 검출하고, 상기 제1 라이트 명령 메시지에 대응하는 제1 응답 메시지를 상기 리더로 전송하는 단계; 상기 리더가 상기 제1 시각에 대한 제1 시각 정보를 포함하는 제2 라이트 명령 메시지를 상기 태그로 전송하는 단계; 및 상기 태그가 상기 제1 시각 및 상기 제2 시각의 차를 이용하여 클럭 오프셋(clock offset)을 보정하는 단계를 포함한다.According to an embodiment of the present invention, a method of synchronizing between a reader and a tag may include: transmitting, by a reader, a first write command message as a tag at a first time; The tag detecting the first write command message from the reader at a second time, and transmitting a first response message corresponding to the first write command message to the reader; Sending, by the reader, a second write command message to the tag, the second write command message including first time information for the first time; And the tag correcting a clock offset by using a difference between the first time and the second time.

리더, 태그, 동기화, 오프셋, 메시지 지연 Reader, tag, sync, offset, message delay

Description

리더 및 태그 간의 동기화 방법{SYNCHRONIZATION METHOD BETWEEN READER AND TAG}How to sync between readers and tags {SYNCHRONIZATION METHOD BETWEEN READER AND TAG}

본 발명은 리더 및 태그 간의 동기화 방법에 관한 것으로, 더욱 상세하게는 리더 및 태그 간의 클럭 오프셋(clock offset) 및 메시지 지연 시간을 산출하고, 상기 클럭 오프셋 및 상기 메시지 지연 시간을 이용하여 상기 리더를 상기 태그에 동기화하거나 상기 태그를 상기 리더에 동기화하는 리더 및 태그 간의 동기화 방법에 관한 것이다.The present invention relates to a method of synchronizing between a reader and a tag, and more particularly, to calculate a clock offset and a message delay time between a reader and a tag, and to recognize the reader using the clock offset and the message delay time. A method for synchronizing between a tag and a reader for synchronizing to a tag or synchronizing the tag to the reader.

본 발명은 지식경제부 및 정보통신연구진흥원의 IT성장동력기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제고유번호: 2005-S-106-03, 연구과제명: RFID/USN용 센서 태그 및 센서 노드 기술 개발(Development of Sensor Tag and Sensor Node Technologies for RFID/USN)].The present invention is derived from the research conducted as part of the IT growth engine technology development project of the Ministry of Knowledge Economy and the Ministry of Information and Telecommunication Research and Development. [Task No. 2005-S-106-03, Project Title: Sensor Tag for RFID / USN] And Development of Sensor Tag and Sensor Node Technologies for RFID / USN.

주변 환경에 대한 정보의 모니터링이 가능한 센서가 탑재되는 반 수동형 RFID 태그의 개발 및 상용화가 주요 이슈로 떠오르고 있다. 상기 센서를 탑재한 반 수동형 RFID 태그는 다양한 어플리케이션 시나리오의 구현을 가능하게 한다. 예를 들어, 센서 네트워크에 상기 반 수동형 RFID 태그를 사용할 수 있다.The development and commercialization of semi-passive RFID tags equipped with sensors that can monitor information about the surrounding environment are emerging as a major issue. The semi-passive RFID tag equipped with the sensor enables the implementation of various application scenarios. For example, the semi-passive RFID tag may be used for a sensor network.

센서 태그의 클럭 정확도에 따라 센서 태그 자체의 구조적 복잡도는 다양해질 수 있다. 즉, 센서 태그가 온도와 같은 주변 환경 정보를 단순 모니터링 하거나, 미리 정해진 조건의 이탈 정도를 기록하는데 사용되는 경우, 상기 센서 태그는 비교적 단순한 구조를 갖도록 설계될 수 있다. 즉, 이러한 경우 센서 태그와 리더 간의 정확한 동기화는 그다지 필요하지는 않다.Depending on the clock accuracy of the sensor tag, the structural complexity of the sensor tag itself can vary. That is, when the sensor tag is used to simply monitor the surrounding environment information such as temperature or record the deviation of a predetermined condition, the sensor tag may be designed to have a relatively simple structure. In this case, precise synchronization between the sensor tag and the reader is not very necessary.

그러나, 주변 환경 정보와 함께 정확한 타임 스탬프(time stamp)를 저장하는 경우에는 태그 내의 로컬 클럭을 리더의 시스템 클럭에 동기화 시킬 필요가 있다. 예를 들어, 특정 생산품이 제조 라인을 이탈하는 경우, 상기 이탈한 정확한 시간을 추적하기 위해 로컬 클럭이 시스템 클럭에 계속하여 동기화를 유지할 필요가 있다.However, when storing an accurate time stamp with the surrounding environment information, it is necessary to synchronize the local clock in the tag with the reader's system clock. For example, if a particular product leaves the manufacturing line, the local clock needs to remain synchronized to the system clock to track the exact time of departure.

종래 기술에서 태그 및 리더 간의 동기화를 수행하는 방법으로는 클럭을 주기적으로 동기화하는 방법이 있다. 예를 들어, 센싱 데이터가 리더로 전송될 때마다 태그 및 리더 간의 동기화를 진행할 수 있다. 이를 위하여, 타이머 자체를 유저 메모리의 특정 영역에 매핑되는 레지스터로 취급함으로써 표준 무선 인터페이스를 명령에 의해 제어할 수 있다. 또한, 타이머를 일종의 스페셜 센서로 취급함으로써 기존의 센서 액세스 명령을 통해 시간 정보를 조작하는 방법도 사용되고 있다.In the prior art, a method of synchronizing a tag and a reader is a method of periodically synchronizing a clock. For example, whenever sensing data is transmitted to the reader, synchronization between the tag and the reader may be performed. For this purpose, the standard air interface can be controlled by commands by treating the timer itself as a register that maps to a specific area of the user memory. In addition, a method of manipulating time information through a conventional sensor access command is also used by treating a timer as a kind of special sensor.

*그러나, 이러한 종래 기술에 따른 태그 및 리더 간의 동기화는 정확성을 보장하기 힘들다는 단점이 있다. 이에, 보다 간단한 방법으로 보다 정확하게 리더 및 태그 간의 동기화를 수행할 수 있는 기술의 개발이 요구되고 있다.* However, the synchronization between the tag and the reader according to the prior art has a disadvantage that it is difficult to guarantee the accuracy. Accordingly, there is a demand for the development of a technology capable of more accurately synchronizing the reader and the tag in a simpler method.

본 발명의 해결하고자 하는 과제는, 리더 및 태그 간의 클럭 오프셋(clock offset) 및 메시지 지연 시간을 산출하고, 상기 클럭 오프셋 및 상기 메시지 지연 시간을 이용하여 상기 리더를 상기 태그에 동기화함으로써, 보다 간단한 방법으로 보다 정확하게 리더 및 태그를 동기화시킬 수 있는 리더 및 태그 간의 동기화 방법을 제공하는 것이다.The problem to be solved of the present invention is a simpler method by calculating a clock offset and a message delay time between a reader and a tag and synchronizing the reader to the tag using the clock offset and the message delay time. It is to provide a synchronization method between the reader and the tag that can synchronize the reader and tag more accurately.

또한, 본 발명의 해결하고자 하는 과제는, 리더 및 태그 간의 클럭 오프셋(clock offset) 및 메시지 지연 시간을 산출하고, 상기 클럭 오프셋 및 상기 메시지 지연 시간을 이용하여 상기 태그를 상기 리더에 동기화함으로써, 보다 간단한 방법으로 보다 정확하게 리더 및 태그를 동기화시킬 수 있는 리더 및 태그 간의 동기화 방법을 제공하는 것이다.In addition, an object of the present invention is to calculate a clock offset and a message delay time between a reader and a tag, and synchronize the tag to the reader using the clock offset and the message delay time. It is a simple method to provide a synchronization method between readers and tags that can synchronize readers and tags more accurately.

상기 해결 과제를 달성하기 위하여, 본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법은, 리더(reader)가 제1 라이트(write) 명령 메시지를 제1 시각에 태그(tag)로 전송하는 단계; 상기 태그가 상기 제1 라이트 명령 메시지를 제2 시각에 상기 리더로부터 검출하고, 상기 제1 라이트 명령 메시지에 대응하는 제1 응답 메시지를 상기 리더로 전송하는 단계; 상기 리더가 상기 제1 시각에 대한 제1 시각 정보를 포함하는 제2 라이트 명령 메시지를 상기 태그로 전송하는 단계; 및 상기 태그가 상기 제1 시각 및 상기 제2 시각의 차를 이용하여 클럭 오프셋(clock offset)을 보정하는 단계를 포함한다.In order to achieve the above object, in the synchronization method between the reader and the tag according to an embodiment of the present invention, the reader (reader) transmitting a first write command message to the tag (tag) at a first time ; The tag detecting the first write command message from the reader at a second time, and transmitting a first response message corresponding to the first write command message to the reader; Sending, by the reader, a second write command message to the tag, the second write command message including first time information for the first time; And the tag correcting a clock offset by using a difference between the first time and the second time.

또한, 본 발명의 다른 실시예에 따른 리더 및 태그 간의 동기화 방법은, 리더가 제1 시각에 태그로 전송한 제1 라이트 명령 메시지에 대응하여 상기 태그로부터 제4 시각에 제1 응답 메시지를 수신하는 경우, 상기 제1 시각에 대한 제1 시각 정보를 포함하는 제2 라이트 명령 메시지를 제5 시각에 상기 태그로 전송하는 단계; 상기 태그가 상기 리더로부터 상기 제1 라이트 명령 메시지를 수신한 시각인 제2 시각과 상기 제1 시각의 차를 이용하여 클럭 오프셋을 보정하는 단계; 상기 태그가 상기 제2 라이트 명령 메시지에 대응하는 제2 응답 메시지를 제7 시각에 상기 리더로 전송하는 단계; 상기 리더가 상기 태그로부터 상기 제2 응답 메시지를 제8 시각에 수신하는 경우, 상기 제8 시각에 대한 제8 시각 정보를 포함하는 제3 라이트 명령 메시지를 제9 시각에 상기 태그로 전송하는 단계; 및 상기 태그가 상기 제7 시각 및 제8 시각의 차를 이용하여 메시지 지연 시간을 보정하는 단계를 포함한다.In addition, according to another embodiment of the present invention, a synchronization method between a reader and a tag may include receiving a first response message from the tag at a fourth time in response to a first write command message sent by the reader to the tag at the first time. If the second time command message including the first time information for the first time to the fifth time to the tag; Correcting a clock offset by using a difference between a first time and a second time when the tag receives the first write command message from the reader; The tag transmitting a second response message corresponding to the second write command message to the reader at a seventh time; When the reader receives the second response message from the tag at an eighth time, transmitting a third write command message including eighth time information about the eighth time to the tag at a ninth time; And the tag correcting the message delay time by using the difference between the seventh time and the eighth time.

또한, 본 발명의 또다른 실시예에 따른 리더 및 태그 간의 동기화 방법은, 리더가 제1 시각 정보를 포함하는 제1 리드(read) 명령 메시지를 제1 시각에 태그로 전송하는 단계; 상기 태그가 상기 리더로부터 상기 제1 리드 명령 메시지를 검출한 시각인 제2 시각에 대한 제2 시각 정보를 포함하는 제2 시각 메시지를 제3 시각에 상기 리더로 전송하는 단계; 및 상기 리더가 상기 제1 시각 및 상기 제2 시각의 차를 이용하여 클럭 오프셋을 보정하는 단계를 포함한다.In addition, the synchronization method between the reader and the tag according to another embodiment of the present invention, the reader transmits a first read command message including the first time information to the tag at the first time; Transmitting a second time message to the reader at a third time, the second time message including second time information about a second time being the time when the tag detects the first read command message from the reader; And correcting, by the reader, a clock offset by using a difference between the first time and the second time.

본 발명의 리더 및 태그 간의 동기화 방법에 따르면, 리더 및 태그 간의 클럭 오프셋(clock offset) 및 메시지 지연 시간의 산출을 통해 상기 리더 및 상기 태그 간의 동기화를 보다 간단하면서 보다 정확하게 수행할 수 있는 효과를 얻을 수 있다.According to the synchronization method between the reader and the tag of the present invention, the clock offset between the reader and the tag and the message delay time can be calculated to achieve the effect of more simple and accurate synchronization between the reader and the tag. Can be.

본 발명의 리더 및 태그 간의 동기화 방법에 있어서, 리더 및 태그 간의 클럭 차이는 클럭 오프셋(clock offet) 또는 클럭 변화(clock drift)과 메시지 지연(message delay)에 의해 발생한다. 따라서, 상기 리더 및 태그 간의 클럭 동기화는 클럭 오프셋의 보정과 메시지 지연의 보정에 의해 구현될 수 있다. 상기 메시지 지연은 전파 지연(propagation delay) 및 프로세스 지연(processing delay)에 의해 발생할 수 있다.In the synchronization method between the reader and the tag of the present invention, the clock difference between the reader and the tag is caused by a clock offset or clock drift and a message delay. Therefore, clock synchronization between the reader and the tag may be implemented by correction of clock offset and correction of message delay. The message delay may be caused by a propagation delay and a processing delay.

상기 리더 및 태그 간의 클럭의 변화(drift)는 상호 독립적으로 발생하므로, 상기 리더 및 태그 간의 동기화에는 반복적인 클럭 오프셋 및 메시지 지연의 보정이 수행될 수 있다.Since the clock drift between the reader and the tag occurs independently of each other, repetition of the clock offset and the message delay may be performed for synchronization between the reader and the tag.

본 발명의 일실시예에 따른 리더 및 태그에는 RTC(Real Time Clock)가 탑재될 수 있다. 또한, 상기 리더 및 상기 태그는 메시지를 전송하거나 수신하는 시각 정보를 메모리 영역에 기록할 수 있다. 또한, 본 명세서에서는 설명의 편의상 상기 메시지 지연 상향 링크(forward link) 및 하향 링크(return link) 간에 서로 동일하거나 적어도 동일한 크기를 갖도록 발생하는 경우를 예로 들어 설명한다. The reader and the tag according to an embodiment of the present invention may be equipped with a Real Time Clock (RTC). In addition, the reader and the tag may record time information for transmitting or receiving a message in a memory area. In addition, in the present specification, for convenience of description, a case in which the message delay is generated to have the same or at least the same size as each other between the forward link and the downlink will be described as an example.

이하에서는 첨부된 도면을 참조하여 본 발명의 실시 예를 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법 중 클럭 오프셋 보정 방법의 흐름을 도시한 도면이다.1 is a flowchart illustrating a clock offset correction method in a synchronization method between a reader and a tag according to an embodiment of the present invention.

본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법은 태그가 리더의 시각에 동기화하는 방법으로 구현될 수 있다. The synchronization method between the reader and the tag according to an embodiment of the present invention may be implemented by a method in which a tag is synchronized to the reader's time.

본 발명의 일실시예에 따르면, 리더는 제1 라이트(write) 명령 메시지를 제1 시각에 태그로 전송한다(단계(111)). 즉, 상기 리더는 상기 제1 라이트 명령 메시지를 메모리 영역 ts에 기록한 후, 상기 제1 라이트 명령 메시지를 태그로 발행하여 동기화 라운드(round)의 시작을 알릴 수 있다. 상기 메모리 영역 ts는 상기 태그의 메모리 중 상기 시간 동기화를 위해 할당되는 메모리 영역을 의미하고, 상기 제1 라이트 명령 메시지는 "Write(ts,0)"으로 구현될 수 있다. According to one embodiment of the invention, the reader transmits the first write command message to the tag at the first time (step 111). That is, after reading the first write command message in the memory area t s , the reader may announce the start of a synchronization round by issuing the first write command message as a tag. The memory area t s means a memory area allocated for the time synchronization among the memories of the tag, and the first write command message may be implemented as “Write (t s , 0)”.

상기 리더가 상기 제1 라이트 명령 메시지를 전송한 시각인 상기 제1 시각은 도 1에서와 같이 100초로 구현될 수 있다. 상기 시간의 단위는 AU(Arbitrary Unit)으로 구현될 수 있다. 다만, 본 명세서에서는 설명의 편의를 위하여 상기 시간의 단위가 초(second)인 경우를 예로 들어 설명한다.The first time, which is the time when the reader transmits the first write command message, may be implemented as 100 seconds as shown in FIG. 1. The unit of time may be implemented as an AU (Arbitrary Unit). However, in the present specification, for convenience of description, the case where the unit of time is second will be described as an example.

상기 태그는 제2 시각에 상기 제1 라이트 명령 메시지를 제2 시각(91초)에 상기 리더로부터 검출한다. 상기 태그는 상기 제1 라이트 명령 메시지를 검출한 시각인 상기 제2 시각(91초)를 메모리 영역에 기록한다.The tag detects the first write command message from the reader at a second time (91 seconds) at a second time. The tag writes the second time (91 seconds), which is the time when the first write command message is detected, in a memory area.

상기 태그는 상기 제1 라이트 명령 메시지에 대응하는 제1 응답 메시지를 상기 리더로 전송한다(단계(112)). 상기 태그는 상기 제1 응답 메시지를 제3 시 각(92초)에 상기 리더로 전송할 수 있다. 상기 제1 응답 메시지는 "Rep(success)"로 구현될 수 있다. The tag sends a first response message corresponding to the first write command message to the reader (step 112). The tag may transmit the first response message to the reader at a third time (92 seconds). The first response message may be implemented as "Rep (success)".

상기 리더는 상기 태그로부터 상기 제1 응답 메시지를 제4 시각(103초)에 수신한다. 상기 리더는 상기 제1 시각(100초)을 상기 메모리 영역에 기록한 후, 상기 리더는 상기 제1 시각(100초) 정보를 포함하는 제2 라이트 명령 메시지를 상기 태그로 제5 시각(104초)에 전송한다. 상기 제2 라이트 명령 메시지는 블록 라이트(BlockWrite) 메시지인 "BlockWrited(tv,100)"으로 구현될 수 있다(단계(113)).The reader receives the first response message from the tag at a fourth time (103 seconds). After the reader has recorded the first time (100 seconds) in the memory area, the reader has a second time (104 seconds) with the tag a second write command message including the first time (100 seconds) information. To transmit. The second write command message may be embodied as “BlockWrited (t v , 100)” which is a BlockWrite message (step 113).

상기 태그는 상기 리더로부터 상기 제2 라이트 명령 메시지를 제6 시각(95초)에 수신한다. 상기 태그는 상기 제2 라이트 명령 메시지가 포함하는 상기 제1 시각(100초) 및 상기 제2 시각(91초)를 이용하여 클럭 오프셋을 보정한다.The tag receives the second write command message from the reader at a sixth time (95 seconds). The tag corrects a clock offset by using the first time (100 seconds) and the second time (91 seconds) included in the second write command message.

즉, 도 1에서 상기 리더의 시각이 100초를 유지할 때 상기 태그는 90초를 유지하는 바와 같이, 상기 리더와 상기 오프셋의 클럭 오프셋은 10초로 구현되고 있다. That is, as shown in FIG. 1, when the reader's time is 100 seconds, the tag is maintained at 90 seconds, the clock offset of the reader and the offset is implemented as 10 seconds.

따라서, 상기 태그는 상기 리더가 상기 제1 라이트 명령 메시지를 전송한 상기 리더의 시각인 상기 제1 시각(100초)와, 상기 태그가 상기 리더로부터 상기 제1 라이트 명령 메시지를 수신한 상기 태그의 시각인 상기 제2 시각(91초)의 차(9초)를 산출하여 상기 태그의 시각을 상기 리더의 시각으로 동기화할 수 있다. Accordingly, the tag is the first time (100 seconds) which is the time of the reader when the reader transmits the first write command message, and the tag of the tag receives the first write command message from the reader. The time of the tag may be synchronized with the time of the reader by calculating a difference (9 seconds) of the second time (91 seconds) which is a time.

즉, 상기 태그가 상기 제2 라이트 명령 메시지를 상기 리더로부터 수신한 상기 태그의 시각인 상기 제6 시각(95초)에 상기 제1 시각(100초) 및 상기 제2 시 각(91)초의 차(9초)를 더하여 상기 태그의 현재 시각인 상기 제6 시각을 95초에서 104초로 보정함으로써, 상기 태그의 시각을 상기 리더의 시각으로 동기화할 수 있다.That is, a difference between the first time (100 seconds) and the second time time (91 seconds) at the sixth time (95 seconds) that is the time of the tag when the tag receives the second write command message from the reader. By adding (9 seconds), the time of the tag can be synchronized with the time of the reader by correcting the sixth time, which is the current time of the tag, from 95 to 104 seconds.

그러나, 상기 동기화 결과 상기 태그의 현재 시각이 104초일 경우 상기 리더의 현재 시각은 105초인 것과 같이, 완전한 동기화는 수행되지 않았다. 이는 상기 리더가 상기 제1 응답 메시지(112)의 수신 시각과 상기 제2 라이트 명령 메시지를 전송 시각의 차에 따른 메시지 지연에 기인한다. 이하에서는 도 2를 참조하여 상기 메시지 지연의 보정에 대하여 설명한다.However, if the current time of the tag is 104 seconds as a result of the synchronization, the complete synchronization was not performed, as the current time of the reader is 105 seconds. This is due to a message delay according to a difference between the reception time of the first response message 112 and the transmission time of the second write command message. Hereinafter, the correction of the message delay will be described with reference to FIG. 2.

도 2는 본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법 중 클럭 오프셋 보정 방법 및 메시지 지연 보정 방법의 흐름을 도시한 도면이다.2 is a flowchart illustrating a clock offset correction method and a message delay correction method among synchronization methods between a reader and a tag according to an embodiment of the present invention.

도 2에서 단계(111) 내지 단계(113)은 도 1을 통해 설명한 클럭 오프셋 보정 방법과 동일하게 구현되므로, 단계(111) 내지 단계(113)에 대한 설명은 생략한다.In FIG. 2, steps 111 to 113 are implemented in the same manner as the clock offset correction method described with reference to FIG. 1, and thus descriptions of steps 111 to 113 will be omitted.

앞서 도 1을 통해 설명한 바와 같이, 태그는 상기 제6 시각을 95초에서 104초로 변경하여 상기 리더와의 클럭 오프셋을 보정할 수 있다.As described above with reference to FIG. 1, the tag may correct the clock offset with the reader by changing the sixth time from 95 seconds to 104 seconds.

상기 클럭 오프셋의 보정 후, 상기 태그는 상기 제2 라이트 명령 메시지에 대응하는 제2 응답 메시지(Rep(success))를 제7 시각(105초)에 상기 리더로 전송한다(단계(114)). After correction of the clock offset, the tag sends a second response message (Rep (success)) corresponding to the second write command message to the reader at a seventh time (105 seconds) (step 114).

상기 리더는 상기 태그로부터 상기 제2 응답 메시지를 제8 시각(107초)에 수신한다. 상기 리더는 상기 제8 시각을 상기 메모리 영역에 기록한다. 상기 리더 는 제3 라이트 명령 메시지(BlockWrited(td,107))를 제9 시각(108초)에 상기 태그로 전송한다(단계(115)).The reader receives the second response message from the tag at an eighth time (107 seconds). The reader writes the eighth time in the memory area. The reader sends a third write command message BlockWrited (t d , 107) to the tag at the ninth time 108 seconds (step 115).

이와 같이, 메시지 지연은 단계(113) 및 단계(115)에서 각각 발생한다. 즉, 상기 리더가 상기 태그로 전송하는 상기 제2 라이트 명령 메시지는 제4 시각(103초)를 포함하나, 상기 리더는 상기 제2 라이트 명령 메시지를 제5 시각(104초)에 상기 태그로 전송함으로써 1초라는 메시지 지연 시간이 발생한다.As such, message delay occurs in steps 113 and 115, respectively. That is, the second write command message transmitted by the reader to the tag includes a fourth time (103 seconds), but the reader transmits the second write command message to the tag at a fifth time (104 seconds). This results in a message delay of 1 second.

또한, 상기 리더가 상기 태그로 상기 제3 라이트 명령 메시지는 제8 시각(107초)를 포함하나, 상기 리더는 상기 제3 라이트 명령 메시지를 제9 시각(108초)에 상기 태그로 전송함으로써, 역시 1초라는 메시지 지연 시간이 또 발생한다.In addition, the reader may transmit the third write command message to the tag with the eighth time (107 seconds), but the reader transmits the third write command message to the tag at the ninth time (108 seconds), There is also a message delay of 1 second.

*이에, 상기 리더로부터 상기 제3 라이트 명령 메시지를 제10 시각(108초)에 수신하는 상기 태그는 상기 제8 시각(107초) 및 상기 제7 시각(105초)의 차를 2로 나눈 값(1초)를 상기 제10 시각에 더하여 상기 메시지 지연 시간을 보정할 수 있다. 즉, 상기 제10 시각을 108초에서 109초로 변경하여 상기 메시지 지연 시간을 보정함으로써, 상기 리더와의 동기화를 수행할 수 있다.The tag that receives the third write command message from the reader at the tenth time (108 seconds) is a value obtained by dividing the difference between the eighth time (107 seconds) and the seventh time (105 seconds) by two. (1 second) may be added to the tenth time to correct the message delay time. That is, the message delay time may be corrected by changing the tenth time from 108 seconds to 109 seconds, thereby synchronizing with the reader.

도 3은 본 발명의 다른 실시예에 따른 리더 및 태그 간의 동기화 방법의 흐름을 도시한 도면이다.3 is a flowchart illustrating a synchronization method between a reader and a tag according to another embodiment of the present invention.

본 발명의 다른 실시예에 따른 리더 및 태그 간의 동기화 방법은 리더가 태그의 시각에 동기화하는 방법으로 구현될 수 있다. 이는 상기 리더가 상기 태그와 의 클럭 표류(drift)를 정확히 인지해야 하는 경우에 구현될 수 있다. The synchronization method between the reader and the tag according to another embodiment of the present invention may be implemented by a method in which the reader synchronizes with the time of the tag. This may be implemented if the reader needs to know the clock drift with the tag correctly.

예를 들어, 센서로 구현되는 태그가 몇 달이나 몇 년과 같이 아주 긴 시간 동안 주변 환경을 모니터링하는 경우, 상기 클럭 표류는 상당한 시간이 될 수 있다. 즉, 상기 센서 태그에 수집된 정보들이 리더로 전송되는 경우, 상기 리더는 상기 태그로부터 수신하는 정보를 정확히 해석하기 위하여 상기 태그와 어긋나 있는 RTC의 차이를 정확하게 인지하여야 하므로, 상기 태그에 대한 동기화가 필요하다.For example, if a tag implemented with a sensor monitors the environment for a very long time, such as months or years, the clock drift can be significant. That is, when the information collected in the sensor tag is transmitted to the reader, the reader must accurately recognize the difference between the RTC and the RTC in order to accurately interpret the information received from the tag. need.

본 발명의 다른 실시예에 따르면, 상기 리더는 상기 태그로 제1 리드 명령 메시지를 제11 시각(100초)에 전송한다(단계(311)). 상기 제1 리드 명령 메시지는 "Read(tv)"로 구현될 수 있다. According to another embodiment of the present invention, the reader transmits a first read command message to the tag at eleventh time (100 seconds) (step 311). The first read command message may be implemented as “Read (t v )”.

상기 태그는 상기 리더로부터 상기 제1 리드 명령 메시지를 제12 시각(91초)에 검출한다. 상기 태그는 상기 제1 리드 명령 메시지를 검출한 시각인 상기 제12 시각(91초)를 메모리 영역에 기록한다.The tag detects the first read command message from the reader at a twelfth time (91 seconds). The tag writes the twelfth time (91 seconds), which is a time when the first read command message is detected, in a memory area.

상기 태그는 상기 제1 리드 명령 메시지에 대응하는 제1 응답 메시지를 제13 시각(92초)에 상기 리더로 전송한다(단계(312)). 상기 제1 응답 메시지는 상기 제1 리드 명령 메시지를 검출한 상기 태그의 시각인 상기 제12 시각(91초)를 포함하는 "tv=91"로 구현될 수 있다. 상기 태그는 상기 제1 응답 메시지를 상기 리더로 전송한 시각인 상기 제13 시각(92초)를 상기 메모리 영역에 기록한다.The tag sends a first response message corresponding to the first read command message to the reader at a thirteenth time (92 seconds) (step 312). The first response message may be embodied as "t v = 91" including the twelfth time (91 seconds) which is the time of the tag that detects the first read command message. The tag writes the thirteenth time (92 seconds), which is a time when the first response message is transmitted to the reader, in the memory area.

상기 리더는 상기 태그로부터 상기 제1 응답 메시지를 제14 시각(103초)에 수신하고, 상기 제14 시각(103초)을 메모리 영역에 기록한다. 상기 리더는 상기 제11 시각(100초) 및 상기 제12 시각(91초)의 차를 이용하여 상기 태그와의 클럭 오프셋을 보정한다.The reader receives the first response message from the tag at the fourteenth time (103 seconds) and records the fourteenth time (103 seconds) in a memory area. The reader corrects the clock offset with the tag by using the difference between the eleventh time (100 seconds) and the twelfth time (91 seconds).

즉, 상기 리더는 상기 제11 시각(100초) 및 상기 제12 시각(91초)의 차(9초)를 상기 제14 시각(103초)에서 감하여, 현재 시각인 상기 제14 시각을 103초에서 94초로 보정함으로써, 상기 태그와의 클럭 오프셋을 보정할 수 있다.That is, the reader subtracts the difference (9 seconds) between the eleventh time (100 seconds) and the twelfth time (91 seconds) from the fourteenth time (103 seconds), and makes 103 seconds the current time. By adjusting to 94 seconds, the clock offset with the tag can be corrected.

상기 리더는 상기 클럭 오프셋의 보정 이후, 제15 시각(95초)에 제2 리드 명령 메시지를 상기 태그로 전송한다(단계(313)). 상기 제2 리드 명령 메시지는 상기 태그의 메모리 영역을 리드하기 위한 메시지인 "Read(td)"로 구현될 수 있다. After correcting the clock offset, the reader sends a second read command message to the tag at a fifteenth time (95 seconds) (step 313). The second read command message may be implemented as “Read (t d )” which is a message for reading the memory area of the tag.

상기 태그는 상기 리더로부터 상기 제2 리드 명령 메시지를 제16 시각(95초)에 수신한다. 상기 태그는 상기 제2 리드 명령 메시지에 대응하는 제2 응답 메시지를 제17 시각(96초)에 상기 리더로 전송한다.The tag receives the second read command message from the reader at the sixteenth time (95 seconds). The tag transmits a second response message corresponding to the second read command message to the reader at the seventeenth time (96 seconds).

상기 제2 리드 명령 메시지는 상기 태그가 상기 제1 응답 메시지를 상기 리더로 전송한 시각인 상기 제13 시각(92초)를 포함하는 메시지인 "td=92"로 구현될 수 있다.The second read command message may be embodied as “t d = 92” which is a message including the thirteenth time (92 seconds) that is the time when the tag transmits the first response message to the reader.

상기 리더는 상기 태그로부터 상기 제2 응답 메시지를 제18 시각(98초)에 수신한다. 상기 리더는 상기 제13 시각(92초) 및 상기 보정된 제14 시각(94초)의 차를 이용하여 상기 태그와의 메시지 전송 과정에서 발생한 메시지 지연 시간을 보정할 수 있다. 즉, 상기 리더는 상기 제13 시각(92초) 및 상기 보정된 제14 시각(94 초)의 차(1초)를 상기 제18 시각(98초)에서 감하여, 상기 제18 시각을 98초에서 97초로 변경함으로써, 상기 태그와의 메시지 지연 시간 보정에 따른 동기화를 수행할 수 있다.The reader receives the second response message from the tag at an eighteenth time (98 seconds). The reader may correct the message delay time generated during the message transmission process with the tag by using the difference between the thirteenth time (92 seconds) and the corrected fourteenth time (94 seconds). That is, the reader subtracts the difference (1 second) between the thirteenth time (92 seconds) and the corrected fourteenth time (94 seconds) from the eighteenth time (98 seconds), and subtracts the eighteenth time from 98 seconds. By changing to 97 seconds, synchronization with the message delay time correction with the tag can be performed.

도 1 내지 도 3을 통해 설명한 본 발명의 일실시예 및 다른 실시예에 따른 리더 및 태그 간의 동기화 방법은 표준 무선 인터페이스(standard air interface) 를 통한 명령에 의한 제어(read, write, blockwrite)로 구현되는 경우를 설명하고 있으나, 센서 억세스(sensor access) 명령어 세트를 통해서도 구현될 수도 있다.The synchronization method between the reader and the tag according to the embodiments of the present invention described with reference to FIGS. 1 to 3 is implemented by control (read, write, blockwrite) by a command through a standard air interface. Although described, but may be implemented through the sensor access instruction set.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명 사상은 아래에 기재된 특허청구범위에 의해서만 파악되어야 하고, 이의 균등 또는 등가적 변형 모두는 본 발명 사상의 범주에 속한다고 할 것이다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above-described embodiments, which can be variously modified and modified by those skilled in the art to which the present invention pertains. Modifications are possible. Accordingly, the spirit of the present invention should be understood only in accordance with the following claims, and all equivalents or equivalent variations thereof are included in the scope of the present invention.

도 1은 본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법 중 클럭 오프셋 보정 방법의 흐름을 도시한 도면.1 is a diagram illustrating a flow of a clock offset correction method in a synchronization method between a reader and a tag according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따른 리더 및 태그 간의 동기화 방법 중 클럭 오프셋 보정 방법 및 메시지 지연 보정 방법의 흐름을 도시한 도면.2 is a flowchart illustrating a clock offset correction method and a message delay correction method in a synchronization method between a reader and a tag according to an embodiment of the present invention.

도 3은 본 발며의 다른 실시예에 따른 리더 및 태그 간의 동기화 방법의 흐름을 도시한 도면.3 is a flow diagram illustrating a synchronization method between a reader and a tag according to another embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

단계(111): 제1 라이트 명령 메시지 전송 단계Step 111: Send a first write command message.

단계(112): 제1 응답 메시지 전송 단계Step 112: Send a first response message.

단계(113): 제2 라이트 명령 메시지 전송 단계Step 113: Send a second write command message.

Claims (1)

리더(reader)가 제1 라이트(write) 명령 메시지를 제1 시각에 태그(tag)로 전송하는 단계;Sending, by a reader, a tag to the tag at a first time; 상기 태그가 상기 제1 라이트 명령 메시지를 제2 시각에 상기 리더로부터 검출하고, 상기 제1 라이트 명령 메시지에 대응하는 제1 응답 메시지를 상기 리더로 전송하는 단계;The tag detecting the first write command message from the reader at a second time, and transmitting a first response message corresponding to the first write command message to the reader; 상기 리더가 상기 제1 시각에 대한 제1 시각 정보를 포함하는 제2 라이트 명령 메시지를 상기 태그로 전송하는 단계; 및Sending, by the reader, a second write command message to the tag, the second write command message including first time information for the first time; And 상기 태그가 상기 제1 시각 및 상기 제2 시각의 차를 이용하여 클럭 오프셋(clock offset)을 보정하는 단계The tag correcting a clock offset by using a difference between the first time and the second time 를 포함하는 것을 특징으로 하는 리더 및 태그 간의 동기화 방법.Method of synchronizing between the reader and the tag comprising a.
KR1020090017908A 2009-03-03 2009-03-03 Synchronization method between reader and tag KR101208786B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090017908A KR101208786B1 (en) 2009-03-03 2009-03-03 Synchronization method between reader and tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090017908A KR101208786B1 (en) 2009-03-03 2009-03-03 Synchronization method between reader and tag

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020070132209A Division KR100935084B1 (en) 2007-12-17 2007-12-17 How to sync between readers and tags

Publications (2)

Publication Number Publication Date
KR20090065482A KR20090065482A (en) 2009-06-22
KR101208786B1 true KR101208786B1 (en) 2012-12-05

Family

ID=40993777

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090017908A KR101208786B1 (en) 2009-03-03 2009-03-03 Synchronization method between reader and tag

Country Status (1)

Country Link
KR (1) KR101208786B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070205871A1 (en) 2006-03-01 2007-09-06 Joshua Posamentier RFID tag clock synchronization
US20070253512A1 (en) 2006-04-27 2007-11-01 Jennic Limited Method for acquiring timing and carrier synchronization of offset-QPSK modulated signals
KR100784055B1 (en) 2006-11-13 2007-12-10 엘지이노텍 주식회사 Syncronization system of radio frequency identification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070205871A1 (en) 2006-03-01 2007-09-06 Joshua Posamentier RFID tag clock synchronization
US20070253512A1 (en) 2006-04-27 2007-11-01 Jennic Limited Method for acquiring timing and carrier synchronization of offset-QPSK modulated signals
KR100784055B1 (en) 2006-11-13 2007-12-10 엘지이노텍 주식회사 Syncronization system of radio frequency identification

Also Published As

Publication number Publication date
KR20090065482A (en) 2009-06-22

Similar Documents

Publication Publication Date Title
KR100935084B1 (en) How to sync between readers and tags
CN101681670B (en) Clock synchronization in memory system
US5689688A (en) Probabilistic anonymous clock synchronization method and apparatus for synchronizing a local time scale with a reference time scale
CN101447861B (en) IEEE 1588 time synchronization system and implementation method thereof
CN105426121A (en) Method for storing measurement data of multiple ship-borne sensors together in real time
EP3541085B1 (en) Sensor management device, sensor information synchronization method, control program, and recording medium
US20080141058A1 (en) System, method, and article of manufacture for synchronizing time of day clocks on first and second computers
CA2990840A1 (en) Pps tagging of acoustic sample data
JP2008262292A (en) Server, and time synchronization method for local terminal group
US20100260165A1 (en) Remote i/o system and synchronization method in the same
WO2018041108A1 (en) Method, apparatus, and device for determining clock time of time synchronization packet
CN107636627B (en) Time synchronization device, time synchronization system, and time synchronization method
KR101208786B1 (en) Synchronization method between reader and tag
CN107666360B (en) Train system time synchronization control method and device
CN106557062B (en) Numerical control system with the synchronization control function between unit
KR101583136B1 (en) Method and Apparatus for Time Synchronization of Car Black Box or Car Electronic Equipment
CN101420281B (en) Method and arrangement for transferring a time of day value between network elements
KR101965932B1 (en) UTC Time Synchronization Method for a Device using GPS Module
EP2398173A1 (en) Remote I/O system and synchronization method in the same
US20190303101A1 (en) Data acquisition system, input device, data acquisition apparatus, and data combining apparatus
JP5217006B2 (en) High-precision time synchronization apparatus, high-precision time synchronization method, and program
KR102031965B1 (en) Molecular communication-based nanonetwork system, synchronization method and nano machine thereof
CN115871746A (en) Train perception positioning method and device and rail train
CN103558820A (en) Virtual wireless spaceflight test control data parallel synchronous transmission system
CN114928427A (en) Clock synchronization method, device, equipment and storage medium of vehicle-mounted sensor

Legal Events

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

Payment date: 20151028

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee