KR950012578B1 - Clock extract circuit of random digital signal - Google Patents

Clock extract circuit of random digital signal Download PDF

Info

Publication number
KR950012578B1
KR950012578B1 KR1019920026055A KR920026055A KR950012578B1 KR 950012578 B1 KR950012578 B1 KR 950012578B1 KR 1019920026055 A KR1019920026055 A KR 1019920026055A KR 920026055 A KR920026055 A KR 920026055A KR 950012578 B1 KR950012578 B1 KR 950012578B1
Authority
KR
South Korea
Prior art keywords
phase
data clock
clock
signal
data
Prior art date
Application number
KR1019920026055A
Other languages
Korean (ko)
Other versions
KR940017399A (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 KR1019920026055A priority Critical patent/KR950012578B1/en
Publication of KR940017399A publication Critical patent/KR940017399A/en
Application granted granted Critical
Publication of KR950012578B1 publication Critical patent/KR950012578B1/en

Links

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

Abstract

an edge detecting unit for generating a change pulse showing a change in data by detecting a raising and dropping point of a digital reception signal to be randomly inputted from outside; a counting unit for counting a phase value of a present signal after counting it from a point of generating the change of the input signal by inputting the change pulse from the edge detecting unit; a phase comparison and control unit for receiving the phase value of a signal generated from the counting unit, comparing the phase difference between the two input signals, and outputting a control pulse to be used for compensating the phase; and a data clock generating and dividing unit for receiving the control pulse and the reception signal, generating a data clock synchronized with the reception signal under control of the phase comparison and control unit, outputting the synchronized reception signal and data clock to the outside, and providing the data clock to the phase comparison and control unit.

Description

무작위 디지틀 신호의 클럭추출회로 및 그 방법Clock extraction circuit of random digital signal and method thereof

제 1 도는 본 발명에 따른 클럭추출회로의 전체 구성도.1 is an overall configuration diagram of a clock extraction circuit according to the present invention.

제 2 도는 본 발명에 따른 클럭추출회로의 세부 회로도.2 is a detailed circuit diagram of a clock extraction circuit according to the present invention.

제 3 도는 동작 타이밍도.3 is an operation timing diagram.

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

1 : 에지검출부 2 : 계수기1: edge detector 2: counter

3 : 위상비교 및 제어부 4 : 데이타클럭 생성분주기3: Phase Comparison and Control Unit 4: Data Clock Generation Divider

본 발명은 무작위 입력신호의 샘플링 시점을 추적하는 클럭을 생성하는 클럭추출회로 및 그 방법에 관한 것이다.The present invention relates to a clock extraction circuit and a method for generating a clock for tracking a sampling point of a random input signal.

종래의 클럭추출회로는 수신신호의 레벨변화 또는 제로 크로싱(Zero Crossing)에 의존하므로 연속적인 동일 레벨 신호나 노이즈에 의해 안정적인 클럭을 추출할 수 없는 문제점이 있었다.Conventional clock extraction circuits have a problem in that stable clocks cannot be extracted by continuous same-level signals or noise because they depend on the level change or zero crossing of the received signal.

따라서, 상기 종래 기술의 문제점을 해결하기 위하여 안출된 본 발명은, 입력데이타의 천이를 검출한 후, 계수기로 위상값을 계산하여 데이타클럭 생성분주기와의 위상차를 판단한 후, 그 차에 따라서 데이타 샘플링클럭의 시점을 지연 또는 전진시켜주므로써 입력데이타를 중앙에서 샘플링 할 수 있게 한 클럭주출회로 및 그 방법을 제공하는데 그 목적이 있다.Therefore, in order to solve the problems of the prior art, the present invention, after detecting a transition of input data, calculates a phase value with a counter to determine a phase difference with the data clock generation divider, and then the data according to the difference. It is an object of the present invention to provide a clock extraction circuit and a method for centrally sampling input data by delaying or advancing the timing of a sampling clock.

상기 목적을 달성하기 위한 본 발명에 따른 클럭추출회로는, 무작위로 입력되는 디지틀 신호의 클럭추출회로에 있어서, 외부로부터 무작위로 입력되는 디지틀 수신신호의 상승 및 하강 시점을 검출하여 데이타 변화를 나타내는 천이 펄스를 발생시키는 에지 검출 수단 ; 상기 에지 검출 수단의 출력인 천이 펄스를 입력받아 입력신호의 천이가 발생한 시점부터 카운터를 시작하여 현재 신호의 위상값을 계산하여 출력하는 계수 수단 ; 상기 계수 수단의 출력인 천이를 발생한 신호의 위상값을 입력받고, 데이타클럭을 입력받아 상기 두 입력신호의 위상차를 판단하여 위상보상을 위한 제어펄스를 출력하는 위상비교 및 제어수단 및 상기 위상비교 및 제어 수단의 출력인 제어펄스를 입력받고 상기 수신신호를 입력받아 위상비교 시점을 결정하고 상기 위상비교 및 제어 수단의 제어에 따라 상기 수신신호에 동기된 데이타클럭을 발생하여 동기된 수신신호와 데이타클럭을 외부로 출력하며, 상기 위상비교 및 제어 수단으로도 데이타클럭을 제공하는 데이타클럭 생성분주 수단을 구비하는 것을 특징으로 한다.The clock extraction circuit according to the present invention for achieving the above object, in the clock extraction circuit of a randomly input digital signal, a transition indicating a data change by detecting the rising and falling time of the digital reception signal randomly input from the outside Edge detection means for generating a pulse; Counting means for receiving a transition pulse, which is an output of the edge detection means, and starting the counter from the time when the transition of the input signal occurs to calculate and output a phase value of the current signal; A phase comparison and control means for receiving a phase value of a signal having a transition which is an output of the counting means, receiving a data clock, determining a phase difference between the two input signals, and outputting a control pulse for phase compensation; Receives a control pulse that is an output of a control means and receives the received signal to determine a phase comparison time point, and generates a data clock synchronized with the received signal according to the phase comparison and control of the control means to generate a synchronized receive signal and a data clock. It is characterized in that it comprises a data clock generation and distributing means for outputting to the outside, and also provides a data clock to the phase comparison and control means.

또한, 상기 클럭추출회로를 이용하여 상기 목적을 달성하기 위한 본 발명에 따른 클럭추출방법은, 무작위로 입력되는 디지틀 신호의 클럭추출회로에 적용되는 클럭추출방법에 있어서, 초기에 데이타클럭 생성분주 수단을 동작(Free-Running)시키고 입력신호의 레벨변화를 검출하는 제 1 단계 ; 상기 제 1 단계 수행 후, 계수 수단의 동작을 초기화한 후 위상값을 계산하는 제 2 단계 ; 상기 제 2 단계 수행 후, 상기 데이타클럭 생성 분주 수단에서 데이타클럭의 중앙점에서 기준펄스를 발생시키는 제 3 단계 ; 상기 제 3단계 수행 후, 위상비교 및 제어 수단에서 데이타클럭과 입력신호의 위상차를 비교하여 입력신호보다 데이타클럭의 위상이 지연되어 있으면 상기 데이타클럭 생성분주 수단을 주기/계수수차(T/N)만큼 앞으로 이동시켜 주고 입력신호보다 데이타클럭의 위상이 전진되어 있으면 상기 데이타클럭 생성분주 수단을 주기/계수수차(T/N)만큼 뒤로 이동시켜 주고, 입력신호와 데이타클럭의 위상이 같으면 록킹(Locking)된 것으로 처리하는 제 4 단계 ; 및 상기 제 4 단계 수행 후, 입력신호의 레벨변화를 계속해서 검출하여 레벨변화가 있으면 상기 제 2 단계부터 반복 수행하고, 레벨변화가 없으면 제 3 단계부터 반복 수행하는 제 5 단계를 구비하는 것을 특징으로 한다.In addition, the clock extraction method according to the present invention for achieving the above object by using the clock extraction circuit, in the clock extraction method applied to the clock extraction circuit of a randomly input digital signal, the data clock generation and distribution means initially A first step of free-running and detecting a level change of an input signal; A second step of calculating a phase value after initializing the operation of the counting means after performing the first step; A third step of generating a reference pulse at the center point of the data clock by the data clock generation dispensing means after performing the second step; After performing the third step, the phase comparison and control means compares the phase difference between the data clock and the input signal, and if the phase of the data clock is delayed from the input signal, the data clock generation / distribution means is subjected to period / count aberration (T / N). If the phase of the data clock is more advanced than the input signal, move the data clock generating / distributing means backward by the period / count aberration (T / N). If the phase of the input signal and the data clock is the same, locking A fourth step of treating it as); And a fifth step of continuously detecting the level change of the input signal after the fourth step, and repeatedly performing the second step if there is a level change, and repeatedly performing the third step if there is no level change. It is done.

이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;

제 1 도는 본 발명에 따른 클럭추출회로의 전체 구성을 나타내는 블럭도로서, 도면에서 1은 에지 검출부, 2는 계수기, 3은 위상비교 및 제어부, 4는 데이타클럭 생성분주기를 각각 나타낸다.1 is a block diagram showing the overall configuration of a clock extraction circuit according to the present invention, where 1 is an edge detector, 2 is a counter, 3 is a phase comparison and control unit, and 4 is a data clock generation divider.

도면에 도시한 바와 같이 본 발명은, 외부로부터 무작위로 입력되는 디지틀 수신신호의 상승 및 하강 시점을 검출하여 데이타 변화를 나타내는 천이 펄스를 발생시키는 에지검출부(1), 상기 에지검출부(1)의 출력인 천이펄스를 입력받아 입력신호의 천이가 발생한 시점부터 카운터를 시작하여 현재 신호의 위상값을 계산하여 출력하는 계수기(2), 상기 계수기(2)의 출력인 천이를 발생한 신호의 위상값을 입력받고, 별도로 데이타클럭을 입력받아 상기 두 입력신호의 위상차를 판단하여 위상보상을 위한 제어펄스를 출력하는 위상비교 및 제어부(3) 및 상기 위상비교 및 제어부(3)의 출력된 제어펄스를 입력받고 상기 수신신호를 입력받아 위상비교 시점을 결정하고 위상비교 및 제어부(3)의 제어에 따라 수신신호에 동기된 데이타클럭을 발생하여 출력하는 한편 상기 위상비교 및 제어부(3)로도 데이타클럭을 제공하는 데이타클럭 생성분주기(4)를 구비한다.As shown in the drawing, the present invention provides an edge detector 1 and an edge detector 1 for generating a transition pulse indicating a data change by detecting rising and falling time points of a digitally received signal randomly input from the outside. Counter (2) which receives the input transition pulse and starts the counter from the time when the transition of the input signal occurs, calculates and outputs the phase value of the current signal, and inputs the phase value of the transition signal that is the output of the counter (2). Receive a separate data clock and determine the phase difference between the two input signals to output the control signal for phase compensation and the phase comparison and control unit (3) and the output control pulse of the phase comparison and control unit (3) Receiving the received signal to determine the phase comparison time point, and generates and outputs a data clock synchronized with the received signal according to the phase comparison and the control of the control unit (3) On the other hand, the phase comparison and the control section 3 also has a data clock generation divider 4 that provides a data clock.

상기한 본 발명에서 입력주파수의 변화를 추적하는 루프 속도는 매 데이타 천이마다 위상차의 유무에 따라 +/-T/N이다. 여기서 T는 주기, N은 계수기(2)의 수차를 나타낸다. 그리고 시스템의 순간적 오차가 있을지라도 일정기간 동안 록킹(Locking)이 기억되어 전체위상이 갑자기 벗어나지 않도록 동작한다.In the present invention, the loop speed for tracking the change in the input frequency is +/- T / N depending on the presence or absence of a phase difference for every data transition. Where T is the period and N is the aberration of the counter 2. And even if there is an instantaneous error in the system, the locking is stored for a certain period of time so that the overall phase does not suddenly escape.

상기와 같이 구성되는 본 클럭추출회로에 적용되는 클럭추출 방법의 수순은 아래와 같다.The procedure of the clock extraction method applied to the clock extraction circuit configured as described above is as follows.

1) 초기에 데이타클럭 생성분주기(4)를 동작(Free-Running)시킨다.1) Initially, the data clock generation divider 4 is free-running.

2) 입력신호의 레벨변화를 검출한다.2) Detect changes in the level of the input signal.

3) 계수기(2)의 동작을 초기화한 후 위상값을 계산한다.3) After the operation of the counter 2 is initialized, the phase value is calculated.

4) 데이타클럭 생성분주기(4)에서 데이타클럭의 중앙점에서 기준펄스를 발생시킨다.4) In the data clock generation divider 4, a reference pulse is generated at the center of the data clock.

5) 위상비교 및 제어부(3)에서 데이타클럭과 입력신호의 위상차를 비교한다.5) Phase comparison and the control section 3 compares the phase difference between the data clock and the input signal.

6) 입력신호보다 데이타클럭의 위상이 지연되어 있으면 데이타클럭 생성분주기(4)를 T/N 만큼 앞으로 이동시켜 주고, 입력신호보다 데이타클럭의 위상이 전진되어 있으면 데이타클럭 생성분주기(4)를 T/N만큼 뒤로 이동시켜 준다. 입력신호와 데이타클럭의 위상이 같으면 록킹(Locking)이 된 것이다.6) If the phase of the data clock is delayed from the input signal, the data clock generation divider 4 is moved forward by T / N. If the phase of the data clock is advanced from the input signal, the data clock generation divider 4 Move backward by T / N. If the phase of the input signal and the data clock are the same, it is locked.

7) 입력신호의 레벨변화를 계속해서 검출하여 있으면 상기 3),4),5),6) 항의 절차를 반복하고 없으면 상기 4),5),6)항의 절차를 반복한다.7) If the level change of the input signal is continuously detected, repeat the procedures of 3), 4), 5), and 6) above. If not, repeat the procedures of 4), 5), and 6).

제 2 도는 제 1 도에서 상기한 본 발명에 따른 클럭추출회로의 상세회로도이고, 제 3 도는 신호 타이밍도이다.2 is a detailed circuit diagram of the clock extraction circuit according to the present invention as shown in FIG. 1, and FIG. 3 is a signal timing diagram.

도면에 도시한 본 발명의 회로에서 사용하는 마스터클럭(MCK)은 안정된 국부발진회로의 출력을 사용하며, 데이타클럭과는 N배수 관계에 있으며, N값에 따라서 추출되는 데이타클럭의 록킹(Locking)되는 속도가 달라진다. 여기서 B값은 64이며 따라서 데이타클럭폭은 마스터클럭폭의 64배 크기이다.The master clock (MCK) used in the circuit of the present invention shown in the drawing uses the output of a stable local oscillation circuit and has an N multiple relationship with the data clock and locks the data clock extracted according to the N value. Speed is different. Where B is 64, so the data clock width is 64 times the master clock width.

제 2 도의 회로도 및 제 3 도의 타이밍(Timing)도를 이용하여 각 기능부의 동작을 설명하면 아래와 같다.The operation of each functional unit will be described with reference to the circuit diagram of FIG. 2 and the timing diagram of FIG.

에지검출부(1)는 직렬연결된 두개의 D형 F/F을 이용한 시프트 레지스터(Shift Register)와, 상기 두개의 플립플롭의 출력단에 입력단이 연결된 한개의 XOR게이트로 구성되며, 데이타 천이가 있을때 마스터클럭에 동기되어 있고 이의 주기와 크기가 같은 폭의 펄스를 생성한다.The edge detector 1 is composed of a shift register using two D-type F / Fs connected in series, and one XOR gate connected to an output terminal of the two flip-flop outputs, and has a master clock when there is a data transition. It generates a pulse of width synchronous with and whose period and magnitude are the same.

전단의 D형 플립플롭은 들어오는 입력데이타를 마스터클럭에 동기시키는 역활을 하며(Sig1), 후단의 D형 F/F은 입력데이타를 마스터클럭의 한 클럭 만큼 지연시켜 주므로써(Sig2), 뒷단의 XOR게이트가 상승과 하강 천이를 검출하여 펄스를 출력하도록 한다(TP), 이 출력펄스는 계수기(2)를 리셋시키는 신호로 사용된다. 상기와 같은 에지검출부(1)의 회로는 신호의 천이 검출을 절대로 놓치지 않는 아주 간격한 형태의 구성이다.The front D-type flip-flop acts to synchronize the incoming input data to the master clock (Sig1), and the rear-end D-type F / F delays the input data by one clock of the master clock (Sig2). The XOR gate detects rising and falling transitions to output a pulse (TP), which is used as a signal for resetting the counter 2. The circuit of the edge detection unit 1 as described above has a very spaced configuration in which the detection of signal transition is never missed.

계수기(1$1)는 C64BCRD IC 칩으로 구성되며, 0부터 63(N-1)까지 계수를 반복하는 회로이며, 이 계수기의 사용 클럭은 에지검출부(1) 클럭과는 위상이 반전된 것을 사용하므로써 에지검출신호를 그 중앙에서 정확히 인지할 수 있다.The counter (1 $ 1) is composed of a C64BCRD IC chip, and is a circuit for repeating the count from 0 to 63 (N-1), and the clock of the counter is used by using an inverted phase from the edge detector clock. The edge detection signal can be accurately recognized at the center thereof.

계수기(2)는 74161 2개를 직렬로 연결하거나 기타 다른 방법으로 구성할 수 있으며 초기에 프리 런닝(Free-Running) 동작을 하나 에지검출신호(TP)가 있을때마다 재출발하며 계수동작을 반복한다. 여기서 재출발시 초기값은 "0"이고 N값은 64이다.(이하에서는 N=64로 설정하고 설명한다.) 64계수기(2)의 각 비트 출력값 Q5.Q4.Q3.Q2.Q1.Q0는 입력데이타의 위상값이 되며 위상비교 및 제어부(3)로 넘겨진다.The counter 2 may be connected in series to the 74161 in two or other ways, and initially performs free-running operation but restarts whenever there is an edge detection signal TP and repeats the counting operation. Here, when restarting, the initial value is "0" and the N value is 64. (Hereinafter, N = 64 is set and explained.) Each bit output value of the 64 counter (2) Q 5 .Q 4 .Q 3 .Q 2 . Q 1 .Q 0 becomes the phase value of the input data and is passed to the phase comparison and control unit 3.

위상의 판단은 계수기(2)의 값(QM(5 : 0))이 32일때를 기준으로 전방, 후방, 중앙 세부분으로 나누어 중앙점은 Sig3(위상값=32)를 AND4와 NAND8의 논리조합으로 만든다.The judgment of the phase is divided into forward, backward, and center subdivisions based on the value of the counter 2 (QM (5: 0)) of 32. The center point is the logical combination of AND4 and NAND8 by Sig3 (phase value = 32). Make it.

전방은 위상값이 0∼31 지점이며 _Sig*_Q5의 논리함수로 제어되는데 데이타클럭 생성분주기(4)의 출력인 TC1 신호를 D플립플롭으로 지연시킨 기준펄스(RP)와 NAND8의 출력 SIG3을 비교하여(AND3), LAT라는 위상제어펄스를 만들어낸다.The front is 0 ~ 31 phases and controlled by the logic function of _Sig * _Q 5. The reference pulse (RP) which delays the TC1 signal, which is the output of the data clock generator divider 4, to D flip-flop and the output SIG3 of NAND8. Compare (AND3) to produce a phase control pulse called LAT.

후방은 위상값이 32∼63 지점이며 _Sig*_Q5의 논리함수로 제어되는데 데이타클럭 생성분주기(4)의 출력인 TC1 신호를 D플립플롭으로 지연시킨 기준펄스와 NAND8의 출력 SIG3을 비교하여(AND3), ELY라는 위상제어펄스를 만들어낸다.The back is 32 ~ 63 phases and controlled by the logic function of _Sig * _Q 5. Compared with the reference pulse which delayed TC1 signal, which is the output of data clock generator divider 4, with D flip-flop, the output SIG3 of NAND8 was compared. (AND3), produces a phase control pulse called ELY.

생성된 LAT 및 ELY 신호의 역할은 데이타클럭을 지연 또는 전진시키기 위해 데이타클럭 생성분주기(4)에 입력되는 상위동작클럭(SCK)을 제어하기 위해 사용되어 진다.The roles of the generated LAT and ELY signals are used to control the upper operation clock SCK input to the data clock generation divider 4 to delay or advance the data clock.

이 두개의 신호는 마스터클럭보다 4배 빠른 클럭에 의해 동기되어 SCK를 제어하기 위한 회로 AND2와 AND3에 입력된다. 이 부분의 동작은 제 3 도의 (a)와 (b)에 나타나 있다.These two signals are input to the circuits AND2 and AND3 for controlling SCK in synchronization with a clock four times faster than the master clock. The operation of this part is shown in (a) and (b) of FIG.

먼저 기준펄스 보다 계수기(2)값이 전방에 있으면 데이타클럭이 빨라져 (전진)있는 경우이므로 데이타클럭의 샘플링 시점을 뒤로 늦추어 주어야 한다.First, if the counter (2) is ahead of the reference pulse, the data clock is faster (forward), so the sampling time of the data clock should be delayed backward.

이때의 회로 동작은 LAT=l, ELY=0이 되어 AND2와 AND3의 출력이 LAT=1인 동안 모두 "0"이 되어 결과적으로 SCK는 한 클럭 빠지게 된다. 따라서 데이타클럭은 T/64만큼 뒤로 옮겨지게 된다(제 3 도의(a) 참조) 두번째로 기준펄스보다 계수기(2) 값이 후방에 있으면 데이타클럭이 늦어져(지연) 있는 경우이므로 데이타클럭의 샘플링 시점을 안으로 당겨주어야 한다.At this time, the circuit operation becomes LAT = 1, ELY = 0, and both outputs of AND2 and AND3 become "0" while LAT = 1, and as a result, SCK is lost by one clock. Therefore, the data clock is shifted backward by T / 64 (see Fig. 3 (a)). Second, if the counter (2) value is behind the reference pulse, the data clock is delayed (delayed). You have to pull the point in.

이때의 회로동작은 LAT=0, ELY=1이 되어 MCK가 입력는 AND3의 출력은 "0"이고, MCK2가 입력되는 AND2의 출력은 마스터클럭보다 2배 빠른 MCK2신호로 되므로 ELY=1인 동안 결과적으로 SCK는 한 클럭 삽입이 이루어진다. 따라서 데이타클럭은 T/64 만큼 앞으로 옮겨지게 된다(제 3 도의 (b)참조).At this time, LAT = 0, ELY = 1, MCK is input, AND3 output is "0", and MCK2 input AND2 output is MCK2 signal twice as fast as the master clock. The SCK is inserted one clock. Thus, the data clock is shifted forward by T / 64 (see Figure 3 (b)).

세번째로 LAT=0, ELY=0이면 논리곱되어 2의 출력은 "0"이고, AND3의 출력은 마스터클럭이 분주기의 상위동작클럭(SCK)으로 사용되어지고 추출된 데이타클럭의 샘플링 시점은 입력신호에 록킹(Locking)되어진 것이 된다.Thirdly, if LAT = 0 and ELY = 0, the result is logically multiplied so that the output of 2 is "0", and the output of AND3 is the master clock used as the upper operation clock (SCK) of the divider and the sampling point of the extracted data clock is It is locked to the input signal.

데이타클럭 생성분주기(4)는 마스터클럭을 64분주하는 분주기와 샘플링 시점을 발생하는 논리회로로 동작된다.The data clock generation divider 4 is operated with a divider for dividing the master clock 64 and a logic circuit for generating a sampling time point.

분주기(1$2)는 C64RCRD IC칩으로 구성되어 최상위 분주값(Q5)이 데이타클럭이 되고, 분주계수기값(QD(5 : 0))이 63일때 AND4와 AND6을 논리조합하여 TC1 펄스를 생성하고 이 신호를 D플립플롭을 통해 위상이 반전된 마스터클럭(MCK)으로 지연시켜 위상판단을 하기 위한 기준펄스(RP)를 생성한다. 기준펄스는 마스터클럭주기 크기의 1배이고 위상판단 및 제어부(3)로 입력된다. 기준펄스는 위상의 판단 시점이고 상승시점은 데이타의 샘플링 시점이 된다.The divider (1 $ 2) consists of a C64RCRD IC chip so that the highest divider value (Q 5 ) becomes the data clock, and when the divider value (QD (5: 0)) is 63, AND4 and AND6 are logically combined to generate TC1 pulses. A reference pulse (RP) for phase determination is generated by delaying the signal to a master clock (MCK) whose phase is inverted through the D flip flop. The reference pulse is one times the magnitude of the master clock period and is input to the phase determination and control section 3. The reference pulse is the phase at which the phase is judged and the rising point is the sampling point of the data.

마지막의 INV 논리 게이트는 입력된 데이타를 정확히 샘플링하기 위해 데이타클럭의 위상을 반전시키기 위해 사용되고 있다.The last INV logic gate is used to invert the phase of the data clock to accurately sample the input data.

본 분주기의 상위동작클럭은 위상비교 및 제어부(3)에서 제어되어지므로 이에 따라 분주동작이 지연 또는 전진되거나 정상동작을 하게 된다.Since the upper operation clock of the frequency divider is controlled by the phase comparison and the control unit 3, the division operation is delayed or advanced or normal operation is performed accordingly.

따라서 출력되는 데이타의 듀티는 정상(Locking) 동작시엔 50%이고, 지연 또는 전진시는 (50+-T/N×100)%이다. 매 데이타를 클럭마다 +-T/N만큼만 이동하므로 기준펄스와 정상적인 신호천이에 의한 위상값이 마스터클럭의 m배(만, m=〈N2) 차이가 있다면 위상차가 "0"이 될때까진 m×T시간이 걸리게 된다.Therefore, the duty of the output data is 50% in the locking operation and (50 + -T / N × 100)% in the delay or advance. Since every data moves only + -T / N per clock, if the phase value due to the reference pulse and the normal signal transition is m times the master clock (but m = <N2), m × until the phase difference becomes “0” It takes T time.

따라서, 상기와 같이 구성되어 동작하는 본 발명은, 마스터클럭보다 작은 노이즈는 에지검출부(1)에서 미리 걸려지고 설사 마스터클럭보다 큰 노이즈가 발생하더라도 클럭분주기가 샘플링 시점을 현재 위치에서 T/64만큼만 바꾸므로 샘플링 시점을 잃어버리거나 데이타의 삽입 또는 분실할 가능성이 거의 없으며, 일단 록킹(Locking)이 이루어지면 입력데이타의 강한 흔들림 현상에도 샘플링 시점을 놓치지 않고 데이타클럭을 복구하여 내는 효과가 있다.Therefore, in the present invention configured and operated as described above, even if the noise smaller than the master clock is caught in the edge detector 1 in advance and the noise larger than the master clock occurs, the clock divider sets the sampling time at the current position at T / 64. It is almost impossible to lose the sampling point or insert or lose data, and once locked, there is an effect of recovering the data clock without missing the sampling point even in the strong shaking of the input data.

Claims (3)

무작위로 입력되는 디지틀 신호의 클럭추출회로에 있어서, 외부로부터 무작위로 입력되는 디지틀 수신신호의 상승 및 하강 시점을 검출하여 데이타 변화를 나타내는 천이 펄스를 발생시키는 에지검출수단(1) ; 상기 에지검출수단(1)의 출력인 천이 펄스를 입력받아 입력신호의 천이가 발생한 시점부터 카운터를 시작하여 현재 신호의 위상값을 계산하여 출력하는 계수 수단(2) ; 상기 계수 수단(2)의 출력인 천이를 발생한 신호의 위상값을 입력받고, 데이타클럭을 입력받아 상기 두 입력신호의 위상차를 판단하여 위상보상을 위한 제어펄스를 출력하는 위상비교 및 제어 수단(3) ; 및 상기 위상비교 및 제어 수단(3)의 출력인 제어펄스를 입력받고 상기 수신신호를 입력받아 위상비교 시점을 결정하고 상기 위상비교 및 제어 수단(3)의 제어에 따라 상기 수신신호에 동기된 데이타클럭을 발생하여 동기된 수신신호와 데이타클럭을 외부로 출력하며, 상기 위상비교 및 제어 수단(3)으로도 데이타클럭을 제공하는 데이타클럭 생성분주 수단(4)을 구비하는 것을 특징으로 하는 클럭추출회로.A clock extraction circuit for a digital signal input randomly, comprising: edge detection means (1) for detecting a rising and falling time point of a digital reception signal randomly input from the outside to generate a transition pulse indicating a data change; Counting means (2) for receiving a transition pulse, which is the output of the edge detection means (1), and starting the counter from the time point at which the transition of the input signal occurs to calculate and output the phase value of the current signal; Phase comparison and control means (3) for receiving a phase value of a signal having a transition which is the output of the counting means (2), receiving a data clock, determining a phase difference between the two input signals, and outputting a control pulse for phase compensation (3). ); And a control pulse that is an output of the phase comparison and control means 3, receives the received signal, determines a phase comparison time point, and synchronizes the received signal according to the control of the phase comparison and control means 3. Clock extraction, characterized in that it comprises a data clock generation and distributing means (4) which generates a clock and outputs the synchronized received signal and the data clock to the outside and provides the data clock to the phase comparison and control means (3). Circuit. 제 1 항에 있어서, 상기 에지검출 수단(1)은, 직렬연결된 두개의 D형 F/F을 이용한 시프트 레지스터(Shift Register) ; 및 상기 두개의 플립플롭의 출력단에 입력단이 연결된 한개의 XOR게이트를 구비하는 것을 특징으로 하는 클럭추출회로.2. An edge detector according to claim 1, wherein said edge detection means (1) comprises: a shift register using two D-type F / Fs connected in series; And an XOR gate connected to an input terminal of an output terminal of the two flip-flops. 무작위로 입력되는 디지틀 신호의 클럭추출회로에 적용되는 클럭추출방법에 있어서, 초기에 데이타클럭 생성분주 수단(4)을 동작(Free-Running)시키고 입력신호의 레벨변화를 검출하는 제 1 단계 ; 상기 제 1 단계 수행 후, 계수 수단(2)의 동작을 초기화한 후 위상값을 계산하는 제 2 단계 ; 상기 제 2 단계 수행 후, 상기 데이타클럭 생성분주 수단(4)에서 데이타클럭의 중앙점에서 기준펄스를 발생시키는 제 3 단계 ; 상기 제 3 단계 수행 후, 위상비교 및 제어 수단(3)에서 데이타클럭과 입력신호의 위상차를 비교하여 입력신호보다 데이타클럭의 위상이 지연되어 있으면 상기 데이타클럭 생성분주 수단(4)을 주기/계수수차(T/N)만큼 앞으로 이동시켜 주고, 입력신호보다 데이타클럭의 위상이 전진되어 있으면 상기 데이타클럭 생성분주 수단(4)을 주기/계수수차(T/N)만큼 뒤로 이동시켜 주고 입력신호와 데이타클럭의 위상이 같으면 록킹(Locking)된 것으로 처리하는 제 4 단계 ; 및 상기 제 4 단계 수행 후, 입력신호의 레벨변화를 계속해서 검출하여 레벨변화가 있으면 상기 제 2 단계부터 반복 수행하고, 레벨변화가 없으면 제3 단계부터 반복 수행하는 제 5 단계를 구비하는 것을 특징으로 하는 클럭추출방법.A clock extraction method applied to a clock extraction circuit of a randomly input digital signal, comprising: a first step of initially free-running the data clock generation and distributing means (4) and detecting a level change of an input signal; A second step of calculating a phase value after initializing the operation of the counting means (2) after performing the first step; A third step of generating a reference pulse at the center point of the data clock by the data clock generation and distributing means (4) after performing the second step; After performing the third step, the phase comparison and control means 3 compares the phase difference between the data clock and the input signal, and if the phase of the data clock is delayed from the input signal, the data clock generation / distribution means 4 is cycled / counted. If the phase of the data clock is advanced from the input signal, the data clock generating / distributing means 4 is moved backward by the period / count aberration (T / N) and the input signal A fourth step of treating as locked if the data clocks are in phase; And a fifth step of continuously detecting a level change of an input signal after the fourth step and repeating the step from the second step if there is a level change, and repeating from the third step if there is no level change. Clock extraction method.
KR1019920026055A 1992-12-29 1992-12-29 Clock extract circuit of random digital signal KR950012578B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920026055A KR950012578B1 (en) 1992-12-29 1992-12-29 Clock extract circuit of random digital signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920026055A KR950012578B1 (en) 1992-12-29 1992-12-29 Clock extract circuit of random digital signal

Publications (2)

Publication Number Publication Date
KR940017399A KR940017399A (en) 1994-07-26
KR950012578B1 true KR950012578B1 (en) 1995-10-19

Family

ID=19347173

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920026055A KR950012578B1 (en) 1992-12-29 1992-12-29 Clock extract circuit of random digital signal

Country Status (1)

Country Link
KR (1) KR950012578B1 (en)

Also Published As

Publication number Publication date
KR940017399A (en) 1994-07-26

Similar Documents

Publication Publication Date Title
US5212716A (en) Data edge phase sorting circuits
US4216544A (en) Digital clock recovery circuit
US6285219B1 (en) Dual mode phase and frequency detector
KR20000006536A (en) Delayedtype phase locked loop
US3602828A (en) Self-clocking detection system
JPH0150150B2 (en)
JP2003224471A (en) Pll circuit and optical communication receiver
JPH1174734A (en) Phase detector
GB2182828A (en) Asynchronous/synchronous data receiver circuit
US8643412B2 (en) Test apparatus, transmission apparatus, receiving apparatus, test method, transmission method and receiving method
US6137332A (en) Clock signal generator and data signal generator
KR950012578B1 (en) Clock extract circuit of random digital signal
JP2011234009A (en) Clock and data recovery circuit
KR20010034344A (en) A pulse edge detector with double resolution
JPS63996B2 (en)
JPS61127243A (en) Bit phase synchronizing circuit
US7359468B2 (en) Apparatus for synchronizing clock and data between two domains having unknown but coherent phase
JP2000188540A (en) Clock generating circuit
JP2778527B2 (en) Counting circuit
KR100223116B1 (en) State machine phaselock loop
JP2519301B2 (en) Timing recovery circuit
JPH0661993A (en) Clock extracting circuit and method therefor
KR950007458B1 (en) Clock syncronous circuit
JPH09149017A (en) Pll circuit and bit phase synchronization circuit
GB2240241A (en) Data transmission systems

Legal Events

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

Payment date: 19980929

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee