KR100975083B1 - Serial transmitter and communication method used by the serial transceiver - Google Patents
Serial transmitter and communication method used by the serial transceiver Download PDFInfo
- Publication number
- KR100975083B1 KR100975083B1 KR1020080065711A KR20080065711A KR100975083B1 KR 100975083 B1 KR100975083 B1 KR 100975083B1 KR 1020080065711 A KR1020080065711 A KR 1020080065711A KR 20080065711 A KR20080065711 A KR 20080065711A KR 100975083 B1 KR100975083 B1 KR 100975083B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- serial
- output
- clock
- controlled oscillator
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
- H04L7/044—Speed or phase control by synchronisation signals using special codes as synchronising signal using a single bit, e.g. start stop bit
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/0807—Details of the phase-locked loop concerning mainly a recovery circuit for the reference signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0041—Arrangements at the transmitter end
- H04L1/0042—Encoding specially adapted to other signal generation operation, e.g. in order to reduce transmit distortions, jitter, or to improve signal shape
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0045—Arrangements at the receiver end
- H04L1/0047—Decoding adapted to other signal detection operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
- H04L7/0012—Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
Abstract
본 발명은 외부 클럭 신호를 사용하지 않는 고속 송수신 장치 및 그 통신 방법에 관한 것으로, 이를 위하여 내장 커스 코드 생성부, 주파수 검출부와 선형 위상 검출부를 포함하는 클럭 복원부를 수신기에 적용함으로써, 데이터에 클럭 정보를 인가하는 임베디드 클럭 방식을 이용하면서도 데이터가 전달되는 동안 발생하는 기준 클럭과 데이터 사이의 스큐 문제 및 복원 클럭의 지터 문제를 제거할 수 있는 뛰어난 효과가 있다.The present invention relates to a high-speed transmission and reception apparatus that does not use an external clock signal and a communication method thereof. To this end, a clock recovery unit including a built-in curse code generator, a frequency detector, and a linear phase detector is applied to a receiver, thereby providing clock information to data. While using the embedded clock method to apply the circuit, there is an excellent effect of eliminating the skew problem between the reference clock and the data and the jitter problem of the reconstructed clock that occur during data transmission.
커스 코드, 송수신, 직렬 통신, 동기화, 위상 동기, 선형 위상 검출기, 주파수 검출기 Curse Code, Receive, Serial Communication, Synchronization, Phase Sync, Linear Phase Detector, Frequency Detector
Description
본 발명은 직렬 송수신 장치에 관한 것으로, 특히 외부 클럭 신호를 사용하지 않는 고속 송수신 장치 및 그 통신 방법에 관한 것이다.The present invention relates to a serial transmission and reception apparatus, and more particularly, to a high speed transmission and reception apparatus and a communication method thereof using no external clock signal.
다양한 통신 방식의 급속한 확산과 발전은 멀티미디어에 대한 사용자 수요를 높이게되었으며, 그에 따라 더 높은 속도로 더 많은 데이터를 더 안정적으로 전송함과 아울러, 이러한 전송에 필요한 하드웨어 구성을 최소화하기 위한 연구가 활발해지고 있다.The rapid proliferation and development of various communication methods has increased the user demand for multimedia, and thus, researches are being actively conducted to transmit more data more stably at a higher speed and to minimize the hardware configuration required for such transmission. have.
일반적으로 데이터의 전송 속도를 높이기 위해서는 채널의 수를 늘려 여러 데이터를 동시에 전송하는 병렬 전송 방식과 하나의 채널을 통해 빠른 속도로 데이터를 전송하는 직렬 전송 방식 중 하나를 선택하여 그 기능을 극대화하는 것이 일반적이다. 여기서, 병렬 전송 방식은 경우 여러 전송 채널들 사이에 서로 다른 채널을 통해 전송되는 데이터 사이의 시간차를 의미하는 데이터 스큐가 존재할 수 있고, 채널의 수가 늘어날수록 하드웨어적인 비용이 많이 들기 때문에 최근에는 직렬 데이터 전송 방식이 고속 송수신기의 표준으로 채택되어 널리 사용되고 있으며, 이 러한 고속 직렬통신을 병렬로 구성하고자 하는 연구도 진행되고 있다. 이러한 직렬 데이터 송수신에서는 데이터가 오고 가는 속도가 매우 높기 때문에 잡음과 채널의 대역폭에의해 데이터의 불확실성이 증가하는 문제가 있다. 이러한 데이터 전송의 불확실성을 줄이기 위해서 수신기는 입력 데이터를 샘플링하기 위해 가능한 지터(gitter)가 작도록 클럭을 복원해야 하며, 비트 에러율이 최소가 되도록 복원된 클럭과 입력 데이터의 위상 관계를 최적의 상태로 유지해야 한다. 따라서, 고속 직렬 통신에 있어 송신기로부터 클럭과 데이터를 입력받아 수신기가 입력 데이터를 샘플링하기 위한 최적의 상태로 클럭 신호를 재정렬하는 클럭 복원회로의 역할은 막중하다 할 수 있다.In general, in order to increase the data transmission speed, it is necessary to maximize the function by selecting one of the parallel transmission method that increases the number of channels and transmits multiple data at the same time and the serial transmission method that transmits the data at high speed through one channel. It is common. In this case, in the case of the parallel transmission scheme, data skew, which means a time difference between data transmitted through different channels, may exist between several transport channels, and as the number of channels increases, hardware cost increases. The transmission method has been widely used as a standard for high-speed transceivers, and research is being conducted to construct such high-speed serial communications in parallel. In such serial data transmission and reception, there is a problem that data uncertainty increases due to noise and bandwidth of a channel because data is very high in and out. To reduce this uncertainty in data transmission, the receiver must recover the clock to have as little jitter as possible to sample the input data, and optimize the phase relationship between the recovered clock and the input data so that the bit error rate is minimal. It must be maintained. Therefore, in the high speed serial communication, the clock recovery circuit that receives the clock and data from the transmitter and rearranges the clock signal to an optimal state for sampling the input data may be very important.
일반적인 고속 데이터 송수신기는 송신기에서 수신기로 데이터를 전송하기 위해 고속 송수신 데이터에 대한 동기 기준을 제공하기 위한 기준 클럭 신호를 함께 전송하는 형태로 이루어져 있다. 하지만 이러한 방식은 수 미터에 이르는 긴 거리까지 전송하는 경우 데이터와 기준 클럭 사이의 스큐문제로 인하여 수신기가 데이터를 복원하는데 문제가 발생할 수 있다. 또한, 기존의 송수신기는 전송속도를 변화시키기 위해서 전송속도에 맞도록 수신기의 기준 클럭신호를 바꾸어 주거나, 수신기의 동작속도를 조절하기 위해 디지털 코드를 바꾸어 주어야하는 등의 번거로움이 있다. In general, a high speed data transceiver is configured to transmit a reference clock signal together to provide a synchronization reference for high speed data transmission and reception in order to transmit data from a transmitter to a receiver. However, this method can cause the receiver to recover data due to the skew problem between the data and the reference clock when transmitting over a long distance of several meters. In addition, in order to change the transmission speed of the conventional transceiver, it is troublesome to change the reference clock signal of the receiver to match the transmission speed or to change the digital code to adjust the operation speed of the receiver.
미국 공개특허 US 6,680,970호 "다중 속도 임베디드 클럭 직렬 수신기를 위한 데이터율 검출에 적용되는 통계적 방법과 시스템(Statistical methods and systems for data rate detection for multi-speed embedded clock serial receivers)"에서는 이러한 문제를 해결하기 위해서 데이터의 경계(edge)를 검출하는 방식을 사용하는 방식을 제안하였으나, 이 경우 데이터의 경계 검출의 한계로 인하여 선형 위상 검출기를 사용하는 것에 비해 복원되는 클럭 신호의 지터가 크기 때문에 속도에 제한이 발생하게 되며, 오류 가능성도 높아지게 된다.US Patent No. 6,680,970 "Statistical methods and systems for data rate detection for multi-speed embedded clock serial receivers" addresses this problem. For this purpose, a method using a method of detecting edges of the data is proposed, but in this case, the speed is limited because the jitter of the recovered clock signal is larger than that of the linear phase detector due to the limitation of the detection of the edge of the data. And the likelihood of error increases.
다른 방법으로 미국 공개특허 US 5,838,749호 "디지털 데이터 신호로부터 임베디드 클럭을 추출하는 방법 및 장치(Method and apparatus for extracting an embedded clock from a digital data signal)"에서는 상기 문제의 해결을 위해서 클럭 복원회로 내부에 클럭 공급기를 탑재하는 방식을 사용하고 있으나, 이러한 클럭 공급기의 부가적인 탑재로 인한 면적 및 비용 증가와 전력 소모 증가 등의 문제점이 발생한다.Alternatively, U.S. Patent No. 5,838,749 entitled "Method and apparatus for extracting an embedded clock from a digital data signal" includes a clock recovery circuit to solve the above problem. Although a method of mounting a clock supplier is used, problems such as an increase in area, cost, and power consumption are caused by the additional mounting of the clock supply.
본 발명 실시예들의 목적은 송신기에서 수신기로 데이터를 전달할 때, 내장 커스 코드 생성부, 주파수 검출부와 선형 위상 검출부를 포함하는 클럭 복원부를 수신기에 적용함으로써, 데이터에 클럭 정보를 인가하는 임베디드 클럭 방식을 이용하면서도 데이터가 전달되는 동안 발생하는 기준 클럭과 데이터 사이의 스큐 문제 및 복원 클럭의 지터 문제를 제거할 수 있도록 한 직렬 송수신 장치 및 그 통신 방법을 제공하는 것이다.An object of the embodiments of the present invention is to apply an embedded clock scheme for applying clock information to data by applying a clock recovery unit including a built-in curse code generator, a frequency detector, and a linear phase detector to a receiver when transferring data from a transmitter to a receiver. The present invention provides a serial transceiver and a communication method thereof, which can eliminate a skew problem between a reference clock and data and a jitter problem of a restore clock while data is being transmitted.
본 발명 실시예들의 다른 목적은 데이터를 전송시 기준 클럭을 함께 전송하지 않도록 하여 데이터와 기준 클럭 사이의 스큐문제를 근본적으로 제거함과 아울러, 전송 채널의 수를 최소화하여 하드웨어적인 비용을 줄일 수 있도록 한 직렬 송수신 장치 및 그 통신 방법을 제공하는 것이다.Another object of the embodiments of the present invention is to eliminate the skew problem between the data and the reference clock by not transmitting the reference clock together in data transmission, and to reduce the hardware cost by minimizing the number of transmission channels. It is to provide a serial transceiver and a communication method thereof.
본 발명 실시예들의 또 다른 목적은 데이터를 전송시 기준 클럭을 함께 전송하지 않도록 않으면서도 별도의 외부 동작 없이 속도를 조절할 수 있으며, 선형 위상 검출 방식을 적용하여 복원되는 클럭 신호의 지터를 크게 감소시킬 수 있도록 한 직렬 송수신 장치 및 그 통신 방법을 제공하는 것이다.Another object of the embodiments of the present invention is to adjust the speed without a separate external operation without transmitting the reference clock when transmitting data, and to reduce the jitter of the clock signal restored by applying the linear phase detection method. It is to provide a serial transceiver and a communication method thereof.
본 발명 실시예들의 또 다른 목적은 수신기에 별도의 클럭 공급기와 같은 부가적인 회로 없이도 클럭 신호를 복원할 수 있도록 한 직렬 송수신 장치 및 그 통신 방법을 제공하는 것이다.Another object of the embodiments of the present invention is to provide a serial transmission / reception apparatus and a communication method for recovering a clock signal without additional circuitry such as a separate clock supply to a receiver.
본 발명 실시예들의 또 다른 목적은 전압제어 발진기 출력을 데이터 속도로 분주하여 지연된 데이터와 비교하는 것으로 전압제어 발진기의 동작 주파수를 조절하는 주파수 검출기를 클럭 복원부에 적용하여 정확한 락 신호를 생성하도록 한 직렬 송수신 장치 및 그 통신 방법을 제공하는 것이다.Another object of the embodiments of the present invention is to divide a voltage controlled oscillator output at a data rate and compare it with delayed data so as to apply a frequency detector that adjusts an operating frequency of the voltage controlled oscillator to a clock recovery unit to generate an accurate lock signal. It is to provide a serial transceiver and a communication method thereof.
본 발명 실시예들의 또 다른 목적은 직렬 데이터의 상승 모서리를 가지는 경우를 검출하여 클럭 신호와 직렬 데이터 신호 간의 위상 차이에 따른 펄스로 전하펌프를 조절하는 선형 위상 검출기를 클럭 복원부에 적용한 직렬 송수신 장치 및 그 통신 방법을 제공하는 것이다.Still another object of the embodiments of the present invention is to apply a linear phase detector for detecting a case having a rising edge of serial data and adjusting a charge pump with a pulse according to a phase difference between a clock signal and a serial data signal. And a communication method thereof.
상기와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 직렬 송수신 장치는 전송할 병렬 데이터를 입력받아 직류 평형 정보를 포함하는 송신 데이터로 인코딩함과 아울러 외부 제공 클럭을 기준으로 동작하는 내부 위상 고정 루프의 통신 클럭에 따라 인코딩된 데이터를 직렬 전송하는 직렬 전송 수단을 포함하는 송신부와; 상기 송신부로부터 인코딩된 데이터를 수신하여 내부의 전압제어 발진기 출력과 수신된 인코딩된 데이터를 이용하여 순차적으로 동기화하는 주파수 검출기 및 선형 위상 검출기를 구비한 클럭 복원부와, 상기 클럭 복원부가 출력하는 복수 스테이지의 클럭을 이용하여 상기 수신된 직렬의 데이터를 병렬 데이터로 변환하는 병렬기와, 상기 병렬기의 출력 중 일부 데이터를 로직회로를 통해 비교하여 시작 비트를 검출하는 시작비트 검출기 및 상기 병렬기의 출력을 디코딩하여 출력하는 디코더를 포함하는 수신부로 이루어진다.In order to achieve the above object, the serial transmission and reception apparatus according to an embodiment of the present invention receives the parallel data to be transmitted and encodes the transmission data including the DC balance information and the internal phase operating based on an externally provided clock A transmitter including serial transmission means for serially transmitting data encoded according to a fixed clock communication clock; A clock recovery unit having a frequency detector and a linear phase detector for receiving encoded data from the transmitter and sequentially synchronizing the internal voltage controlled oscillator output with the received encoded data; and a plurality of stages output by the clock recovery unit A parallel bit that converts the received serial data into parallel data using a clock of the first memory; and a start bit detector for detecting a start bit by comparing some data of the output of the parallel device through a logic circuit, and an output of the parallel device. The receiver comprises a decoder for decoding and outputting.
한편, 상기 송신부는 복수의 병렬 데이터 신호를 입력받아 해당 병렬 데이터 신호를 두개 이상의 단위로 분할한 후, 상기 분할 위치에 직류 평형을 위한 정보를 삽입하고, 전체 데이터의 시작과 종료 부분에 각각 시작 정보와 종료 정보를 삽입하는 인코딩 수단을 포함한다.Meanwhile, the transmitter receives a plurality of parallel data signals and divides the parallel data signals into two or more units, inserts information for DC balance at the divided positions, and starts information at the beginning and the end of the entire data, respectively. And encoding means for inserting termination information.
그리고, 상기 수신부의 클럭 복원부는 커스코드에 의해 주파수 범위가 결정되는 복수 스테이지의 전압제어 발진기와; 상기 전압제어 발진기의 출력과 수신되는 직렬 데이터를 입력으로 하여 상기 전압제어 발진기를 제어하는 커스코드를 상기 전압제어 발진기에 제공하는 내장 커스 코드(Coarse Code) 생성부와; 상기 커스 코드 생성부의 출력에 의해 결정된 주파수 범위의 전압제어 발진기 출력과 상기 수신 직렬 데이터를 입력으로 하여 주파수 동기가 이루어지도록 상기 전압제어 발진기의 인가 전압을 조절하기 위한 신호를 출력하는 주파수 검출기와; 상기 주파수 검출기에 의해 주파수 동기에 이루어진 경우 상기 전압제어 발진기 출력과 수신 직렬 데이터를 입력으로 위상 동기를 위한 상기 전압제어 발진기의 인가 전압을 조절하기 위한 신호를 출력하는 선형 위상 검출기와; 상기 주파수 검출기의 출력과 상기 선형 위상 검출기의 출력을 선택적으로 인가받아 상기 전압제어 발진기의 인가 전압을 조절하는 전하펌프를 포함하여 구성된다.The clock recovery unit of the receiver may include a voltage controlled oscillator of a plurality of stages whose frequency range is determined by a cursor code; A built-in coarse code (Coarse Code) generation unit for providing the voltage-controlled oscillator with a curse code for controlling the voltage-controlled oscillator by inputting the output of the voltage-controlled oscillator and the received serial data; A frequency detector for outputting a signal for adjusting an applied voltage of the voltage controlled oscillator so that frequency synchronization is achieved by inputting the voltage controlled oscillator output in the frequency range determined by the output of the curse code generator and the received serial data; A linear phase detector for outputting a signal for adjusting an applied voltage of the voltage controlled oscillator for phase synchronization by inputting the voltage controlled oscillator output and the received serial data when the frequency detector is synchronized with the frequency detector; And a charge pump configured to selectively receive an output of the frequency detector and an output of the linear phase detector to adjust an applied voltage of the voltage controlled oscillator.
상기 클럭 복원부는 상기 수신되는 직렬 데이터를 상기 전압제어 발진기의 출력을 이용하여 샘플링하는 샘플러와, 상기 샘플러의 출력에 따라 상기 커스 코드 생성부의 동작 여부를 결정하는 커스 인에이블 신호를 생성하여 상기 커스 코드 생성부에 제공하는 개시회로부를 더 포함할 수 있다.The clock recoverer generates a sampler for sampling the received serial data by using an output of the voltage controlled oscillator, and generates a enable signal for determining whether the curse code generator is operated according to the output of the sampler. The apparatus may further include a start circuit unit provided to the generation unit.
본 발명의 또 다른 실시예에 따른 직렬 송신 장치는 직렬 수신 장치와 연결되어 병렬 데이터를 직렬 데이터로 전송하는 직렬 송신 장치로서, 전송할 병렬 데이터를 입력받아 직류 평형 정보와 시작 및 종료 정보를 포함하는 송신 데이터로 인코딩하는 인코딩부와; 외부 제공 클럭에 따른 내부 위상 고정 루프의 출력 클럭을 통신 클럭으로 하여 동기화 신호들을 직렬 통신 방식으로 제공하는 직렬기와; 상기 통신 클럭에 따라 인코딩된 데이터를 직렬 전송하는 직렬 전송 수단을 포함하여 이루어진다.A serial transmission apparatus according to another embodiment of the present invention is a serial transmission apparatus connected to a serial reception apparatus and transmitting parallel data as serial data. The serial transmission apparatus receives a parallel data to be transmitted and includes a DC balance information and start and end information. An encoding unit for encoding data; A serial device for providing synchronization signals in a serial communication manner using an output clock of an internal phase locked loop according to an externally provided clock as a communication clock; And serial transmission means for serial transmission of data encoded according to the communication clock.
본 발명의 또 다른 실시예에 따른 직렬 수신 장치는 병렬 데이터를 인코딩하여 직렬 데이터로 전송하는 송신기와 연결되어 상기 직렬 데이터를 수신한 후 상기 직렬 데이터에 포함된 클럭을 복원하고 직렬 데이터를 병렬 데이터로 변환 및 디코딩하여 수신 클럭과 디코딩된 병렬 데이터를 출력하는 직렬 수신 장치로서, 상기 송신기로부터 직렬 데이터를 수신하여 내부의 전압제어 발진기 출력과 수신된 직렬 데이터를 이용하여 순차적으로 동기화하는 주파수 검출기 및 선형 위상 검출기를 구비한 클럭 복원부와; 상기 클럭 복원부가 출력하는 복수 스테이지의 클럭을 이용하여 상기 수신된 직렬 데이터를 병렬 데이터로 변환하는 병렬기와; 상기 병렬기의 출력 중 일부 데이터를 로직회로를 통해 비교하여 시작 비트를 검출하는 시작비트 검출기와; 상기 병렬기의 출력을 디코딩하여 출력하는 디코더를 포함하는 수신부로 이루어 진다.The serial receiver according to another embodiment of the present invention is connected to a transmitter for encoding parallel data and transmitting the serial data, and after receiving the serial data, recovers the clock included in the serial data and converts the serial data into parallel data. A serial receiver for converting and decoding to output a received clock and decoded parallel data, the serial receiver comprising: a frequency detector and a linear phase receiving serial data from the transmitter and synchronizing sequentially using an internal voltage controlled oscillator output and the received serial data A clock recovery unit having a detector; A parallel unit for converting the received serial data into parallel data using a clock of a plurality of stages output by the clock recovery unit; A start bit detector for detecting a start bit by comparing some data of the output of the parallel device through a logic circuit; And a receiver including a decoder for decoding and outputting the output of the parallelizer.
본 발명의 또 다른 실시예에 따른 직렬 수신 장치는 클럭을 복원하기 위해 주파수 검출기를 포함하는 클럭 복원부를 포함하며, 상기 주파수 검출기는 상기 복 수 스테이지의 전압제어 발진기 출력들 중 일부 신호를 상기 수신 데이터의 속도에 맞추어 분주하는 분주기와; 전압제어 발진기의 출력을 분주하는 분주기의 지연시간만큼 지연하는 상기 직렬 데이터를 지연하는 직렬데이터 지연기와; 상기 지연기의 출력과 상기 분주기의 출력 중 하나를 비교하여 동기 여부를 검출하여 그 결과를 동기 신호로 제공하는 하나 이상의 동기 검출부와; 상기 분주기의 출력 중 하나에 의한 주기적인 펄스 신호와 상기 지연기의 출력을 이용하여 주파수 차이가 발생하는 경우 주파수 하강 신호를 출력하고, 상기 동기 검출부의 동기 신호와 상기 지연기의 출력에 의해 주파수 동기화시 상기 주파수 하강 신호를 차단하는 주파수 조절부를 포함하여 이루어진다.A serial receiver according to another embodiment of the present invention includes a clock recovery unit including a frequency detector to recover a clock, wherein the frequency detector is configured to receive some signals of the voltage controlled oscillator outputs of the plurality of stages. A divider which dispenses at a speed of; A serial data delay delaying the serial data delaying the output of the voltage controlled oscillator by the delay time of the frequency divider; At least one sync detection unit comparing one of the output of the delayer and one of the outputs of the divider to detect synchronization and providing the result as a synchronization signal; When a frequency difference occurs using a periodic pulse signal by one of the outputs of the divider and the output of the delayer, a frequency drop signal is output, and a frequency is generated by the synchronization signal of the synchronization detector and the output of the delayer. It comprises a frequency control unit for blocking the frequency falling signal during synchronization.
본 발명의 또 다른 실시예에 따른 직렬 수신 장치는 클럭을 복원하기 위해 선형 위상 검출기를 포함하는 클럭 복원부를 포함하며, 상기 선형 위상 검출기는 상기 복수 스테이지의 전압제어 발진기 출력들 중 최초 스테이지 및 최종 스테이지 출력 신호와 상기 수신 데이터를 각각 지연시키는 지연부와; 상기 최초 스테이지 및 최종 스테이지 출력 신호에 따라 상기 직렬 수신 데이터를 각각 샘플링하여 직렬 데이터의 상승 모서리를 검출하는 상승 모서리 검출부와; 상기 지연부에 의해 지연된 수신 데이터와 상기 상승 모서리 검출부 출력 및 상기 지연부에 의해 지연된 상기 전압제어 발진기의 최초 스테이지 및 최종 스테이지 출력을 입력으로 하여 상기 지연된 직렬 데이터의 상승 모서리를 기준으로 상기 지연된 전압제어 발진기의 최종 스테이지 출력과 상기 최초 스테이지 출력의 상승 모서리 사이의 펄스를 각각 상기 전압제어 발진기의 전압을 조정하기 위한 신호로 출력하는 위상 검출부 를 포함하여 이루어진다. A serial receiver according to still another embodiment of the present invention includes a clock recovery unit including a linear phase detector to recover a clock, wherein the linear phase detector includes an initial stage and a final stage among the voltage controlled oscillator outputs of the multiple stages. A delay unit for delaying an output signal and the received data, respectively; A rising edge detector for sampling the serial received data according to the first stage and last stage output signals to detect rising edges of the serial data; The delayed voltage control on the basis of the rising edge of the delayed serial data by receiving the received data delayed by the delay unit and the rising edge detector output and the first stage and the final stage output of the voltage controlled oscillator delayed by the delay unit as inputs. And a phase detector for outputting a pulse between the final stage output of the oscillator and the rising edge of the initial stage output as a signal for adjusting the voltage of the voltage controlled oscillator, respectively.
본 발명의 또 다른 실시예에 따른 직렬 송수신 장치는 송신기와 수신기가 직렬 채널을 통해 연결되는 경우 상기 송신기가 실제 데이터를 균일한 복수의 크기로 구분하여 직류 평형 정보를 구분 영역마다 포함시키고, 전체 데이터에 시작 및 종료 정보를 포함시켜 잉여 정보를 가지는 실제 전송 데이터로 인코딩하여 상기 직렬 채널을 통해 직렬 전송하는 송신 단계와; 상기 수신기는 상기 직렬 채널을 통해 수신되는 실제 전송 데이터를 주파수 검출 방식을 통해 데이터 전송속도에 맞는 클럭 신호를 생성하고 선형 위상 검출 방식을 통해 동기된 클럭의 위상을 조절하여 클럭을 복원하면서 직렬 수신된 상기 실제 전송 데이터로부터 데이터를 획득하여 상기 잉여 정보를 제거한 원래의 데이터로 디코딩하여 출력하는 수신 단계를 포함한다. In the serial transmission / reception apparatus according to another embodiment of the present invention, when the transmitter and the receiver are connected through a serial channel, the transmitter divides the actual data into a plurality of uniform sizes to include DC balance information for each divided region, and the entire data. Transmitting a serial transmission over the serial channel by encoding start and end information into actual transmission data having redundant information; The receiver generates a clock signal corresponding to the data rate by using a frequency detection method on the actual transmission data received through the serial channel, and restores a clock by adjusting a phase of a synchronized clock through a linear phase detection method. And a receiving step of acquiring data from the actual transmission data, decoding and outputting the original data from which the excess information is removed.
본 발명의 실시예에 따른 직렬 송수신 장치 및 그 통신 방법은 내장 커스 코드 생성부, 주파수 검출부와 선형 위상 검출부를 포함하는 클럭 복원부를 수신기에 적용함으로써, 데이터에 클럭 정보를 인가하는 임베디드 클럭 방식을 이용하면서도 데이터가 전달되는 동안 발생하는 기준 클럭과 데이터 사이의 스큐 문제 및 복원 클럭의 지터 문제를 제거할 수 있는 뛰어난 효과가 있다.The serial transmission / reception apparatus according to an embodiment of the present invention and a communication method thereof employ an embedded clock scheme for applying clock information to data by applying a clock recovery unit including a built-in curse code generator, a frequency detector, and a linear phase detector to a receiver. It also has the added benefit of eliminating skew problems between the reference clock and data and jitter in the recovery clock that occur during data transfer.
본 발명의 실시예에 따른 직렬 송수신 장치 및 그 통신 방법은 데이터를 전송할 경우 기준 클럭을 함께 전송하지 않도록 하여 데이터와 기준 클럭 사이의 스큐문제를 근본적으로 제거함과 아울러, 전송 채널의 수를 최소화하여 하드웨어적인 비용을 줄일 수 있는 효과가 있다.The serial transmission / reception apparatus and its communication method according to an embodiment of the present invention eliminate the skew problem between the data and the reference clock by not transmitting the reference clock together when transmitting data, and also minimize the number of transmission channels. This can reduce the overall cost.
본 발명의 실시예에 따른 직렬 송수신 장치 및 그 통신 방법은 단일 채널을 이용하는 직렬 통신에서 별도의 외부 동작 없이 속도를 조절할 수 있으며, 선형 위상 검출 방식을 적용하여 복원되는 클럭 신호의 지터를 크게 감소시켜 최대 통신 속도 및 안정성을 높일 수 있는 효과가 있다.The serial transmission / reception apparatus and its communication method according to an embodiment of the present invention can adjust the speed without a separate external operation in a serial communication using a single channel, and greatly reduce jitter of a recovered clock signal by applying a linear phase detection method. There is an effect to increase the maximum communication speed and stability.
본 발명의 실시예에 따른 직렬 송수신 장치 및 그 통신 방법은 임베디드 클럭 방식을 사용하면서도 송수신기 사이의 초기 동기화 과정이 필요하지 않아 절차가 간소하고 송신기 구성이 간단하면서도 수신기의 클럭 복원 신뢰성이 높아 낮은 비용으로도 송수신기의 연결 구성을 간소화할 수 있는 효과가 있다.The serial transmission / reception apparatus and its communication method according to an embodiment of the present invention use an embedded clock method, and do not require an initial synchronization process between the transceivers, so that the procedure is simple, the transmitter configuration is simple, and the clock recovery reliability of the receiver is high and the cost is low. In addition, there is an effect that can simplify the connection configuration of the transceiver.
상기한 바와 같은 본 발명을 첨부된 도면들과 실시예들을 통해 상세히 설명하도록 한다. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features and advantages of the invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
도 1은 본 발명 일 실시예에 따른 송수신기 구조를 보인 블록도로서, 도시한 바와 같이 병렬 신호를 수신하여 직렬 신호로 송신하는 송신부(100)와 해당 직렬 신호를 수신하는 수신부(200)로 이루어진다. 도시된 실시예에서, 전송할 병렬 데이터는 24비트를 예로 들어 설명하며, 이는 액정 디스플레이 수단을 제어하기 위한 제어 신호 인터페이스에 사용되는 경우이다.FIG. 1 is a block diagram illustrating a transceiver structure according to an embodiment of the present invention, and includes a
상기 송신부(100)는 24비트의 병렬 데이터와 기준 클럭 신호를 입력받아 도 1의 인코더(Encoder)(20)를 통해 소정의 프로토콜에 따른 직렬 신호로 만들 병렬 데이터를 생성한다. 상기 예에서는 24비트 데이터를 12비트씩 구분한 후 구분 영역에 2비트의 직류 평형 신호를 삽입하고, 전체 데이터의 시작과 끝을 알리기 위한 시작 비트와 정지 비트를 각각 삽입하도록 구성된 인코더(20)를 이용한다. 혹은 필요시 특정한 패턴의 신호를 생성할 수도 있도록 한다.The
상기 인코딩된 병렬 신호는 직렬로 변환할 경우 도 2에 도시한 바와 같은 형태를 가질 수 있으며, 여기서 각각 1비트씩으로 구성되는 시작 비트와 정지 비트가 존재하며, 상기 전송할 병렬 데이터를 균일한 크기의 블록(도시된 경우에는 12비트 씩 2개 블록)으로 구분한 후 해당 구분에 한쌍의 직류 평형 신호(DCA, DCB)를 더 삽입하게 된다. 즉, 도시된 예에서, 변환된 28비트의 신호는 데이터에 주파수 정보를 인가하기 위해 삽입된 코드로서 데이터의 처음을 알리기 위해 항상 1의 값을 나타내는 시작(Start)비트와 데이터의 마지막을 알리기 위해 항상 0의 값을 나타내는 종료(Stop)비트를 가지고, 실제 데이터 24비트의 가운데에 직류평형(DC-balancing) 비트를 가진다. 시작비트와 정지 비트는 항상 1과 0의 값을 가지기 때문에, 수신단 첫 번째 비트 출력과 마지막 비트 출력이 항상 1과 0으로 출력되면 수신부(200)가 복원동작을 마친 것으로 판단하게 하는 역할을 하고, DCA와 DCB 비트는 장거리 전송에 따른 데이터의 왜곡을 최소화하기 위한 직류평형의 역할을 한다.The encoded parallel signal may have a form as shown in FIG. 2 when converted into a serial signal, in which a start bit and a stop bit each consisting of 1 bit are present, and the parallel data to be transmitted is a block having a uniform size. After dividing the data into two blocks of 12 bits each, a pair of DC balanced signals DC A and DC B is further inserted into the corresponding division. That is, in the illustrated example, the converted 28-bit signal is a code inserted to apply frequency information to the data, to indicate the beginning of the data and to indicate the end of the data and the Start bit, which always indicates a value of 1. It always has a Stop bit that represents a value of 0, and a DC-balancing bit in the middle of the actual 24 bits. Since the start bit and the stop bit always have values of 1 and 0, when the first bit output and the last bit output of the receiving end are always output as 1 and 0, the
인코더(20)에서 생성된 상기 데이터는 직렬기(60) 및 CMOS등의 논리신호를 LVDS(low voltage differential signaling: 저전압 차동 시그널링) 신호로 변환하는 변환부(70)를 통해 인코딩된 직렬 전송 데이터로서 직렬 통신 채널을 통해 전송 된다. 먼저, 송수신부(100, 200)에 전원이 인가되면 송신기(100) 내부의 위상 고정 루프(Phase Locked Loop)가 기준 클럭에 동기화될 때까지 송신기 내부의 변환부(70)가 0의 신호만 출력하도록 한다. 이때, 수신부(200)는 내부 초기화 동작을 시작하여, 수신기 전체 회로를 리셋 상태로 유지시킨다. 송신부(100) 내부의 위상 고정 루프가 외부 기준 클럭에 동기화되면, 송신부(100)는 인코딩 과정을 거쳐 데이터를 전송하기 시작하고, 수신부(200)는 전송된 데이터 속도에 맞는 클럭 신호를 생성하고 전송된 데이터가 최적의 위치에서 샘플링될 수 있도록 클럭의 위상을 조절한다.The data generated by the
상기 수신부(200)는 직렬 채널을 통해 수신한 VLDS 신호(직렬 데이터)를 다시 논리레벨 신호로 변환하는 신호 변환부(210)를 통해 변환되어 클럭 복원을 위한 클럭 복원부(230)와 데이터 리타이머(220)를 거쳐 복원된 클럭에 맞추어 구분된 데이터 블록 단위로 신호가 획득된 후 병렬기(250)를 통해 신호가 병렬화된다. 이후, 시작 비트 검출부(270)를 통해 잉여 비트들로 미세 락(fine lock)을 검출하고, 디코더(260)를 통해 실제 신호인 24비트 신호를 획득하여 출력 버퍼(280)를 통해 원래 송신된 병렬 신호형태의 데이터(OUT<0>~OUT<23>) 및 수신 클럭(Rx Clock)과 락 신호(DE)가 출력된다.The
도 3은 본 발명 일 실시예에 따른 클럭 복원부(230)의 블록도를 나타낸 것이다.3 shows a block diagram of a
신호의 속도에 반비례하는 지터의 특성을 이용하여, 예를 들어 송신기가 5~65MHz의 클럭 신호에 28비트의 데이터 정보를 인가하여 신호를 전송한다면, 수신 기는 10~130MHz의 클럭 신호마다 14비트의 데이터 정보를 추출해 내도록 설계함으로써 수신기 내부 클럭의 지터를 감소시킬 수 있다. 즉, 인코딩시 구분한 데이터 블록의 크기에 따라 데이터를 추출하도록 하는 것으로 수신기에서 지터 저감 동작이 이루어지게 된다.Using the characteristics of jitter inversely proportional to the speed of the signal, for example, if the transmitter transmits a signal by applying 28 bits of data information to a clock signal of 5 to 65 MHz, the receiver receives 14 bits per clock signal of 10 to 130 MHz. Designing to extract data information reduces jitter in the receiver's internal clock. That is, the jitter reduction operation is performed in the receiver by extracting the data according to the size of the data blocks separated during encoding.
도시된 회로의 동작은 크게 커스(Coarse) 전압 생성 동작, 위상 고정 루프 동기화 동작, 데이터 정렬 동작의 세 단계로 나누어진다. 커스 전압 생성 동작은 광대역 송수신기의 저지터 특성과 관련이 있는 동작으로서 수신기 내부의 위상 고정 루프가 넓은 주파수 범위(예를 들어 10~130MHz)를 하나의 미세 조정 전압으로 제어하는 대신에 전체 주파수 범위를 복수(예를 들어, 세 개)의 주파수 범위로 나누어, 소정 비트(범위가 3개 이하인 경우 2비트)의 커스 전압에 해당하는 주파수 대역만을 미세 조정 전압으로 제어하는 방식을 가능하게 함으로써, 전압 제어 발진기(232) 이득을 최소화하는 효과를 얻게 한다. 전압 제어 발진기(232)의 이득이 크면 작은 조정 전압 변화에도 주파수 변화가 크게 나타나기 때문에 외부 잡음에 매우 민감하게 반응하여 지터 특성을 떨어뜨린다는 단점이 있다. 이러한 이유 때문에 커스 전압에 의해 동작 주파수 대역을 선택하는 제어 방식은 기존에도 사용되기는 하였으나, 주파수 범위에 따라 그에 맞는 커스 전압을 외부에서 직접 인가해 주는 방식을 사용해 왔기 때문에 별도의 외부 제어 신호가 필수적이었다. 하지만, 본 실시예에서는 수신부(200)의 내부에서 자체적으로 동작 속도에 맞는 커스 전압을 생성하는 커스 코드 생성부(231)를 구성하는 것으로 외부 제어신호가 필요하지 않도록 개선하였다.The operation of the illustrated circuit is largely divided into three phases: a coarse voltage generation operation, a phase locked loop synchronization operation, and a data alignment operation. The curse voltage generation operation is related to the low jitter characteristics of the wideband transceiver, and the phase locked loop inside the receiver controls the entire frequency range instead of controlling a wide frequency range (e.g. 10 to 130 MHz) with a single fine adjustment voltage. Voltage control by dividing into a plurality of frequency ranges (e.g. three) and controlling only a frequency band corresponding to a curse voltage of a predetermined bit (2 bits when the range is three or less) with the fine adjustment voltage The effect of minimizing the
상기 커스 코드 생성부(231)에 따른 커스 전압 동작은 다음과 같이 이루어진다. 초기 송수신부에 처음 전원이 인가되면 가장 먼저 송신부 내부의 위상 고정 루프를 기준 클럭 신호에 동기 시키는 동작을 하게 되는데, 위상 고정 루프가 동기 될 때까지 송신부(100)의 직렬 채널 출력은 0으로 고정되도록 한다. 그에 따라, 수신부(200)는 송신부(100)가 정상 동작을 할 때까지 0의 입력을 받아들이게 된다.The curse voltage operation by the
이때, 송신부(100) 내부의 직렬기(60)는 송신부 내부의 위상 고정 루프가 진동하면서 발생시키는 클럭 신호로 직렬 데이터 신호를 샘플링하는데, 직렬 데이터 신호가 0으로 고정되어 있기 때문에, 샘플링 된 14비트의 신호도 모두 0으로 고정된다. 송신부(100) 내부의 위상 고정 루프가 동기 동작을 마치게 되면, 앞서 설명한대로 인코딩된 데이터 신호가 송신기의 출력, 즉 직렬 데이터가 되어 수신부(200)로 전송된다. 직렬 데이터가 0이 아닌 값을 가지게 되면, 상기 수신부(200)에 포함된 샘플러(Sampler)(245)는 14비트의 출력 중 적어도 하나의 출력을 1로 가지게 된다.At this time, the
도 4는 클럭 복원부(230)에 포함된 개시 회로부(241)의 구성을 보인 것으로, 노어게이트, 낸드게이트, 반전기 등의 간단한 회로(310)로 구성되어 14비트의 병렬기 출력이 모두 0일 때와 적어도 하나가 1일 때를 구분하여, 송신부(100)가 내부적인 동기 동작을 마치고 어떠한 신호를 제공하기 시작하였음을 수신부(200)가 판단할 수 있도록 하는 회로이다. 개시 회로부(241) 내부의 노어게이트, 낸드게이트, 반전기로 구성된 판별회로(310)가 병렬기의 출력이 적어도 하나의 1을 가짐을 판별해내게 되면, 판별회로(310)의 최종단에 연결된 10단의 D-플립플롭 회로(320)가 8 분주된 클럭 신호를 통해 80주기의 긴 펄스신호를 발생시킨다. 이 펄스 신호는 시작회로의 최종 출력인 커스 인에이블(Coarse Enable) 신호가 되어 전체 수신부(200)를 리셋시키고, 커스 전압 생성 동작을 시작하게 한다. 여기서, 80주기의 긴펄스를 생성하는 회로 및 방식은 수신부(200)의 초기 동기화를 위해 필요한 소정의 지연을 얻기 위한 것으로 그 구체적인 구성이나 지연 시간은 다르게 구성할 수 있다.FIG. 4 shows the configuration of the initiating
상기 커스 코드 생성 동작은 도 5의 커스 코드 생성부(231)에 의해 이루어진다. 커스 인에이블(Coarse Enable) 신호는 MOS1에 연결되어 커스 인에이블 신호가 1의 값을 갖는 동안 Vctrl이 VDD 또는 GND(도시된 경우에는 GND)에 연결되도록 하여 전압 제어 발진기(232)를 현재의 커스 코드에서 발진할 수 있는 최대의 속도로 발진하도록 설정한다. 앞서 시작회로(241)의 동작에 의해 수신부(200)의 모든 회로가 리셋 동작을 마친 상태이므로 처음 커스 코드는 00의 상태를 가지게 되고, 이때의 전압 제어 발진기(232)는 현재의 커스 코드에 따라 가장 낮은 주파수 범위 대에서 나타낼 수 있는 최고 주파수로 발진하고 있는 상태이다. 커스 코드 생성부(231)는 현재 커스 코드에서의 최대 주파수로 발진하는 전압 제어 발진기(232)의 클럭 신호와 기준 클럭 신호의 형태로 인가되고 있는 직렬 데이터 신호를 입력받아 이를 반전기로 구성된 지연단 및 D-플립플롭단(443)에 인가한다. 지연단에 연결된 D-플립플롭단은 지연된 클럭 신호의 상승 모서리에서 입력 클럭 신호를 샘플링하여 지연된 클럭 신호가 입력 클럭 신호의 하강 모서리보다 앞선 위상을 갖는 경우에는 1, 하강 모서리보다 뒤처진 위상을 갖는 경우에는 0의 값을 출력하게 함으로써 입 력 클럭 신호의 하강 모서리와 지연된 클럭의 상승 모서리가 비슷한 위상을 갖는 부분에서는 출력 값이 1에서 0으로 바뀌게 된다. 이는 클럭 신호의 하강 모서리가 몇 개의 지연셀을 거친 신호와 비슷한 위상을 갖게 되는지 찾아내는 역할을 한다. 식별기(1-0 검출기(Identifier))(444)는 도 6의 회로가 연속적으로 배열되어 있는 블록으로서 입력 신호가 1에서 0으로 바뀌는 부분에서 1의 신호를 출력하는 회로이기 때문에, 클럭 신호의 하강 모서리의 위치에 해당하는 단에서 1의 신호를 발생시킨다. 위의 동작을 통해 식별기(444)가 N번째 단에서 1의 신호를 출력하였다면 그 입력 신호의 주기는 2N과 비슷한 값을 갖는다는 것을 알 수 있기 때문에, 식별기(444)가 몇 번째 단에서 1의 값을 출력하는 가를 비교함으로써 어떤 신호가 더 빠른 신호인지를 쉽게 검출해 낼 수 있다. 만약 이러한 동작을 통해 직렬 데이터 신호가 전압 제어 발진기(232)의 클럭 신호보다 빠르다고 판단이 되면 간단한 디지털 로직으로 구성된 로직부(445, 441)를 통해 커스 코드를 하나 증가시키고, 커스 코드가 증가함에 따라 한 단계 높은 범위 대에서 발진하는 전압 제어 발진기(232)의 클럭 신호를 직렬 데이터 신호와 비교하여 커스 코드를 하나 증가시키거나, 현재의 값을 유지하게 하는 동작을 한번더 반복한다.The curse code generation operation is performed by the curse
기준 클럭 신호의 80주기에 해당하는 시간이 지난 후 커스 인에이블 신호는 0의 값으로 바뀌게 된다. 커스 인에이블 신호가 0이 되면, 앞서 커스 코드 생성 동작을 위해 Vctrl을 GND에 연결했던 MOS1이 꺼지게 되고, 생성된 커스 코드는 그대로 유지된다. 이때, 전체 클럭 복원 회로는 전압 제어 발진기(232), 주파수 검출기(233), 전하펌프(236), 루프필터(저항 및 커패시터 구성)로 구성되는 주파수 고 정 루프의 형태를 갖게 된다. 주파수 고정 루프 동기화 동작은 이 주파수 고정 루프를 통해 인가되는 직렬 데이터에 전압 제어 발진기(232)의 출력 클럭을 동기화시키는 동작이다. 도 7에 도시된 주파수 검출기(233)는 커스 코드 생성 동작에 의해 현재의 주파수 범위 대에서 최고 주파수로 발진하고 있는 전압 제어 발진기(232)의 주파수를 데이터 속도에 맞는 범위까지 떨어뜨리는 역할을 한다. 실시 예에서는 전압 제어 발진기가 데이터 속도의 두 배로 속도로 발진하고 있기 때문에, 도 7과 같이 2분주된 클럭 신호 VCO<0>/2와 2분주기의 지연시간만큼 지연된 직렬데이터 신호를 비교한다. 주파수 비교부(530)에 구성된 D플립플롭 FF1과 FF2는 각각 VCO<0>/2와 지연된 직렬데이터 신호의 상승 모서리에서 1 신호를 발생시키고 FF1은 두 플립플롭의 신호가 모두 1일 때 리셋되고, FF2는 FF2 리셋부의 동작에 의해 지연된 직렬데이터의 매 하강 모서리마다 리셋된다. VCO<0>/2의 한 주기에는 28비트의 데이터가 포함되어 있기 때문에, 지연된 직렬데이터 신호는 VCO<0>/2보다 많은 상승 모서리를 가지게 된다. 이 경우, 지연된 직렬데이터의 모든 상승 모서리에서 1을 발생시키면, 주파수를 정확하게 추출하기 어려우므로, FF1은 VDD신호를 플립플롭의 데이터로 입력받음으로써 VCO<0>/2의 모든 상승 모서리에서 1을 발생시키도록 하고, FF2는 VCO<0>/2를 플립플롭의 데이터로 입력받아 VCO<0>/2의 상승 모서리 이후(VCO<0>/2가 1인 구간)에 발생하는 지연된 직렬데이터의 상승 모서리에서만 1을 발생시키도록 함으로써 VCO<0>/2의 상승 모서리 이후 처음으로 발생하는 지연된 직렬데이터의 상승 모서리와의 위상 차이를 검출하도록 하였다. 주파수가 상이함을 나타내는 신호(Freq_diff)는 VCO<0>/2의 상승 모서리에서 1의 값을 가진 뒤, 바로 다음에 발생하는 지연된 직렬데이터의 상승 모서리에서 FF1이 리셋되면서 0의 값으로 바뀌기 때문에, VCO<0>/2와 지연된 직렬데이터 사이의 위상 차이만큼의 펄스폭을 가지게 되며 이 신호는 주파수 동기화를 나타내는 신호(PD_Enable)가 발생할 때까지 전하펌프(CP)(236)로 전달되어 주파수를 낮추는 역할을 한다. VCO<0>/2의 상승 모서리와 지연된 직렬데이터 신호의 상승 모서리의 시간지연이 연속적으로 일정 범위(동기 검출부에서 지정한 락 범위) 안에 들어오게 되면, 동기 검출부에서 락 신호(Freq_lock)를 발생시킨다. After 80 cycles of the reference clock signal, the enable signal is changed to a value of zero. When the curse enable signal becomes 0, MOS1, which previously connected Vctrl to GND for the curse code generation operation, is turned off, and the generated curse code remains. In this case, the entire clock recovery circuit has a form of a frequency fixed loop including a voltage controlled
도 8에 도시된 동기 검출부(540)는 주파수 고정 루프 동기화 동작 동안 직렬 데이터와 전압 제어 발진기(232)의 출력 클럭을 입력받아 두 신호의 위상차가 D-플립플롭 입력단의 버퍼셀의 지연시간보다 작을 때 두 신호가 동기 되었다고 판단하여 lock0 신호를 1로 출력한다. lock0신호에 연결된 카운터는 동기 검출부(540)의 오동작에 대비하여 락 신호가 8주기 이상(실시예의 경우) 1로 출력될 때에만 최종 출력(lock<n>)을 1로 출력하게 하는 역할을 한다. The
지연된 직렬데이터는 시작/정지 비트, DCA/DCB 비트를 제외하고는 임의의 신호로 구성되어 있기 때문에, VCO<0>/2의 바로 뒤에 발생하는 지연된 직렬데이터의 상승 모서리가 시작 비트의 상승 모서리가 될 때까지는 동기 검출부(540)의 락 조건을 만족할 수가 없다. 동기 검출부(540)가 락 신호가 발생시키지 않으면, 주파수 검출기(233)는 지속적으로 주파수를 하향 조정하도록 하는 신호(Freq_DN)를 발생시키게 되므로 결과적으로 최종적인 락 상태는 VCO<0>/2의 상승 모서리와 지연된 직 렬데이터 시작 비트의 상승 모서리가 락 범위 이내에 존재할 때가 된다. 동기 검출부1은 상기 설명대로 VCO<0>/2와 지연된 직렬데이터 시작 비트의 상승 모서리 간의 시간지연을 검출하는 역할을 하고, 동기 검출부2는 VCO<7>b/2와 14번째 비트인 DCA 비트의 하강 모서리 간의 시간지연을 검출하는 역할을 한다.Since the delayed serial data consists of arbitrary signals except start / stop bits and DC A / DC B bits, the rising edge of delayed serial data that occurs immediately after VCO <0> / 2 is the rising edge of the start bit. Until the edge is reached, the lock condition of the
직렬데이터의 속도와 클럭의 주파수가 동기되고, VCO<0>/2와 시작 비트의 상승 모서리 간의 위상이 동기되면, VCOb<7>/2와 DCA 비트의 하강 모서리도 실시예의 데이터 구조상 동기가 되어야 하므로, 더욱 정확한 동기 검출을 위하여 2개의 동기 검출부를 사용하였으며, 동기 검출부의 수는 설계 방식에 따라 달라질 수 있다. 여기서, 2개의 동기 검출부가 모두 락 신호를 발생시키게 되면, PD_Enable 신호가 발생하게 되고, 이때. Freq_DN을 출력으로 하는 낸드게이트의 한쪽 입력이 0이 되면서 Freq_DN 신호는 0으로 유지된다.If the speed of the serial data and the frequency of the clock are synchronized, and the phase between VCO <0> / 2 and the rising edge of the start bit is synchronized, the falling edge of VCOb <7> / 2 and the DC A bit is also synchronized in the data structure of the embodiment. Since two synchronization detectors are used for more accurate synchronization detection, the number of synchronization detectors may vary depending on the design method. Here, when both of the synchronization detectors generate the lock signal, the PD_Enable signal is generated. The Freq_DN signal is kept at 0 as one input of the NAND gate outputting Freq_DN becomes 0.
주파수 검출기(233)의 동기화 신호(PD_Enable)가 1을 출력하면 수신부(200)는 주파수 고정 루프 동기화 동작을 멈추고, 다중 위상 선택기(234)의 출력을 변경시켜 새로운 루프를 구성하게 된다. 새로운 루프는 전압 제어 발진기(232), 선형 위상 검출기(Linear PD)(239), 전하펌프(CP)(236)로 구성되고, 루프를 통해 생성된 전압 제어 발진기(232) 클럭과 정렬된 직렬 데이터 신호가 병렬기(250)에 연결된다. When the synchronization signal PD_Enable of the
새롭게 구성된 루프는 데이터 정렬 동작을 담당하는 루프로서 전압 제어 발진기(232) 클럭의 상승 모서리가 실제 데이터 신호 각 비트의 정중앙에 위치하도록 정렬하는 역할을 한다. 기존의 고속 송수신기의 경우 주로 뱅-뱅(Bang-Bang) 위상 검출기를 사용하여 클럭 복원 회로를 구성하는데, 이는 복원되는 클럭 신호가 상대적으로 큰 지터를 갖고, 이로 인해 비트 에러율(BER)이 높아질 수 있다는 단점이 있기 때문에, 본 실시예에서는 선형 위상 검출기(239)를 사용하여 상대적으로 작은 지터와 낮은 비트 에러율을 나타내도록 설계한다.The newly configured loop is a loop that is responsible for the data alignment operation so that the rising edge of the clock of the voltage controlled
상기 전압 제어 발진기(232)는 14개의 스테이지, 즉 14개의 상이한 위상을 가지는 전압 제어 발진기를 이용하며, 이를 통해 14 비트의 데이터 블록(데이터 12비트와 잉여 2비트)에 대한 발진 출력을 제공할 수 있다. 만일 입력 신호를 다른 크기의 데이터 블록으로 구분한 경우라면 상이한 스테이지가 필요하다.The voltage controlled
도 9와 도 10은 상기 선형 위상 검출기(239)의 예제 회로도와 회로의 동작 파형을 나타낸 그림이다. 상기 선형 위상 검출기(239)는 직렬데이터 상승모서리 검출부(510)를 포함하며, 이는 2개의 다중 위상 클럭 신호(VCO<13>, VCO<0>)와 직렬 데이터 신호를 입력받아 각 클럭 신호로 직렬데이터를 샘플링한 출력 신호(sam<13>, sam<0>)가 차례로 0과 1의 값을 가질 때, 다시 말해서 직렬 데이터 신호가 상승 모서리를 가질 때, 클럭 신호와 직렬데이터 신호 간의 위상 차이에 따라 그 위상 차이에 해당하는 펄스 신호를 출력하는 동작을 한다. 하지만, 직렬 데이터의 상승 모서리 존재 여부를 판별하는 직렬데이터 상승모서리 검출부(510)의 동작이 PD_DN, PD_UP 신호 발생 이전에 종료되어야 하는데, VCO<13>에 비해 한 데이터 비트만큼 뒤쳐져 발생하는 VCO<0> 신호로 직렬데이터를 샘플링한 결과인 sam<0>는 VCO<13>에 의해 PD_DN이 발생한 이후에 생성되게 된다. 이러한 문제를 해결하기 위 하여, 세 개의 입력 신호 VCO<13>, VCO<0>, 직렬데이터에 한 데이터 비트 이상의 지연을 갖는 지연셀(521)을 연결하고, PD_DN, PD_UP 신호의 검출은 이들의 지연된 신호인 CK1D, CK2D, DD 신호를 사용하도록 하였다. 예를 들어, 14개의 다중 위상 중에서 13번째, 0번째 다중 위상 클럭 신호를 사용하는 경우, 13번째 클럭 신호에 의해 샘플링된 직렬 데이터 신호와 0번째 클럭 신호에 의해 샘플링된 직렬 데이터 신호가 각각 0과 1이라면, 즉, 도 10에서와 같이 직렬 데이터 신호가 13번째 클럭과 0번째 클럭 신호의 사이에서 상승 모서리를 가지게 된다면, 상기 선형 위상 검출기(239)는 지연된 13번째 클럭 신호 CK1D의 상승 모서리와 지연된 직렬 데이터 DD의 상승 모서리의 위상차를 PD_DN 신호로, DD의 상승 모서리와 지연된 0번째 클럭 신호 CK2D의 상승 모서리의 위상차를 PD_UP 신호로 나타낸다. PD_DN과 PD_UP 신호는 다중 위상 클럭 신호와 직렬 데이터 신호의 위상차와 비례하는 펄스로 나타나게 되므로, PD_DN 신호가 PD_UP 신호 보다 넓은 펄스로 나타날 경우에는 다중 클럭 신호가 더 느려지도록 전하펌프(236)에 신호를 보내고, 반대의 경우에는 다중 클럭 신호가 더 빨라지도록 전하펌프(236)에 신호를 보낸다. PD_DN 신호와 PD_UP 신호의 너비가 같은 경우는 0번째 클럭이 직렬 데이터의 정중앙에 위치한 경우이므로 이 경우 전하펌프(236)는 출력 전류를 일정하게 유지한다.9 and 10 show an example circuit diagram of the
PD_DN 신호와 PD_UP 신호는 전하펌프의 입력이 되는 신호이므로 두 신호 사이의 위상차가 존재하면 전하펌프에 전류 오차를 발생시켜 고정 위상 오차를 발생시킬 수 있으므로, 항상 먼저 출력되는 PD_DN 신호는 지연셀 한단의 지연, 즉 다중 위상 클럭 신호 간 위상차의 절반의 위상이 지연된 상태로 출력되도록 설계하여 고 정 위상 오차를 최소화하도록 하였다.Since the PD_DN and PD_UP signals are input signals to the charge pump, if there is a phase difference between the two signals, a current error may occur in the charge pump to generate a fixed phase error. The delay, that is, the half of the phase difference between the multi-phase clock signals is designed to be output in a delayed state to minimize the fixed phase error.
선형 위상 검출기(239)에 의한 데이터 정렬을 마치면, 병렬기(250)의 첫 번째 출력과 마지막 출력은 항상 시작비트와 정지 비트를 의미하는 1과 0으로 고정된다. 간단한 로직으로 첫 번째 출력과 마지막 출력이 1과 0으로 출력됨을 검출하는 회로인 시작비트 검출부(270)는 시작비트와 정지 비트가 1과 0으로 고정됨을 확인하면 최종 락 신호인 DE 신호를 1로 고정시켜 병렬기(250)의 출력을 사용해도 좋다는 허가 신호를 제공한다. 최종적으로 수신부(200)는 병렬기(250)의 28비트 출력 신호 중 시작비트, 정지 비트, DCA, DCB를 제외한 실제 24비트의 출력과 데이터 속도에 동기된 클럭 신호를 출력한다.After finishing the data alignment by the
도 1은 기준 클럭을 사용하지 않는 고속 송수신기의 구성을 도시한 블록도.1 is a block diagram showing the configuration of a high-speed transceiver that does not use a reference clock.
도 2는 고속 송수신기의 신호 전송 형태를 나타낸 도면.2 is a diagram illustrating a signal transmission form of a high speed transceiver.
도 3은 클럭 복원 회로의 구성을 도시한 블록도.3 is a block diagram showing a configuration of a clock recovery circuit.
도 4은 개시 회로부의 구성을 도시한 블록도.4 is a block diagram showing the configuration of a start circuit portion;
도 5은 커스 전압 생성기의 구성을 도시한 블록도.5 is a block diagram showing the configuration of a curse voltage generator.
도 6는 커스 전압 생성기에 포함된 1-0 검출기의 구성을 도시한 블록도.6 is a block diagram showing the configuration of a 1-0 detector included in a curse voltage generator.
도 7은 주파수 검출기 회로의 구성을 도시한 블록도.7 is a block diagram showing the configuration of a frequency detector circuit.
도 8은 주파수 검출기 회로에 적용된 동기 검출부의 구성을 도시한 블록도.8 is a block diagram showing a configuration of a synchronization detector applied to a frequency detector circuit.
도 9는 선형 위상 검출기 회로의 구성을 도시한 블록도.9 is a block diagram showing the configuration of a linear phase detector circuit.
도 10은 선형 위상 검출기에 의해서 위상 차이가 검출되는 경우를 도시한 도면.10 is a diagram illustrating a case where a phase difference is detected by a linear phase detector.
** 도면의 주요 부분에 대한 부호의 설명 **** Description of symbols for the main parts of the drawing **
10: 입력 버퍼 20: 인코더10: input buffer 20: encoder
60: 직렬기 70: 변환부60: serializer 70: converter
100: 송신부 200: 수신부100: transmitter 200: receiver
210: 신호 변환부 220: 데이터 리타이머210: signal converter 220: data retimer
230: 클럭 복원부 250: 병렬기230: clock recovery unit 250: parallel
260: 디코더 270: 시작비트 검출부260: decoder 270: start bit detection unit
280: 출력 버퍼280: output buffer
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080065711A KR100975083B1 (en) | 2008-07-07 | 2008-07-07 | Serial transmitter and communication method used by the serial transceiver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080065711A KR100975083B1 (en) | 2008-07-07 | 2008-07-07 | Serial transmitter and communication method used by the serial transceiver |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100005613A KR20100005613A (en) | 2010-01-15 |
KR100975083B1 true KR100975083B1 (en) | 2010-08-11 |
Family
ID=41814970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080065711A KR100975083B1 (en) | 2008-07-07 | 2008-07-07 | Serial transmitter and communication method used by the serial transceiver |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100975083B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9898997B2 (en) | 2014-01-27 | 2018-02-20 | Samsung Electronics Co., Ltd. | Display driving circuit |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102329928B1 (en) * | 2014-12-30 | 2021-11-23 | 엘지디스플레이 주식회사 | Low voltage differential signaling system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100913400B1 (en) | 2007-07-24 | 2009-08-21 | 고려대학교 산학협력단 | Serial transmitter and receiver, and communication method thereof |
-
2008
- 2008-07-07 KR KR1020080065711A patent/KR100975083B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100913400B1 (en) | 2007-07-24 | 2009-08-21 | 고려대학교 산학협력단 | Serial transmitter and receiver, and communication method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9898997B2 (en) | 2014-01-27 | 2018-02-20 | Samsung Electronics Co., Ltd. | Display driving circuit |
Also Published As
Publication number | Publication date |
---|---|
KR20100005613A (en) | 2010-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5314595B2 (en) | Serial transmission / reception device and communication method thereof | |
US10355852B2 (en) | Lock detector for phase lock loop | |
US8483345B2 (en) | Circuit and method for receiving serial data and serial data transmission system and method using the same | |
KR100834393B1 (en) | Clock Data Recovery Device | |
US8634503B2 (en) | Fast lock clock-data recovery for phase steps | |
US7801203B2 (en) | Clock and data recovery circuits | |
US7170964B2 (en) | Transition insensitive timing recovery method and apparatus | |
US8433000B2 (en) | Method and circuit for receiving data | |
US8811557B2 (en) | Frequency acquisition utilizing a training pattern with fixed edge density | |
US9455725B2 (en) | Phase detector and associated phase detecting method | |
JP2014222872A (en) | System and method for tracking received data signal with clock data recovery circuit | |
US20070081619A1 (en) | Clock generator and clock recovery circuit utilizing the same | |
US7346139B2 (en) | Circuit and method for generating a local clock signal | |
US7826581B1 (en) | Linearized digital phase-locked loop method for maintaining end of packet time linearity | |
KR100975083B1 (en) | Serial transmitter and communication method used by the serial transceiver | |
US7057418B1 (en) | High speed linear half-rate phase detector | |
KR101470599B1 (en) | Apparatus of receiving data transmitted by using recovered clock | |
EP1336270B1 (en) | An arrangement for capturing data | |
JP2014225874A (en) | System and method for obtaining reception data signal with clock data recovery circuit | |
US7023944B2 (en) | Method and circuit for glitch-free changing of clocks having different phases | |
KR101985082B1 (en) | All digital clock data recovery appratus without phase locked loop circuits | |
TWI469522B (en) | Signal circuit | |
JP2015100017A (en) | Phase comparison circuit and clock data recovery circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130621 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20140630 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20160419 Year of fee payment: 6 |
|
R401 | Registration of restoration | ||
LAPS | Lapse due to unpaid annual fee |