KR100931387B1 - Clock Synchronization Device and Method - Google Patents

Clock Synchronization Device and Method Download PDF

Info

Publication number
KR100931387B1
KR100931387B1 KR1020070135950A KR20070135950A KR100931387B1 KR 100931387 B1 KR100931387 B1 KR 100931387B1 KR 1020070135950 A KR1020070135950 A KR 1020070135950A KR 20070135950 A KR20070135950 A KR 20070135950A KR 100931387 B1 KR100931387 B1 KR 100931387B1
Authority
KR
South Korea
Prior art keywords
clock
time
slave
frequency offset
offset
Prior art date
Application number
KR1020070135950A
Other languages
Korean (ko)
Other versions
KR20090068077A (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 KR1020070135950A priority Critical patent/KR100931387B1/en
Publication of KR20090068077A publication Critical patent/KR20090068077A/en
Application granted granted Critical
Publication of KR100931387B1 publication Critical patent/KR100931387B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 네트워크로 연결된 마스터(master)와 슬레이브(slave)의 클럭을 동기화시키는 장치 밀 방법에 관한 것이다. 그 클럭 동기화 장치는 서로 다른 위상을 가지는 복수의 클럭들을 가변적으로 선택하여 클럭의 위상을 변화시킴으로써, 동기화되는 클럭의 주파수 해상도를 향상시켜 동기화 정밀도를 높일 수 있다. 또한, 마스터와 슬레이브 사이의 주파수 옵셋을 필터링(filtering)함으로써, 동기화된 클럭 신호를 안정화할 수 있다.The present invention relates to a method of device milling for synchronizing clocks of a networked master and a slave. The clock synchronizing apparatus variably selects a plurality of clocks having different phases to change the phase of the clock, thereby improving the frequency resolution of the clock to be synchronized, thereby increasing the synchronization accuracy. In addition, by filtering the frequency offset between the master and the slave, it is possible to stabilize the synchronized clock signal.

마스터(master), 슬레이브(slave), 클럭, 동기화 Master, slave, clock, synchronization

Description

클럭 동기화 장치 및 방법{Apparatus and method for clock synchronization}Apparatus and method for clock synchronization

본 발명은 클럭을 동기화하는 장치 및 방법에 관한 것으로, 보다 상세하게는네트워크로 연결된 마스터(master)와 슬레이브(slave)에 공급되는 클럭을 동기화시키는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and a method for synchronizing a clock, and more particularly, to an apparatus and a method for synchronizing a clock supplied to a networked master and a slave.

본 발명은 정보통신부 및 정보통신연구진흥원의 IT성장동력기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2006-S-012-01, 과제명: 멀티미디어 컨버전스 네트워크 온 칩 기술 개발].The present invention is derived from the research conducted as part of the IT growth engine technology development project of the Ministry of Information and Communication and the Ministry of Information and Communication Research and Development. ].

이더넷(ethernet)과 같은 네트워크 장치들은 기본적으로 클럭 동기화를 제공하지 않고, 독립 동기(Plesiochronous) 방식을 이용한다.Network devices, such as ethernet, do not provide clock synchronization by default, but use a lesiochronous method.

또한, 부가적인 기능 확장을 위하여, 동기를 이루고자 하는 두 노드의 클럭 사이에 타임 스탬프가 포함된 메시지를 교환하여 클럭을 동기화하는 방식이 사용될 수 있다.In addition, for additional function extension, a method of synchronizing clocks by exchanging a message including a time stamp between clocks of two nodes to be synchronized may be used.

종래의 제1 동기화 방식은 슬레이브의 클럭은 마스터의 클럭과 메시지 교환을 통하여 얻은 시간 옵셋(offset)을 이용하여 주파수 편차를 계산하고, 이들을 이용하여 슬레이브의 시간 정보 값과 클럭 속도를 조정하여 동기화를 수행할 수 있 다.In the conventional first synchronization method, a slave clock calculates a frequency deviation using a time offset obtained through a message exchange with a master clock, and adjusts the slave's time information value and a clock speed to synchronize the clock. It can be done.

상기 종래의 제1 동기화 방식은 종래의 발진기에 의하여 구동되는 일종의 카운터인 TOD (Time Of Day) 생성기의 값을 미세하게 보정하여 시스템의 시간 값인 TOD가 보다 빨라지거나 느려지는 효과를 얻는다. 그러나 상기 제1 동기화 방식은 실제 발진기에서 생성되는 클럭 신호의 주파수를 조정하는 것이 아니므로, 동기된 클럭 신호를 필요로 하는 응용 분야에서 제한되는 분야가 발생할 수 있다.The conventional first synchronization method finely corrects a value of a TOD (Time Of Day) generator, which is a kind of counter driven by a conventional oscillator, so that the TOD, which is a time value of the system, is faster or slower. However, since the first synchronization method does not adjust the frequency of the clock signal generated by the real oscillator, a limited field may occur in an application requiring a synchronized clock signal.

종래의 제2 동기화 방식은, 슬레이브에 아날로그 위상 고정 루프(Analog Phase-Locked Loop)를 두고, 계산된 클럭 주파수 오차를 상쇄하기 위한 부궤환 (Negative Feedback) 방식을 사용한다. 그러나 메시지 교환 주기가 길수록 트래픽(traffic) 효율 면에서 유리한 네트워크 동기 시스템에서, 아날로그 위상 고정 루프에 사용되는 커패시터(Capacitor)의 누설 전류 등이 발생하기 때문에 메시지 교환 주기가 충분히 길어질 수 없는 단점이 있을 수 있다.The conventional second synchronization scheme uses an analog phase-locked loop on a slave and uses a negative feedback scheme to cancel a calculated clock frequency error. However, the longer the message exchange period, the better the traffic efficiency. In network synchronous systems, the leakage current of the capacitor used in the analog phase locked loop may occur, and thus the message exchange period may not be sufficiently long. have.

종래의 제3 동기화 방식의 경우, 상기 제2 동기화 방식과 유사하게 슬레이브에 디지털 위상 고정 루프 (Digital Phase-Locked Loop)를 두고 동기를 이룬다. 그에 따라, 상기 제2 동기화 방식와 같은 회로적인 문제점이 존재하지 않고 디지털 제어를 사용하므로 주변 잡음에 민감하지 않은 장점을 가지고 있다. 그러나 디지털 위상 고정 루프 내에서 클럭 신호를 생성하는 디지털 제어 발진기(Digitally Controlled Oscillator, DCO)의 주파수 해상도에 한계가 존재한다. 주파수 해상도가 제한 되면 슬레이브 노드의 목표 주파수 값과 실제 디지털 제어 발진기 의 주파수 값 사이에 오차가 발생하며, 메시지 교환 사이의 시간 동안 이 오차로 인하여 시간 오차가 누적된다. 즉, 누적 되는 시간 오차는 주파수 오차와 메시지 교환 간격의 곱으로 결정된다.In the case of the conventional third synchronization scheme, similar to the second synchronization scheme, a synchronization is achieved with a digital phase-locked loop in the slave. Accordingly, there is no circuit problem such as the second synchronization scheme and digital control is used, which is advantageous in that it is not sensitive to ambient noise. However, there is a limit to the frequency resolution of digitally controlled oscillators (DCOs) that generate clock signals within a digital phase locked loop. If the frequency resolution is limited, an error occurs between the target frequency value of the slave node and the frequency value of the actual digitally controlled oscillator, and the time error accumulates due to this error during the time between message exchanges. That is, the accumulated time error is determined by the product of the frequency error and the message exchange interval.

일반적인 네트워크 동기 시스템에서, 1초 간격의 메시지 교환을 통하여 100 MHz 클럭을 동기 시키고, 1 UI (Unit Interval) 이내의 시간 오차가 누적되는 것을 허용한다고 가정할 때, 0.01ppm 이내로 디지털 제어 발진기의 주파수를 제어하여야 한다.In a typical network synchronization system, the frequency of a digitally controlled oscillator is within 0.01 ppm, assuming that 100 MHz clocks are synchronized through message exchanges at 1 second intervals, and that time errors within 1 UI (Unit Interval) are allowed to accumulate. Control.

기존 논문에 발표된 디지털 제어 발진기 중 주파수 해상도가 높은 수준에 해당하는 16 비트 제어 코드를 사용하고 있으나, 최소 주파수 스텝이 100 MHz 기준으로 50ppm 정도에 불과하다.The digitally controlled oscillator presented in the previous paper uses a 16-bit control code with high frequency resolution, but the minimum frequency step is only 50ppm at 100 MHz.

또한, DAC(Digital-to-Analog Converter)을 이용하여 VCXO(Voltage-Controlled Crystal Oscillator)를 제어함으로써 디지털 제어 발진기 를 사용하는 것과 같은 효과를 낼 수 있다.In addition, by using a digital-to-analog converter (DAC) to control the voltage-controlled crystal oscillator (VCXO) can have the same effect as using a digitally controlled oscillator.

그러나, 디지털 제어 발진기가 포함하여야 하는 최대/최소 주파수 옵셋을 고려하면, 최소 15 비트 이상의 DAC을 사용하여야 하므로, 상기 제3 동기화 방식은 시스템의 복잡도를 증가시키는 단점이 있다. However, in consideration of the maximum / minimum frequency offset that the digitally controlled oscillator should include, the third synchronization scheme has a disadvantage of increasing the complexity of the system since a DAC of at least 15 bits should be used.

본 발명의 목적은, 네트워크로 연결된 마스터와 슬레이브의 클럭 신호를 동기화함에 있어, 동기화의 정밀성 및 안정성을 향상시킬 수 있는 클럭 동기화 장치 및 방법을 제공함에 있다. An object of the present invention is to provide a clock synchronization device and method which can improve the accuracy and stability of synchronization in synchronizing clock signals of a network-connected master and slave.

상기 목적을 달성하기 위한 본 발명에 따른 클럭 동기화 장치는, 서로 다른 위상을 가지는 복수의 클럭들을 생성하는 클럭생성부; 목표 주파수 옵셋(offset)에 따라 상기 복수의 클럭들 중 어느 하나를 선택하여 출력하는 제1 클럭선택부; 상기 제1 클럭선택부에서 선택된 클럭을 이용하여 시각 정보를 생성하는 제1 시각정보생성부; 상기 마스터와 슬레이브 사이에서 송수신되는 동기 메시지와 상기 제1 시각정보생성부로부터 출력되는 시각 정보를 이용하여, 상기 마스터와 슬레이브의 클럭 사이의 시간 옵셋을 최소화하기 위한 상기 목표 주파수 옵셋을 구하는 옵셋계산부; In accordance with another aspect of the present invention, a clock synchronization device includes: a clock generator configured to generate a plurality of clocks having different phases; A first clock selector configured to select and output any one of the plurality of clocks according to a target frequency offset; A first time information generator configured to generate time information by using the clock selected by the first clock selector; An offset calculator configured to obtain the target frequency offset for minimizing a time offset between the clock of the master and the slave by using the synchronization message transmitted and received between the master and the slave and the time information output from the first time information generator. ;

상기 구해진 목표 주파수 옵셋에 대해 필터링을 수행하는 필터링부; 상기 필터링된 목표 주파수 옵셋에 따라 상기 복수의 클럭들 중 어느 하나를 선택하여 출력하는 제2 클럭선택부; 및 상기 제2 클럭선택부에서 선택된 클럭을 이용하여 시각 정보를 생성하는 제2 시각정보생성부를 포함하는 것을 특징으로 한다.A filtering unit which performs filtering on the obtained target frequency offset; A second clock selector configured to select and output any one of the plurality of clocks according to the filtered target frequency offset; And a second time information generator generating time information by using the clock selected by the second clock selector.

한편, 본 발명에 따른 클럭 동기화 방법은, 서로 다른 위상을 가지는 복수의 클럭들을 생성하는 단계; 마스터와 슬레이브 사이의 동기 메시지 송수신 시간 정보를 이용하여, 상기 마스터와 슬레이브의 클럭 사이의 시간 옵셋을 최소화하기 위한 목표 주파수 옵셋을 구하는 단계; 상기 구해진 목표 주파수 옵셋에 대해 필터링을 수행하는 단계; 상기 필터링이 수행된 목표 주파수 옵셋을 이용하여 클럭 선택 주기를 계산하는 단계; 및 및 상기 클럭 선택 주기 마다 상기 복수의 클럭들 중 하나를 선택하여, 서로 다른 위상을 가지는 2 이상의 클럭들을 순차적으로 출력하는 단계를 포함하는 것을 특징으로 한다.On the other hand, the clock synchronization method according to the invention, generating a plurality of clocks having different phases; Obtaining a target frequency offset for minimizing a time offset between the clock of the master and the slave by using the synchronization message transmission / reception time information between the master and the slave; Performing filtering on the obtained target frequency offset; Calculating a clock selection period using the target frequency offset on which the filtering is performed; And selecting one of the plurality of clocks at each clock selection period, and sequentially outputting two or more clocks having different phases.

상기 목적을 달성하기 위하여 본 발명에서는, 상기 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In order to achieve the above object, the present invention provides a computer-readable recording medium recording a program for executing the method on a computer.

본 발명에 따른 클럭 동기화 장치 및 방법에 의하면, 서로 다른 위상을 가지는 복수의 클럭들을 가변적으로 선택하여 클럭의 위상을 변화시킴으로써, 동기화되는 클럭의 주파수 해상도를 향상시켜 동기화 정밀도를 높일 수 있다. 또한, 마스터와 슬레이브 사이의 주파수 옵셋을 필터링(filtering)함으로써, 동기화된 클럭 신호를 안정화할 수 있다.According to the clock synchronizing apparatus and method according to the present invention, by selecting a plurality of clocks having different phases by varying the phase of the clock, it is possible to improve the synchronization accuracy by improving the frequency resolution of the clock to be synchronized. In addition, by filtering the frequency offset between the master and the slave, it is possible to stabilize the synchronized clock signal.

이하에서는 도 1 내지 도 7을 참조하여 본 발명의 일실시예에 따른 클럭 동기화 장치 및 방법에 대해 설명하기로 한다.Hereinafter, a clock synchronization apparatus and method according to an embodiment of the present invention will be described with reference to FIGS. 1 to 7.

도 1은 본 발명에 따른 클럭 동기화 장치의 구성에 대한 일실시예를 블록도로 도시한 것으로, 도시된 클럭 동기화 장치는 클럭생성부(120), 제1 클럭선택부(125), 제1 시각정보생성부(130), 제1 송수신부(135), 옵셋계산부(140), 필터링부(150), 제2 송수신부(155), 제2 클럭선택부(165), 및 제2 시각정보생성부(160)를 포함하여 구성될 수 있다.1 is a block diagram illustrating an embodiment of a configuration of a clock synchronization device according to the present invention. The clock synchronization device shown in FIG. 1 includes a clock generator 120, a first clock selector 125, and first time information. Generation unit 130, the first transceiver 135, the offset calculator 140, the filter 150, the second transceiver 155, the second clock selector 165, and the second time information generation It may be configured to include the unit 160.

클럭생성부(120)는 기준 클럭을 입력 받아 서로 다른 위상을 가지는 복수의 클럭들을 출력하고, 제1, 2클럭선택부(125, 165)는 상기 복수의 클럭들 중 어느 하나의 클럭을 선택하여 출력한다.The clock generator 120 receives a reference clock and outputs a plurality of clocks having different phases, and the first and second clock selectors 125 and 165 select one of the plurality of clocks. Output

제1, 2 시각정보생성부(130, 160)는 각각 제1, 2클럭선택부(125, 165)에서 선택된 클럭을 기준으로 하여 미리 설정된 일정 주기마다 시각(time) 관련 정보를 생성한다.The first and second time information generators 130 and 160 generate time-related information at predetermined intervals based on the clocks selected by the first and second clock selectors 125 and 165, respectively.

옵셋계산부(140)는 네트워크에서 연결된 마스터(mater, 100)와 슬레이브(slave, 110) 사이에서 송수신된 동기 메시지와 동기 응답 메시지의 송수신 시간 정보를 이용하여, 마스터(100)와 슬레이브(110)의 클럭들 사이의 시간 옵셋(offset)을 최소화하여 클럭 동기화를 수행하기 위한 목표 주파수 옵셋을 계산한다.The offset calculator 140 uses the transmission / reception time information of the synchronization message and the synchronization response message transmitted and received between the master 100 and the slave 110 connected in the network, and the master 100 and the slave 110. A target frequency offset for performing clock synchronization is calculated by minimizing a time offset between the clocks.

도 1에 도시된 바와 같이, 상기 마스터(100)와 슬레이브(110) 사이의 메시지 송수신 시간 정보는 제1 송수신부(135)로부터 입력될 수 있다.As shown in FIG. 1, message transmission / reception time information between the master 100 and the slave 110 may be input from the first transmission / reception unit 135.

제2 클럭선택부(165)로부터 출력되는 슬레이브의 클럭은 마스터의 클럭과 같은 평균 주파수를 가지지만, 동기화가 수행된 상태에서도 단기적인 흔들림(fluctuation)이 존재할 수 있다. 이는 마스터와 슬레이브 사이의 송수신 시간이 1 UI로 양자화되어 있는 경우, 상기 수학식 1에 의해 계산되는 시간 옵셋이 0.5 UI 단위로 양자화(Quantization)되기 때문이다. 그에 따라, 클럭선택부(110)로부터 출력되는 슬레이브의 클럭의 흔들림은 1 UI 이내로 감소될 수 없으며, 수 UI 정도의 흔들림을 가지게 된다.The clock of the slave output from the second clock selector 165 has the same average frequency as the clock of the master, but there may be a short term fluctuation even in a state where synchronization is performed. This is because when the transmission / reception time between the master and the slave is quantized in 1 UI, the time offset calculated by Equation 1 is quantized in units of 0.5 UI. Accordingly, the shaking of the clock of the slave output from the clock selecting unit 110 may not be reduced to within 1 UI, and may have shaking of several UIs.

본 발명에 따른 클럭 동기화 장치 및 방법의 경우, 상기와 같은 클럭의 흔들림에 따라 제2 시각정보생성부(120)로부터 출력되는 시각 정보가 불안정해지는 것을 감소시키기 위해, 상기 계산된 목표 주파수 옵셋에 대해 필터링을 수행하는 것이 바람직하다.In the case of the clock synchronizing apparatus and method according to the present invention, in order to reduce the unstable time information output from the second time information generator 120 according to the shaking of the clock, the calculated target frequency offset is applied to the calculated target frequency offset. It is desirable to perform filtering.

필터링부(150)는 옵셋계산부(140)에서 계산된 목표 주파수 옵셋에 대해 필터링을 수행한 후 제2 클럭선택부(165)로 출력한다.The filtering unit 150 performs filtering on the target frequency offset calculated by the offset calculating unit 140 and outputs the filtering to the second clock selecting unit 165.

제2 클럭선택부(165)는 상기 필터링된 목표 주파수 옵셋을 이용하여 서로 다른 위상을 가지는 복수의 클럭들 중 하나씩 선택하여 순차적으로 출력한다. 즉, 제2 클럭선택부(165)는 상기 필터링된 목표 주파수 옵셋을 이용해 서로 다른 위상을 가지는 복수의 클럭들을 일정 주기마다 하나씩 선택하여 출력함으로써, 클럭의 주파수 옵셋을 상기 계산된 목표 주파수 옵셋으로 정밀하게 조정할 수 있으며, 그에 따라 동기화된 클럭의 주파수 해상도를 높일 수 있다.The second clock selector 165 sequentially selects one of a plurality of clocks having different phases and sequentially outputs the filtered target frequency offset. In other words, the second clock selector 165 selects and outputs a plurality of clocks having different phases one by one using the filtered target frequency offset at regular intervals, thereby precisely adjusting the frequency offset of the clock to the calculated target frequency offset. Can be adjusted to increase the frequency resolution of the synchronized clock.

제1, 2 송수신부(155)는 마스터(100)와 슬레이브(110) 사이에서 송수신되는 메시지에 관한 정보를 입력받고, 제1, 2 시각정보생성부(130, 160)으로부터 출력되는 시각 정보를 이용하여 상기 메시지 송수신과 관련된 시각 정보를 마스터(100) 또는 슬레이브(110)로 송신할 수 있다.The first and second transmitter / receiver 155 receives information on a message transmitted and received between the master 100 and the slave 110, and receives time information output from the first and second time information generators 130 and 160. By using this, time information related to transmission and reception of the message may be transmitted to the master 100 or the slave 110.

상기한 바와 같이, 제2 클럭선택부(165)로부터 출력되는 클럭은 상기 필터링된 목표 주파수 옵셋에 따라 위상 제어된 것이므로, 제2 시각정보생성부(160)로부터 출력되어 슬레이브(110) 측에 제공되는 시각 정보가 매우 안정화될 수 있다.As described above, since the clock output from the second clock selector 165 is phase controlled according to the filtered target frequency offset, the clock is output from the second time information generator 160 and provided to the slave 110. The visual information to be made can be very stable.

그에 따라, 흔들림이 적은 안정적인 시각 정보를 이용하여 마스터(100)와 슬레이브(110)의 클럭을 동기화할 수 있다.Accordingly, the clocks of the master 100 and the slave 110 can be synchronized using stable time information with little shaking.

도 2에 도시된 본 발명에 따른 클럭 동기화 방법에 대한 실시예를 흐름도로 도시한 것으로, 도 2를 참조하여 옵셋계산부(140)가 목표 주파수 옵셋을 계산하고, 계산된 목표 주파수 옵셋에 따라 클럭을 선택하는 방법에 대해 보다 상세히 설명하 기로 한다.2 is a flowchart illustrating an embodiment of a clock synchronization method according to the present invention. Referring to FIG. 2, an offset calculator 140 calculates a target frequency offset and clocks the target frequency offset according to the calculated target frequency offset. It will be described in more detail how to select.

클럭생성부(120)는 기준 클럭 신호를 이용하여 동일한 위상 간격을 가지는 N개의 다중 위상 클럭들을 생성한다(200단계).The clock generator 120 generates N multi-phase clocks having the same phase interval using the reference clock signal (step 200).

예를 들어, 클럭생성부(120)는 지연 고정 루프(Delay Locked Loop)를 이용하여 상기 N개의 다중 위상 클럭들을 생성할 수 있다. 상기 생성된 N개의 다중 위상 클럭들 사이의 위상 간격은 1/N UI(Unit Interval)일 수 있다.For example, the clock generator 120 may generate the N multi-phase clocks by using a delay locked loop. The phase interval between the generated N multi-phase clocks may be 1 / N unit intervals (UI).

옵셋계산부(140)는 제1 시각정보생성부(120)에서 생성된 클럭의 시각 정보와 마스터(100)와 슬레이브(110) 사이에 송수신한 동기 메시지의 송수신 시간 정보를 이용하여 마스터(100)와 슬레이브(110) 사이의 클럭 시간 옵셋을 최소화하기 위한 목표 주파수 옵셋을 계산한다(210단계)The offset calculator 140 uses the time information of the clock generated by the first time information generator 120 and the transmission / reception time information of the synchronization message transmitted / received between the master 100 and the slave 110. Calculate a target frequency offset to minimize a clock time offset between the slave and the slave 110 (step 210).

제1 시각정보생성부(130)는 제1 클럭선택부(125)에서 선택된 클럭을 입력받아 동작하는 일종의 카운터이다. 제1 시각정보생성부(130)는 상기 선택된 클럭의 에지(edge)에 트리거(trigger) 되어, 클럭에 에지가 발생할 때마다 1 비트씩 증가된 코드를 생성하며, 출력 코드의 LSB는 클럭 주파수의 역수에 해당되는 시간 값을 의미한다. 그에 따라 제1 시각정보생성부(130)는 슬레이브 노드의 시간에 대한 시각 정보를 출력할 수 있다.The first time information generator 130 is a type of counter that operates by receiving a clock selected by the first clock selector 125. The first time information generator 130 is triggered on the edge of the selected clock to generate a code that is increased by one bit each time an edge occurs in the clock, and the LSB of the output code is the clock frequency. It means the time value corresponding to the inverse. Accordingly, the first time information generation unit 130 may output time information about the time of the slave node.

제2 시각정보생성부(160)는 제2 클럭선택부(165)에서 선택된 클럭을 이용하여 상기와 같은 방법을 수행함으로써 시각 정보를 생성할 수 있다.The second time information generator 160 may generate time information by performing the above method using the clock selected by the second clock selector 165.

도 3은 옵셋계산부(140)의 구성에 대한 일실시예를 블록도로 도시한 것으로, 옵셋계산부(140)는 시간옵셋계산부(141) 및 주파수옵셋계산부(142)를 포함하여 구 성될 수 있다.3 is a block diagram illustrating an embodiment of the configuration of the offset calculator 140. The offset calculator 140 includes a time offset calculator 141 and a frequency offset calculator 142. Can be.

도 3을 참조하면, 시간옵셋계산부(141)는 마스터(100)와 슬레이브(110) 사이의 시간 옵셋을 계산한다.Referring to FIG. 3, the time offset calculator 141 calculates a time offset between the master 100 and the slave 110.

도 4는 상기 시간 옵셋의 계산을 위해 마스터와 슬레이브 사이에 동기 메시지를 송수신하는 방법에 대한 일실시예를 도시한 것으로, 도 4를 참조하여 시간옵셋계산부(141)의 시간 옵셋 계산 방법에 대한 일실시예를 설명하기로 한다.4 illustrates an embodiment of a method of transmitting and receiving a synchronization message between a master and a slave for calculating the time offset. Referring to FIG. 4, a time offset calculation method of the time offset calculator 141 is described. An embodiment will be described.

마스터는 미리 설정된 일정 주기마다 동기 메시지 및 마스터의 클럭에 기반하여 획득된 상기 동기 메시지의 송신 시간(T1)을 슬레이브 노드로 송신한다.The master transmits to the slave node a transmission time T 1 of the synchronization message and the synchronization message obtained based on the clock of the master at predetermined preset periods.

슬레이브는 상기 동기 메시지를 수신한 시점에서 제2 시각정보생성부(160)가 슬레이브의 클럭에 기반하여 획득한 상기 동기 메시지의 수신 시간(T2)을 상기 마스터로부터 수신한 상기 동기 메시지의 송신 시간(T1)과 함께 저장한다.At the time when the slave receives the synchronization message, the slave receives the transmission time T 2 of the synchronization message acquired from the master by the second time information generator 160 based on the clock of the slave. Store with (T 1 ).

상기 동기 메시지의 송신 시간(T1)과 상기 동기 메시지의 수신 시간(T2)의 차이는 전파 지연과 네트워크 지연을 포함할 수 있다.The difference between the transmission time T 1 of the synchronization message and the reception time T 2 of the synchronization message may include a propagation delay and a network delay.

따라서 슬레이브는 마스터로 지연 요청 메시지를 송신하고, 지연 요청 메시지 송신 시점에서 제2 시각정보생성부(160)가 슬레이브의 클럭에 기반하여 획득한 상기 지연 요청 메시지의 송신 시간(T3)을 저장한다.Accordingly, the slave transmits a delay request message to the master, and stores the transmission time T 3 of the delay request message acquired by the second time information generator 160 based on the clock of the slave at the time when the delay request message is transmitted. .

마스터는 상기 지연 요청 메시지를 수신한 시점에서 마스터의 클럭에 기반하여 획득된 상기 지연 요청 메시지의 수신 시간(T4)을 검출하고, 지연 응답 메시지와 함께 상기 지연 요청 메시지의 수신 시간(T4)을 상기 슬레이브로 송신한다.The master detects the reception time T 4 of the delay request message obtained based on the clock of the master at the time when the delay request message is received, and the reception time T 4 of the delay request message together with the delay response message. Send to the slave.

상기와 같은 방법에 의해, 슬레이브는 상기 동기 메시지의 송수신 시간(T1, T2)과 상기 지연 요청 메시지의 송수신 시간(T3, T4)에 관한 정보를 획득할 수 있다.By the above method, the slave may obtain information about the transmission / reception time (T 1 , T 2 ) of the synchronization message and the transmission / reception time (T 3 , T 4 ) of the delay request message.

시간옵셋계산부(141)는 다음의 수학식 1과 같이 계산하여 마스터(100)와 슬레이브(110) 사이의 시간 옵셋(O)과 지연(D)을 계산할 수 있다.The time offset calculator 141 may calculate the time offset O and the delay D between the master 100 and the slave 110 by calculating as in Equation 1 below.

Figure 112007092288976-pat00001
Figure 112007092288976-pat00001

주파수옵셋계산부(142)는 시간옵셋계산부(141)에서 계산된 시간 옵셋을 이용하여 마스터와 슬레이브 사이의 목표 주파수 옵셋을 계산할 수 있다.The frequency offset calculator 142 may calculate a target frequency offset between the master and the slave using the time offset calculated by the time offset calculator 141.

도 5 및 도 6은 목표 주파수 옵셋을 산출하는 방법에 대한 일실시예를 설명하기 위한 것으로, 도 5 및 도 6을 참조하여 주파수옵셋계산부(142)의 목표 주파수 옵셋 계산 방법에 대한 일실시예를 설명하기로 한다.5 and 6 illustrate an embodiment of a method of calculating a target frequency offset. An embodiment of the target frequency offset calculation method of the frequency offset calculator 142 will be described with reference to FIGS. 5 and 6. Will be described.

도 5 에서, 가로축은 동기 시스템의 기준 시간인 마스터의 시간을 나타내며, 세로축은 마스터와 슬레이브 각각의 시간을 나타낸다. T는 마스터와 슬레이브 사이의 메시지 교환 주기를 의미하며, tn은 n번째 메시지 교환 시점에서 슬레이브 의 시간, Δn은 n번째 메시지 교환 직후 시점에서의 마스터와 슬레이브의 클럭 사이의 주파수 옵셋을 의미한다. In Figure 5, the horizontal axis represents the time of the master, which is the reference time of the synchronization system, and the vertical axis represents the time of each of the master and the slave. T denotes the message exchange period between the master and the slave, t n denotes the time of the slave at the nth message exchange time, and Δn denotes the frequency offset between the clock of the master and the slave immediately after the nth message exchange.

도 6은 도 5에 도시된 슬레이브 클럭의 시간 값에서 마스터 클럭의 시간 값을 감한 것으로, 마스터 클럭에 대한 슬레이브 클럭의 상대적 오차를 나타낸다. 도 6에서, On은 n번째 메시지 교환 시점에서 상기 수학식 1에 의해 계산된 시간 옵셋을 의미한다.FIG. 6 subtracts the time value of the master clock from the time value of the slave clock shown in FIG. 5 and shows a relative error of the slave clock with respect to the master clock. In FIG. 6, O n means a time offset calculated by Equation 1 at an nth message exchange time point.

주파수옵셋계산부(142)는 시간옵셋계산부(141)에서 계산된 시간 옵셋들을 이용하여 다음의 수학식 2와 같이 계산해 마스터(100)와 슬레이브(110)의 클럭 사이의 주파수 옵셋을 계산할 수 있다.The frequency offset calculator 142 may calculate the frequency offset between the clock of the master 100 and the slave 110 by using the time offsets calculated by the time offset calculator 141 as shown in Equation 2 below. .

Figure 112007092288976-pat00002
Figure 112007092288976-pat00002

또한, 상기 수학식 2를 이용하여 다음의 수학식 3을 얻을 수 있다.Further, using Equation 2, Equation 3 below can be obtained.

Figure 112009037997581-pat00019
Figure 112009037997581-pat00019

삭제delete

상기 목표 주파수 옵셋은 n+1 번째 메시지 교환 시점에서의 마스터와 슬레이브의 클럭 사이의 시간 옵셋(On+1)을 최소화하기 위한 n번째 메시지 교환 직후 시점에서의 마스터와 슬레이브의 클럭 사이의 주파수 옵셋이므로, 목표 주파수 옵셋(Δn)은 상기 수학식 3에서 On+1을 0으로 했을 때의 주파수 옵셋 값일 수 있다.The target frequency offset is a frequency offset between the clock of the master and the slave immediately after the nth message exchange to minimize the time offset (O n + 1 ) between the clock of the master and the slave at the time of n + 1th message exchange. Therefore, the target frequency offset Δ n may be a frequency offset value when O n + 1 is 0 in Equation 3 above.

따라서 목표 주파수 옵셋(Δn)은 다음의 수학식 4와 같이 계산하여 구해질 수 있다.Therefore, the target frequency offset Δ n may be calculated by calculating the following Equation 4.

Figure 112009037997581-pat00020
Figure 112009037997581-pat00020

삭제delete

즉, 주파수옵셋계산부(142)는 시간옵셋계산부(141)가 n-1번째 메시지 교환 시점에서 계산한 마스터와 슬레이브 사이의 시간 옵셋(On-1), n번째 메시지 교환 시점에서 계산한 시간 옵셋(On), n-1번째 메시지 교환 직후 시점에서의 마스터와 슬레이브 사이의 주파수 옵셋(Δn-1) 및 메시지 송수신 주기(T)를 이용해 상기 수학식 4와 같이 계산하여 목표 주파수 옵셋(Δn)을 계산할 수 있다.That is, the frequency offset calculator 142 calculates the time offset O n-1 between the master and the slave calculated by the time offset calculator 141 at the n-1 th message exchange time, and at the n th message exchange time. The target frequency offset is calculated as shown in Equation 4 using the time offset (O n ), the frequency offset (Δ n-1 ) between the master and the slave immediately after the n-1th message exchange, and the message transmission / reception period (T). (Δ n ) can be calculated.

다음으로, 필터링부(150)는 상기 계산된 목표 주파수 옵셋(Δn)에 대해 필터링을 수행한다(220 단계).Next, the filtering unit 150 performs filtering on the calculated target frequency offset Δ n (step 220).

예를 들어, 필터링부(150)는 상기 목표 주파수 옵셋(Δn)에서 고주파 성분을 저거하고 저주파 성분 만을 남기기 위한 저역 통과 필터(Low Pass Filter)일 수 있다.For example, may be a filter unit 150 is a low pass filter (Low Pass Filter) for Is that a high-frequency component at the target frequency offset (Δ n), and leave only the low-frequency component.

상기한 바와 같이 상기 목표 주파수 옵셋(Δn)을 필터링하여 사용함으로써, 상기 필터링된 목표 주파수 옵셋(Δn)에 따라 위상 제어되는 클럭에 기반해 제2 시각정보생성부(160)에서 생성되는 시각 정보가 흔들림 없이 안정된 값을 가질 수 있다.As described above, by filtering and using the target frequency offset Δn, time information generated by the second time information generator 160 based on a clock controlled in phase according to the filtered target frequency offset Δn is obtained. It can have a stable value without shaking.

그에 따라, 클럭 동기화를 위해 제공되는 시각 정보가 안정되어, 보다 안정하고 정밀한 클럭의 동기화가 가능할 수 있다.Accordingly, the time information provided for clock synchronization may be stabilized, thereby enabling more stable and precise clock synchronization.

제2 클럭선택부(165)는 필터링부(150)로부터 출력된 필터링된 목표 주파수 옵셋(Δn)에 따라 서로 다른 위상을 가지는 다중 위상 클럭들 중 하나를 선택하여 출력하는 주기인 클럭 선택 주기(K)를 계산한다(230 단계).The second clock selector 165 selects and outputs one of the multi-phase clocks having different phases according to the filtered target frequency offset Δn output from the filter 150. ) Is calculated (step 230).

제2 클럭선택부(165)는 상기 계산된 클럭 선택 주기(K)에 따라 위상 제어 코드 생성하고, 상기 생성된 다중 위상 클럭들 중 상기 위상 제어 코드에 대응되는 클럭을 선택하여 출력한다(240 단계).The second clock selector 165 generates a phase control code according to the calculated clock selection period K, and selects and outputs a clock corresponding to the phase control code among the generated multi-phase clocks (step 240). ).

제2 클럭선택부(165)는 상기 계산된 주기(K)마다 상기 위상 제어 코드를 한 단계씩 증가시킴으로써, 주기적으로 슬레이브 클럭의 위상을 쉬프트(shift)하여 상기 목표 주파수 옵셋(Δn)을 생성할 수 있다.The second clock selector 165 increases the phase control code by one step for each of the calculated periods K, thereby periodically shifting the phase of the slave clock to generate the target frequency offset Δn. Can be.

도 7은 제1, 2 클럭선택부(125, 165)의 클럭 선택 방법에 대한 일실시예를 도시한 것으로, 도 7을 참조하여 제1, 2 클럭선택부(125, 165)가 목표 주파수 옵셋에 따라 다중 위상 클럭들을 순차적으로 선택하여 출력하는 방법에 대한 일실시예를 설명하기로 한다.FIG. 7 illustrates an embodiment of a clock selection method of the first and second clock selectors 125 and 165. The target frequency offset is determined by the first and second clock selectors 125 and 165 with reference to FIG. 7. An embodiment of a method of sequentially selecting and outputting multi-phase clocks will be described.

도 7을 참조하면, 하나의 메시지 교환 구간, 즉 nT에서 (n+1)T까지의 시간 동안 Mn번의 위상 쉬프트가 이루어지는 경우, 유효 주파수(Δn) 다음의 수학식 5와 같이 정의될 수 있다.Referring to FIG. 7, when M n phase shifts are performed during one message exchange interval, that is, from nT to (n + 1) T, it may be defined as Equation 5 following the effective frequency Δn. .

Figure 112007092288976-pat00005
Figure 112007092288976-pat00005

상기 수학식 5에서, Δfr은 슬레이브 클럭의 자유 동작 주파수 옵셋을 의미하며, 이전 메시지 구간에서의 결과 값을 이용하여 다음의 수학식 6과 같이 계산될 수 있다. 또한, 상기 f0는 클럭의 기준 주파수를 의미한다.In Equation 5, Δ fr means the free operating frequency offset of the slave clock, it can be calculated as shown in Equation 6 using the result value in the previous message interval. In addition, the f 0 means the reference frequency of the clock.

Figure 112007092288976-pat00006
Figure 112007092288976-pat00006

또한, 상기 수학식 5를 Mn에 관하여 정리하면 다음의 수학식 7과 같다.In addition, Equation 5 can be summarized as Equation 7 below with respect to M n .

Figure 112007092288976-pat00007
Figure 112007092288976-pat00007

상기 nT에서 (n+1)T까지의 구간 동안 상기 클럭 선택 주기(K)마다 한번씩 총 Mn번 위상을 쉬프트 한다고 가정하면, 상기 클럭 선택 주기(K)은 다음의 수학식 8과 같이 계산될 수 있다.Assuming that the phase shifts a total of M n times once every clock selection period K during the period from nT to (n + 1) T, the clock selection period K is calculated as shown in Equation 8 below. Can be.

Figure 112007092288976-pat00008
Figure 112007092288976-pat00008

상기 수학식 8에 의해 계산되는 클럭 선택 주기(K)가 정수가 아닌 경우, 상기 클럭 선택 주기(K)는 상기 수학식 8에 의해 계산되는 값에 가장 가까운 정수를 취할 수 있다.When the clock selection period K calculated by Equation 8 is not an integer, the clock selection period K may take an integer closest to the value calculated by Equation 8.

도 7에 도시된 바와 같이, 제1, 2 클럭선택부(125, 165)는 상기와 같은 방법에 의해 계산된 클럭 선택 주기(K)마다 상기 슬레이브 클럭의 위상을 쉬프트함으로써, 제1, 2 클럭선택부(125, 165)로부터 출력되는 클럭의 주파수 옵셋이 상기 목표 주파수 옵셋(Δn) 또는 상기 필터링된 목표 주파수 옵셋 값을 가지도록 할 수 있다.As illustrated in FIG. 7, the first and second clock selectors 125 and 165 shift the phases of the slave clock for each clock selection period K calculated by the above method, thereby providing the first and second clocks. The frequency offset of the clock output from the selectors 125 and 165 may have the target frequency offset Δn or the filtered target frequency offset value.

한편, 본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포 함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.On the other hand, the present invention can also be embodied as computer readable codes on a computer readable recording medium. Computer-readable recording media include any type of recording device that stores data that can be read by a computer system. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although the preferred embodiment of the present invention has been shown and described above, the present invention is not limited to the specific embodiments described above, but the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.

도 1은 본 발명에 따른 클럭 동기화 장치의 구성에 대한 일실시예를 나타나내는 블록도이다.1 is a block diagram showing an embodiment of a configuration of a clock synchronization device according to the present invention.

도 2는 본 발명에 따른 클럭 동기화 방법에 대한 일실시예를 나타나내는 흐름도이다.2 is a flowchart illustrating an embodiment of a clock synchronization method according to the present invention.

도 3은 도 1의 옵셋구성부의 구성에 대한 일실시예를 나타내는 블록도이다.3 is a block diagram illustrating an embodiment of a configuration of an offset configuration unit of FIG. 1.

도 4는 마스터와 슬레이브 사이의 동기 메시지 송수신 방법에 대한 일실시예를 나타내는 도면이다.4 is a diagram illustrating an embodiment of a method of transmitting and receiving a synchronization message between a master and a slave.

도 5 내지 도 7은 목표 주파수 옵셋 계산 방법에 대한 실시예를 설명하기 위한 도면이다.5 to 7 are diagrams for describing an exemplary embodiment of a target frequency offset calculation method.

Claims (10)

네트워크로 연결된 마스터(master)와 슬레이브(slave)의 클럭을 동기화시키는 장치에 있어서,In the device for synchronizing the clock of the networked master (master) and slave (slave), 서로 다른 위상을 가지는 복수의 클럭들을 생성하는 클럭생성부;A clock generator which generates a plurality of clocks having different phases; 목표 주파수 옵셋(offset)에 따라 상기 복수의 클럭들 중 어느 하나를 선택하여 출력하는 제1 클럭선택부;A first clock selector configured to select and output any one of the plurality of clocks according to a target frequency offset; 상기 제1 클럭선택부에서 선택된 클럭을 이용하여 시각 정보를 생성하는 제1 시각정보생성부;A first time information generator configured to generate time information by using the clock selected by the first clock selector; 상기 마스터와 슬레이브 사이에서 송수신되는 동기 메시지와 상기 제1 시각정보생성부로부터 출력되는 시각 정보를 이용하여, 상기 마스터와 슬레이브의 클럭 사이의 시간 옵셋을 최소화하기 위한 상기 목표 주파수 옵셋을 구하는 옵셋계산부;An offset calculator configured to obtain the target frequency offset for minimizing a time offset between the clock of the master and the slave by using the synchronization message transmitted and received between the master and the slave and the time information output from the first time information generator. ; 상기 구해진 목표 주파수 옵셋에 대해 필터링을 수행하는 필터링부;A filtering unit which performs filtering on the obtained target frequency offset; 상기 필터링된 목표 주파수 옵셋에 따라 상기 복수의 클럭들 중 어느 하나를 선택하여 출력하는 제2 클럭선택부; 및A second clock selector configured to select and output any one of the plurality of clocks according to the filtered target frequency offset; And 상기 제2 클럭선택부에서 선택된 클럭을 이용하여 시각 정보를 생성하는 제2 시각정보생성부를 포함하는 것을 특징으로 하는 클럭 동기화 장치.And a second time information generator configured to generate time information using the clock selected by the second clock selector. 제1항에 있어서, 상기 필터링부는The method of claim 1, wherein the filtering unit 저역 통과 필터(Low Pass Filter)인 것을 특징으로 하는 클럭 동기화 장치.A clock synchronizer, characterized in that a low pass filter. 제1항에 있어서,The method of claim 1, 상기 제1, 2 클럭선택부는 상기 목표 주파수 옵셋 또는 상기 필터링된 목표주파수 옵셋을 이용하여 클럭 선택 주기를 계산하고, 상기 계산된 클럭 선택 주기마다 상기 복수의 클럭들 중 하나를 출력하는 것을 특징으로 하는 클럭 동기화 장치.The first and second clock selectors may calculate a clock selection period using the target frequency offset or the filtered target frequency offset, and output one of the plurality of clocks for each of the calculated clock selection periods. Clock Synchronizer. 제3항에 있어서,The method of claim 3,
Figure 112009037997581-pat00009
Figure 112009037997581-pat00009
상기 클럭 선택 주기(K)는 다음의 수학식을 이용하여 계산되는 것을 특징으로 하는 클럭 동기화 장치.And the clock selection period (K) is calculated using the following equation. 상기 수학식에서, 상기 N은 상기 서로 다른 위상을 가지는 복수의 클럭들의 개수이고, 상기 Δn은 상기 목표 주파수 옵셋이며, 상기 Δfr은 상기 슬레이브의 클럭의 자유 동작 주파수 옵셋이다.In the equation, where N is the number of a plurality of clocks having the different phase, the Δ n is the target frequency offset, the Δ fr is a free-running frequency offset of the slave clock.
제1항에 있어서, 상기 옵셋계산부는The method of claim 1, wherein the offset calculator 상기 동기 메시지와 시각 정보를 이용하여 상기 마스터와 슬레이브 사이의 시간 옵셋을 계산하는 시간옵셋계산부; 및A time offset calculator for calculating a time offset between the master and the slave using the synchronization message and time information; And 상기 계산된 시간 옵셋을 이용하여 상기 목표 주파수 옵셋을 계산하는 주파 수옵셋계산부를 포함하는 것을 특징으로 하는 클럭 동기화 장치.And a frequency offset calculator configured to calculate the target frequency offset using the calculated time offset. 제5항에 있어서, 상기 시간옵셋계산부는The method of claim 5, wherein the time offset calculator 상기 마스터가 제1 동기화 메시지를 송신한 시간(T1), 상기 슬레이브가 상기 제1 동기화 메시지를 수신한 시간(T2), 상기 슬레이브가 제2 동기화 메시지를 송신한 시간(T3), 상기 마스터가 상기 제2 동기화 메시지를 수신한 시간(T4)을 이용하여 상기 마스터와 슬레이브 사이의 시간 옵셋을 계산하는 것을 특징으로 하는 클럭 동기화 장치.A time T1 at which the master transmits a first synchronization message, a time T2 at which the slave receives the first synchronization message, a time T3 at which the slave transmits a second synchronization message, and the master And calculating a time offset between the master and the slave using a time (T4) of receiving a second synchronization message. 제6항에 있어서,The method of claim 6, 상기 마스터와 슬레이브 사이의 시간 옵셋(O)은 다음의 수학식을 이용하여 계산되는 것을 특징으로 하는 클럭 동기화 장치.The time offset (O) between the master and the slave is calculated using the following equation.
Figure 112007092288976-pat00010
Figure 112007092288976-pat00010
제5항에 있어서, 상기 주파수옵셋계산부는The method of claim 5, wherein the frequency offset calculator 다음의 수학식을 이용하여 상기 목표 주파수 옵셋(Δn)을 계산하는 것을 특징으로 하는 클럭 동기화 장치.And a target frequency offset Δ n using the following equation.
Figure 112009037997581-pat00021
Figure 112009037997581-pat00021
상기 수학식에서, 상기 Δn은 n번째 동기 메시지의 송수신 시점에서의 목표 주파수 옵셋이고, 상기 Δn-1은 n-1번째 동기 메시지의 송수신 시점에서의 주파수 옵셋이며, 상기 On은 n번째 동기 메시지의 송수신 시점에서 상기 시간옵셋계산부로부터 출력된 시간 옵셋값이고, 상기 On-1은 n-1번째 동기 메시지의 송수신 시점에서 상기 시간옵셋계산부로부터 출력된 시간 옵셋값이며, 상기 T는 상기 동기 메시지의 송수신 주기이다.In the above equation, Δ n is the target frequency offset at the time of transmission and reception of the n-th sync message, Δ n-1 is the frequency offset at the time of transmission and reception of the n-1th sync message, and O n is the n-th sync. The time offset value output from the time offset calculator at the time of transmission and reception of the message, O n-1 is the time offset value output from the time offset calculator at the time of transmission and reception of the n-1th sync message, and T is It is a transmission / reception period of the synchronization message.
네트워크로 연결된 마스터와 슬레이브(slave)의 클럭을 동기화시키는 방법에 있어서,In the method of synchronizing the clock of the networked master and slave (slave), 서로 다른 위상을 가지는 복수의 클럭들을 생성하는 단계;Generating a plurality of clocks having different phases; 상기 마스터와 슬레이브 사이의 동기 메시지 송수신 시간 정보를 이용하여, 상기 마스터와 슬레이브의 클럭 사이의 시간 옵셋을 최소화하기 위한 목표 주파수 옵셋을 구하는 단계;Obtaining a target frequency offset for minimizing a time offset between the clock of the master and the slave by using the synchronization message transmission / reception time information between the master and the slave; 상기 구해진 목표 주파수 옵셋에 대해 필터링을 수행하는 단계;Performing filtering on the obtained target frequency offset; 상기 필터링이 수행된 목표 주파수 옵셋을 이용하여 클럭 선택 주기를 계산하는 단계; 및Calculating a clock selection period using the target frequency offset on which the filtering is performed; And 상기 클럭 선택 주기 마다 상기 복수의 클럭들 중 하나를 선택하여, 서로 다른 위상을 가지는 2 이상의 클럭들을 순차적으로 출력하는 단계를 포함하는 것을 특징으로 하는 클럭 동기화 방법.Selecting one of the plurality of clocks at each clock selection period, and sequentially outputting two or more clocks having different phases. 제9항에 있어서,The method of claim 9, 상기 필터링 수행 단계는 상기 구해진 목표 주파수 옵셋에 대해 저역 통과 필터링을 수행하는 것을 특징으로 하는 클럭 동기화 방법.The performing of the filtering step includes performing low pass filtering on the obtained target frequency offset.
KR1020070135950A 2007-12-22 2007-12-22 Clock Synchronization Device and Method KR100931387B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070135950A KR100931387B1 (en) 2007-12-22 2007-12-22 Clock Synchronization Device and Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070135950A KR100931387B1 (en) 2007-12-22 2007-12-22 Clock Synchronization Device and Method

Publications (2)

Publication Number Publication Date
KR20090068077A KR20090068077A (en) 2009-06-25
KR100931387B1 true KR100931387B1 (en) 2009-12-11

Family

ID=40995729

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070135950A KR100931387B1 (en) 2007-12-22 2007-12-22 Clock Synchronization Device and Method

Country Status (1)

Country Link
KR (1) KR100931387B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102102019A (en) 2009-12-16 2011-06-22 第一毛织株式会社 Liquid crystal photo-alignment agent, liquid crystal photo-alignment layer, and liquid crystal display device
CN102559205B (en) 2010-12-29 2014-07-30 第一毛织株式会社 Liquid crystal alignment agent, liquid crystal alignment film manufactured using the same, and liquid crystal display device
KR101444190B1 (en) 2011-12-19 2014-09-26 제일모직 주식회사 Liquid crystal alignment agent, liquid crystal alignment film using the same, and liquid crystal display device including the liquid crystal alignment film

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163034A (en) 2000-11-29 2002-06-07 Nec Corp Circuit and method for controlling clock
KR20040009269A (en) * 2002-07-23 2004-01-31 엘지전자 주식회사 System for Concluding Phase of Multi-Clock

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163034A (en) 2000-11-29 2002-06-07 Nec Corp Circuit and method for controlling clock
KR20040009269A (en) * 2002-07-23 2004-01-31 엘지전자 주식회사 System for Concluding Phase of Multi-Clock

Also Published As

Publication number Publication date
KR20090068077A (en) 2009-06-25

Similar Documents

Publication Publication Date Title
KR101197280B1 (en) Time synchronizing method and apparatus based on time stamp
CN102013970B (en) Clock synchronization method and device thereof as well as base station clock device
CN105960759B (en) Two phase-locked loop and corresponding method and purposes with frequency stability
US7643595B2 (en) Method and apparatus for synchronizing clock timing between network elements
CA2152107C (en) Receiver and transmitter-receiver
CN100373777C (en) Digital phase locked loop with optional routine or rapid lock capability
US20060056560A1 (en) Method and apparatus for synchronizing internal state of frequency generators on a communications network
US8698530B2 (en) High precision synchronisation method and system
US5910753A (en) Direct digital phase synthesis
US11777703B2 (en) Phase transport with frequency translation without a PLL
KR20050102668A (en) Method providing distribution means for reference clocks across packetized networks
JP2021526320A (en) Time sync device, electronic device, time sync system and time sync method
CN113872597A (en) Method for generating independent clock signals from the same oscillator
CN104184535A (en) Clock synchronization method and clock synchronization device
US7558357B1 (en) Systems and methods for reducing frequency-offset induced jitter
WO2006029511A1 (en) Method and apparatus for synchronizing internal state of frequency generators on a communications network
KR100931387B1 (en) Clock Synchronization Device and Method
US20060239393A1 (en) Method and apparatus for providing synchronization in a communication system
KR100900067B1 (en) Apparatus and method for clock synchronization
CN1794618B (en) Digital clock filter
CA2724373C (en) Clock generation using a fractional phase detector
RU2288543C2 (en) Method and device for reducing abrupt phase shift during change-over of synchronization sources
US11924319B2 (en) Time synchronization device, time synchronization system, and time synchronization method
Seong et al. A new network synchronizer using phase adjustment and feedforward filtering based on low-cost crystal oscillators
KR100901170B1 (en) Signal generator device of reference sync

Legal Events

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

Payment date: 20121129

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131128

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee