KR20000008814A - Phase synchronization device and method thereof - Google Patents

Phase synchronization device and method thereof Download PDF

Info

Publication number
KR20000008814A
KR20000008814A KR1019980028837A KR19980028837A KR20000008814A KR 20000008814 A KR20000008814 A KR 20000008814A KR 1019980028837 A KR1019980028837 A KR 1019980028837A KR 19980028837 A KR19980028837 A KR 19980028837A KR 20000008814 A KR20000008814 A KR 20000008814A
Authority
KR
South Korea
Prior art keywords
clock signal
data
delayed
output
signal
Prior art date
Application number
KR1019980028837A
Other languages
Korean (ko)
Inventor
이종성
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019980028837A priority Critical patent/KR20000008814A/en
Publication of KR20000008814A publication Critical patent/KR20000008814A/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/081Details of the phase-locked loop provided with an additional controlled phase shifter
    • H03L7/0812Details of the phase-locked loop provided with an additional controlled phase shifter and where no voltage or current controlled oscillator is used
    • H03L7/0814Details of the phase-locked loop provided with an additional controlled phase shifter and where no voltage or current controlled oscillator is used the phase shifting device being digitally controlled
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • 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
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: A phase synchronization device simply synchronizes two signals having a different synchronization. CONSTITUTION: A phase synchronization device includes a data delay part(10) for delaying a long distance clock signal with different N predetermined times, and outputs an input data by responding to each of the long distance clock signal and the delayed signal. A selection signal generator(12) logically assembles the shortest delayed signal with the long-distance clock signal among the delayed signals. A data selector(14) is enabled by answering to the local clock signal, and selectively outputs one among many data of (N+1) generated from the data delay part. A data output part(16) synchronizes an output data of the data selector to the local clock signal, and then outputs the synchronized output data. Accordingly, without an expensive PLL or a complicated circuit, a local clock signal is easily synchronized to the long distance clock signal by using many gates.

Description

위상 동기 장치 및 방법Phase synchronizer and method

본 발명은 위상 동기 장치에 관한 것으로서, 특히, 두개의 동기가 맞지 않는 신호들을 간단하게 동기시킬 수 있는 위상 동기 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase synchronization device, and more particularly, to a phase synchronization device and method capable of simply synchronizing two out of synchronization signals.

송신단과 수신단간의 데이타 송수신에 있어서, 송신단에서 수신단으로 전송된 클럭 신호[이하, 원거리 클럭 신호(remote clock)]와 송신단에서 전송된 데이타를 수신단에서 처리할 때 이용되는 클럭 신호[이하, 로컬 클럭 신호(local clock)]간의 동기가 서로 맞지 않을 때, 송신단으로부터 전송되고 원거리 클럭 신호에 동기된 데이타(이하, 입력 데이타)를 수신단의 로컬 클럭 신호와 동기되는 데이타로 변환시켜야 한다.In transmitting and receiving data between the transmitting end and the receiving end, a clock signal (hereinafter referred to as a remote clock signal) transmitted from the transmitting end to the receiving end and a clock signal used when processing the data transmitted from the transmitting end (hereinafter referred to as a local clock signal) When the synchronization between the (local clock)] does not match, the data transmitted from the transmitter and synchronized with the remote clock signal (hereinafter referred to as input data) should be converted into data synchronized with the local clock signal of the receiver.

이를 위해, 종래에는 위상 동기 루프(PLL:Phase Locked Loop)를 사용하여 원거리 클럭 신호와 로컬 클럭 신호의 위상을 동기시킨다. 이 때, 위상 동기 루프는 원거리 클럭 신호와 로컬 클럭 신호간의 주파수 차이까지 추적할 수 있는 잇점이 있다. 그러나, 위상 검출기, 루프 필터 및 전압 제어 발진기 또는 수치 제어 발진기(numerical controlled oscillator)로 구성되는 위상 동기 루프는 설계가 어렵고 구조가 복잡하며 그 단가 또한 비싼 문제점이 있다.To this end, conventionally, a phase locked loop (PLL) is used to synchronize the phase of the remote clock signal with the local clock signal. In this case, the phase locked loop has an advantage of tracking the frequency difference between the remote clock signal and the local clock signal. However, a phase locked loop composed of a phase detector, a loop filter and a voltage controlled oscillator or a numerical controlled oscillator has a problem in that it is difficult to design, complex in structure, and expensive.

따라서, 전술한 위상 동기 루프를 사용하지 않고, 원거리 클럭 신호와 로컬 클럭 신호의 위상을 동기시키는 종래의 위상 동기 장치들은, 1995년 5월 2일에 "Adaptive data seperator"라는 제목으로 개시된 미국 특허 번호 US5412698와 1995년 11월 14일에 "Adaptive clock skew and Duty cycle compensation"라는 제목으로 개시된 미국 특허 번호 US5467464에 나타나 있다. 그러나, 이러한 미국 특허들에 나타난 위상 동기 장치들은 위상 동기 루프를 사용하지 않는 대신에 매우 복잡하게 구성되는 문제점을 갖는다.Thus, conventional phase synchronizers for synchronizing the phases of a remote clock signal and a local clock signal without using the above-described phase locked loop, US patent number disclosed on May 2, 1995 under the heading "Adaptive data seperator". US5412698 and US patent number US5467464, published on November 14, 1995 under the heading "Adaptive clock skew and Duty cycle compensation". However, the phase lock devices shown in these US patents have the problem of being very complicated instead of using a phase lock loop.

본 발명이 이루고자 하는 기술적 과제는, 연속적이 아니라 패킷 단위로 송신되는 데이타 및 원거리 클럭 신호를 수신하고, 수신된 데이타를 로컬 클럭 신호를 이용하여 처리하는 시스템에서, 상기 데이타와 동기된 원거리 클럭 신호와 상기 로컬 클럭 신호를 간단하게 동기시킬 수 있는 위상 동기 장치를 제공하는 데 있다.SUMMARY OF THE INVENTION The present invention provides a remote clock signal synchronized with the data in a system for receiving data and a remote clock signal transmitted in packet units rather than continuously, and processing the received data using a local clock signal. It is to provide a phase synchronization device that can easily synchronize the local clock signal.

본 발명이 이루고자 하는 기술적 다른 과제는, 상기 위상 동기 장치에서 수행되는 위상 동기 방법을 제공하는 데 있다.Another object of the present invention is to provide a phase synchronization method performed in the phase synchronization device.

도 1은 본 발명에 의한 위상 동기 장치의 블럭도이다.1 is a block diagram of a phase synchronization device according to the present invention.

도 2는 도 1에 도시된 장치의 본 발명에 의한 바람직한 일실시예의 회로도이다.FIG. 2 is a circuit diagram of one preferred embodiment of the present invention of the apparatus shown in FIG. 1.

도 3 (a) ∼ (i)들은 도 2에 도시된 각 부의 파형도들이다.3 (a) to 3 (i) are waveform diagrams of respective parts shown in FIG.

도 4는 도 2에 도시된 장치에서 수행되는 본 발명에 의한 위상 동기 방법을 설명하기 위한 플로우차트이다.4 is a flowchart for explaining a phase synchronization method according to the present invention performed in the apparatus shown in FIG.

상기 과제를 이루기 위해, 패킷 단위로 전송되며 서로 동기되는 입력 데이타 및 원거리 클럭 신호를 수신하고, 상기 입력 데이타를 로컬 클럭 신호에 응답하여 처리하는 시스템을 위한 본 발명에 의한 위상 동기 장치는, 상기 원거리 클럭 신호를 서로 다른 N개의 소정 시간들로 지연하고, 상기 원거리 클럭 신호 및 지연된 신호들 각각에 응답하여 상기 입력 데이타를 출력하는 데이타 지연 수단과, 상기 지연된 신호들중 가장 짧은 시간동안 지연된 신호와 상기 원거리 클럭 신호를 논리 조합하고, 논리 조합한 결과를 선택 신호로서 출력하는 선택 신호 발생 수단과, 상기 로컬 클럭 신호에 응답하여 인에이블되고, 상기 데이타 지연 수단으로부터 출력되는 N+1개의 데이타들중 하나를 상기 선택 신호에 응답하여 선택적으로 출력하는 데이타 선택 수단 및 상기 데이타 선택 수단으로부터 출력되는 데이타를 상기 로컬 클럭 신호에 동기시켜 출력하는 데이타 출력 수단으로 구성되는 것이 바람직하다.In order to achieve the above object, a phase synchronization device according to the present invention for a system for receiving input data and a remote clock signal transmitted in packet units and synchronized with each other, and processing the input data in response to a local clock signal, A data delay means for delaying a clock signal at different N predetermined times and outputting the input data in response to each of the remote clock signal and the delayed signals, a signal delayed for the shortest time of the delayed signals, and A selection signal generating means for logically combining the remote clock signal and outputting the logical combination result as a selection signal, and one of N + 1 data which is enabled in response to the local clock signal and output from the data delay means; Data selection means for selectively outputting in response to the selection signal; It is preferable that the data output means is configured to output data in synchronization with the local clock signal.

상기 다른 과제를 이루기 위해, 패킷 단위로 전송되며 서로 동기되는 입력 데이타 및 원거리 클럭 신호를 수신하고, 상기 입력 데이타를 로컬 클럭 신호에 응답하여 처리하는 시스템에서 수행되는 본 발명에 의한 위상 동기 방법은, 상기 입력 데이타를 T(여기서, T는 상기 원거리 클럭 신호의 주기임)/4, T/2 및 3T/4 만큼 지연하는 단계와, 상기 원거리 클럭 신호의 한 주기를 4등분한 제1, 제2, 제3 및 제4 구간들중 어느 구간에서 상기 로컬 클럭 신호의 레벨이 전이되었는가를 결정하는 단계 및 상기 결정된 구간에 따라 MT/4(여기서, M은 0, 1, 2 또는 3) 만큼 지연된 입력 데이타와 상기 로컬 클럭 신호의 동기를 맞추는 단계로 이루어지고, 상기 원거리 클럭 신호는 상기 제4, 상기 제3, 상기 제2 및 상기 제1 구간의 순서로 입력되는 것이 바람직하다.In order to achieve the above object, the phase synchronization method according to the present invention is performed in a system for receiving input data and a remote clock signal transmitted in a packet unit and synchronized with each other, and processing the input data in response to a local clock signal. Delaying the input data by T (where T is a period of the remote clock signal) / 4, T / 2, and 3T / 4, and first and second quarters of one period of the remote clock signal; Determining, in which of the third and fourth sections, the level of the local clock signal is transitioned and an input delayed by MT / 4 (where M is 0, 1, 2 or 3) according to the determined section And synchronizing data with the local clock signal, wherein the remote clock signal is input in the order of the fourth, third, second, and first intervals.

이하, 본 발명에 의한 위상 동기 장치의 구성 및 동작을 첨부한 도면들을 참조하여 다음과 같이 설명한다.Hereinafter, the configuration and operation of the phase synchronization device according to the present invention will be described with reference to the accompanying drawings.

도 1은 본 발명에 의한 위상 동기 장치의 블럭도로서, 데이타 지연부(10), 선택 신호 발생부(12), 데이타 선택부(14) 및 데이타 출력부(16)로 구성된다.Fig. 1 is a block diagram of a phase synchronization device according to the present invention, which is composed of a data delay unit 10, a selection signal generator 12, a data selector 14, and a data output unit 16. As shown in Figs.

먼저, 도 1에 도시된 장치는 서로 동기된 입력 데이타(DATAI)와 원거리 클럭 신호(CKR)가 송신부(미도시)로부터 연속적이 아니라 패킷 단위로 수신부(미도시)로 전송되고, 입력 데이타(DATA1)가 로컬 클럭 신호(CKL)에 응답하여 수신부(미도시)에서 처리된다고 할 때 패킷의 길이 이내에서 로컬 클럭 신호(CKL)와 원거리 클럭 신호(CKR)의 위상차가 로컬 클럭 신호(CKL)의 한 주기 이내인 경우에만 적용될 수 있다.First, in the apparatus shown in FIG. 1, the input data DATAI and the remote clock signal CKR synchronized with each other are transmitted from the transmitter (not shown) to the receiver (not shown) in packet units rather than continuously, and the input data DATA1. ) Is processed by the receiver (not shown) in response to the local clock signal CKL, the phase difference between the local clock signal CKL and the remote clock signal CKR within the length of the packet is equal to that of the local clock signal CKL. Only applicable if within the cycle.

전술한 가정하에서, 도 1에 도시된 데이타 지연부(10)는 원거리 클럭 신호(CKR)를 서로 다른 N개의 소정 시간들로 지연하고, 소정 시간 지연된 N개의 신호들중 가장 짧은 시간 만큼 지연된 신호와 원거리 클럭 신호(CKR)를 선택 신호 발생부(12)로 출력하고, 원거리 클럭 신호(CKR) 및 N개의 지연된 신호들 각각에 응답하여 입력 데이타(DATAI)를 데이타 선택부(14)로 출력한다. 따라서, 지연되지 않은 입력 데이타와 N개의 서로 다른 시간들에서 지연된 입력 데이타들이 데이타 지연부(10)로부터 데이타 선택부(14)로 입력될 수 있다.Under the above-described assumption, the data delay unit 10 shown in FIG. 1 delays the remote clock signal CKR at different N predetermined times, and compares the signal delayed by the shortest time among the N signals delayed by a predetermined time. The remote clock signal CKR is output to the selection signal generator 12, and the input data DATAI is output to the data selector 14 in response to each of the remote clock signal CKR and the N delayed signals. Thus, non-delayed input data and input data delayed at N different times can be input from the data delay section 10 to the data selector 14.

선택 신호 발생부(12)는 데이타 지연부(10)에서 지연된 N개의 신호들중 가장 짧은 시간 만큼 지연된 신호와 원거리 클럭 신호(CKR)를 데이타 지연부(10)로부터 입력하여 논리 조합하고, 논리 조합한 결과를 선택 신호(S)로서 데이타 선택부(14)로 출력한다. 데이타 선택부(14)는 로컬 클럭 신호(CKL)에 응답하여 인에이블되고, 데이타 지연부(10)로부터 출력되는 N+1개의 데이타들중 하나를 선택 신호 발생부(12)로부터 출력되는 선택 신호(S)에 응답하여 선택하고, 선택된 신호를 데이타 출력부(16)로 출력한다.The selection signal generator 12 inputs and logically combines the signal delayed by the shortest time among the N signals delayed by the data delay unit 10 and the remote clock signal CKR from the data delay unit 10, and performs a logical combination. One result is output to the data selection section 14 as the selection signal S. The data selector 14 is enabled in response to the local clock signal CKL, and selects one of the N + 1 data output from the data delay unit 10 from the select signal generator 12. Selection is made in response to (S), and the selected signal is output to the data output unit 16.

한편, 데이타 출력부(16)는 데이타 선택부(14)에서 선택된 데이타를 로컬 클럭 신호(CKL)에 동기시켜 출력 데이타(DATAO)로서 출력한다. 여기서, 수신부(미도시)는 로컬 클럭 신호(CKL)에 응답하여 출력 데이타(DATAO)를 처리하게 된다.On the other hand, the data output unit 16 outputs the data selected by the data selector 14 as output data DATAO in synchronization with the local clock signal CKL. Here, the receiver (not shown) processes the output data DATAO in response to the local clock signal CKL.

만일, N=3 인 경우, 도 1에 도시된 장치의 본 발명에 의한 실시예의 구성 및 동작을 다음과 같이 살펴본다.If N = 3, the configuration and operation of the embodiment according to the present invention of the apparatus shown in Figure 1 will be described as follows.

도 2는 도 1에 도시된 장치의 본 발명에 의한 바람직한 일실시예의 회로도로서, 데이타 지연부(20)를 구성하는 지연부(22)와 네개의 플립플롭들(36, 38, 40 및 42), 선택 신호 발생부(50)를 구성하는 두개의 인버터들(52 및 54)과 네개의 AND 게이트들(56, 58, 60 및 62), 데이타 선택부(70)를 구성하는 네개의 AND 게이트들(72, 74, 76 및 78)과 OR 게이트(82)와 한개의 인버터(80) 및 데이타 출력부를 구성하는 플립플롭(90)으로 구성된다.FIG. 2 is a circuit diagram of a preferred embodiment of the device of FIG. 1 according to the present invention, in which a delay section 22 and four flip-flops 36, 38, 40 and 42 constitute a data delay section 20. FIG. Two inverters 52 and 54 and four AND gates 56, 58, 60 and 62 constituting the selection signal generator 50, and four AND gates constituting the data selector 70. 72, 74, 76, and 78, an OR gate 82, a single inverter 80, and a flip-flop 90 that constitutes a data output unit.

도 2에 도시된 데이타 지연부(20), 선택 신호 발생부(50), 데이타 선택부(70) 및 데이타 출력부(90)는 도 1에 도시된 데이타 지연부(10), 선택 신호 발생부(12), 데이타 선택부(14) 및 데이타 출력부(16)에 각각 해당하며, 동일한 기능을 수행한다.The data delay unit 20, the selection signal generator 50, the data selector 70, and the data output unit 90 shown in FIG. 2 are the data delay unit 10 and the selection signal generator shown in FIG. (12), the data selection section 14 and the data output section 16, respectively, perform the same function.

도 3 (a) ∼ (i)들은 도 2에 도시된 각 부의 파형도들로서, 도 3 (a)는 입력 데이타(DATAI)의 파형도를 나타내고, 도 3 (b)는 원거리 클럭 신호(CKR)의 파형도를 나타내고, 도 3 (c)는 지연되지 않은 입력 데이타(D0)의 파형도를 나타내고, 도 3 (d)는 T/4(여기서, T는 원거리 클럭 신호의 주기) 만큼 지연된 입력 데이타(D1)의 파형도를 나타내고, 도 3 (e)는 T/2 만큼 지연된 데이타(D2)의 파형도를 나타내고, 도 3 (f)는 3T/4 만큼 지연된 데이타(D3)의 파형도를 나타내고, 도 3 (g)는 로컬 클럭 신호(CKL)의 파형도를 나타내고, 도 3 (i)는 출력 데이타(DATAO)의 파형도를 각각 나타낸다.3 (a) to (i) are waveform diagrams of the respective parts shown in FIG. 2, FIG. 3 (a) shows a waveform diagram of input data DATAI, and FIG. 3 (b) shows a remote clock signal CKR. Fig. 3 (c) shows the waveform diagram of the non-delayed input data D0, and Fig. 3 (d) shows the input data delayed by T / 4 (where T is the period of the remote clock signal). FIG. 3 (e) shows a waveform diagram of the data D2 delayed by T / 2, and FIG. 3 (f) shows a waveform diagram of the data D3 delayed by 3T / 4. 3 (g) shows a waveform diagram of the local clock signal CKL, and FIG. 3 (i) shows a waveform diagram of the output data DATAO.

도 2에 도시된 데이타 지연부(20)는 도 3 (b)에 도시된 원거리 클럭 신호(CKR)를 T/4, T/2 및 3T/4만큼 지연하고, 지연된 클럭 신호들에 응답하여 지연된 입력 데이타들(D1, D2 및 D3)과 원거리 클럭 신호(CKR)에 응답하여 출력되며 지연되지 않은 도 3 (a)에 도시된 입력 데이타(D0)를 데이타 선택부(70)로 출력하는 역할을 한다. 이 때, 도 3 (b)에 도시된 원거리 클럭 신호(CKR)와 가장 짧은 시간 즉, T/4만큼 지연된 도 3 (c)에 도시된 신호 즉, 버퍼(24)의 출력이 선택 신호 발생부(50)로 출력된다.The data delay unit 20 shown in FIG. 2 delays the remote clock signal CKR shown in FIG. 3B by T / 4, T / 2, and 3T / 4, and delays the delayed clock signals in response to the delayed clock signals. It outputs in response to the input data D1, D2 and D3 and the remote clock signal CKR, and outputs the input data D0 shown in FIG. 3 (a) to the data selector 70 without delay. do. At this time, the remote clock signal CKR shown in FIG. 3B and the output signal of the buffer 24, that is, the signal shown in FIG. The output is 50.

이를 위해, 지연부(22)는 원거리 클럭 신호(CKR)를 T/4, T/2 및 3T/4만큼 각각 지연하여 출력한다. 즉, 도 3 (b)에 도시된 원거리 클럭 신호(CKR)는, 버퍼(24)에서 T/4만큼 지연되어 플립플롭(38)의 클럭 단자(CK) 및 인버터(54)로 각각 출력되고, 버퍼들(26 및 28)에서 T/2만큼 지연되어 플립플롭(40)의 클럭 단자(CK)로 출력되고, 버퍼들(30, 32 및 34)에서 3T/4만큼 지연되어 플립플롭(42)의 클럭단자(CK)로 출력된다. 여기서, 버퍼들(26, 28, 30, 32 및 34) 각각의 지연 시간은 T/4일 수 있다. 이 때, 플립플롭(36)은 클럭 단자(CK)로 입력한 원거리 클럭 신호(CKR)에 응답하여 데이타 입력 단자(D)로 입력한 입력 데이타(DATAI)를 데이타 선택부(70)의 AND 게이트(72)로 제1 데이타(D0)로서 도 3 (d)에 도시된 바와 같이 출력한다. 플립플롭(38)은 클럭 단자(CK)로 입력되며 버퍼(24)에서 T/4만큼 지연된 원거리 클럭 신호(CKR)에 응답하여 입력 데이타(DATAI)를 데이타 선택부(70)의 AND 게이트(74)로 제2 데이타(D1)로서 도 3 (e)에 도시된 바와 같이 출력하고, 플립플롭(40)은 클럭단자(CK)로 입력되며 버퍼들(26 및 28)에서 T/2만큼 지연된 원거리 클럭 신호(CKR)에 응답하여 입력 데이타(DATAI)를 데이타 선택부(70)의 AND 게이트(76)로 제3 데이타(D2)로서 도 3 (f)에 도시된 바와 같이 출력한다. 플립플롭(42)은 클럭 단자(CK)를 통해 입력되며 3T/4만큼 지연된 원거리 클럭 신호(CKR)에 응답하여 입력 데이타(DATAI)를 데이타 선택부(70)의 AND 게이트(78)로 제4 데이타(D3)로서 도 3 (g)에 도시된 바와 같이 출력한다. 여기서, 제2, 제3 및 제4 데이타들(D1, D2 및 D3)은 각각 T/4, 2T/4 및 3T/4 만큼 지연된 입력 데이타(DATAI)에 해당한다.To this end, the delay unit 22 delays and outputs the remote clock signal CKR by T / 4, T / 2, and 3T / 4, respectively. That is, the remote clock signal CKR illustrated in FIG. 3B is delayed by T / 4 in the buffer 24 and output to the clock terminal CK and the inverter 54 of the flip-flop 38, respectively. Delayed by T / 2 in buffers 26 and 28 and outputted to clock terminal CK of flip-flop 40, and flipped by delayed by 3T / 4 in buffers 30, 32 and 34. Is output to the clock terminal CK. Here, the delay time of each of the buffers 26, 28, 30, 32, and 34 may be T / 4. At this time, the flip-flop 36 inputs the input data DATAI input to the data input terminal D in response to the remote clock signal CKR input to the clock terminal CK, and the AND gate of the data selector 70. The data is output to 72 as the first data D0 as shown in Fig. 3D. The flip-flop 38 is input to the clock terminal CK and receives the input data DATAI in response to the remote clock signal CKR delayed by T / 4 in the buffer 24 and the AND gate 74 of the data selector 70. ) Is output as the second data D1 as shown in FIG. 3E, and the flip-flop 40 is input to the clock terminal CK and is delayed by T / 2 in the buffers 26 and 28. In response to the clock signal CKR, the input data DATAI is output to the AND gate 76 of the data selector 70 as the third data D2 as shown in FIG. 3 (f). The flip-flop 42 is input through the clock terminal CK, and in response to the remote clock signal CKR delayed by 3T / 4, the input data DATAI is transferred to the AND gate 78 of the data selector 70. It outputs as data D3 as shown in FIG.3 (g). Here, the second, third and fourth data D1, D2 and D3 correspond to the input data DATAI delayed by T / 4, 2T / 4 and 3T / 4, respectively.

결국, 플립플롭들(36, 38, 40 및 42) 각각의 클럭 단자(CK)로 입력되는 4개의 신호들 즉, 원거리 클럭 신호(CKR), 버퍼(24)의 출력, 버퍼(28)의 출력 및 버퍼(34)의 출력은 입력 데이타(DATAI)의 한 주기내에서 상승 엣지를 가지므로, 도 2에 도시된 플립플롭들(36, 38, 40 및 42)은 각기 다른 4개의 신호들로 입력 데이타(DATAI)를 트리거하여 3개의 지연된 데이타들(D1, D2 및 D3)과 지연되지 않은 데이타(D0)를 만들 수 있다.As a result, four signals input to the clock terminal CK of each of the flip-flops 36, 38, 40, and 42, that is, the remote clock signal CKR, the output of the buffer 24, and the output of the buffer 28. And the output of the buffer 34 has a rising edge within one period of the input data DATAI, so that the flip-flops 36, 38, 40, and 42 shown in FIG. 2 are input with four different signals. By triggering the data DATAI, three delayed data D1, D2 and D3 and non-delayed data D0 can be produced.

한편, 선택 신호 발생부(50)는 버퍼(24)에서 T/4만큼 지연된 도 3 (c)에 도시된 원거리 클럭 신호와 지연되지 않은 도 3 (b)에 도시된 원거리 클럭 신호(CKR)를 논리 조합하고, 논리 조합한 결과를 선택 신호(S=S0 S1 S2 S3)로서 데이타 선택부(14)로 출력한다.On the other hand, the selection signal generation unit 50 may be configured to generate the remote clock signal CKR shown in FIG. 3 (b) and the non-delayed remote clock signal CKR shown in FIG. The logical combination is performed, and the result of the logical combination is output to the data selection unit 14 as the selection signal S = S0 S1 S2 S3.

이를 위해, 선택 신호 발생부(50)의 반전부를 구성하는 인버터들(52 및 54)은 원거리 클럭 신호(CKR)와 T/4만큼 지연된 신호를 각각 반전하여 해당하는 AND 게이트로 출력한다. 이 때, AND 게이트(56)는 원거리 클럭 신호(CKR)와 인버터(54)에서 반전된 T/4만큼 지연된 신호를 논리곱하고, 논리곱한 결과(S0)를 데이타 선택부(70)의 AND 게이트(76)로 출력한다. AND 게이트(58)는 원거리 클럭 신호(CKR)와 T/4만큼 지연된 신호를 논리곱하고, 논리곱한 결과(S1)를 데이타 선택부(70)의 AND 게이트(78)로 출력하고, AND 게이트(60)는 인버터(52)에서 반전된 원거리 클럭 신호와 T/4만큼 지연된 신호를 논리곱하고, 논리곱한 결과(S2)를 데이타 선택부(70)의 AND 게이트(72)로 출력한다. AND 게이트(62)는 인버터(52)에서 반전된 원거리 클럭 신호와 인버터(54)에서 반전된 T/4만큼 지연된 신호를 논리곱하고, 논리곱한 결과(S3)를 데이타 선택부(70)의 AND 게이트(74)로 출력한다.To this end, the inverters 52 and 54 constituting the inverting portion of the selection signal generator 50 invert the remote clock signal CKR and the signal delayed by T / 4 and output the inverted signals to the corresponding AND gates. At this time, the AND gate 56 logically multiplies the remote clock signal CKR and the signal delayed by T / 4 inverted by the inverter 54, and the result of the logical multiplication S0 is the AND gate of the data selector 70. 76). The AND gate 58 logically multiplies the remote clock signal CKR with a signal delayed by T / 4, outputs the result of the logical multiplication S1 to the AND gate 78 of the data selector 70, and outputs an AND gate 60. ) Multiplies the remote clock signal inverted by the inverter 52 and the signal delayed by T / 4, and outputs the result of the logical multiplication (S2) to the AND gate 72 of the data selector 70. The AND gate 62 logically multiplies the remote clock signal inverted by the inverter 52 and the signal delayed by T / 4 inverted by the inverter 54, and ORs the result S3 of the AND gate of the data selector 70. Output to (74).

도 2에 도시된 데이타 선택부(70)는 반전된 로컬 클럭 신호에 응답하여 인에이블되어, 데이타들(D0, D1, D2 및 D3)중 하나를 선택 신호들(S0, S1, S2 및 S3)에 응답하여 선택하고, 선택된 데이타를 플립플롭(90)으로 출력한다.The data selector 70 shown in FIG. 2 is enabled in response to the inverted local clock signal to select one of the data D0, D1, D2, and D3 to select signals S0, S1, S2, and S3. In response to the selected data, and outputs the selected data to the flip-flop 90.

이를 위해, 데이타 선택부(70)의 AND 게이트(72)는 인버터(80)에서 반전된 로컬 클럭 신호, AND 게이트(60)의 출력(S2) 및 플립플롭(36)의 정 출력(D0)을 논리곱하고, 논리곱한 결과를 OR 게이트(82)로 출력한다. AND 게이트(74)는 인버터(80)에서 반전된 로컬 클럭 신호, AND 게이트(62)의 출력(S3) 및 플립플롭(38)의 정 출력(D1)을 논리곱하고, 논리곱한 결과를 OR 게이트(82)로 출력한다. AND 게이트(76)는 인버터(80)에서 반전된 로컬 클럭 신호, AND 게이트(56) 출력(S0) 및 플립플롭(40)의 정 출력(D2)을 논리곱하고, 논리곱한 결과를 OR 게이트(82)로 출력한다. AND 게이트(78)는 인버터(80)에서 반전된 로컬 클럭 신호, AND 게이트(58)의 출력(S1) 및 플립플롭(42)의 정 출력(D3)을 논리곱하고, 논리곱한 결과를 OR 게이트(82)로 출력한다. 이 때, OR 게이트(82)는 AND 게이트들(72, 74, 76 및 78)의 출력을 논리합하고, 논리합한 결과를 플립플롭(90)의 데이타 입력단자(D)로 출력한다.To this end, the AND gate 72 of the data selector 70 receives the local clock signal inverted by the inverter 80, the output S2 of the AND gate 60, and the positive output D0 of the flip-flop 36. The AND result is output to the OR gate 82. The AND gate 74 logically multiplies the local clock signal inverted by the inverter 80, the output S3 of the AND gate 62, and the positive output D1 of the flip-flop 38. 82). The AND gate 76 ANDs the local clock signal inverted by the inverter 80, the AND gate 56 output S0, and the positive output D2 of the flip-flop 40, and ORs 82. ) The AND gate 78 logically multiplies the local clock signal inverted by the inverter 80, the output S1 of the AND gate 58, and the positive output D3 of the flip-flop 42. 82). At this time, the OR gate 82 ORs the outputs of the AND gates 72, 74, 76, and 78, and outputs the result of the OR to the data input terminal D of the flip-flop 90.

결국, 데이타 선택부(70)는 도 3 (h)에 도시된 로컬 클럭 신호(CKL)에 응답하여 도 3 (i)에 도시된 출력 데이타(DATAO)를 처리하는 수신부의 최적의 샘플링 신호를 결정하기 위해 하나의 데이타만을 전술한 방법에 의해 선택적으로 데이타 출력부로 출력한다.As a result, the data selector 70 determines an optimal sampling signal of the receiver for processing the output data DATAO shown in FIG. 3 (i) in response to the local clock signal CKL shown in FIG. 3 (h). In order to do so, only one data is selectively outputted to the data output unit by the above-described method.

한편, 데이타 출력부를 구현하는 플립플롭(90)은 데이타 선택부(70)에서 선택된 데이타를 데이타 입력단자(D)를 통해 입력하고, 도 3 (h)에 도시된 로컬 클럭 신호(CKL)를 클럭단자(CK)를 통해 입력하며, 그의 정 출력(Q)을 도 3 (i)에 도시된 출력 데이타(DATAO)로서 출력한다.Meanwhile, the flip-flop 90 implementing the data output unit inputs the data selected by the data selector 70 through the data input terminal D and clocks the local clock signal CKL shown in FIG. 3 (h). It inputs through the terminal CK, and outputs the positive output Q thereof as the output data DATAO shown in FIG.

이하, 본 발명에 의한 위상 동기 방법을 첨부한 도면을 참조하여 다음과 같이 설명한다.Hereinafter, a phase synchronization method according to the present invention will be described with reference to the accompanying drawings.

도 4는 도 2에 도시된 장치에서 수행되는 본 발명에 의한 위상 동기 방법을 설명하기 위한 플로우차트로서, 입력 데이타(DATAI)를 서로 다른 시간들만큼 지연하는 단계(제100 단계), 로컬 클럭 신호(CKL)의 레벨이 전이되는 구간을 결정하는 단계(제102 ∼ 제106 단계) 및 지연된 입력 데이타(D1, D2 또는 D3)나 지연되지 않은 데이타(D0)와 로컬 클럭 신호(CKL)의 동기를 맞추는 단계(제108 ∼ 제114 단계)로 이루어진다.FIG. 4 is a flowchart illustrating a phase synchronization method according to an embodiment of the present invention performed in the apparatus shown in FIG. 2. Delaying input data DATAI by different times (step 100) and a local clock signal (Steps 102 to 106) for determining the interval at which the level of (CKL) is transitioned and synchronizing the delayed input data D1, D2 or D3 or the non-delayed data D0 with the local clock signal CKL. Matching step (108 to 114).

도 4를 참조하면, 도 2에 도시된 지연부(22)는 전술한 바와 같이, 입력 데이타(DATAI)를 T/4, T/2 및 3T/4 만큼 지연한다(제100 단계). 제100 단계후에, 도 2에 도시된 선택 신호 발생부(50) 및 데이타 선택부(70)는 원거리 클럭 신호(CKR)의 한 주기를 4등분한 도 3 (c)에 도시된 제1, 제2, 제3 및 제4 구간들(T0, T1, T2 및 T3)중 어느 구간에서 로컬 클럭 신호(CKL)의 레벨이 전이되었는가를 결정한다(제102 ∼ 제106 단계). 이 때, 제102 ∼ 제106 단계에서 결정된 구간에 따라 도 2에 도시된 플립플롭(90)은 MT/4(여기서, M은 0, 1, 2 또는 3) 만큼 지연된 데이타(D0, D1, D2 또는 D3)와 로컬 클럭 신호(CKL)의 동기를 맞춘다(제108 ∼ 제114 단계).Referring to FIG. 4, the delay unit 22 shown in FIG. 2 delays the input data DATAI by T / 4, T / 2, and 3T / 4 as described above (step 100). After the 100th step, the selection signal generator 50 and the data selector 70 shown in FIG. 2 divide the period of the remote clock signal CKR into four equal parts. It is determined in which of the second, third and fourth sections T0, T1, T2, and T3 the level of the local clock signal CKL has transitioned (steps 102 to 106). In this case, the flip-flop 90 shown in FIG. 2 is delayed by MT / 4 (where M is 0, 1, 2 or 3) according to the interval determined in steps 102 through 106. Or D3) and the local clock signal CKL are synchronized (steps 108 to 114).

도 4의 제102 ∼ 제114 단계들에 대해 자세히 살펴보면, 제100 단계후에, 로컬 클럭 신호(CKL)의 레벨이 도 3 (c)에 도시된 제1 구간(TO)에서 전이되었는가를 판단한다(제102 단계). 즉, 도 3 (c)에 도시된 제1 구간(TO)에서 원거리 클럭 신호(CKR)는 "고" 논리 레벨이고 로컬 클럭 신호(CKL)는 "저" 논리 레벨이므로, AND 게이트(56)로부터 출력되는 선택신호(SO)만이 "고" 논리 레벨이 되고, 다른 AND 게이트들(58, 60 및 62)로부터 출력되는 선택 신호들(S1, S2 및 S3)은 "저" 논리 레벨이 된다. 그러므로, AND 게이트들(72, 74 및 78)의 출력은 "저" 논리 레벨이 되어, OR 게이트(82)의 출력은 AND 게이트(76)의 출력값에만 의존하게 된다. 만일, 제1 구간(T0)에서 로컬 클럭 신호(CKL)의 레벨이 전이되었으면 즉, 인버터(80)를 통해 "고" 논리 레벨의 신호가 입력되면, 2T/4 만큼 지연된 데이타(D2) 즉, 플립플롭(40)의 정 출력과 로컬 클럭 신호(CKL)의 동기를 플립플롭(90)을 이용하여 맞춘다(제108 단계).Looking at the steps 102 through 114 of FIG. 4 in detail, after step 100, it is determined whether the level of the local clock signal CKL has transitioned in the first section TO shown in FIG. Step 102). That is, since the remote clock signal CKR is at the "high" logic level and the local clock signal CKL is at the "low" logic level in the first section TO shown in FIG. Only the selection signal SO to be output is at the "high" logic level, and the selection signals S1, S2 and S3 output from the other AND gates 58, 60 and 62 are at the "low" logic level. Therefore, the output of AND gates 72, 74, and 78 is at a "low" logic level, so that the output of OR gate 82 depends only on the output value of AND gate 76. If the level of the local clock signal CKL is transitioned in the first period T0, that is, when the signal of the "high" logic level is input through the inverter 80, the data D2 delayed by 2T / 4, that is, Synchronization between the positive output of the flip-flop 40 and the local clock signal CKL is adjusted using the flip-flop 90 (step 108).

그러나, 제1 구간(TO)에서 로컬 클럭 신호(CKL)의 레벨이 전이되지 않았으면, 로컬 클럭 신호(CKL)의 레벨이 도 3 (c)에 도시된 제2 구간(T1)에서 전이되었는가를 판단한다(제104 단계). 즉, 도 3 (c)에 도시된 제2 구간(T1)에서 원거리 클럭 신호(CKR)는 "고" 논리 레벨이고 로컬 클럭 신호(CKL)는 "고" 논리 레벨이므로, AND 게이트(58)로부터 출력되는 선택신호(S1)만이 "고" 논리 레벨이 되고, 다른 AND 게이트들(56, 60 및 62)로부터 출력되는 선택 신호들(S0, S2 및 S3)은 "저" 논리 레벨이 된다. 그러므로, AND 게이트들(72, 74 및 76)의 출력은 "저" 논리 레벨이 되어, OR 게이트(82)의 출력은 AND 게이트(78)의 출력값에만 의존하게 된다. 만일, 제2 구간(T1)에서 로컬 클럭 신호(CKL)의 레벨이 전이되었으면 즉, 인버터(80)를 통해 "고" 논리 레벨의 신호가 입력되면, 3T/4 만큼 지연된 데이타(D3) 즉, 플립플롭(42)의 정 출력과 로컬 클럭 신호(CKL)의 동기를 플립플롭(90)을 이용하여 맞춘다(제110 단계).However, if the level of the local clock signal CKL has not transitioned in the first section TO, whether the level of the local clock signal CKL has transitioned in the second section T1 shown in FIG. Determination (step 104). That is, since the remote clock signal CKR is at the "high" logic level and the local clock signal CKL is at the "high" logic level in the second period T1 shown in FIG. Only the selection signal S1 to be output is at the "high" logic level, and the selection signals S0, S2 and S3 output from the other AND gates 56, 60 and 62 are at the "low" logic level. Therefore, the output of AND gates 72, 74, and 76 is at a "low" logic level, so that the output of OR gate 82 depends only on the output value of AND gate 78. If the level of the local clock signal CKL is transitioned in the second period T1, that is, when the signal of the "high" logic level is input through the inverter 80, the data D3 delayed by 3T / 4, that is, Synchronization between the positive output of the flip-flop 42 and the local clock signal CKL is adjusted using the flip-flop 90 (step 110).

그러나, 제2 구간(T1)에서 로컬 클럭 신호(CKL)의 레벨이 전이되지 않았으면, 로컬 클럭 신호(CKL)의 레벨이 도 3 (c)에 도시된 제3 구간(T2)에서 전이되었는가를 판단한다(제106 단계). 즉, 도 3 (c)에 도시된 제3 구간(T2)에서 원거리 클럭 신호(CKR)는 "저" 논리 레벨이고 로컬 클럭 신호(CKL)는 "고" 논리 레벨이므로, AND 게이트(60)로부터 출력되는 선택신호(S2)만이 "고" 논리 레벨이 되고, 다른 AND 게이트들(56, 58 및 62)로부터 출력되는 선택 신호들(S0, S1 및 S3)은 "저" 논리 레벨이 된다. 그러므로, AND 게이트들(74, 76 및 78)의 출력은 "저" 논리 레벨이 되어, OR 게이트(82)의 출력은 AND 게이트(72)의 출력값에만 의존하게 된다. 만일, 제3 구간(T2)에서 로컬 클럭 신호(CKL)의 레벨이 전이되었으면 즉, 인버터(80)를 통해 "고" 논리 레벨의 신호가 입력되면, 상대적으로 지연되지 않은 입력 데이타(D0) 즉, 플립플롭(36)의 정 출력과 로컬 클럭 신호(CKL)의 동기를 플립플롭(90)을 이용하여 맞춘다(제112 단계).However, if the level of the local clock signal CKL has not transitioned in the second section T1, whether the level of the local clock signal CKL has transitioned in the third section T2 shown in FIG. 3C. (Step 106). That is, since the remote clock signal CKR is at the "low" logic level and the local clock signal CKL is at the "high" logic level in the third section T2 shown in FIG. Only the selection signal S2 to be output is at the "high" logic level, and the selection signals S0, S1 and S3 output from the other AND gates 56, 58 and 62 are at the "low" logic level. Therefore, the output of AND gates 74, 76, and 78 is at a "low" logic level, so that the output of OR gate 82 depends only on the output value of AND gate 72. If the level of the local clock signal CKL is transitioned in the third section T2, that is, when the signal of the "high" logic level is input through the inverter 80, the input data D0 which is relatively undelayed, In step 112, the positive output of the flip-flop 36 is synchronized with the local clock signal CKL using the flip-flop 90 (step 112).

그러나, 제3 구간(T2)에서 로컬 클럭 신호(CKL)의 레벨이 전이되지 않았으면, 로컬 클럭 신호(CKL)의 레벨이 도 3 (c)에 도시된 제4 구간(T3)에서 전이되었음을 의미한다. 즉, 도 3 (c)에 도시된 제4 구간(T3)에서 원거리 클럭 신호(CKR)와 로컬 클럭 신호(CKL)는 모두 "저" 논리 레벨이므로, AND 게이트(62)로부터 출력되는 선택신호(S3)만이 "고" 논리 레벨이 되고, 다른 AND 게이트들(56, 58 및 60)로부터 출력되는 선택 신호들(S0, S1 및 S2)은 "저" 논리 레벨이 된다. 그러므로, AND 게이트들(72, 76 및 78)의 출력은 "저" 논리 레벨이 되어, OR 게이트(82)의 출력은 AND 게이트(74)의 출력값에만 의존하게 된다. 따라서, 인버터(80)를 통해 "고" 논리 레벨의 신호가 입력될 때, T/4만큼 지연된 데이타(D1) 즉, 플립플롭(38)의 정 출력과 로컬 클럭 신호(CKL)의 동기를 플립플롭(90)을 이용하여 맞춘다(제114 단계).However, if the level of the local clock signal CKL is not transitioned in the third section T2, it means that the level of the local clock signal CKL is transitioned in the fourth section T3 shown in FIG. 3C. do. That is, since the remote clock signal CKR and the local clock signal CKL are both " low " logic levels in the fourth section T3 shown in FIG. 3C, the selection signal output from the AND gate 62 Only S3 is at the "high" logic level, and the select signals S0, S1 and S2 output from the other AND gates 56, 58 and 60 are at the "low" logic level. Therefore, the output of the AND gates 72, 76 and 78 is at a "low" logic level, so that the output of the OR gate 82 depends only on the output value of the AND gate 74. Therefore, when a signal of "high" logic level is input through the inverter 80, the synchronization of the data D1 delayed by T / 4, that is, the positive output of the flip-flop 38 and the local clock signal CKL is flipped. Fit using the flop 90 (step 114).

결국, 도 2에 도시된 데이타 선택부(70)는 전술한 방법으로 선택 신호(S=S0 S1 S2 S3)에 의해 다음 표 1과 같이 데이타를 선택함을 알 수 있다.As a result, it can be seen that the data selection unit 70 shown in FIG. 2 selects data as shown in Table 1 by the selection signal S = S0 S1 S2 S3 by the above-described method.

클럭 신호Clock signal 선택 신호S=S0 S1 S2 S3Selection signal S = S0 S1 S2 S3 데이타 선택부(70)의출력Output of data selector 70 CKRCKR CKRDCKRD 1One 00 1 0 0 01 0 0 0 D2D2 1One 1One 0 1 0 00 1 0 0 D3D3 00 1One 0 0 1 00 0 1 0 D0D0 00 00 0 0 0 10 0 0 1 D1D1

표 1에서, CKRD는 버퍼(24)로부터 출력되는 T/4만큼 지연된 원거리 클럭 신호를 나타낸다. 따라서, 데이타 선택부(70)는 로컬 클럭 신호(CKL)의 엣지를 이용하여 데이타를 선택하기 때문에, 로컬 클럭 신호(CKL)에 대한 셋업(setup) 홀드 시간에 대한 문제를 제거할 수도 있다.In Table 1, CKRD represents a remote clock signal delayed by T / 4 output from the buffer 24. Therefore, since the data selector 70 selects data by using the edge of the local clock signal CKL, the problem of the setup hold time for the local clock signal CKL can be eliminated.

전술한 본 발명에 의한 위상 동기 장치 및 방법은 서로 동기가 맞는 클럭 신호(또는, 원거리 클럭 신호)와 데이타를 패킷 단위로 수신부로 전송하는 송신부 및 원거리 클럭 신호와 비동기된 로컬 클럭 신호를 이용하여 수신된 데이타를 처리하는 수신부를 갖는 어느 시스템에도 적용될 수 있다. 특히, 본 발명에 의한 위상 동기 장치 및 방법은 데이타를 고속으로 주고 받을 수 있도록 하는 'IEEE1394'와 같은 고속 직렬 버스의 프로토콜(protocol)이 사용되는 시스템에도 적용될 수 있다.The above-described phase synchronization device and method according to the present invention receive a clock signal (or a remote clock signal) that is synchronized with each other and a transmission unit for transmitting data to the receiver unit in packet units and a local clock signal asynchronous with the remote clock signal. It can be applied to any system having a receiver for processing the data. In particular, the phase synchronization device and method according to the present invention can be applied to a system in which a protocol of a high speed serial bus such as 'IEEE1394' is used to transmit and receive data at high speed.

이상에서 설명한 바와 같이, 본 발명에 의한 위상 동기 장치 및 방법은 데이타가 연속적으로 전송되지 않고 일정한 길이의 패킷 형태로 전송될 때 송/수신단간에 원거리 클럭 신호와 로컬 클럭 신호간에 약간의 차이가 존재한다 하더라고 이 차이가 로컬 클럭 신호의 1주기 이내인 경우, 고가의 PLL이나 복잡한 회로 구성없이 단지 수십개의 게이트들만으로 간단하게 로컬 클럭 신호와 원거리 클럭 신호의 동기를 맞출 수 있는 효과가 있다.As described above, in the phase synchronization device and method according to the present invention, there is a slight difference between the remote clock signal and the local clock signal between the transmitter and the receiver when data is transmitted in a packet form of a constant length rather than being continuously transmitted. However, if the difference is within one cycle of the local clock signal, there is an effect of simply synchronizing the local clock signal with the remote clock signal with only a few dozen gates without an expensive PLL or complicated circuit configuration.

Claims (7)

패킷 단위로 전송되며 서로 동기되는 입력 데이타 및 원거리 클럭 신호를 수신하고, 상기 입력 데이타를 로컬 클럭 신호에 응답하여 처리하는 시스템을 위한 위상 동기 장치에 있어서,A phase synchronization device for a system for receiving input data and a remote clock signal transmitted in a packet unit and synchronized with each other, and processing the input data in response to a local clock signal. 상기 원거리 클럭 신호를 서로 다른 N개의 소정 시간들로 지연하고, 상기 원거리 클럭 신호 및 지연된 신호들 각각에 응답하여 상기 입력 데이타를 출력하는 데이타 지연 수단;Data delay means for delaying the remote clock signal at different N predetermined times and outputting the input data in response to each of the remote clock signal and the delayed signals; 상기 지연된 신호들중 가장 짧은 시간동안 지연된 신호와 상기 원거리 클럭 신호를 논리 조합하고, 논리 조합한 결과를 선택 신호로서 출력하는 선택 신호 발생 수단;Selection signal generating means for logically combining the delayed signal and the remote clock signal for the shortest time of the delayed signals, and outputting the logical combination result as a selection signal; 상기 로컬 클럭 신호에 응답하여 인에이블되고, 상기 데이타 지연 수단으로부터 출력되는 N+1개의 데이타들중 하나를 상기 선택 신호에 응답하여 선택적으로 출력하는 데이타 선택 수단; 및Data selection means enabled in response to the local clock signal and selectively outputting one of the N + 1 data output from the data delay means in response to the selection signal; And 상기 데이타 선택 수단으로부터 출력되는 데이타를 상기 로컬 클럭 신호에 동기시켜 출력하는 데이타 출력 수단을 구비하는 것을 특징으로 하는 위상 동기 장치.And data output means for outputting data output from said data selection means in synchronization with said local clock signal. 제1 항에 있어서, 상기 데이타 지연 수단은The method of claim 1, wherein the data delay means 상기 원거리 클럭 신호를 T/4(여기서, T는 원거리 클럭 신호의 주기), T/2 및 3T/4만큼 각각 지연하여 출력하는 지연 수단;Delay means for delaying and outputting the remote clock signal by T / 4 (where T is a period of the remote clock signal), T / 2 and 3T / 4, respectively; 상기 원거리 클럭 신호에 응답하여 상기 입력 데이타를 상기 데이타 선택 수단으로 출력하는 제1 플립플롭;A first flip-flop for outputting the input data to the data selection means in response to the remote clock signal; 상기 T/4만큼 지연된 원거리 클럭 신호에 응답하여 상기 입력 데이타를 상기 데이타 선택 수단으로 출력하는 제2 플립플롭;A second flip-flop for outputting the input data to the data selection means in response to the remote clock signal delayed by the T / 4; 상기 T/2만큼 지연된 원거리 클럭 신호에 응답하여 상기 입력 데이타를 상기 데이타 선택 수단으로 출력하는 제3 플립플롭; 및A third flip-flop for outputting the input data to the data selection means in response to the remote clock signal delayed by the T / 2; And 상기 3T/4만큼 지연된 원거리 클럭 신호에 응답하여 상기 입력 데이타를 상기 데이타 선택 수단으로 출력하는 제4 플립플롭을 구비하고,A fourth flip-flop for outputting the input data to the data selection means in response to the remote clock signal delayed by 3T / 4; 상기 T/4만큼 지연된 신호는 상기 지연된 신호들중 가장 짧은 시간동안 지연된 신호에 해당하는 것을 특징으로 하는 위상 동기 장치.And the delayed signal by T / 4 corresponds to a signal delayed for the shortest time of the delayed signals. 제2 항에 있어서, 상기 선택 신호 발생 수단은The method of claim 2, wherein the selection signal generating means 상기 T/4만큼 지연된 신호와 상기 원거리 클럭 신호를 반전하여 출력하는 반전 수단;Inverting means for inverting and outputting the signal delayed by T / 4 and the remote clock signal; 상기 원거리 클럭 신호와 반전된 상기 T/4만큼 지연된 신호를 논리곱하여 출력하는 제1 논리곱 수단;First logical AND means for ANDing and outputting the remote clock signal inversely delayed by the T / 4 delayed signal; 상기 원거리 클럭 신호와 상기 T/4만큼 지연된 신호를 논리곱하여 출력하는 제2 논리곱 수단;Second logical AND means for ANDing and outputting the remote clock signal and the signal delayed by T / 4; 반전된 상기 원거리 클럭 신호와 상기 T/4만큼 지연된 신호를 논리곱하여 출력하는 제3 논리곱 수단; 및Third logical AND means for ANDing and outputting the inversed remote clock signal and the signal delayed by T / 4; And 반전된 상기 원거리 클럭 신호와 반전된 상기 T/4만큼 지연된 신호를 논리곱하여 출력하는 제4 논리곱 수단을 구비하고,A fourth logical AND means for ANDing and outputting the inverted far clock signal and the inverted delayed signal by T / 4, 상기 제1, 상기 제2, 상기 제3 및 상기 제4 논리곱 수단들의 출력은 상기 선택 신호를 형성하는 것을 특징으로 하는 위상 동기 장치.Output of said first, said second, said third and said fourth AND product form said select signal. 제3 항에 있어서, 상기 데이타 선택 수단은4. The apparatus of claim 3, wherein said data selection means is 반전된 상기 로컬 클럭 신호, 상기 제3 논리곱 수단의 출력 및 상기 제1 플립플롭의 정 출력을 논리곱하여 출력하는 제5 논리곱 수단;Fifth logical AND means for ANDing and outputting the inverted local clock signal, the output of the third AND product, and the positive output of the first flip-flop; 반전된 상기 로컬 클럭 신호, 상기 제4 논리곱 수단의 출력 및 상기 제2 플립플롭의 정 출력을 논리곱하여 출력하는 제6 논리곱 수단;A sixth AND function for ANDing and outputting the inverted local clock signal, the output of the fourth AND product, and the positive output of the second flip-flop; 반전된 상기 로컬 클럭 신호, 상기 제1 논리곱 수단의 출력 및 상기 제3 플립플롭의 정 출력을 논리곱하여 출력하는 제7 논리곱 수단;A seventh AND function for ANDing and outputting the inverted local clock signal, the output of the first AND product, and the positive output of the third flip-flop; 반전된 상기 로컬 클럭 신호, 상기 제2 논리곱 수단의 출력 및 상기 제4 플립플롭의 정 출력을 논리곱하여 출력하는 제8 논리곱 수단; 및An eighth AND function for ANDing and outputting the inverted local clock signal, the output of the second AND product, and the positive output of the fourth flip-flop; And 상기 제5, 상기 제6, 상기 제7 및 상기 제8 논리곱 수단들의 출력을 논리합하고, 논리합한 결과를 선택된 데이타로서 상기 데이타 출력 수단으로 출력하는 논리합 수단을 구비하는 것을 특징으로 하는 위상 동기 장치.And a logical sum means for ORing the outputs of the fifth, sixth, seventh and eighth AND products and outputting the result of the OR as the selected data to the data output means. . 제4 항에 있어서, 상기 데이타 출력 수단은The method of claim 4, wherein the data output means 상기 데이타 선택 수단으로부터 출력되는 데이타를 데이타 입력단자로 입력하고, 상기 로컬 클럭 신호를 클럭단자로 입력하는 제5 플립플롭을 구비하고, 상기 제5 플립플롭의 정 출력은 상기 데이타 출력 수단의 출력에 해당하는 것을 특징으로 하는 위상 동기 장치.And a fifth flip-flop for inputting data output from the data selecting means to a data input terminal and inputting the local clock signal to a clock terminal, and the positive output of the fifth flip-flop is output to the output of the data output means. Phase synchronizing device, characterized in that corresponding. 패킷 단위로 전송되며 서로 동기되는 입력 데이타 및 원거리 클럭 신호를 수신하고, 상기 입력 데이타를 로컬 클럭 신호에 응답하여 처리하는 시스템에서 수행되는 위상 동기 방법에 있어서,A phase synchronization method performed in a system for receiving input data and a remote clock signal transmitted in a packet unit and synchronized with each other, and processing the input data in response to a local clock signal. (a) 상기 입력 데이타를 T(여기서, T는 상기 원거리 클럭 신호의 주기임)/4, T/2 및 3T/4 만큼 지연하는 단계;(a) delaying the input data by T (where T is a period of the remote clock signal) / 4, T / 2 and 3T / 4; (b) 상기 원거리 클럭 신호의 한 주기를 4등분한 제1, 제2, 제3 및 제4 구간들중 어느 구간에서 상기 로컬 클럭 신호의 레벨이 전이되었는가를 결정하는 단계: 및(b) determining which of the first, second, third, and fourth intervals of one period of the remote clock signal is divided into four levels; and (c) 상기 결정된 구간에 따라 MT/4(여기서, M은 0, 1, 2 또는 3) 만큼 지연된 입력 데이타와 상기 로컬 클럭 신호의 동기를 맞추는 단계를 구비하고,(c) synchronizing the local clock signal with the input data delayed by MT / 4 (where M is 0, 1, 2 or 3) according to the determined interval, 상기 원거리 클럭 신호는 상기 제4, 상기 제3, 상기 제2 및 상기 제1 구간의 순서로 입력되는 것을 특징으로 하는 위상 동기 방법.And the remote clock signal is input in the order of the fourth, third, second, and first intervals. 제6 항에 있어서, 상기 (b) 및 상기 (c) 단계는The method of claim 6, wherein the steps (b) and (c) 상기 (a) 단계후에, 상기 로컬 클럭 신호의 레벨이 상기 제1 구간에서 전이되었는가를 판단하여, 상기 제1 구간에서 전이된 것으로 결정되면, 2T/4 만큼 지연된 입력 데이타와 상기 로컬 클럭 신호의 동기를 맞추는 단계;After the step (a), it is determined whether the level of the local clock signal has transitioned in the first section, and if it is determined that the transition has occurred in the first section, synchronization of the input data delayed by 2T / 4 and the local clock signal is performed. Aligning; 상기 로컬 클럭 신호의 레벨이 상기 제1 구간에서 전이되지 않았으면 상기 제2 구간에서 전이되었는가를 판단하여, 상기 제2 구간에서 전이된 것으로 결정되면, 3T/4 만큼 지연된 입력 데이타와 상기 로컬 클럭 신호의 동기를 맞추는 단계;If the level of the local clock signal is not transitioned in the second section if it is not transitioned in the first section, if it is determined that the transition in the second section, input data delayed by 3T / 4 and the local clock signal Aligning the motivation; 상기 로컬 클럭 신호의 레벨이 상기 제2 구간에서 전이되지 않았으면 상기 제3 구간에서 전이되었는가를 판단하여, 상기 제3 구간에서 전이된 것으로 결정되면 지연되지 않은 입력 데이타와 상기 로컬 클럭 신호의 동기를 맞추는 단계; 및If the level of the local clock signal has not been transitioned in the second section, it is determined whether it has transitioned in the third section. Fitting step; And 상기 로컬 클럭 신호의 레벨이 상기 제3 구간에서 전이되지 않았으면, 상기 로컬 클럭 신호는 상기 제4 구간에서 전이된 것으로 결정하고, T/4 만큼 지연된 입력 데이타와 상기 로컬 클럭 신호의 동기를 맞추는 단계를 구비하는 것을 특징으로 하는 위상 동기 방법.If the level of the local clock signal has not transitioned in the third section, determining that the local clock signal has transitioned in the fourth section, and synchronizing the local clock signal with the input data delayed by T / 4. Phase synchronization method characterized in that it comprises a.
KR1019980028837A 1998-07-16 1998-07-16 Phase synchronization device and method thereof KR20000008814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980028837A KR20000008814A (en) 1998-07-16 1998-07-16 Phase synchronization device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980028837A KR20000008814A (en) 1998-07-16 1998-07-16 Phase synchronization device and method thereof

Publications (1)

Publication Number Publication Date
KR20000008814A true KR20000008814A (en) 2000-02-15

Family

ID=19544444

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980028837A KR20000008814A (en) 1998-07-16 1998-07-16 Phase synchronization device and method thereof

Country Status (1)

Country Link
KR (1) KR20000008814A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429826A (en) * 2020-04-15 2020-07-17 京东方科技集团股份有限公司 Synchronous circuit, synchronous method thereof and display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429826A (en) * 2020-04-15 2020-07-17 京东方科技集团股份有限公司 Synchronous circuit, synchronous method thereof and display device
CN111429826B (en) * 2020-04-15 2023-06-20 京东方科技集团股份有限公司 Synchronization circuit, synchronization method thereof and display device

Similar Documents

Publication Publication Date Title
EP0346896B1 (en) A parallel-to-serial converter
US4573173A (en) Clock synchronization device in data transmission system
US5594762A (en) Apparatus for retiming digital data transmitted at a high speed
US6943595B2 (en) Synchronization circuit
US4426713A (en) Synchronizing circuit
US7180343B2 (en) Apparatus for synchronizing clock using source synchronous clock in optical transmission system
KR100817270B1 (en) Interface device and method for synchronizing data
US5708685A (en) Frame synchronous signal detector
JPH0358263A (en) Synchronizer using clock phase extrapolation
US5418496A (en) Serial data clock recovery circuit using dual oscillator circuit
US6775339B1 (en) Circuit design for high-speed digital communication
KR20000008814A (en) Phase synchronization device and method thereof
KR20010029434A (en) Time-walking prevention in a digital switching implementation for clock selection
US5222107A (en) Transmission and reception synchronization device for a communication network station particularly for automotive vehicles
RU2745886C1 (en) Data signal regenerator
JPS62202624A (en) High speed data reception circuit system
JPH10145350A (en) Interconnection circuit
KR100353552B1 (en) Data Transfer System
KR100594202B1 (en) Data synchronizing apparatus and method
KR940006515B1 (en) Syncronous signal and clock supply system for preventing slips
JP3219651B2 (en) Bit phase synchronization circuit and bit phase synchronization device
KR20030064524A (en) Timing synchronous circuit of data sending
KR900003668B1 (en) Method to synthesize and transmit clock signals of t.d.m. switching
KR100246340B1 (en) Digital delay locked loop apparatus
JPH05336064A (en) Signal synchronizing circuit

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination