KR930010692B1 - Phase detecting and compensating circuit of clock signal of digital system - Google Patents

Phase detecting and compensating circuit of clock signal of digital system Download PDF

Info

Publication number
KR930010692B1
KR930010692B1 KR1019900014827A KR900014827A KR930010692B1 KR 930010692 B1 KR930010692 B1 KR 930010692B1 KR 1019900014827 A KR1019900014827 A KR 1019900014827A KR 900014827 A KR900014827 A KR 900014827A KR 930010692 B1 KR930010692 B1 KR 930010692B1
Authority
KR
South Korea
Prior art keywords
signal
circuit
phase
output
correction
Prior art date
Application number
KR1019900014827A
Other languages
Korean (ko)
Other versions
KR920007350A (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 KR1019900014827A priority Critical patent/KR930010692B1/en
Publication of KR920007350A publication Critical patent/KR920007350A/en
Application granted granted Critical
Publication of KR930010692B1 publication Critical patent/KR930010692B1/en

Links

Images

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

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

Digital system which generates the different clock signals with two or more crystals, detects the phase difference and compensates the detected phase difference. This circuit compensates the phase difference per unit of 1 byte, 1 frame and 1 block. This system blocks include the 1st, 2nd crystals (10,20) which drive F1,F2 oscillating outputs, an 1/M division circuit (40) which divides F1 signal into 1/M divided signal, an 1/N division circuit (60) which outputs F2 signal, a 1st phase detection circuit (70) which generates 1st compensated signal, a 2nd phase detection circuit (80) which generates 2nd compensated signal, and a 1st phase compensation circuit (30) and 2nd phase compensation circuit (50).

Description

디지탈 시스템의 클럭신호 위상검출 및 보정회로Clock Signal Phase Detection and Correction Circuit of Digital System

제1도는 일반적인 CD-WO의 엔코딩 시스템 구성도.1 is a block diagram of a typical CD-WO encoding system.

제2도는 일반적인 PLL회로도.2 is a general PLL circuit diagram.

제3도는 본 발명에 따른 클럭신호 위상검출 및 보정회로의 블럭 구성도.3 is a block diagram of a clock signal phase detection and correction circuit according to the present invention.

제4도는 제3도의 일실시예의 구체 회로도.4 is a detailed circuit diagram of one embodiment of FIG.

제5도는 제4도의 각 부분의 동작 타이밍도.5 is an operation timing diagram of each part of FIG.

제6도는 제1도에 본 발명을 적용한 예의 시스템 구성도.6 is a system configuration of an example in which the present invention is applied to FIG.

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

10 : 제1크리스탈 20 : 제2크리스탈10: first crystal 20: second crystal

30 : 제1위상보정회로 40 : 1/M분주회로30: 1st phase correction circuit 40: 1 / M division circuit

50 : 제2위상보정회로 60 : 1/N분주회로50: 2nd phase correction circuit 60: 1 / N division circuit

70 : 제1위상검출회로 80 : 제2위상검출회로70: first phase detection circuit 80: second phase detection circuit

본 발명은 위상검출 및 보정회로에 관한 것으로, 특히 2개 이상의 크리스탈(crystal)로서 둘 이상의 서로 다른 클럭(clock) 신호를 발생시켜 사용하는 디지탈 시스템(digital system)에 있어서 클럭신호간에 발생되는 위상차를 검출하고 검출된 위상차를 보정하는 클럭신호 위상검출 및 보정회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase detection and correction circuit, and more particularly to a phase difference generated between clock signals in a digital system using two or more different clock signals as two or more crystals. A clock signal phase detection and correction circuit for detecting and correcting a detected phase difference.

현재 DAT(Digital Audio Tape recorder) 또는 CDP(Compact Disk Player)등의 디지탈 오디오 시스템에서와 같이 2개 이상의 크리스탈이 사용되고 있는 디지탈 시스템에서 시스템 클럭신호와 A/D변환기(Analog-to-Digital converter)에 필요한 A/D변환 클럭신호는 소정 단위마다 동기가 맞아야 한다.In digital systems where two or more crystals are used, such as in digital audio systems such as digital audio tape recorders (DAT) or compact disk players (CDP), system clock signals and analog-to-digital converters The required A / D conversion clock signal must be synchronized for every predetermined unit.

제1도는 일반적인 CD-WO(Compact Disk-Write Once read many)의 엔코딩 시스템(encoding system)구성도로서, 제1, 제2크리스탈(1,3)과 제1, 제2분주회로 (2,4)와 A/D변환기(5)와 S램(S-RAM : Static-Random Access Memory)(6)과 에러(error) 정정회로(7)와 변조회로(8)로 구성된 공지의 회로이다. 제1도에서 제1크리스탈(1)과 제2크리스탈(3)에서는 각각 서로 다른 주파수의 클럭신호가 발진되며 각각 제1, 제2분주회로(2,4)에서 소정 분주된다. 그리고 오디오신호 입력단자(9)를 통해 입력되는 오디오신호가 A/D변환기(5)에 입력되면, A/D변환기(5)는 오디오신호를 제1분주회로(2)에서 .출력되는 클럭신호에 의해 디지탈 오디오 데이타로 변환하게 되며, 변환된 디지탈 오디오 데이타는 제1분주회로(2)에서 출력되는 클럭신호에 동기하여 S램(6)에 저장된다. 또한 S램(6)에 저장된 디지탈 오디오 데이타는 에러정정회로(7)에서 에러정정 코딩(coding)되고 변조회로(8)에서 변조되어 직렬(serial) 데이타로 출력됨으로써 도시하지 않은 콤팩트 디스크에 기록되게 된다. 이때 S램(6)에 저장된 디지탈 오디오 데이타의 리드(read)와 에러정정 코딩 및 변조시에는 제2분주회로(4)에서 출력되는 클럭신호를 시스템 클럭신호로 사용한다.1 is a block diagram of an encoding system of a typical Compact Disk-Write Once read many (CD-WO). The first and second crystals (1 and 3) and the first and second division circuits (2 and 4) are shown in FIG. C), an A / D converter 5, a static random access memory (S-RAM) 6, an error correction circuit 7, and a modulation circuit 8. In FIG. 1, clock signals of different frequencies are oscillated in the first crystal 1 and the second crystal 3, respectively, and are divided by the first and second division circuits 2 and 4, respectively. When the audio signal input through the audio signal input terminal 9 is input to the A / D converter 5, the A / D converter 5 outputs the audio signal from the first frequency divider circuit 2. The digital audio data is converted into digital audio data, and the converted digital audio data is stored in the S-RAM 6 in synchronization with a clock signal output from the first division circuit 2. In addition, the digital audio data stored in the S-RAM 6 is error corrected coded in the error correction circuit 7, modulated in the modulation circuit 8, and output as serial data to be recorded on a compact disc (not shown). do. At this time, the clock signal output from the second division circuit 4 is used as the system clock signal during read, error correction coding and modulation of the digital audio data stored in the S-RAM 6.

한편 제1도의 회로에서 동기신호와 동기신호 사이(한 프레임 간격)에는 통상적으로 L채널(Left channel)과 R채널(Right channel)의 클럭신호가 6개가 들어가며, 이 두신호의 위상 즉, 제1분주회로(2)의 출력 클럭신호인 A/D변환 클럭신호와 제2분주회로(4)의 출력 클럭신호인 시스템 클럭신호간에 위상이 맞아야 한다. 그러나 제1크리스탈(1)과 제2크리스탈(3)의 제품상의 오차 또는 기타의 원인으로 인해 발진 신호의 위상이 변화하게 되면, 제1,2분주회로(2,4)의 출력 클럭신호 사이에 위상차가 발생하게 되며 시간이 지날수록 위상차가 점점 더 커지게 된다.On the other hand, in the circuit of FIG. 1, six clock signals of the L channel and the R channel are generally included between the synchronization signal and the synchronization signal (one frame interval). The phase must be in phase between the A / D conversion clock signal which is the output clock signal of the division circuit 2 and the system clock signal which is the output clock signal of the second division circuit 4. However, if the phase of the oscillation signal changes due to a product error or other cause of the first crystal 1 and the second crystal 3, the output clock signal of the first and second division circuits 2 and 4 The phase difference occurs, and the phase difference increases with time.

상기와 같은 두신호의 위상차를 보정해주기 위해서 일반적으로 제2도와 같은 PLL(Phase Locked Loop)회로가 위상검출 및 보정회로로 사용되어 왔다. 제2도의 제1크리스탈(11)에서 발진된 주파수의 신호를 제1분주회로(12)에서 소정 분주하여 A/D변환 클럭신호 ADCLK로 사용한다고 하면, 우선 시스템 클럭신호 SYSCLK를 제2분주회로(17)에서 소정 분주한 신호와 A/D변환 클럭신호 ADCLK와의 위상차를 위상검출릭(13)에서 검출하여 위상차신호를 발생하고 발생된 위상차신호를 LPF(Low Pass Filter)(14)로서 저역통과가 여파한다. 그러면 VCO(Voltage Controlled Oscillator)(15)는 LPF(14)의 출력 전압 레벨(level)에 따라 제2크리스탈(16)의 발진주파수의 신호를 제어하여 시스템 클럭신호 SYSCLK로 출력한다. 따라서 A/D변환 클럭신호 ADCLK와 시스템 클럭신호 SYSCLK의 위상을 일치시킬 수 있게 된다.In order to correct the phase difference between the two signals as described above, a phase locked loop (PLL) circuit as shown in FIG. 2 has been generally used as a phase detection and correction circuit. When the signal of the frequency oscillated by the first crystal 11 of FIG. 2 is divided by the first division circuit 12 and used as the A / D conversion clock signal ADCLK, the system clock signal SYSCLK is first used as the second division circuit ( In step 17), the phase difference between the signal divided by the predetermined signal and the A / D conversion clock signal ADCLK is detected by the phase detection circuit 13 to generate a phase difference signal, and the low phase pass signal is generated as a low pass filter (LPF) 14. Aftermath. Then, the voltage controlled oscillator (VCO) 15 controls the signal of the oscillation frequency of the second crystal 16 according to the output voltage level of the LPF 14 to output the system clock signal SYSCLK. Therefore, the phase of the A / D conversion clock signal ADCLK and the system clock signal SYSCLK can be matched.

상기와 같이 PLL회로를 사용하면 두 신호의 위상차를 보정할 수는 있으나 회로가 복잡해지며 수동 소자를 사용하게 됨으로써 이러한 아나로그 소자에 따른 잡음이 발생할 수 있는 문제점이 있었다.If the PLL circuit is used as described above, the phase difference between the two signals can be corrected, but the circuit becomes complicated and there is a problem that noise may occur due to the analog device by using a passive device.

따라서 본 발명의 목적은 2개 이상의 크리스탈로서 둘 이상의 서로 다른 클럭 신호를 발생시켜 사용하는 디지탈 시스템의 위상검출 및 보정회로에 있어서, 아나로그 소자를 사용하지 않고 클럭신호간에 발생되는 위상차를 검출하고 검출된 위상차를 보정할 수 있는 클럭신호 이상검출 및 보정회로를 제공함에 있다.Accordingly, an object of the present invention is to detect and detect a phase difference generated between clock signals without using an analog element in a phase detection and correction circuit of a digital system that uses two or more crystals to generate two or more different clock signals. The present invention provides a clock signal abnormality detection and correction circuit capable of correcting a phase difference.

본 발명의 다른 목적은 2개 이상의 크리스탈로서 둘 이상의 서로 다른 클럭신호를 발생시켜 사용하는 디지탈 시스템의 위상검출 및 보정회로에 있어서, 클럭신호간에 위상차가 발생할때 1바이트(byte) 1프레임(frame), 1블럭(block)단위등 소망하는 단위마다 위상차를 보정할 수 있는 클럭신호 위상검출 및 보정회로를 제공함에 있다.Another object of the present invention is a phase detection and correction circuit of a digital system that uses two or more crystals to generate two or more different clock signals, wherein a phase difference occurs between one clock signal and one frame. The present invention provides a clock signal phase detection and correction circuit capable of correcting a phase difference for each desired unit such as 1 block unit.

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제3도는 본 발명에 따른 블럭 구성도로서, 각각 서로 다른 주파수의 제1, 제2신호 F1,F2를 발진 출력하는 제1, 제2크리스탈(10,20)과, 제1크리스탈(10)에서 출력되는 제1신호 F1를 1/M분주하는 1/M분주회로(40)와, 제2크리스탈(20)에서 출력되는 제2신호 F2를 1/N분주하여 1/M분주회로(40)의 출력신호의 주파수와 동일한 주파수의 신호로 출력하는 1/N분주회로(60)와, 1/M분주회로(40)와 1/N분주회로(60)에 접속되며 1/N분주회로(60)의 출력신호가 제1논리상태일때 1/M분주회로(40)의 출력신호가 제1논리상태에서제2논리상태로 천이되는 것에 의해 1/M분주회로(40)의 출력신호의 위상이 1/N분주회로(60)의 출력신호의 위상보다 빠르게 되는 위상차를 검출하여 위상차기간동안 제1논리상태의 제1보정신호를 발생하는 제1위상검출회로(70)와, 1/M분주회로(40)와 1/N분주회로(60)에 접속되며 1/M분주회로(40)의 출력신호가 제1논리상태일때 1/N분주회로(60)의 출력신호가 제1논리상태에서 제2논리상태로 천이되는 것에 이해 1/N분주회로(60)의 출력신호의 위상이 1/M분주회로(40)의 출력신호의 위상보다 빠르게 되는 위상차를 검출하여 위상차기간동안 제1논리상태의 제2보정신호를 발생하는 제2위상검출회로(80와, 제1크리스탈(10)과 제1위상검출회로(70)에 접속되며 제1신호 F를 제1위상검출회로(70)의 출력신호와 논리곱하여 제1보정신호와 발생 기간동안 제1신호를 제1논리상태로 위상보정하는 제1위상보정회로(30)와, 제2크리스탈(20)과 제2위상검출회로(80)에 접속되며 제2신호 F2를 제2위상검출회로(80)의 출력신호와 논리곱하여 제2보정신호의 발생 기간동안 제2신호를 제1논리상태로 위상보정하는 제2위상보정회로(50)로 구성단다.3 is a block diagram according to the present invention, in which the first and second crystals 10 and 20 and the first crystal 10 which oscillate and output the first and second signals F1 and F2 of different frequencies, respectively. The 1 / M division circuit 40 for dividing the first signal F1 to be output 1 / M and the second signal F2 output from the second crystal 20 are 1 / N for division of the 1 / M division circuit 40. 1 / N frequency division circuit 60 connected to 1 / N frequency division circuit 60, 1 / M frequency division circuit 40, and 1 / N frequency division circuit 60 for outputting a signal having the same frequency as that of the output signal. The output signal of the 1 / M frequency division circuit 40 is shifted to 1 by the transition of the output signal of the 1 / M frequency division circuit 40 from the first logic state to the second logic state when the output signal is in the first logic state. A first phase detection circuit 70 for detecting a phase difference that is faster than a phase of an output signal of the / N division circuit 60 to generate a first correction signal in a first logical state during the phase difference period, and a 1 / M division circuit ( 40) and the 1 / N division circuit 60 Understanding that the output signal of the 1 / N division circuit 60 transitions from the first logic state to the second logic state when the output signal of the 1 / M division circuit 40 is in the first logic state 1 / N division circuit 60 Second phase detection circuit (80) for detecting a phase difference where the phase of the output signal is faster than the phase of the output signal of the 1 / M division circuit (40) and generating a second correction signal in a first logical state during the phase difference period. Is connected to the first crystal 10 and the first phase detection circuit 70. The first signal F is logically multiplied with the output signal of the first phase detection circuit 70 to generate the first correction signal and the first signal during the generation period. The first phase correction circuit 30, the phase correction to the first logical state, the second crystal 20 and the second phase detection circuit 80 is connected to the second signal F2 of the second phase detection circuit 80 And a second phase correction circuit 50 which phase-corrects the second signal to the first logical state during the generation of the second correction signal by logical multiplication with the output signal.

본 발명에 따른 상기 제3도의 동작예를 설명하면 다음과 같다.An operation example of FIG. 3 according to the present invention will be described below.

지금 전원인 "온"되고 제3도의 제1, 제2크리스탈(10,20)에서 각각 서로 다른 주파수의 제1, 제2신호 F1,F2가 발진되면, 제1위상보정회로(30)는 제1신호 F1의 위상을 보정하여 제1클럭신호 CLK1로서 출력하며 제2위상보정회로(50)는 제2신호 F2의 위상을 보정하여 제2클럭신호 CLK2로서 출력한다. 이때 전술한 제1도에 적용할 경우를 예를 들어 제1클럭신호 CLK1가 A/D변환 클럭신호 ADCLK로 사용된다면 제2클럭신호 CLK2는 시스템 클럭신호 SYSCLK로 사용된다.When the power supply is turned on and the first and second signals F1 and F2 of different frequencies are respectively oscillated in the first and second crystals 10 and 20 of FIG. 3, the first phase correction circuit 30 The phase of one signal F1 is corrected and output as the first clock signal CLK1, and the second phase correction circuit 50 corrects the phase of the second signal F2 and output as the second clock signal CLK2. In this case, for example, when the first clock signal CLK1 is used as the A / D conversion clock signal ADCLK, the second clock signal CLK2 is used as the system clock signal SYSCLK.

그리고 제1신호 F1는 1/M분주회로(40)에서 1/M분주된후 제1위상검출회로 (70)에 입력되고, 제2신호 F2는 1/N분주회로(60)에서 1/N분주된후 제2위상검출회로 (80)에 입력되어 두신호의 위상차가 검출된다. 이때 제1신호 F1가 1/M분주된 신호의 주파수와 같도록 제2신호 F2를 1/N분주시키는 것이다. 즉, F1/M=F2/N인 관계가 되도록 제1, 제2신호 F1,F2를 각각 1/M분주, 1/N분주시킨다.The first signal F1 is divided into 1 / M by the 1 / M division circuit 40 and then input to the first phase detection circuit 70, and the second signal F2 is 1 / N by the 1 / N division circuit 60. After being divided, it is input to the second phase detection circuit 80 to detect the phase difference between the two signals. At this time, the second signal F2 is divided by 1 / N such that the first signal F1 is equal to the frequency of the 1 / M divided signal. In other words, the first and second signals F1 and F2 are divided by 1 / M and 1 / N, respectively, so that F1 / M = F2 / N.

제1, 제2위상검출회로(70,80)는 이론적으로 주파수가 같게 되어 입력되는 1/M분주회로(40)의 출력신호와 1/N분주회로(60)의 출력신호의 위상차를 검출한다. 이때 위상차 발생시 제1위상검출회로(70)는 1/N분주회로(60)의 출력신호가 제1논리상태일때 1/M분주회로(40)의 출력신호가 제1논리상태에서 제2논리상태로 천이되는 것에 의해 1/M분주회로(40)의 출력신호의 위상이 1/N분주회로(60)의 출력신호의 위상보다 빠르게 되는 위상차를 검출하여 위상차기간동안 제1논리상태의 제1보정신호를 발생하여 제1위상보정회로(30)로 출력한다. 또한 제2위상검출회로(80)는 1/M분주회로 (40)이 출력신호가 제1논리상태일때 1/N분주회로(60)의 출력신호가 제1논리상태에서 제2논리상태로 천이되는 것에 의해 1/N분주회로(60)의 출력신호의 위상이 1/M분주회로(40)의 출력신호의 위상보다 빠르게 되는 위상차를 검출하여 위상차기간동안 제1논리상태의 제2보정신호를 발생하여 제2위상보정회로(50)로 출력한다. 여기서 제1논리상태라 함은 논리 "로우"상태를 말하고 제2논리상태라 함은 논리"하이"상태를 말한다. 그러면 제1, 제2위상보정회로(30,50)는 제1, 제2신호 F1,F2를 각각 제1, 제2보정신호와 논리곱함으로써 제1, 제2보정신호의 발생기간동안 제1, 제2신호 F1,F2를 제1논리사태로 위상보정하여 제1, 제2클럭신호 CLK1,CLK2로서 출력한다. 이때 1/M분주회로(40)의 1/M분주값과 1/N분주회로(60)의 1/N분주값을 조정하면 제1, 제2클럭신호 CLK1,CLK2의 위상보정 시점을 조정할 수 있게 되며 데이타의 1바이트, 1프레임, 1블럭단위등 소망하는 단위마다 위상차를 보정할 수 있게 된다.The first and second phase detection circuits 70 and 80 detect the phase difference between the output signal of the 1 / M divider circuit 40 and the output signal of the 1 / N divider circuit 60 which are theoretically equal in frequency. . At this time, when the phase difference occurs, the first phase detection circuit 70 outputs the output signal of the 1 / M division circuit 40 to the second logic state when the output signal of the 1 / N division circuit 60 is in the first logic state. Detects a phase difference such that the phase of the output signal of the 1 / M frequency division circuit 40 is earlier than the phase of the output signal of the 1 / N frequency division circuit 60 and shifts to the first correction state of the first logical state during the phase difference period. A signal is generated and output to the first phase correction circuit 30. In addition, the second phase detection circuit 80 transitions the output signal of the 1 / N division circuit 60 from the first logic state to the second logic state when the 1 / M division circuit 40 is in the first logic state. By detecting the phase difference such that the phase of the output signal of the 1 / N division circuit 60 becomes faster than the phase of the output signal of the 1 / M division circuit 40, the second correction signal in the first logical state is detected during the phase difference period. Is generated and output to the second phase correction circuit 50. In this case, the first logic state refers to a logic flow state and the second logic state refers to a logic state. The first and second phase correction circuits 30 and 50 then multiply the first and second signals F1 and F2 by the first and second correction signals, respectively, during the first and second correction signal generation periods. The second signals F1 and F2 are phase-corrected in the first logic situation and output as the first and second clock signals CLK1 and CLK2. At this time, if the 1 / M division value of the 1 / M division circuit 40 and the 1 / N division value of the 1 / N division circuit 60 are adjusted, the phase correction timings of the first and second clock signals CLK1 and CLK2 can be adjusted. The phase difference can be corrected for each desired unit such as 1 byte, 1 frame, 1 block unit of data.

제4도는 상기 제3도의 일실시예의 구체회로도로서, 상기 제3도와 동일하게 제1, 제2크리스탈(10,20)과 제1, 제2위상보정회로(30,50)와 1/M분주회로(40)와 1/N분주회로(60)와, 제1, 제2위상검출회로(70,80)로 구성한다.FIG. 4 is a detailed circuit diagram of one embodiment of FIG. 3, wherein the first and second crystals 10 and 20, the first and second phase correction circuits 30 and 50, and 1 / M division are similar to those of FIG. A circuit 40, a 1 / N division circuit 60, and first and second phase detection circuits 70 and 80 are formed.

제4도의 구성중 제1위상보정회로(30)는 제1크리스탈(10)의 제1신호 F1와 제1위상검출회로(70)의 출력신호를 논리곱하는 앤드게이트(31)와, 앤드게이트(31)의 출력을 1/2분주하여 출력하는 D플립플롭(32)으로 구성한다.In the configuration of FIG. 4, the first phase correction circuit 30 includes an AND gate 31 for ANDing the first signal F1 of the first crystal 10 and the output signal of the first phase detection circuit 70, and the AND gate ( The D flip-flop 32 which divides the output of 31) into 1/2 is output.

제2위상보정회로(50)는 제2크리스탈(20)의 제2신호 F2와 제2위상검출회로 (80)의 출력신호를 논리곱하는 앤드게이트(51)와, 앤드게이트(51)의 출력을 1/2분주하여 출력하는 D플립플롭(52)으로 구성한다.The second phase correction circuit 50 performs an AND gate 51 to logically multiply the second signal F2 of the second crystal 20 by the output signal of the second phase detection circuit 80 and the output of the AND gate 51. It consists of the D flip-flop 52 which divides into 1/2 and outputs.

제1위상검출회로(70)는 1/N분주회로(60)의 출력신호를 반전시키는 인버터 (71)와, 데이타입력단자(D)와 세트단자(S)가 전원전압 Vcc에 접속되고 1/M분주회로 (40)의 출력단에 클럭단자(CLK)가 접속되며 인버터(71)의 출력단에 리세트단자(R)가 접속되며 반전출력단자(

Figure kpo00001
)가 앤드게이트(31)의 일입력단에 접속되는 D플립플롭(72)으로 구성한다.The first phase detection circuit 70 has an inverter 71 for inverting the output signal of the 1 / N division circuit 60, a data input terminal D and a set terminal S connected to the power supply voltage Vcc. The clock terminal CLK is connected to the output terminal of the M division circuit 40, and the reset terminal R is connected to the output terminal of the inverter 71, and the inverted output terminal (
Figure kpo00001
Is a D flip flop 72 connected to one input terminal of the AND gate 31.

제2위상검출회로(80)는 1/M분주회로(40)의 출력신호를 반전시키는 인버터(81)와, 데이타입력단자(D)와 세트단자(S)가 전원전압 Vcc에 접속되고 1/N분주회로(60)의 출력단에 클럭단자(CLK)가 접속되며 인버터(81)의 출력단에 리세트단자(R)가 접속되며 반전출력단자(

Figure kpo00002
)가 앤드게이트(51)의 일입력단에 접속되는 D플립플롭(82)으로 구성한다.The second phase detection circuit 80 includes an inverter 81 for inverting the output signal of the 1 / M division circuit 40, a data input terminal D, and a set terminal S connected to the power supply voltage Vcc. The clock terminal CLK is connected to the output terminal of the N division circuit 60, the reset terminal R is connected to the output terminal of the inverter 81, and the inverted output terminal (
Figure kpo00002
Is composed of a D flip-flop 82 connected to one input terminal of the AND gate 51.

제5도는 상기 제4도의 각 부분의 동작 타이밍도이다.5 is an operation timing diagram of each part of FIG. 4.

이하 본 발명에 따른 제4도의 동작예를 제5도의 타이밍도를 참조하여 상세히 설명한다.An operation example of FIG. 4 according to the present invention will now be described in detail with reference to the timing diagram of FIG. 5.

지금 전원이 "온"되고 제4도의 제1, 제2크리스탈(10,20)에서 각각 다른 주파수의 제1, 제2신호 F1,F2가 발진되면, 제1위상보정회로(30)의 D플립플롭(32)은 제1신호 F1와 제1위상검출회로(70)의 출력신호가 앤드게이트(31)에서 논리곱된 신호를 클럭단자(CLK)에 입력하여 1/2분주시켜 비반전출력와단자(Q)를 통해 제1클럭신호 CLK1로서 출력하며, 제2위상보정회로(50)의 D플립플롭(52)은 제2신호 F2와 제2위상검출회로(80)의 출력신호가 앤드게이트(51)에서 논리곱된 신호를 클럭단자(CLK)에 입력하여 1/2분주시켜 비반전 출력단자(Q)를 통해 제2클럭신호 CLK2로서 출력한다. 이때 전술한 제1도에 적용할 경우를 예를 들어 제1클럭신호 CLK1가 A/D변환 클럭신호 ADCLK로 사용된다면 제2클럭신호 CLK2는 시스템 클럭신호 SYSCLK로 사용된다.Now, when the power is turned on and the first and second signals F1 and F2 of different frequencies are oscillated in the first and second crystals 10 and 20 of FIG. 4, the D flip of the first phase correction circuit 30 is performed. The flop 32 inputs a signal whose output signal of the first signal F1 and the first phase detection circuit 70 are logically multiplied by the AND gate 31 into the clock terminal CLK, and divides the signal by half. The output signal of the second flip-flop 52 of the second phase correction circuit 50 is the output signal of the second signal F2 and the second phase detection circuit 80 through the AND gate (Q). The signal multiplied by 51 is input to the clock terminal CLK, and divided into 1/2 and output as the second clock signal CLK2 through the non-inverting output terminal Q. In this case, for example, when the first clock signal CLK1 is used as the A / D conversion clock signal ADCLK, the second clock signal CLK2 is used as the system clock signal SYSCLK.

그리고 제1신호 F1는 1/M분주회로(40)에서 1/M분주된후 D플립플롭(72)의 클럭단자(CLK)에 입력되는 동시에 인버터(81)에 의해 반전되어 D플립플롭(82)의 리세트단자(R)에 입력된다. 또한 제2신호 F2는 1/N분주회로(60)에서 1/N분주된후 D플립플롭(82)의 클럭단자(CLK)에 입력되는 동시에 인버터(71)에 의해 반전되어 D플립플롭(72)의 리세트단자(R)에 입력된다. 이때 제1신호 FIRK 1/M분주된 신호의 주파수와 같게 되도록 제2신호 F2를 1/N분주시키는 것이다. 즉, F1/M=F2/N인 관계가 되도록 제1, 제2신호 F1, F2를 각각 1/M분주, 1/N분주시키는 것이며 이는 두 신호의 주파수가 같도록 분주시킨 후 위상차를 검출하기 위한 것이다.The first signal F1 is divided by 1 / M by the 1 / M division circuit 40 and then inputted to the clock terminal CLK of the D flip-flop 72 and inverted by the inverter 81 to be D flip-flop 82 Is input to the reset terminal (R). In addition, the second signal F2 is divided into 1 / N by the 1 / N division circuit 60 and then inputted to the clock terminal CLK of the D flip-flop 82 and inverted by the inverter 71 to be inverted by the D flip-flop 72. Is input to the reset terminal (R). At this time, the second signal F2 is divided by 1 / N such that the frequency of the first signal FIRK 1 / M is divided. In other words, the first and second signals F1 and F2 are divided into 1 / M and 1 / N, respectively, so that F1 / M = F2 / N. It is for.

상기와 같은 상태에서 제1신호 F1와 제2신호 F2는 시작전만 같다면 이론적으로는 위상이 정확히 일치해야 한다. 그러나 제1크리스탈(10)과 제2크리스탈(20)의 제품상의 오차 또는 기타의 원인으로 인해 발진신호의 위상이 변화하게 되어 1/M분주회로(40)의 출력이 제5a도와 같이 되고 1/N분주회로(60)의 출력이 제5a도의 (b)와 같이 되면, 1/M분주회로(40)의 출력신호의 위상이 1/N분주회로(60)의 출력신호의 위상보다 빠르게 되는 제5a도의 T1,T2,T5,T6구간에서 1/N분주회로(60)의 출력신호의 반전신호가 제2논리상태인 논리 "하이"로 되어 D플립플롭(72)의 리세트단자(R)에 입력되며 1/M분주회로(40)의 출력신호는 제1논리상태인 논리 "로우"에서 제2논리상태인 논리 "하이"로 천이하는 "상승(↑)"상태로 되어 D플립플롭(72)의 클럭단자(CLK)에 입력된다.In this state, if the first signal F1 and the second signal F2 are the same before starting, they should theoretically be exactly in phase. However, the phase of the oscillation signal is changed due to a product error or other causes of the first crystal 10 and the second crystal 20, so that the output of the 1 / M division circuit 40 becomes as shown in FIG. When the output of the N division circuit 60 becomes as shown in (b) of FIG. 5A, the phase of the output signal of the 1 / M division circuit 40 becomes faster than the phase of the output signal of the 1 / N division circuit 60. In the T1, T2, T5, and T6 sections of Fig. 5a, the inverted signal of the output signal of the 1 / N division circuit 60 becomes the logic high, which is the second logical state, so that the reset terminal R of the D flip-flop 72 The output signal of the 1 / M division circuit 40 enters the rising edge (↑) state, which transitions from the logic logic low in the first logic state to the logic logic high in the second logic state. 72 is input to the clock terminal CLK.

그러면 D플립플롭(72)은 상기 논리 "하이"신호와 "상승(↑)"상태에 의해 세트되고 1/N 분주회로(60)의 반전신호가 논리 "로우"일 때 리세트되어 반전출력단자(

Figure kpo00003
)를 통하여 제5a도의 (c)와 같은 논리 "로우"의 제1보정신호(P11,P12,P13,P14)를 앤드게이트(31)로 출력한다. 따라서 상기 P11,P12,P13,P14의 제1보정신호가 발생하는 기간동안 제1신호 F1의 위상을 논리 "로우"로 보정한다.The D flip-flop 72 is then set by the logic " high " signal and " up " state and reset when the inverted signal of the 1 / N division circuit 60 is a logic low. (
Figure kpo00003
The first correction signals P11, P12, P13, and P14 of the logic flow as shown in (c) of FIG. 5A are outputted to the AND gate 31 through FIG. Therefore, the phase of the first signal F1 is corrected to a logic low during the period during which the first correction signals of P11, P12, P13, and P14 are generated.

그리고 1/N분주회로(60)의 출력신호의 위상이 1M분주회로(40)의 출력신호의 위상보다 빠르게 되는 제5a도의 T3,T4,T7구간에서는 1/M분주회로(40)의 출력신호의 반전신호가 논리 "하이"로 되어 D플립플롭(82)의 리세트단자(R)에 입력되며 1/N분주회로(60)의 출력신호는 "상승(↑)"상태로 되어 3플립플롭(82)의 클럭단자(CLK)에 입력된다.The output signal of the 1 / M division circuit 40 is divided in the sections T3, T4, and T7 of FIG. 5A in which the phase of the output signal of the 1 / N division circuit 60 is faster than the phase of the output signal of the 1 M division circuit 40. The inverted signal of < RTI ID = 0.0 > is a < / RTI > logic " high " It is input to the clock terminal CLK of 82.

그러면 D플립플롭(82)은 "상승(↑)"상태에 의해 세트되고 1/M분주호로(40)의 출력신호의 반전신호가 논리 "로우"일 때 리세트되어 반전출력단자(

Figure kpo00004
)를 통하여 제5a도의 (d)와 같은 논리 "로우"의 제2보정신호(P21,P22,P23)를 앤드게이트(51)로 출력한다 따라서 위상차 만큼 즉, 상기 P21,P22,P23를 앤드게이트(51)로 출력한다. 따라서 위상차 만큼 즉, 상기 P21,P22,P23의 제2보정신호가 발생하는 기간동안 제2신호 F2의 위상을 논리 "로우"로 보정한다.Then, the D flip-flop 82 is set by the " rising (↑) " state and reset when the inverted signal of the output signal of the 1 / M division channel 40 is a logic low.
Figure kpo00004
And outputs the second correction signals P21, P22, P23 of the logic flow as shown in (d) of FIG. 5A to the AND gate 51. Therefore, the P21, P22, P23 as the phase difference, i.e. Output to (51). Accordingly, the phase of the second signal F2 is corrected to a logic low during the period in which the second correction signals of P21, P22, and P23 are generated by the phase difference.

따라서 제1크리스탈(10)의 발진 출력되는 제1신호 F1가 제5b도의 (a)와 같다고 하고 제2크리스탈(20)의 발진 출력되는 제2신호 F2가 제5b도의 (b)와 같다고 할때, 상기 두신호간에 위상차가 발생하여 제1보정신호가 제5b도의 (c)와 같이 T12, T13, T15구간에서 D플립플롭(72)으로부터 출력된다면, 제2보정신호가 제5b도의 (d)와 같이 T11,T14구간에 D플립플록(82)으로부터 출력된다면, D플립플롭(32)의 클럭단자(CLK)에는 제5b도의 (e)와 같은 신호가 입력되며 D플립플롭(52)의 클럭단자(CLK)에는 제5b도의 (f)와 같은 신호가 입력된다. 즉, 제1, 제2보정신호에 의해 각각 제1, 제2위상보정회로(30,50)에서 제1, 제2신호 F1,F2간에 발생한 위상차가 보정되게 됨으로써, 제1, 제2클럭신호 CLK1,CLK2는 동기가 맞춰지게 된다.Therefore, when the first signal F1 of oscillation output of the first crystal 10 is equal to (a) of FIG. 5b and the second signal F2 of oscillation output of the second crystal 20 is equal to (b) of FIG. 5b. If a phase difference occurs between the two signals and the first correction signal is output from the D flip-flop 72 in the T12, T13, and T15 sections as shown in (c) of FIG. 5b, the second correction signal is output from (d) of FIG. If it is outputted from the D flip flop 82 in the T11 and T14 sections as shown in the figure, a signal such as (e) of FIG. 5B is input to the clock terminal CLK of the D flip flop 32 and the clock of the D flip flop 52 is A signal as shown in FIG. 5B (f) is input to the terminal CLK. That is, the phase difference generated between the first and second phase correction circuits 30 and 50 in the first and second phase correction circuits 30 and 50, respectively, is corrected by the first and second correction signals, thereby providing the first and second clock signals. CLK1 and CLK2 are synchronized.

한편 F1/M=F2/N를 만족하는 상태에서 1/M분주회로(40)의 1/M분주값과 1/N분주회로(60)의 1/N분주값을 조정하면 즉, 제5a도의 (a),(b)와 같은 신호의 위상차를 데이타의 1바이트, 1프레임, 1블럭 단위등 소망하는 단위마다 보정할 수 있게 된다.On the other hand, when F1 / M = F2 / N is satisfied, the 1 / M division value of the 1 / M division circuit 40 and the 1 / N division value of the 1 / N division circuit 60 are adjusted. The phase difference of signals as shown in (a) and (b) can be corrected for each desired unit such as 1 byte, 1 frame, 1 block unit of data.

제6도는 본 발명에 따른 위상검출 및 보정회로를 전술한 제1도의 CD-WO의 엔코딩 시스템에 적용한 예의 시스템 구성도이며, 참조부호 100이 본 발명에 따른 위상검출 및 보정회로가 된다. 따라서 제6도의 제1크리스탈(1)과 제2크리스탈(3)의 발진신호간에 위상차가 발생한다해도 A/D변환 클럭신호 ADCLK와 시스템 클럭신호 SYSCLK간에 위상을 소망하는 단위마다 일치시킬 수 있게 된다.6 is a system configuration diagram of an example in which the phase detection and correction circuit according to the present invention is applied to the encoding system of the CD-WO of FIG. 1 described above, and reference numeral 100 denotes a phase detection and correction circuit according to the present invention. Therefore, even if a phase difference occurs between the oscillation signals of the first crystal 1 and the second crystal 3 of FIG. 6, the phase can be matched for each desired unit between the A / D converted clock signal ADCLK and the system clock signal SYSCLK. .

또한 본 발명은 전술한 제2도와 같은 일반적인 PLL회로에서 위상검출기(13)로 사용할 수가 있으며, DAT등 디지탈 시스템에서 다른 여러가지 용도로 사용할 수 있음에 유의하여야 한다.It should be noted that the present invention can be used as the phase detector 13 in the general PLL circuit as shown in FIG. 2, and can be used for various other purposes in digital systems such as DAT.

상술한 바와 같이 본 발명은 2개 이상의 크리스탈로서 둘 이상의 서로 다른 클럭신호를 발생시켜 사용하는 디지탈 시스템에 있어서, 클럭신호간에 위상차가 발생할때 위상차를 검출하고 검출된 위상차를 보정하는 회로로서 아나로그 소자를 사용하지 않고 간단한 로직(logic)으로 구성할 수 있는 잇점이 있다. 또한 위상 검출을 위한 분주값을 조정하여 소망하는 단위마다 위상차를 보정할 수 있는 잇점이 있다.As described above, the present invention is a digital system that uses two or more crystals to generate two or more different clock signals, and includes a circuit for detecting a phase difference and correcting the detected phase difference when a phase difference occurs between clock signals. There is an advantage that can be configured in simple logic without using. In addition, there is an advantage that the phase difference can be corrected for each desired unit by adjusting the division value for phase detection.

Claims (3)

각각 서로 다른 주파수의 제1, 제2신호를 발진 출력하는 제1, 제2크리스탈(10,20)을 구비한 디지탈 시스템의 클럭신호 위상검출 및 보정회로에 있어서, 상기 제1크리스탈(10)에서 출력되는 제1신호를 1/M분주하는 1/M분주회로(40)와, 상기 제2크리스탈(20)에서 출력되는 제2신호를 1/N분주하여 상기 1/N분주회로(40)의 출력신호의 주파수와 동일한 주파수의 신호로 출력하는 1/N분주회로(60)와, 상기 1/M분주회로(40)와 1/N분주회로(60)에 접속되며 1/N분주회로(60)의 출력신호가 제1논리상태일때 1/M분주회로(40)의 출력신호가 제1논리상태에서 제2논리상태로 천이되는 것에 의해 1/M분주회로(40)의 출력신호의 위상이 1/N분주회로(60)의 출력신호의 위상보다 빠르게 되는 위상차를 검출하여 위상차기간동안 제1논리상태의 제1보정신호를 발생하는 제1위상검출회로(70)와, 상기 1/ M분주회로(40)와 제1/N분주회로(60)에 접속되며 1/M분주회로(40)의 출력신호가 제1논리상태일때 1/N분주회로(60)의 출력신호가 제1논리상태에서 제2논리상태로 천이되는 것에 의해 1/N분주회로(60)의 출력신호의 위상이 1/M분주회로(40)의 출력신호의 위상보다 빠르게 되는 위상차를 검출하여 위상차기간동안 제1논리상태의 제2보정신호를 발생하는 제2위상검출회로(80)와, 상기 제1크리스탈(10)과 제1위상검출회로(70)에 접속되며 상기 제1신호를 상기 제1위상검출회로(70)의 출력신호와 논리곱하여 상기 제1보정신호의 발생기간동안 제1신호를 제1논리상태로 위상보정하는 제1위상보정회로(30)와, 상기 제2크리스탈(20)과 제2위상검출회로(80)에 접속되며 상기 제2신호를 상기 제2위상검출회로(80)의 출력신호와 논리곱하여 상기 제2보정신호의 발생기간동안 제2신호를 제1논리상태로 위상보정하는 제2위상보정회로(50)로 구성하는 것을 특징으로 하는 디지탈 시스템의 클럭신호 위상검출 및 보정회로.A clock signal phase detection and correction circuit of a digital system having first and second crystals 10 and 20 oscillating and outputting first and second signals having different frequencies, respectively, The 1 / M division circuit 40 for dividing the output first signal by 1 / M and the second signal output from the second crystal 20 are divided by 1 / N for the 1 / N division circuit 40. A 1 / N division circuit 60 for outputting a signal having the same frequency as that of the output signal, and a 1 / N division circuit 60 connected to the 1 / M division circuit 40 and 1 / N division circuit 60, respectively. Phase of the output signal of the 1 / M division circuit 40 is shifted when the output signal of the 1 / M division circuit 40 transitions from the first logic state to the second logic state when the output signal of A first phase detection circuit 70 for detecting a phase difference that is earlier than a phase of the output signal of the 1 / N division circuit 60 to generate a first correction signal in a first logical state during the phase difference period, and It is connected to the M division circuit 40 and the first / N division circuit 60, and when the output signal of the 1 / M division circuit 40 is in the first logical state, the output signal of the 1 / N division circuit 60 becomes the first signal. By shifting from the logic state to the second logic state, the phase difference at which the phase of the output signal of the 1 / N division circuit 60 becomes faster than the phase of the output signal of the 1 / M division circuit 40 is detected, and the phase shift period is changed. A second phase detection circuit 80 for generating a second correction signal in a logical state, the first crystal 10 and the first phase detection circuit 70, and connecting the first signal to the first phase detection circuit; A first phase correction circuit 30 which phase-corrects the first signal to a first logic state during the generation period of the first correction signal by logically multiplying the output signal of the circuit 70, and the second crystal 20 and the first phase correction circuit 30; Connected to a two-phase detection circuit 80 and logically multiplying the second signal by an output signal of the second phase detection circuit 80 to generate a second signal during the generation period of the second correction signal. A clock signal phase detection and correction circuit of a digital system, characterized by comprising a second phase correction circuit (50) for phase correction to a first logical state. 제1항에 있어서, 상기 제1위상보정회로(30)가 상기 제1크리스탈(10)의 제1신호와 상기 제1위상검출회로(70)의 출력신호를 논리곱하는 앤드게이트(31)와, 상기 앤드게이트(31)의 출력을 1/2분주하여 출력하는 D플립플롭(32)으로 구성하는 것을 특징으로 하는 디지탈 시스템의 클럭신호 위상검출 및 보정회로.The AND gate 31 of claim 1, wherein the first phase correction circuit 30 logically multiplies the first signal of the first crystal 10 by the output signal of the first phase detection circuit 70; And a D flip-flop (32) for dividing the output of the AND gate (31) by half to output the clock signal phase detection and correction circuit of the digital system. 제2항에 있어서, 상기 제1위상검출회로(70)가 상기 1/N분주회로(40)의 출력신호를 반전시키는 인버터(71)와, 데이타입력단자와 세트단자가 전원전압에 접속되고 상기 1/M분주회로(40)의 출력단에 클럭단자가 접속되며 상기 인버터(71)의 출력단에 리세트단자가 접속되며 반전출력단자가 상기 앤드게이트(31)의 일 입력단에 접속되는 D플립플롭(72)으로 구성하는 것을 특징으로 하는 디지탈 시스템의 클럭신호 위상검출 및 보정회로.3. The inverter of claim 2, wherein the first phase detection circuit 70 inverts the output signal of the 1 / N division circuit 40, and a data input terminal and a set terminal are connected to a power supply voltage. The clock terminal is connected to the output terminal of the 1 / M division circuit 40, the reset terminal is connected to the output terminal of the inverter 71, and the inverted output terminal is connected to one input terminal of the AND gate 31. Clock signal phase detection and correction circuit of a digital system.
KR1019900014827A 1990-09-19 1990-09-19 Phase detecting and compensating circuit of clock signal of digital system KR930010692B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900014827A KR930010692B1 (en) 1990-09-19 1990-09-19 Phase detecting and compensating circuit of clock signal of digital system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900014827A KR930010692B1 (en) 1990-09-19 1990-09-19 Phase detecting and compensating circuit of clock signal of digital system

Publications (2)

Publication Number Publication Date
KR920007350A KR920007350A (en) 1992-04-28
KR930010692B1 true KR930010692B1 (en) 1993-11-05

Family

ID=19303773

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900014827A KR930010692B1 (en) 1990-09-19 1990-09-19 Phase detecting and compensating circuit of clock signal of digital system

Country Status (1)

Country Link
KR (1) KR930010692B1 (en)

Also Published As

Publication number Publication date
KR920007350A (en) 1992-04-28

Similar Documents

Publication Publication Date Title
US5206889A (en) Timing interpolator
JP3088233B2 (en) Playback clock generation circuit
US7605661B2 (en) Phase locked loop circuit including digital voltage-controlled oscillator, ring oscillator and selector
US5841303A (en) Digital phase-locked loop circuit
US6404363B1 (en) Circuit for recovering digital clock signal and method thereof
US5946279A (en) Servo circuit, digital PLL circuit and optical disk device
EP0756744B1 (en) Arrangement for reproducing n digital signals from n adjacent tracks on a record carrier
US4686482A (en) Clock signal arrangement for regenerating a clock signal
EP0417328B1 (en) Clock generator
KR930010692B1 (en) Phase detecting and compensating circuit of clock signal of digital system
US5982841A (en) Time counting circuit, pulse converting circuit and FM demodulating circuit
US7109806B2 (en) Device and method for detecting phase difference and PLL using the same
US4573024A (en) PLL having two-frequency VCO
JPH0428174B2 (en)
JPS62188483A (en) Error of time axis correcting device
KR100200826B1 (en) Phase locked loop circuit
KR100186394B1 (en) Apparatus for recovering bitclock in the optical disc
SU1674245A1 (en) Data reading channel synchronizer
JP3123612B2 (en) Time axis correction device
JP2661040B2 (en) Digital PLL circuit
JP2748746B2 (en) Phase locked oscillator
KR0145006B1 (en) Phase detector
KR0172459B1 (en) Method and device for reproducing clock signal
JP3097737B2 (en) Memory circuit for burst clock
JPS61296822A (en) Lead phase detector

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 19970829

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee