KR102079729B1 - Apparatus for detecting communication error and communication system having the same - Google Patents

Apparatus for detecting communication error and communication system having the same Download PDF

Info

Publication number
KR102079729B1
KR102079729B1 KR1020130082005A KR20130082005A KR102079729B1 KR 102079729 B1 KR102079729 B1 KR 102079729B1 KR 1020130082005 A KR1020130082005 A KR 1020130082005A KR 20130082005 A KR20130082005 A KR 20130082005A KR 102079729 B1 KR102079729 B1 KR 102079729B1
Authority
KR
South Korea
Prior art keywords
signal
pattern data
data
clock signal
pattern
Prior art date
Application number
KR1020130082005A
Other languages
Korean (ko)
Other versions
KR20150007691A (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 KR1020130082005A priority Critical patent/KR102079729B1/en
Publication of KR20150007691A publication Critical patent/KR20150007691A/en
Application granted granted Critical
Publication of KR102079729B1 publication Critical patent/KR102079729B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/203Details of error rate determination, e.g. BER, FER or WER
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/206Arrangements for detecting or preventing errors in the information received using signal quality detector for modulated signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 수신기에 내장될 뿐만 아니라 안정적인 동작을 수행하는 통신 에러 검출 장치 및 이를 구비하는 통신 시스템을 제공하기 위한 것이다. 본 발명은, 송신기로부터 송신되는 특정한 패턴 데이터가 포함된 송신 신호를 수신하여 처리하는 수신기에 구비되며, 제어 클럭 신호를 출력하는 제어 논리부; 상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및 상기 패턴 데이터와 상기 기준 데이터가 입력되며, 초기에 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에, 상기 송신 신호의 에러를 검출하는 에러 검출부를 구비하는 통신 에러 검출 장치를 제공한다.The present invention is to provide a communication error detection device and a communication system having the same that is built in the receiver as well as performing a stable operation. The present invention includes a control logic unit provided in a receiver for receiving and processing a transmission signal including specific pattern data transmitted from a transmitter, and outputting a control clock signal; A reference data generator which receives the control clock signal and outputs reference data; And inputting the pattern data and the reference data, and initially performing an initial data setting operation for matching the sequence of the pattern data with the sequence of the reference data, and then detecting an error of the transmission signal. A communication error detection device having an error detection unit is provided.

Description

통신 에러 검출 장치 및 이를 구비하는 통신 시스템{Apparatus for detecting communication error and communication system having the same}Apparatus for detecting communication error and communication system having the same}

본 발명은 송신기로부터 송신되어 수신기에 수신되는 데이터의 에러를 검출하는 통신 에러 검출 장치 및 이를 구비하는 통신 시스템에 관한 것이다.The present invention relates to a communication error detecting apparatus for detecting an error of data transmitted from a transmitter and received at a receiver, and a communication system having the same.

장치와 장치 사이에는 다양한 종류의 전기 신호가 전송된다. 여기서, 전기 신호를 전송하는 장치는 송신기에 해당하고, 신호를 수신하는 장치는 수신기에 해당한다. 신호를 송신하고 수신하는 장치들은 집적회로 칩들, 전자기기들, 이동통신단말기들, 인터페이스들 등으로 구성될 수 있다. 이와 같이, 송신기에서 전기 신호를 송신하면 수신기는 이를 수신하여 신호 처리를 수행한 다음, 디스플레이 장치나 스피커를 통해서 신호를 출력하여 사용자에게 알려준다. Various types of electrical signals are transmitted between the device and the device. Here, the apparatus for transmitting the electrical signal corresponds to the transmitter, and the apparatus for receiving the signal corresponds to the receiver. Devices for transmitting and receiving signals may be comprised of integrated circuit chips, electronic devices, mobile communication terminals, interfaces, and the like. As such, when the transmitter transmits an electrical signal, the receiver receives the signal and performs signal processing, and then outputs the signal through a display device or a speaker to inform the user.

송신기에서 송신되는 신호가 그대로 수신기에 수신되는 것이 이상적이다. 하지만, 실제로는 송신 신호가 송신되는 과정에서 외부 환경이나, 전송 수단에 의해 송신 신호에는 노이즈(noise)가 포함될 수 있다. 이러한 노이즈는 일반적으로는 수신기의 노이즈 제거 회로에 의해 제거된다. 노이즈를 제거하기 위해서는 송신 신호에 노이즈가 포함되어 있는지 확인하는 노이즈 검출 장치가 요구된다. 노이즈 검출 장치는 대부분 송신기와 수신기와는 별도로 구비된다. 뿐만 아니라, 노이즈 검출 장치가 수신기에 내장되는 경우에 송신기와 수신기에서 사용되는 클럭 신호의 주파수가 매우 높아서 회로의 설계가 어렵고, 회로 동작의 안정성도 떨어진다. Ideally, the signal sent from the transmitter is received by the receiver as it is. In reality, however, the transmission signal may include noise in the external environment or by the transmission means in the process of transmitting the transmission signal. This noise is generally removed by the noise cancellation circuit of the receiver. In order to remove the noise, a noise detection device for checking whether the transmission signal contains noise is required. Most noise detection devices are provided separately from the transmitter and the receiver. In addition, when the noise detection device is embedded in the receiver, the frequency of the clock signal used in the transmitter and the receiver is very high, making it difficult to design the circuit and reducing the stability of the circuit operation.

본 발명은 수신기에 내장될 뿐만 아니라 안정적인 동작을 수행하는 통신 에러 검출 장치 및 이를 구비하는 통신 시스템을 제공하기 위한 것이다. The present invention is to provide a communication error detection device and a communication system having the same that is built in the receiver as well as performing a stable operation.

상기 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 통신 에러 검출 장치는,Communication error detection apparatus according to an embodiment of the present invention to solve the above problems,

송신기로부터 특정한 패턴 데이터가 포함된 송신 신호를 수신하여 처리하는 수신기에 구비되는 통신 에러 검출 장치에 있어서, 제어 클럭 신호를 출력하는 제어 논리부; 상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및 상기 패턴 데이터와 상기 기준 데이터가 입력되며, 초기에 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에, 상기 송신 신호의 에러를 검출하는 에러 검출부를 구비한다.A communication error detection apparatus provided in a receiver for receiving and processing a transmission signal including specific pattern data from a transmitter, the apparatus comprising: a control logic unit configured to output a control clock signal; A reference data generator which receives the control clock signal and outputs reference data; And inputting the pattern data and the reference data, and initially performing an initial data setting operation for matching the sequence of the pattern data with the sequence of the reference data, and then detecting an error of the transmission signal. An error detection unit is provided.

상기 과제를 해결하기 위하여 본 발명의 다른 실시예에 따른 통신 에러 검출 장치는,Communication error detection apparatus according to another embodiment of the present invention to solve the above problems,

송신기로부터 특정한 패턴 데이터가 포함된 송신 신호를 수신하여 처리하는 수신기에 구비되는 통신 에러 검출 장치에 있어서, 상기 패턴 데이터를 입력하고, 상기 패턴 데이터를 복수개로 분리하는 패턴 데이터 분리부; 각각, 상기 복수개의 패턴 데이터 중 하나가 입력되고, 상기 입력되는 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및 상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부를 구비한다.A communication error detection apparatus provided in a receiver for receiving and processing a transmission signal including specific pattern data from a transmitter, the apparatus comprising: a pattern data separation unit for inputting the pattern data and separating the pattern data into a plurality; A plurality of seed aligners, each of which receives one of the plurality of pattern data and detects an error of the input pattern data; And an output unit which combines the error signals output from the plurality of seed aligners and outputs the transmission error signal of the transmission signal.

상기 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 통신 시스템은,In order to solve the above problems, a communication system according to an embodiment of the present invention,

특정한 패턴 데이터를 생성하여 출력하는 패턴 발생부와, 상기 패턴 데이터를 포함하는 송신 신호를 송신하는 송신부를 포함하는 송신기; 및 상기 송신 신호를 수신하는 수신기;를 구비하고, 상기 수신기는 통신 에러 검출 장치를 포함하며, 상기 통신 에러 검출 장치는, 제어 클럭 신호를 출력하는 제어 논리부; 상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및 상기 패턴 데이터와 상기 기준 데이터가 입력되며, 초기에 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에, 상기 송신 신호의 에러를 검출하는 에러 검출부를 갖는다.A transmitter including a pattern generator for generating and outputting specific pattern data and a transmitter for transmitting a transmission signal including the pattern data; And a receiver for receiving the transmission signal, wherein the receiver comprises a communication error detection device, wherein the communication error detection device comprises: a control logic unit configured to output a control clock signal; A reference data generator which receives the control clock signal and outputs reference data; And an error detection unit configured to detect an error of the transmission signal after first performing an initial data setting operation for inputting the pattern data and the reference data and matching the sequence of the pattern data with the sequence of the reference data. Have

상기 과제를 해결하기 위하여 본 발명의 다른 실시예에 따른 통신 시스템은,In order to solve the above problems, a communication system according to another embodiment of the present invention,

복수개의 서브 패턴 데이터를 생성하고, 상기 복수개의 서브 패턴 데이터를 하나로 결합한 패턴 데이터를 출력하는 패턴 발생부와, 상기 패턴 발생부에서 출력되는 패턴 데이터를 포함하는 송신 신호를 송신하는 송신부를 포함하는 송신기; 및 상기 송신 신호를 수신하는 수신기;를 구비하며, 상기 수신기는 통신 에러 검출 장치를 포함하며, 상기 통신 에러 검출 장치는, 상기 패턴 데이터가 입력되고, 상기 패턴 데이터를 상기 복수개의 서브 패턴 데이터로 분리하는 패턴 데이터 분리부; 각각, 상기 복수개의 서브 패턴 데이터 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및 상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부를 갖는다.A transmitter including a pattern generator for generating a plurality of sub-pattern data and outputting pattern data combining the plurality of sub-pattern data into one, and a transmitter for transmitting a transmission signal including the pattern data output from the pattern generator ; And a receiver for receiving the transmission signal, wherein the receiver comprises a communication error detection device, wherein the communication error detection device receives the pattern data and separates the pattern data into the plurality of sub pattern data. A pattern data separator; A plurality of seed aligners, each of which receives one of the plurality of subpattern data and detects an error of the input subpattern data; And an output unit for combining the error signals output from the plurality of seed aligners and outputting the transmission error signal of the transmission signal.

상술한 바와 같이 본 발명에 따르면, 통신 시스템의 수신기에 통신 에러 검출 장치를 구비한다. 따라서, 송신기로부터 송신되는 송신 신호의 비트 에러율을 용이하게 측정할 수가 있다. As described above, according to the present invention, a communication error detection device is provided in a receiver of a communication system. Therefore, the bit error rate of the transmission signal transmitted from the transmitter can be easily measured.

또한, 본 발명에 따른 통신 에러 검출 장치는 패턴 데이터를 복수개의 패턴 데이터로 분리하여 처리함으로써, 통신 에러 검출 장치의 데이터 처리 속도가 2배로 낮아져서, 송신 신호의 에러 비트를 안정적으로 검출할 수가 있다. In addition, the communication error detection apparatus according to the present invention separates and processes the pattern data into a plurality of pattern data, thereby lowering the data processing speed of the communication error detection apparatus by twice, and stably detecting the error bits of the transmission signal.

도 1은 본 발명의 제1 실시예에 따른 통신 시스템의 블록도이다.
도 2는 도 1에 도시된 통신 에러 검출 장치의 블록도이다.
도 3은 도 2에 도시된 제어 논리부의 블록도이다.
도 4는 도 2에 도시된 에러 검출부의 블록도이다.
도 5는 도 2에 도시된 통신 에러 검출 장치의 신호들의 타이밍도이다.
도 6은 본 발명의 제2 실시예에 따른 통신 시스템의 블록도이다.
도 7은 도 6에 도시된 패턴 발생부의 제1 실시예에 따른 블록도이다.
도 8은 도 7에 도시된 패턴 발생부의 신호들의 타이밍도이다.
도 9는 도 6에 도시된 통신 에러 검출 장치의 제1 실시예에 따른 블록도이다.
도 10A 및 도 10B는 도 9에 도시된 통신 에러 검출 장치의 신호들의 타이밍도이다.
도 11은 도 6에 도시된 패턴 발생부의 제2 실시예에 따른 블록도이다.
도 12는 도 11에 도시된 패턴 발생부의 신호들의 타이밍도이다.
도 13은 도 6에 도시된 통신 에러 검출 장치의 제2 실시예에 따른 블록도이다.
도 14A 및 도 14B는 도 13에 도시된 신호들의 타이밍도이다.
1 is a block diagram of a communication system according to a first embodiment of the present invention.
2 is a block diagram of the communication error detection apparatus shown in FIG. 1.
FIG. 3 is a block diagram of the control logic unit shown in FIG. 2.
4 is a block diagram of an error detector illustrated in FIG. 2.
FIG. 5 is a timing diagram of signals of the communication error detection apparatus shown in FIG. 2.
6 is a block diagram of a communication system according to a second embodiment of the present invention.
FIG. 7 is a block diagram illustrating a first embodiment of the pattern generator illustrated in FIG. 6.
FIG. 8 is a timing diagram of signals of the pattern generator illustrated in FIG. 7.
9 is a block diagram according to a first embodiment of the communication error detection apparatus shown in FIG. 6.
10A and 10B are timing diagrams of signals of the communication error detection apparatus shown in FIG.
FIG. 11 is a block diagram illustrating a second embodiment of the pattern generator illustrated in FIG. 6.
FIG. 12 is a timing diagram of signals of the pattern generator illustrated in FIG. 11.
13 is a block diagram according to a second embodiment of the communication error detection apparatus shown in FIG. 6.
14A and 14B are timing diagrams of the signals shown in FIG.

이하, 첨부한 도면들을 참고하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예에 대하여 상세히 설명하기로 한다. 각 도면에 제시된 참조부호들 중 동일한 참조부호는 동일한 부재를 나타낸다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. The same reference numerals among the reference numerals shown in each drawing represent the same members.

도 1은 본 발명의 제1 실시예에 따른 통신 시스템(101)의 블록도이다. 도 1을 참조하면 통신 시스템(101)은 송신기(110)와 수신기(120)를 구비한다.1 is a block diagram of a communication system 101 according to a first embodiment of the present invention. Referring to FIG. 1, the communication system 101 includes a transmitter 110 and a receiver 120.

송신기(110)는 패턴 발생부(111)와 송신부(113)를 구비한다. 패턴 발생부(111)는 특정한 패턴을 갖는 패턴 데이터(TDT)를 생성한다. 예컨대, 패턴 발생부(111)는 선형 피드백 시프트 레지스터(Linear Feedback Shift Register)를 구비하여 패턴 데이터(TDT)를 생성한다. 송신부(113)는 패턴 데이터(TDT)를 포함하는 송신 신호(TX)를 송신하기에 적합한 상태, 예컨대 변조(modulation)하여 수신기(120)로 송신한다. The transmitter 110 includes a pattern generator 111 and a transmitter 113. The pattern generator 111 generates pattern data TDT having a specific pattern. For example, the pattern generator 111 includes a linear feedback shift register to generate the pattern data TDT. The transmitter 113 transmits to the receiver 120 a state suitable for transmitting the transmission signal TX including the pattern data TDT, for example, modulates the transmission signal TX.

수신기(120)는 수신부(121)와 통신 에러 검출 장치(123) 및 카운터(125)를 구비한다. 수신부(121)는 송신기(110)로부터 송신되는 신호(RX)를 수신하고, 상기 수신된 신호(RX)를 수신기(120) 내부에서 처리하기에 적합한 상태, 예컨대 복조(demodulation)한다. 이 때, 수신부(121)는 수신 신호(RX)에 포함된 패턴 데이터(TDTR)를 추출하여 통신 에러 검출 장치(123)로 전달한다. 통신 에러 검출 장치(123)는 패턴 데이터(TDTR)가 입력되고, 패턴 데이터(TDTR)가 송신 과정에서 에러가 발생하였는지 여부를 검출한다. 통신 에러 검출 장치(123)는 송신기(110)에 구비되는 패턴 발생부(111)와 동일한 장치, 예컨대 선형 피드백 시프트 레지스터를 구비한다. 즉, 패턴 발생부(111)에서 발생되는 패턴 데이터(TDT)와 통신 에러 검출 장치(123)에서 생성되는 기준 데이터가 동일하게 구성된다. 이와 같이, 패턴 발생부(111)에서 출력하는 패턴 데이터(TDT)와 통신 에러 검출 장치(123)에서 출력되는 기준 데이터를 비교함으로써, 수신된 신호(RX)에 에러가 발생하였는지 여부를 정확하게 검출할 수가 있다. 카운터(125)는 통신 에러 검출 장치(123)에서 출력되는 에러 신호(ER)를 받아서 카운트하여 수신 신호(RX)의 비트 에러율을 측정한다.The receiver 120 includes a receiver 121, a communication error detection device 123, and a counter 125. The receiver 121 receives a signal RX transmitted from the transmitter 110 and demodulates a state suitable for processing the received signal RX in the receiver 120. At this time, the receiver 121 extracts the pattern data TDTR included in the received signal RX and transfers the pattern data TDTR to the communication error detection apparatus 123. The communication error detection device 123 receives the pattern data TDTR, and detects whether an error has occurred in the transmission process of the pattern data TDTR. The communication error detection device 123 includes the same device as the pattern generator 111 included in the transmitter 110, for example, a linear feedback shift register. That is, the pattern data TDT generated by the pattern generator 111 and the reference data generated by the communication error detection device 123 are configured in the same manner. As such, by comparing the pattern data TDT output from the pattern generator 111 with the reference data output from the communication error detection apparatus 123, it is possible to accurately detect whether an error has occurred in the received signal RX. There is a number. The counter 125 receives and counts an error signal ER output from the communication error detection device 123 and measures the bit error rate of the received signal RX.

상술한 바와 같이, 수신기(120)에 통신 에러 검출 장치(123)를 구비함으로써, 송신기(110)로부터 송신되어 수신기(120)에 수신된 신호(RX)의 비트 에러율을 용이하게 측정할 수가 있다. 즉, 지금까지는 외부 장치를 이용하여 수신 신호(RX)의 비트 에러율을 측정하다 보니 어려움이 많이 있지만, 본 발명은 통신 에러 검출 장치(123)를 수신기(120)의 내부에 구비함으로써 이러한 어려움을 해결할 수가 있다. As described above, by providing the communication error detection device 123 in the receiver 120, the bit error rate of the signal RX transmitted from the transmitter 110 and received by the receiver 120 can be easily measured. That is, until now, it is difficult to measure the bit error rate of the received signal RX by using an external device, but the present invention solves this difficulty by providing the communication error detection device 123 inside the receiver 120. There is a number.

도 2는 도 1에 도시된 통신 에러 검출 장치(123)의 블록도이다. 도 2를 참조하면, 통신 에러 검출 장치(123)는 제어 논리부(210), 기준 데이터 발생부(220), 및 에러 검출부(230)를 구비한다. 2 is a block diagram of the communication error detection apparatus 123 shown in FIG. Referring to FIG. 2, the communication error detecting apparatus 123 includes a control logic unit 210, a reference data generator 220, and an error detector 230.

제어 논리부(210)는 외부 신호(RST, DCLK, FLG)의 제어를 받아서 제어 클럭 신호(CLKO)를 출력한다. 즉, 제어 논리부(210)는 외부에서 제공하는 리셋(reset) 신호(RST)와 외부 클럭 신호(DCLK) 및 에러 검출부(230)에서 출력되는 플래그(flag) 신호(FLG)가 입력되고, 제어 클럭 신호(CLKO)를 출력한다. 제어 논리부(210)는 리셋 신호(RST)가 활성화되면, 소정 주기 동안 외부 클럭 신호(DCLK)에 동기되어 제어 클럭 신호(CLKO)를 출력한다. 초기에 플래그 신호(FLG)는 비활성화 상태로 유지된다. 따라서, 초기에 제어 논리부(210)는 플래그 신호(FLG)의 영향을 받지 않는다. 제어 논리부(210)는 상기 소정 주기 이후에는 제어 클럭 신호(CLKO)를 출력하지 않고 있다가, 플래그 신호(FLG)가 활성화되면 제어 클럭 신호(CLKO)를 다시 출력한다. 제어 논리부(210)에 대해서는 도 3을 통하여 상세히 설명하기로 한다. The control logic unit 210 outputs the control clock signal CLKO under the control of the external signals RST, DCLK, and FLG. That is, the control logic unit 210 receives an externally provided reset signal RST, an external clock signal DCLK, and a flag signal FLG output from the error detector 230. Output the clock signal CLKO. When the reset signal RST is activated, the control logic unit 210 outputs the control clock signal CLKO in synchronization with the external clock signal DCLK for a predetermined period. Initially, the flag signal FLG remains in an inactive state. Thus, initially, the control logic 210 is not affected by the flag signal FLG. The control logic unit 210 does not output the control clock signal CLKO after the predetermined period. When the flag signal FLG is activated, the control logic unit 210 outputs the control clock signal CLKO again. The control logic unit 210 will be described in detail with reference to FIG. 3.

기준 데이터 발생부(220)는 리셋 신호(RST)와 제어 클럭 신호(CLKO)가 입력되고, 기준 데이터(RDT)를 출력한다. 기준 데이터 발생부(220)는 리셋 신호(RST)가 활성화되면 리셋되며, 이 상태에서 제어 클럭 신호(CLKO)에 응답하여 기준 데이터(RDT)를 생성하여 출력한다. 기준 데이터 발생부(220)는 선형 피드백 시프트 레지스터(Linear Feedback Shift Register)를 구비할 수 있다. 따라서, 선형 피드백 시프트 레지스터는 제어 클럭 신호(CLKO)를 시프팅(shifting)시켜서 기준 데이터(RDT)를 출력한다. 기준 데이터 발생부(220)는 송신기(110)에 구비되는 패턴 발생부(111)와 동일하게 구성되는 것이 바람직하다. 따라서, 기준 데이터 발생부(220)는 패턴 발생부(111)와 동일한 기준 데이터(RDT)를 생성한다. The reference data generator 220 receives the reset signal RST and the control clock signal CLKO, and outputs the reference data RDT. The reference data generator 220 is reset when the reset signal RST is activated. In this state, the reference data generator 220 generates and outputs reference data RDT in response to the control clock signal CLKO. The reference data generator 220 may include a linear feedback shift register. Accordingly, the linear feedback shift register shifts the control clock signal CLKO to output the reference data RDT. The reference data generator 220 may be configured in the same manner as the pattern generator 111 provided in the transmitter 110. Therefore, the reference data generator 220 generates the same reference data RDT as the pattern generator 111.

에러 검출부(230)는 패턴 데이터(TDTR), 리셋 신호(RST), 외부 클럭 신호(DCLK), 기준 데이터(RDT), 제어 클럭 신호(CLKO)가 입력되고, 플래그 신호(FLG) 및 에러 신호(ER)를 출력한다. 에러 검출부(230)는 리셋 신호(RST)가 활성화되면 리셋되며, 이 상태에서 외부 클럭 신호(DCLK)와 제어 클럭 신호(CLKO)에 동기되어 패턴 데이터(TDTR)와 기준 데이터(RDT)를 비교하여 수신된 신호(RX)의 에러를 검출한다. 수신된 신호(RX)에서 에러가 검출되면 에러 신호(ER)가 특정 시간 동안 활성화되어 수신된 신호(RX)의 에러가 발생하였음을 외부에 알려준다. 플래그 신호(FLG)는 초기에 통신 에러 검출 장치(123)가 초기 데이터 설정 동작을 수행하는 동안 비활성화 상태로 유지되고, 상기 초기 데이터 설정 동작이 종료되면 활성화된다.The error detector 230 receives the pattern data TDTR, the reset signal RST, the external clock signal DCLK, the reference data RDT, and the control clock signal CLKO, and the flag signal FLG and the error signal ( ER). The error detector 230 is reset when the reset signal RST is activated. In this state, the error detector 230 compares the pattern data TDTR and the reference data RDT in synchronization with the external clock signal DCLK and the control clock signal CLKO. An error of the received signal RX is detected. When an error is detected in the received signal RX, the error signal ER is activated for a specific time to inform the outside that an error of the received signal RX has occurred. The flag signal FLG is initially maintained in an inactive state while the communication error detecting apparatus 123 performs the initial data setting operation, and is activated when the initial data setting operation is terminated.

에러 검출부(230)는 수신된 신호(RX)의 에러를 검출하기 전 초기에, 즉, 수신기(120)가 동작을 시작하는 초기에 패턴 데이터(TDTR)의 시퀀스(sequence)와 기준 데이터 발생부(220)에서 출력되는 기준 데이터(RDT)의 시퀀스를 비교하여 일치시키는 초기 데이터 설정 동작을 수행한다. 상기 초기 데이터 설정 동작에서 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스가 일치하면, 에러 검출부(230)는 플래그 신호(FLG)를 활성화시킨다. 상기 초기 데이터 설정 동작 동안에 플래그 신호(FLG)는 비활성화 상태로 유지된다. The error detector 230 may include a sequence of the pattern data TDTR and a reference data generator at an initial stage before detecting an error of the received signal RX, that is, at an initial stage when the receiver 120 starts to operate. An initial data setting operation for comparing and matching sequences of the reference data RDT output from 220 is performed. In the initial data setting operation, if the sequence of the pattern data TDTR and the sequence of the reference data RDT match, the error detector 230 activates the flag signal FLG. The flag signal FLG remains in an inactive state during the initial data setting operation.

이와 같이, 통신 에러 검출 장치(123)는 초기에 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스를 비교하여 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에 수신된 신호(RX)의 에러를 검출한다. 따라서, 동작이 간단하여 통신 에러 검출 장치(123)의 크기가 감소된다. As such, the communication error detecting apparatus 123 initially performs an initial data setting operation that compares and matches the sequence of the pattern data TDTR and the sequence of the reference data RDT, and then receives the received signal RX. Detect an error. Therefore, the operation is simple and the size of the communication error detection device 123 is reduced.

도 3은 도 2에 도시된 제어 논리부(210)의 블록도이다. 도 3을 참조하면, 제어 논리부(210)는 카운터(counter)(211), 래치(latch)(212), 오아 게이트(OR gate) (213), 앤드 게이트(AND gate) (214)를 구비한다. 3 is a block diagram of the control logic unit 210 shown in FIG. 2. Referring to FIG. 3, the control logic unit 210 includes a counter 211, a latch 212, an OR gate 213, and an AND gate 214. do.

카운터(211)는 리셋 신호(RST)와 외부 클럭 신호(DCLK)가 입력되고, 카운터 인에이블 신호(CT_EN)를 출력한다. 카운터(211)는 리셋 신호(RST)가 인가되면, 외부 클럭 신호(DCLK)의 소정 주기(도 5의 m) 동안 카운터 인에이블 신호(CT-EN)를 활성화하여, 예컨대 논리 하이 상태로써 출력한다. The counter 211 receives a reset signal RST and an external clock signal DCLK, and outputs a counter enable signal CT_EN. When the reset signal RST is applied, the counter 211 activates the counter enable signal CT-EN for a predetermined period (m in FIG. 5) of the external clock signal DCLK and outputs the logic enable state, for example, in a logic high state. .

래치(212)는 플래그 신호(FLG)가 입력되고, 비교 결과 신호(COML)를 출력한다. 즉, 래치(212)는 플래그 신호(FLG)에 응답하여 비교 결과 신호(COML)를 출력한다. 래치(212)는 지연 플립플롭(flipflop)으로 구성될 수 있다. The latch 212 receives a flag signal FLG and outputs a comparison result signal COML. That is, the latch 212 outputs the comparison result signal COML in response to the flag signal FLG. The latch 212 may be configured as a delay flip-flop.

오아 게이트(213)는 카운터 인에이블 신호(CT-EN)와 비교 결과 신호(COML)가 입력되고, 클럭 인에이블 신호(CLK_EN)를 출력한다. 즉, 오아 게이트(213)는 카운터 인에이블 신호(CT_EN)와 비교 결과 신호(COML) 중 어느 하나가 논리 하이일 때 클럭 인에이블 신호(CLK_EN)를 논리 하이로써 출력한다. The OR gate 213 receives a counter enable signal CT-EN and a comparison result signal COML, and outputs a clock enable signal CLK_EN. That is, the OR gate 213 outputs the clock enable signal CLK_EN as logic high when any one of the counter enable signal CT_EN and the comparison result signal COML is logic high.

앤드 게이트(214)는 클럭 인에이블 신호(CLK_EN)와 외부 클럭 신호(DCLK)가 입력되고, 제어 클럭 신호(CLKO)를 출력한다. 즉, 앤드 게이트(214)는 클럭 인에이블 신호(CLK_EN)와 외부 클럭 신호(DCLK) 중 어느 하나라도 논리 로우(logic low)이면 제어 클럭 신호(CLKO)를 논리 로우로써 출력한다.The AND gate 214 receives a clock enable signal CLK_EN and an external clock signal DCLK, and outputs a control clock signal CLKO. That is, the AND gate 214 outputs the control clock signal CLKO as a logic low when any one of the clock enable signal CLK_EN and the external clock signal DCLK is logic low.

제어 논리부(123A)의 전체적인 동작은 다음과 같다.The overall operation of the control logic unit 123A is as follows.

초기에 플래그 신호(FLG)가 비활성화되고, 그에 따라 비교 결과 신호(COML)는 비활성화된다. 이 상태에서 리셋 신호(RST)가 활성화되면 카운터 인에이블 신호(CT_EN)는 외부 클럭 신호(DCLK)의 소정 주기(도 5의 m) 동안 활성화되고, 이에 따라 클럭 인에이블 신호(CLK_EN)도 상기 소정 주기 동안 활성화된다. 따라서, 제어 클럭 신호(CLKO)는 상기 소정 주기 동안 외부 클럭 신호(DCLK)에 동기되어 발생된다. 상기 소정 주기가 지나면 카운터 인에이블 신호(CT_EN)는 비활성화되고, 그에 따라 클럭 인에이블 신호(CLK_EN)도 비활성화되며, 제어 클럭 신호(CLKO)도 발생하지 않게 된다. 그러다가, 플래그 신호(FLG)가 활성화되면, 비교 결과 신호(COML)가 활성화되고, 그에 따라 클럭 인에이블 신호(CLK_EN)가 활성화되어 외부 클럭 신호(DCLK)에 동기되어 제어 클럭 신호(CLKO)가 다시 발생하게 된다. Initially, the flag signal FLG is deactivated, and accordingly, the comparison result signal COML is deactivated. In this state, when the reset signal RST is activated, the counter enable signal CT_EN is activated for a predetermined period (m in FIG. 5) of the external clock signal DCLK, and accordingly, the clock enable signal CLK_EN is also predetermined. It is activated during the cycle. Therefore, the control clock signal CLKO is generated in synchronization with the external clock signal DCLK during the predetermined period. After the predetermined period has passed, the counter enable signal CT_EN is inactivated, and thus the clock enable signal CLK_EN is also inactivated and the control clock signal CLKO is not generated. When the flag signal FLG is activated, the comparison result signal COML is activated, and accordingly, the clock enable signal CLK_EN is activated, and the control clock signal CLKO is synchronized again with the external clock signal DCLK. Will occur.

도 4는 도 2에 도시된 에러 검출부(230)의 블록도이다. 도 4를 참조하면, 에러 검출부(230)는 패턴 데이터 시프팅(shifting)부(231), 기준 데이터 시프팅부(232), 및 데이터 비교부(233)를 구비한다. 4 is a block diagram of the error detector 230 illustrated in FIG. 2. Referring to FIG. 4, the error detector 230 includes a pattern data shifting unit 231, a reference data shifting unit 232, and a data comparing unit 233.

패턴 데이터 시프팅부(231)는 패턴 데이터(TDTR), 리셋 신호(RST) 및 외부 클럭 신호(DCLK)가 입력되고, 출력 신호를 데이터 비교부(233)로 전송한다. 패턴 데이터 시프팅부(231)는 리셋 신호(RST)가 활성화되면 리셋되며, 외부 클럭 신호(DCLK)에 동기되어 패턴 데이터(TDTR)를 시프팅시켜서 출력한다. 패턴 데이터 시프팅부(231)는 패턴 데이터(TDTR)를 비트(bit) 단위로 병렬로 출력한다. 패턴 데이터 시프팅부(231)는 신호를 시프팅시키는 시프터 레지스터(shift register)를 구비한다. The pattern data shifting unit 231 receives the pattern data TDTR, the reset signal RST, and the external clock signal DCLK, and transmits an output signal to the data comparator 233. The pattern data shifting unit 231 is reset when the reset signal RST is activated. The pattern data shifting unit 231 shifts and outputs the pattern data TDTR in synchronization with the external clock signal DCLK. The pattern data shifting unit 231 outputs the pattern data TDTR in parallel in bit units. The pattern data shifting unit 231 includes a shift register for shifting a signal.

기준 데이터 시프팅부(232)는 기준 데이터(RDT), 리셋 신호(RST) 및 제어 클럭 신호(CLKO)가 입력되고, 출력 신호를 데이터 비교부(233)로 전송한다. 기준 데이터 시프팅부(232)는 리셋 신호(RST)가 활성화되면 리셋되며, 제어 클럭 신호(CLKO)에 동기되어 기준 데이터(RDT)를 시프팅시켜서 출력한다. 기준 데이터 시프팅부(232)는 기준 데이터(RDT)를 비트 단위로 병렬로 출력한다. 기준 데이터 시프팅부(232)는 신호를 시프팅시키는 시프터 레지스터를 구비한다. 패턴 데이터 시프팅부(231)에 구비되는 시프터 레지스터와 기준 데이터 시프팅부(232)에 구비되는 시프터 레지스터는 동일한 것으로 구성될 수 있다. The reference data shifting unit 232 receives the reference data RDT, the reset signal RST, and the control clock signal CLKO, and transmits an output signal to the data comparator 233. The reference data shifting unit 232 is reset when the reset signal RST is activated. The reference data shifting unit 232 shifts and outputs the reference data RDT in synchronization with the control clock signal CLKO. The reference data shifting unit 232 outputs the reference data RDT in parallel in bit units. The reference data shifting unit 232 includes a shift register for shifting a signal. The shift register provided in the pattern data shifting unit 231 and the shift register provided in the reference data shifting unit 232 may be the same.

데이터 비교부(233)는 패턴 데이터 시프팅부(231)에서 출력되는 데이터와 기준 데이터 시프팅부(232)에서 출력되는 데이터를 비트별로 비교하며, 이들 데이터 각각의 비트 수에 해당하는 복수개의 XOR 게이트(exclusive OR gate) 또는 XNOR 게이트(exclusive NOR gate)들(233a■233n)을 구비한다. 따라서, 패턴 데이터 시프팅부(231)에서 출력되는 데이터의 비트들과 기준 데이터 시프팅부(232)에서 출력되는 데이터의 비트들이 일치하지 않을 경우에 해당되는 XOR 게이트들은 논리 "1"을 출력(XNOR 게이트들(233a■233n)의 경우에는 논리 "0"을 출력)한다. 데이터 비교부(233)에 복수개의 XNOR 게이트들(233a■233n)이 구비될 경우에 데이터 비교부(233)의 출력단에 인버터(235)를 더 연결하여 데이터 비교부(233)에서 출력되는 에러 신호를 반전시켜서 발생되는 신호(ER)를 출력한다. 데이터 비교부(233)는 패턴 데이터(TDTR)에 에러가 검출되지 않는 경우에 플래그 신호(FLG)를 활성화시켜서, 예컨대 논리 하이로써 출력한다. 플래그 신호(FLG)의 안정화를 위해 데이터 비교부(233)의 출력단에 버퍼(234)를 연결하고, 버퍼(234)를 통해 플래그 신호(FLG)가 출력되게 할 수 있다. The data comparison unit 233 compares the data output from the pattern data shifting unit 231 and the data output from the reference data shifting unit 232 bit by bit, and includes a plurality of XOR gates corresponding to the number of bits of each of the data. exclusive OR gate or XNOR gates 233a? 233n. Accordingly, the XOR gates corresponding to the case where the bits of the data output from the pattern data shifting unit 231 and the bits of the data output from the reference data shifting unit 232 do not coincide with a logic "1" (XNOR gate). (233a) 233n, logic "0" is outputted). When a plurality of XNOR gates 233a ■ 233n are provided in the data comparator 233, an error signal output from the data comparator 233 by further connecting an inverter 235 to an output terminal of the data comparator 233. The signal ER generated by inverting is outputted. When no error is detected in the pattern data TDTR, the data comparator 233 activates the flag signal FLG and outputs, for example, a logic high. In order to stabilize the flag signal FLG, the buffer 234 may be connected to an output terminal of the data comparator 233, and the flag signal FLG may be output through the buffer 234.

이와 같이, 에러 검출부(123C)는, 패턴 데이터(TDTR)와 기준 데이터(RDT)를 비트 별로 비교하여 패턴 데이터(TDTR)의 에러를 검출한다. 따라서, 패턴 데이터(TDTR)의 에러를 카운트함으로써, 수신된 신호(RX)의 비트 에러율이 정확하게 측정될 수가 있다. In this way, the error detection unit 123C compares the pattern data TDTR and the reference data RDT bit by bit to detect an error of the pattern data TDTR. Therefore, by counting the error of the pattern data TDTR, the bit error rate of the received signal RX can be measured accurately.

도 5는 도 2에 도시된 통신 에러 검출 장치(123)의 신호들의 타이밍도이다. 도 3 내지 도 5를 참조하여, 도 2에 도시된 통신 에러 검출 장치(123)의 동작을 설명하기로 한다. 5 is a timing diagram of signals of the communication error detection apparatus 123 shown in FIG. 3 to 5, the operation of the communication error detection apparatus 123 shown in FIG. 2 will be described.

통신 에러 검출 장치(123)는 수신된 신호(RX)의 에러를 검출하기 전에 초기 데이터 설정 동작을 먼저 수행한다. 즉, 통신 에러 검출 장치(123)는 상기 초기 데이터 설정 동작을 통하여 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)의 시퀀스와 통신 에러 검출 장치(123)가 생성하는 기준 데이터(RDT)의 시퀀스를 일치시킨다. The communication error detecting apparatus 123 first performs an initial data setting operation before detecting an error of the received signal RX. That is, the communication error detecting apparatus 123 may include a sequence of the pattern data TDTR included in the signal RX received through the initial data setting operation, and the reference data RDT generated by the communication error detecting apparatus 123. Match the sequence.

통신 에러 검출 장치(123)가 상기 초기 데이터 설정 동작을 수행하는 과정은 다음과 같다. 제어 논리부(123A)는 소정 주기(m) 동안 제어 클럭 신호(CLKO)를 출력하고, 기준 데이터 발생부(220)는 제어 클럭 신호(CLKO)에 응답하여 초기 기준 데이터(RDT)를 출력하며, 에러 검출부(123C)는 수신된 신호(RX) 중 초기에 송신되는 초기 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)의 시퀀스와 상기 초기 기준 데이터(RDT)의 시퀀스를 비교한다. 상기 비교 동작을 수행하다가, 상기 두 데이터의 시퀀스가 일치할 때, 통신 에러 검출 장치(123)는 상기 초기 데이터 설정 동작을 종료한다. The communication error detection apparatus 123 performs the initial data setting operation as follows. The control logic unit 123A outputs the control clock signal CLKO for a predetermined period m, the reference data generator 220 outputs the initial reference data RDT in response to the control clock signal CLKO, The error detector 123C compares the sequence of the pattern data TDTR included in the initially received signal RX transmitted initially among the received signals RX with the sequence of the initial reference data RDT. While performing the comparison operation, when the two data sequences match, the communication error detection device 123 ends the initial data setting operation.

구체적으로, 초기에 플래그 신호(FLG)는 비활성화되고, 그에 따라 비교 결과 신호(COML)는 비활성화된다. 이 상태에서, 리셋 신호(RST)가 활성화되면 카운터 인에이블 신호(CT_EN)는 외부 클럭 신호(DCLK)의 소정 주기(m) 동안 활성화되고, 이에 따라 클럭 인에이블 신호(CT_EN)도 상기 소정 주기(m) 동안 활성화된다. 따라서, 제어 클럭 신호(CLKO)는 상기 소정 주기(m) 동안 외부 클럭 신호(DCLK)에 동기되어 발생된다. 상기 소정 주기(m)가 지나면 카운터 인에이블 신호(CT_EN)는 비활성화되고, 그에 따라 클럭 인에이블 신호(CLK_EN)도 비활성화되며, 제어 클럭 신호(CLKO)도 발생하지 않게 된다. 제어 클럭 신호(CLKO)가 발생하지 않으면, 기준 데이터(RDT)도 발생하지 않게 되어 이 기간(p) 동안 에러 검출부(123C)는 수신된 신호(RX)의 에러를 검출하는 동작을 중지한다. 이 상태에서, 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스가 일치하면, 플래그 신호(FLG)가 활성화된다. 그에 따라 비교 결과 신호(COML)가 활성화되어 클럭 인에이블 신호(CLK_EN)도 다시 활성화된다. 따라서, 제어 클럭 신호(CLKO)도 외부 클럭 신호(DCLK)에 동기되어 다시 발생하게 된다. 그러면, 기준 데이터 발생부(220)는 기준 데이터(RDT)를 출력하여 에러 검출부(123C)로 전달하게 되며, 그에 따라 에러 검출부(123C)는 수신된 신호(RX)의 에러를 검출하게 된다. 에러 신호(ER)는 플래그 신호(FLG)와 비교 결과 신호(COML)가 모두 활성화될 때 발생된다. Specifically, the flag signal FLG is initially deactivated, and thus the comparison result signal COML is deactivated. In this state, when the reset signal RST is activated, the counter enable signal CT_EN is activated for a predetermined period m of the external clock signal DCLK, and accordingly, the clock enable signal CT_EN is also set in the predetermined period ( m) is activated during. Therefore, the control clock signal CLKO is generated in synchronization with the external clock signal DCLK during the predetermined period m. After the predetermined period m has passed, the counter enable signal CT_EN is inactivated. Accordingly, the clock enable signal CLK_EN is also inactivated and the control clock signal CLKO is not generated. If the control clock signal CLKO does not occur, the reference data RDT does not occur, and the error detector 123C stops the operation of detecting an error of the received signal RX during this period p. In this state, if the sequence of the pattern data TDTR and the sequence of the reference data RDT match, the flag signal FLG is activated. Accordingly, the comparison result signal COML is activated, and the clock enable signal CLK_EN is also activated again. Therefore, the control clock signal CLKO is also generated again in synchronization with the external clock signal DCLK. Then, the reference data generator 220 outputs the reference data RDT and transmits it to the error detector 123C. Accordingly, the error detector 123C detects an error of the received signal RX. The error signal ER is generated when both the flag signal FLG and the comparison result signal COML are activated.

도 6은 본 발명의 제2 실시예에 따른 통신 시스템의 블록도이다. 도 6을 참조하면, 통신 시스템(601)은 송신기(610)와 수신기(620)를 구비한다.6 is a block diagram of a communication system according to a second embodiment of the present invention. Referring to FIG. 6, the communication system 601 includes a transmitter 610 and a receiver 620.

송신기(610)는 패턴 발생부(611)와 송신부(613)를 구비한다. 패턴 발생부(611)는 특정한 패턴을 갖는 패턴 데이터(TDT)를 생성한다. 이 때, 패턴 발생부(611)는 복수개의 서브 패턴 데이터(TDTA,TDTB), 예컨대 2개 또는 4개의 패턴 데이터를 생성한 다음, 이들을 하나로 결합하여 송신부(613)로 전달한다. 예컨대, 패턴 발생(611)부는 복수개의 선형 피드백 시프트 레지스터들을 구비하여 복수개의 서로 다른 패턴을 갖는 서브 패턴 데이터(TDTA,TDTB)를 생성한다. 송신부(613)는 패턴 발생부(611)로부터 출력되는 패턴 데이터(TDT)를 포함하는 송신 신호(RX)를 송신하기에 적합한 상태, 예컨대 변조된 송신 신호(TX)를 수신기(620)로 송신한다. The transmitter 610 includes a pattern generator 611 and a transmitter 613. The pattern generator 611 generates pattern data TDT having a specific pattern. At this time, the pattern generator 611 generates a plurality of sub-pattern data (TDTA, TDTB), for example, two or four pattern data, combines them into one, and transmits them to the transmitter 613. For example, the pattern generator 611 includes a plurality of linear feedback shift registers to generate sub-pattern data TDTA and TDTB having a plurality of different patterns. The transmitter 613 transmits a state suitable for transmitting the transmission signal RX including the pattern data TDT output from the pattern generator 611, for example, a modulated transmission signal TX to the receiver 620. .

수신기(620)는 수신부(621)와 통신 에러 검출 장치(623) 및 카운터(625)를 구비한다. 수신부(621)는 송신기(610)로부터 송신되어 수신된 신호(RX)를 수신하고, 이를 수신기(620) 내부에서 처리하기에 적합한 상태, 예컨대 복조한다. 이 때, 수신부(621)는 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)를 추출하여 통신 에러 검출 장치(623)로 전달한다. 통신 에러 검출 장치(623)는 입력되는 패턴 데이터(TDTR)를 복수개로 분리하고, 상기 복수개의 패턴 데이터(TDTRA,TDTRB) 각각에 대해 송신 과정에서 에러가 발생하였는지 여부를 검출한다. 통신 에러 검출 장치(623)는 송신기(610)의 패턴 발생부(611)와 동일한 장치, 예컨대 선형 피드백 시프트 레지스터를 복수개 구비할 수 있다. 따라서, 패턴 발생부(611)에서 발생되는 패턴 데이터(TDT)와 통신 에러 검출 장치(623)에서 발생되는 기준 데이터가 동일하게 구성된다. 이로 인해, 수신된 신호(RX)에 포함된 복수개의 서브 패턴 데이터(TDTRA,TDTRB)와 통신 에러 검출 장치(623)의 내부에서 생성되는 복수개의 기준 데이터를 각각 비교함으로써, 수신된 신호(RX)에 에러가 발생하였는지 여부를 정확하게 검출할 수가 있다. 카운터(625)는 통신 에러 검출 장치(623)에서 출력되는 에러 신호(ER)를 받아서 카운트함으로써, 수신된 신호(RX)의 비트 에러율을 측정할 수가 있다.The receiver 620 includes a receiver 621, a communication error detection device 623, and a counter 625. The receiver 621 receives the signal RX transmitted from the transmitter 610 and demodulates a state suitable for processing in the receiver 620. At this time, the receiver 621 extracts the pattern data TDTR included in the received signal RX and transmits the pattern data TDTR to the communication error detection apparatus 623. The communication error detection apparatus 623 separates the input pattern data TDTR into a plurality of pieces, and detects whether an error has occurred in the transmission process for each of the plurality of pattern data TDTRA and TDTRB. The communication error detection device 623 may include a plurality of devices, for example, a linear feedback shift register, that are the same as the pattern generator 611 of the transmitter 610. Therefore, the pattern data TDT generated by the pattern generator 611 and the reference data generated by the communication error detection device 623 are configured in the same manner. Thus, the received signal RX is compared by comparing the plurality of sub-pattern data TDTRA and TDTRB included in the received signal RX with the plurality of reference data generated inside the communication error detection device 623, respectively. It is possible to accurately detect whether or not an error has occurred. The counter 625 can measure the bit error rate of the received signal RX by receiving and counting the error signal ER output from the communication error detection device 623.

상술한 바와 같이, 통신 시스템(601)의 수신기(620)에 통신 에러 검출 장치(623)를 구비함으로써, 송신기(610)로부터 송신되어 수신기(620)에 수신되는 신호(RX)의 비트 에러율을 용이하게 측정할 수가 있다. 즉, 지금까지는 외부 장치를 이용하여 수신된 신호(RX)의 비트 에러율을 측정하다보니 어려움이 많이 있지만, 본 발명은 통신 에러 검출 장치(623)를 수신기(620)의 내부에 구비함으로써 이러한 어려움을 해결할 수가 있다. As described above, the communication error detection device 623 is provided in the receiver 620 of the communication system 601 to facilitate the bit error rate of the signal RX transmitted from the transmitter 610 and received at the receiver 620. I can measure it easily. That is, until now, it is difficult to measure the bit error rate of the received signal RX using an external device. However, the present invention provides a communication error detection device 623 in the receiver 620 to solve this difficulty. I can solve it.

도 7은 도 6에 도시된 패턴 발생부(611)의 제1 실시예에 따른 블록도이다. 도 7을 참조하면, 패턴 발생부(611)는, 클럭 분배기(710), 패턴 발생기(720), 시프팅부(730) 및 결합부(740)를 구비한다.FIG. 7 is a block diagram according to the first embodiment of the pattern generator 611 illustrated in FIG. 6. Referring to FIG. 7, the pattern generator 611 includes a clock divider 710, a pattern generator 720, a shifting unit 730, and a coupling unit 740.

클럭 분배기(710)는 외부 클럭 신호(TCLK)가 입력되고, 2개의 내부 클럭 신호들(TCLKA,TCLKB) 예컨대, 제1 및 제2 내부 클럭 신호들(TCLKA,TCLKB)을 생성한다. 이 때, 제1 및 제2 내부 클럭 신호들(TCLKA,TCLKB)의 주파수는 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아진다. The clock divider 710 receives an external clock signal TCLK and generates two internal clock signals TCLKA and TCLKB, for example, first and second internal clock signals TCLKA and TCLKB. At this time, the frequencies of the first and second internal clock signals TCLKA and TCLKB are reduced to half of the frequency of the external clock signal TCLK.

패턴 발생기(720)는 제1 내부 클럭 신호(TCLKA)가 입력되고, 제1 내부 클럭 신호(TCLKA)를 일정한 패턴으로 시프팅시켜서 제1 서브 패턴 데이터(TDTA)를 생성한다. 패턴 발생기(720)는 일정한 패턴 데이터를 생성하는 선형 피드백 시프터 레지스터로 구성될 수 있다. The pattern generator 720 receives the first internal clock signal TCLKA and generates the first sub-pattern data TDTA by shifting the first internal clock signal TCLKA into a predetermined pattern. The pattern generator 720 may be configured with a linear feedback shifter register that generates constant pattern data.

시프팅부(730)는 제1 서브 패턴 데이터(TDTA)와 제2 내부 클럭 신호(TCLKB)가 입력되고, 제2 내부 클럭 신호(TCLKB)에 동기된 제1 서브 패턴 데이터(TDTA)가 시프팅(shifting)되어 제2 서브 패턴 데이터(TDTB)를 생성한다. 시프팅부(730)는 복수개의 플립플롭(flip-flop)들(730a∼730n)을 구비하고, 첫번째 플립플롭(730a)은 제1 서브 패턴 데이터(TDTA)와 제2 내부 클럭 신호(TCLKB)가 입력되고, 두번째 이하의 플립플롭들은 전단의 플립플롭에서 출력되는 신호와 제2 내부 클럭 신호(TCLKB)가 입력된다. The shifting unit 730 receives the first sub-pattern data TDTA and the second internal clock signal TCLKB, and shifts the first sub-pattern data TDTA in synchronization with the second internal clock signal TCLKB. shifted) to generate second sub-pattern data TDTB. The shifting unit 730 includes a plurality of flip-flops 730a to 730n, and the first flip-flop 730a includes the first sub-pattern data TDTA and the second internal clock signal TCLKB. The second and second flip-flops are input with a signal output from the flip-flop of the previous stage and the second internal clock signal TCLKB.

결합부(740)는 제1 서브 패턴 데이터(TDTA)와 제2 서브 패턴 데이터(TDTB)가 입력되고, 이들을 하나의 패턴 데이터(TDT)로 결합하여 패턴 발생부(611)의 출력 신호(TDT)로써 출력한다. 결합부(740)는 제1 및 제2 패턴 데이터(TDTA,TDTB)를 하나로 결합하는 멀티플렉서(multiplexer)로 구성될 수 있다. The combiner 740 receives the first subpattern data TDTA and the second subpattern data TDTB, combines them into one pattern data TDT, and outputs the output signal TDT of the pattern generator 611. As output. The combiner 740 may be configured as a multiplexer that combines the first and second pattern data TDTA and TDTB into one.

도 8은 도 7에 도시된 패턴 발생부(611)의 신호들의 타이밍도이다. 도 8에 도시된 바와 같이, 제1 및 제2 내부 클럭 신호들(TCLKA,TCLKB)의 주파수는 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아지고, 패턴 데이터(TDT)는 제1 서브 패턴 데이터(TDTA)와 제2 서브 패턴 데이터(TDTB)를 포함하여 구성된다. 이 때, 제1 서브 패턴 데이터(TDTA)는 제1 내부 클럭 신호(TCLKA)의 라이징 에지(rising edge)에 동기되어 발생되고, 제2 서브 패턴 데이터(TDTB)는 제2 내부 클럭 신호(TCLKB)의 라이징 에지에 동기되어 발생된다. 8 is a timing diagram of signals of the pattern generator 611 illustrated in FIG. 7. As shown in FIG. 8, the frequencies of the first and second internal clock signals TCLKA and TCLKB are lowered to half the frequency of the external clock signal TCLK, and the pattern data TDT is the first sub-pattern data. TDTA and second sub-pattern data TDTB. At this time, the first sub-pattern data TDTA is generated in synchronization with the rising edge of the first internal clock signal TCLKA, and the second sub-pattern data TDTB is generated from the second internal clock signal TCLKB. It is generated in synchronization with the rising edge of.

도 9는 도 6에 도시된 통신 에러 검출 장치(623)의 제1 실시예에 따른 블록도이다. 도 9를 참조하면, 통신 에러 검출 장치(623)는 신호 분리부(910), 2개의 씨드 얼라이너(seed aligner)(921, 922)들 및 출력부(930)를 구비한다.9 is a block diagram according to a first embodiment of the communication error detection apparatus 623 shown in FIG. Referring to FIG. 9, the communication error detecting apparatus 623 includes a signal separator 910, two seed aligners 921 and 922, and an output unit 930.

신호 분리부(910)는 신호(RX)가 입력되고, 신호(RX)에 포함된 패턴 데이터(TDTR)로부터 2개의 서브 패턴 데이터(TDTRA,TDTRB) 즉, 제1 및 제2 서브 패턴 데이터(TDTRA,TDTRB)를 추출하여 출력한다. 신호 분리부(910)는 클럭 분배기(9102)와 디멀티플렉서(demultiplexer)(911)를 구비한다. 클럭 분배기(912)는 외부 클럭 신호(DCLK)를 2개의 내부 클럭 신호들(DCLKA,DCLKB) 예컨대, 제1 및 제2 내부 클럭 신호들(DCLKA,DCLKB)로 분리한다. 이 때, 제1 및 제2 내부 클럭 신호들(DCLKA,DCLKB)의 주파수는 외부 클럭 신호(DCLK)의 주파수의 절반으로 낮아진다. 디멀티플렉서(911)는 외부에서 입력되는 패턴 데이터(TDTR)를 2개의 서브 패턴 데이터(TDTRA,TDTRB) 예컨대, 제1 및 제2 서브 패턴 데이터(TDTRA,TDTRB)로 분리하여 출력한다. 즉, 디멀티플렉서(911)는 제1 및 제2 내부 클럭 신호들(DCLKA,DCLKB)을 입력하고, 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)를 출력하고, 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)를 출력한다. The signal separator 910 receives a signal RX, and outputs two sub-pattern data TDTRA and TDTRB from the pattern data TDTR included in the signal RX, that is, the first and second sub-pattern data TDTRA. , TDTRB) is extracted and output. The signal separator 910 includes a clock divider 9102 and a demultiplexer 911. The clock divider 912 separates the external clock signal DCLK into two internal clock signals DCLKA and DCLKB, for example, first and second internal clock signals DCLKA and DCLKB. At this time, the frequencies of the first and second internal clock signals DCLKA and DCLKB are lowered to half of the frequency of the external clock signal DCLK. The demultiplexer 911 separates the pattern data TDTR input from the outside into two sub-pattern data TDTRA and TDTRB, for example, first and second sub-pattern data TDTRA and TDTRB. That is, the demultiplexer 911 inputs the first and second internal clock signals DCLKA and DCLKB, and outputs the first sub pattern data TDTRA in synchronization with the first internal clock signal DCLKA. The second sub pattern data TDTRB is output in synchronization with the internal clock signal DCLKB.

2개의 씨드 얼라이너들(921,922)은 각각 제1 및 제2 서브 패턴 데이터(TDTRA,TDTRB) 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 송신 에러를 검출한다. 2개의 씨드 얼라이너들(921,922) 중 제1 씨드 얼라이너(921)는 제1 서브 패턴 데이터(TDTRA)와 제1 내부 클럭 신호(DCLKA)가 입력되고 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)의 송신 에러를 검출하고, 제2 씨드 얼라이너(922)는 제2 서브 패턴 데이터(TDTRB)와 제2 내부 클럭 신호(DCLKB)가 입력되고 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)의 송신 에러를 검출한다. 제1 및 제2 씨드 얼라이너들(921,922)은 각각 도 2에 도시된 장치(123)를 구비할 수 있다. 즉, 제1 및 제2 씨드 얼라이너들(921,922)은 각각, 외부 신호의 제어를 받아서 제어 클럭 신호(CLKO)를 출력하는 제어 논리부(123A), 상기 제어 클럭 신호(CLKO)에 동기되어 기준 데이터(RDT)를 출력하는 기준 데이터 발생부(220), 및 패턴 데이터(TDTR)와 기준 데이터(RDT)가 입력되며, 초기에 상기 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행한 후에, 패턴 데이터(TDTR)의 에러를 검출하는 에러 검출부(123C)를 구비한다. Two seed aligners 921 and 922 receive one of the first and second subpattern data TDTRA and TDTRB, respectively, and detect a transmission error of the input subpattern data. The first seed aligner 921 of the two seed aligners 921 and 922 receives the first sub-pattern data TDTRA and the first internal clock signal DCLKA and is synchronized with the first internal clock signal DCLKA. When the transmission error of the first sub pattern data TDTRA is detected, the second seed aligner 922 receives the second sub pattern data TDTRB and the second internal clock signal DCLKB and receives the second internal clock signal ( In synchronization with DCLKB, a transmission error of the second subpattern data TDTRB is detected. The first and second seed aligners 921, 922 may each have the apparatus 123 shown in FIG. 2. That is, the first and second seed aligners 921 and 922 respectively reference the control logic unit 123A for outputting the control clock signal CLKO under the control of an external signal and in synchronization with the control clock signal CLKO. The reference data generator 220 for outputting the data RDT and the pattern data TDTR and the reference data RDT are input, and the sequence of the pattern data TDTR and the reference data RDT are initially input. After performing the matching initial data setting operation, an error detection unit 123C for detecting an error in the pattern data TDTR is provided.

출력부(930)는 제1 및 제2 씨드 얼라이너들(921,922)로부터 출력되는 송신 에러들(ERA,ERB)을 결합하여 출력한다. 출력부(930)는, 제1 및 제2 씨드 얼라이너들(921,922)로부터 출력되는 송신 에러들(ERA,ERB)을 하나로 결합하여 출력하는 멀티플렉서(multiplexer)(931), 및 제1 및 제2 씨드 얼라이너들(921,922)로부터 출력되는 플래그 신호들(FLGA,FLGB)을 하나로 결합하여 출력하는 플래그 신호 발생부(932)를 구비한다. The output unit 930 combines and outputs transmission errors ERA and EBR output from the first and second seed aligners 921 and 922. The output unit 930 includes a multiplexer 931 which combines and outputs transmission errors ERA and ERB output from the first and second seed aligners 921 and 922, and the first and second ones. And a flag signal generator 932 for combining and outputting the flag signals FLGA and FLGB output from the seed aligners 921 and 922 into one.

상술한 바와 같이, 통신 에러 검출 장치(623)는 2개의 씨드 얼라이더들(921,922)을 구비하고, 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)를 2개의 서브 패턴 데이터(TDTRA,TDTRB)로 분리하며, 외부 클럭 신호(DCLK)를 2개로 분리하여 주파수를 낮춘 상태에서 상기 2개의 서브 패턴 데이터(TDTRA,TDTRB)에 포함된 송신 에러(ER)를 검출한다. As described above, the communication error detecting apparatus 623 includes two seed aligners 921 and 922, and the pattern data TDTR included in the received signal RX is divided into two sub-pattern data TDTRA and TDTRB. ) And detects a transmission error (ER) included in the two sub-pattern data TDTRA and TDTRB in a state where the frequency is lowered by dividing the external clock signal DCLK into two.

도 10A 및 도 10B는 도 9에 도시된 통신 에러 검출 장치의 신호들의 타이밍도이다. 10A and 10B are timing diagrams of signals of the communication error detection apparatus shown in FIG.

도 10A에 도시된 바와 같이, 통신 검출 장치(623)로 입력되는 패턴 데이터(TDTR)는 2개의 서브 패턴 데이터(TDTRA,TDTRB)로 분리된다.As shown in Fig. 10A, the pattern data TDTR input to the communication detection device 623 is separated into two sub-pattern data TDTRA and TDTRB.

또한, 도 10B에 도시된 바와 같이, 통신 검출 장치(623)로부터 출력되는 플래그 신호(FLG)는 제1 씨드 얼라이너(921)로부터 출력되는 플래그 신호(FLGA)와 제2 씨드 얼라이너(922)로부터 출력되는 플래그 신호(FLGB)가 결합된 신호이며, 출력부(930)로부터 출력되는 에러 신호(ER)는 제1 씨드 얼라이너(921)로부터 출력되는 에러 신호(ERA)와 제2 씨드 얼라이너(922)로부터 출력되는 에러 신호(ERB)가 결합된 신호이다.In addition, as shown in FIG. 10B, the flag signal FLG output from the communication detection device 623 includes the flag signal FLGA output from the first seed aligner 921 and the second seed aligner 922. The flag signal FLGB is output from the combined signal, and the error signal ER output from the output unit 930 is the error signal ERA output from the first seed aligner 921 and the second seed aligner. The error signal ERB output from 922 is a combined signal.

상술한 바와 같이, 통신 에러 검출 장치(623)는 패턴 데이터(TDTR)를 2개의 서브 패턴 데이터(TDTRA,TDTRB)로 분리하여 처리함으로써, 통신 에러 검출 장치(623)의 데이터 처리 속도가 2배로 낮아져서, 패턴 데이터(TDTR)의 에러 비트를 안정적으로 검출할 수가 있다. As described above, the communication error detection device 623 separates and processes the pattern data TDTR into two sub-pattern data TDTRA and TDTRB, thereby lowering the data processing speed of the communication error detection device 623 by twice. The error bit of the pattern data TDTR can be stably detected.

도 11은 도 6에 도시된 패턴 발생부의 제2 실시예에 따른 블록도이다. 도 11을 참조하면, 패턴 발생부(611)는 클럭 분배기(1110), 패턴 발생기(1120), 시프팅부(1130) 및 결합부(1140)를 구비한다.FIG. 11 is a block diagram illustrating a second embodiment of the pattern generator illustrated in FIG. 6. Referring to FIG. 11, the pattern generator 611 includes a clock divider 1110, a pattern generator 1120, a shifting unit 1130, and a coupling unit 1140.

클럭 분배기(1110)는 외부 클럭 신호(TCLK)가 입력되고, 4개의 내부 클럭 신호들(TCLKA∼TCLKD) 예컨대, 제1 내지 제4 내부 클럭 신호들(TCLKA∼TCLKD)을 생성한다. 이 때, 제1 내지 제4 내부 클럭 신호들(TCLKA∼TCLKD)의 주파수는 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아진다. The clock divider 1110 receives an external clock signal TCLK and generates four internal clock signals TCLKA to TCLKD, for example, first to fourth internal clock signals TCLKA to TCLKD. At this time, the frequencies of the first to fourth internal clock signals TCLKA to TCLKD are lowered to half of the frequency of the external clock signal TCLK.

패턴 발생기()는 제1 내부 클럭 신호(TCLKA)가 입력되어 시프팅된 다음에 제1 서브 패턴 데이터(TDTA)를 생성한다. 패턴 발생기()는 특정한 패턴 데이터를 생성하는 선형 피드백 시프터 레지스터로 구성될 수 있다. The pattern generator 1 generates the first sub-pattern data TDTA after the first internal clock signal TCLKA is input and shifted. The pattern generator () may be comprised of linear feedback shifter registers that produce specific pattern data.

시프팅부(1130)는 제1 서브 패턴 데이터(TDTA)와 제2 내지 제4 내부 클럭 신호들(TCLKB∼TCLKD)가 입력되고, 제2 내지 제4 내부 클럭 신호들(TCLKB∼TCLKD)에 동기되어 제1 서브 패턴 데이터(TDTA)가 시프팅되어, 제2 내지 제4 서브 패턴 데이터(TDTB■TDTD)를 생성한다. 시프팅부(1130)는 3개의 플립플롭 그룹(group)들(1131■1133)을 구비한다. 제1 플립플롭 그룹(1131)은 제1 서브 패턴 데이터(TDTA)와 제2 내부 클럭 신호(TCLKA)가 입력되고 제2 내부 클럭 신호(TCLKA)에 동기되어 제1 서브 패턴 데이터(TDTA)를 시프팅시켜서 제2 서브 패턴 데이터(TDTB)를 생성하고, 제2 플립플롭 그룹(1132)은 제2 서브 패턴 데이터(TDTB)와 제3 내부 클럭 신호(TCLKC)가 입력되고 제3 내부 클럭 신호(TCLKC)에 동기되어 제2 서브 패턴 데이터(TDTB)를 시프팅시켜서 제3 서브 패턴 데이터(TDTC)를 생성하고, 제3 플립플롭 그룹(1133)은 제3 서브 패턴 데이터(TDTC)와 제4 내부 클럭 신호(TCLKD)가 입력되고 제4 내부 클럭 신호(TCLKD)에 동기되어 제3 서브 패턴 데이터(TDTC)를 시프팅시켜서 제4 서브 패턴 데이터(TDTD)를 생성한다. 제1 내지 제3 플립플롭 그룹(1131∼1133)은 각각 복수개의 플립플롭들을 구비한다.The shifting unit 1130 receives the first sub-pattern data TDTA and the second to fourth internal clock signals TCLKB to TCLKD, and is synchronized with the second to fourth internal clock signals TCLKB to TCLKD. The first sub pattern data TDTA is shifted to generate second to fourth sub pattern data TDTB TDTD. The shifting unit 1130 includes three flip-flop groups 1131 to 1133. In the first flip-flop group 1131, the first sub-pattern data TDTA and the second internal clock signal TCLKA are input and are synchronized with the second internal clock signal TCLKA to shift the first sub-pattern data TDTA. To generate the second sub-pattern data TDTB, and the second flip-flop group 1132 receives the second sub-pattern data TDTB and the third internal clock signal TCLKC and receives the third internal clock signal TCLKC. The second sub-pattern data TDTB is shifted to generate the third sub-pattern data TDTC, and the third flip-flop group 1133 includes the third sub-pattern data TDTC and the fourth internal clock. The signal TCLKD is input and is synchronized with the fourth internal clock signal TCLKD to shift the third sub pattern data TDTC to generate the fourth sub pattern data TDTD. Each of the first to third flip-flop groups 1131 to 1133 includes a plurality of flip-flops.

결합부(1140)는 제1 내지 제4 서브 패턴 데이터(TDTA∼TDTD)가 입력되고, 이들을 하나의 패턴 데이터(TDT)로 결합하여 패턴 발생부(611)의 출력 신호(TDT)로써 출력한다. 결합부(1140)는 제1 내지 제4 패턴 데이터(TDTA∼TDTD)를 하나로 결합하는 멀티플렉서로 구성될 수 있다. The combiner 1140 receives the first to fourth sub-pattern data TDTA to TDTD, combines them into one pattern data TDT, and outputs the output signal TDT of the pattern generator 611. The combiner 1140 may be configured as a multiplexer that combines the first to fourth pattern data TDTA to TDTD into one.

도 12는 도 11에 도시된 패턴 발생부(611)의 신호들의 타이밍도이다. 도 12에 도시된 바와 같이, 제1 내지 제4 내부 클럭 신호들(TCLKA∼TCLKD)의 주파수는 각각 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아진다. 또한, 패턴 데이터(TDT)는 제1 내지 제4 서브 패턴 데이터(TDTA∼TDTD)를 모두 포함하여 구성된다. 12 is a timing diagram of signals of the pattern generator 611 illustrated in FIG. 11. As shown in FIG. 12, the frequencies of the first to fourth internal clock signals TCLKA to TCLKD are lowered to half of the frequencies of the external clock signal TCLK, respectively. The pattern data TDT includes all of the first to fourth sub-pattern data TDTA to TDTD.

도 13은 도 6에 도시된 본 발명의 통신 에러 검출 장치(623)의 제2 실시예에따른 블록도이다. 도 13을 참조하면, 통신 에러 검출 장치(623)는 신호 분리부(1310), 4개의 씨드 얼라이너들(1211∼1214) 및 출력부(1330)를 구비한다.FIG. 13 is a block diagram according to the second embodiment of the communication error detection apparatus 623 of the present invention shown in FIG. Referring to FIG. 13, the communication error detecting apparatus 623 includes a signal separator 1310, four seed aligners 1211 to 1214, and an output unit 1330.

신호 분리부(1310)는 수신된 신호(RX)가 입력되고, 신호(RX)에 포함된 패턴 데이터(TDTR)를 4개로 분리하여 즉, 제1 내지 제4 서브 패턴 데이터(TDTRA∼TDTRD)를 추출하여 출력한다. 신호 분리부(1310)는 클럭 분배기(1312)와 디멀티플렉서(demultiplexer)(1311)를 구비한다. 클럭 분배기(1312)는 외부 클럭 신호(DCLK)를 4개의 내부 클럭 신호들(DCLKA∼DCLKD) 예컨대, 제1 내지 제4 내부 클럭 신호들(DCLKA∼DCLKD)로 분리한다. 이 때, 제1 내지 제4 내부 클럭 신호들(DCLKA∼DCLKD)의 주파수는 외부 클럭 신호(DCLK)의 주파수의 절반으로 낮아진다. 디멀티플렉서(1311)는 외부에서 입력되는 패턴 데이터(TDTR)를 4개의 서브 패턴 데이터(TDTRA∼TDTRD) 예컨대, 제1 내지 제4 서브 패턴 데이터(TDTRA∼TDTRD)로 분리하여 출력한다. 즉, 디멀티플렉서(1311)는 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)를 출력하고, 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)를 출력하며, 제3 내부 클럭 신호(DCLKC)에 동기되어 제3 서브 패턴 데이터(TDTRC)를 출력하고, 제4 내부 클럭 신호(TCLKD)에 동기되어 제4 서브 패턴 데이터(TDTRD)를 출력한다. The signal separation unit 1310 receives the received signal RX, separates the pattern data TDTR included in the signal RX into four, that is, the first to fourth subpattern data TDTRA to TDTRD. Extract it and print it out. The signal separator 1310 includes a clock divider 1312 and a demultiplexer 1311. The clock divider 1312 divides the external clock signal DCLK into four internal clock signals DCLKA to DCLKD, for example, the first to fourth internal clock signals DCLKA to DCLKD. At this time, the frequencies of the first to fourth internal clock signals DCLKA to DCLKD are lowered to half of the frequencies of the external clock signal DCLK. The demultiplexer 1311 outputs the pattern data TDTR input from the outside into four sub-pattern data TDTRA to TDTRD, for example, the first to fourth sub-pattern data TDTRA to TDTRD. That is, the demultiplexer 1311 outputs the first sub pattern data TDTRA in synchronization with the first internal clock signal DCLKA, and outputs the second sub pattern data TDTRB in synchronization with the second internal clock signal DCLKB. The third sub-pattern data TDTRC is output in synchronization with the third internal clock signal DCLKC, and the fourth sub-pattern data TDTRD is output in synchronization with the fourth internal clock signal TCLKD.

4개의 씨드 얼라이너들(1211∼1214)은 각각 4개의 서브 패턴 데이터(TDTRA∼TDTRD) 중 하나와 4개의 내부 클럭 신호들(DCLKA∼DCLKD) 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 4개의 에러 신호들(ERA∼ERD) 중 하나와 4개의 플래그 신호들(FLGA∼FLGD) 중 하나를 검출한다. 즉, 제1 씨드 얼라이너(1211)는 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)의 에러를 검출하고, 제2 씨드 얼라이너(1212)는 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)의 에러를 검출하며, 제3 씨드 얼라이너(1213)는 제3 내부 클럭 신호(DCLKC)에 동기되어 제3 서브 패턴 데이터(TDTRC)의 에러를 검출하고, 제4 씨드 얼라이너(1214)는 제4 내부 클럭 신호(DCLKD)에 동기되어 제4 서브 패턴 데이터(TDTRD)의 에러를 검출한다. Each of the four seed aligners 1211 to 1214 receives one of four sub pattern data TDTRA to TDTRD and one of four internal clock signals DCLKA to DCLKD, respectively. One of four error signals ERA to ERD and one of four flag signals FLGA to FLGD are detected. That is, the first seed aligner 1211 detects an error of the first sub-pattern data TDTRA in synchronization with the first internal clock signal DCLKA, and the second seed aligner 1212 detects the second internal clock signal. An error of the second sub-pattern data TDTRB is detected in synchronization with the DCLKB, and the third seed aligner 1213 is an error of the third sub-pattern data TDTRC in synchronization with the third internal clock signal DCLKC. The fourth seed aligner 1214 detects an error of the fourth sub pattern data TDTRD in synchronization with the fourth internal clock signal DCLKD.

제1 내지 제4 씨드 얼라이너들(1211∼1214)은 각각 도 2에 도시된 장치(123)를 구비할 수 있다. The first to fourth seed aligners 1211 to 1214 may have the apparatus 123 shown in FIG. 2, respectively.

출력부(1330)는 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 에러 신호들(ERA∼ERB)을 하나로 결합하여 출력한다. 출력부(1330)는, 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 에러 신호들(ERA∼ERD)을 하나로 결합하여 출력하는 멀티플렉서(multiplexer)(1331), 및 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 플래그 신호들(FLGA∼FLGD)을 하나로 결합하여 출력하는 플래그 신호 발생부)(1332)를 구비한다. The output unit 1330 combines and outputs the error signals ERA to EBR output from the first to fourth seed aligners 1211 to 1214 as one. The output unit 1330 is a multiplexer 1331 for combining and outputting the error signals ERA to ERD output from the first to fourth seed aligners 1211 to 1214 into one, and the first to fourth ones. And a flag signal generator 1332 which combines and outputs the flag signals FLGA to FLGD output from the fourth seed aligners 1211 to 1214.

상술한 바와 같이, 통신 에러 검출 장치(623)는 4개의 씨드 얼라이더들(1211∼1214)을 구비하고, 패턴 데이터(TDTR)를 4개의 서브 패턴 데이터(TDTRA∼TDTRD)로 분리하며, 외부 클럭 신호(DCLK)를 4개로 분리하여 주파수를 낮춘 상태에서 4개의 서브 패턴 데이터(TDTRA∼TDTRD)에 포함된 송신 에러를 검출한다. As described above, the communication error detecting apparatus 623 includes four seed aligners 1211 to 1214, separates the pattern data TDTR into four sub-pattern data TDTRA to TDTRD, and an external clock. The transmission error contained in the four subpattern data TDTRA to TDTRD is detected in the state where the signal DCLK is divided into four and the frequency is lowered.

도 14A 및 도 14B는 도 13에 도시된 신호들의 타이밍도이다.14A and 14B are timing diagrams of the signals shown in FIG.

도 14A에 도시된 바와 같이, 통신 에러 검출 장치(623)으로 입력되는 패턴 데이터(TDTR)는 4개의 서브 패턴 데이터(TDTRA∼TDTRD)로 분리된다.As shown in Fig. 14A, the pattern data TDTR input to the communication error detection device 623 is separated into four sub-pattern data TDTRA to TDTRD.

또한, 도 14B에 도시된 바와 같이, 통신 에러 검출 장치(623)으로부터 출력되는 플래그 신호(FLG)는 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 플래그 신호들(FLGA∼FLGD)이 하나로 결합된 신호이며, 통신 에러 검출 장치(623)로부터 출력되는 에러 신호(ER)는 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 에러 신호들(ERA∼ERD)이 하나로 결합된 신호이다.In addition, as shown in FIG. 14B, the flag signal FLG output from the communication error detection device 623 is flag signals FLGA to FLGD output from the first to fourth seed aligners 1211 to 1214. ) Are combined into one, and the error signal ER output from the communication error detection device 623 includes error signals ERA to ERD output from the first to fourth seed aligners 1211 to 1214. It is a signal combined into one.

본 발명은 도면들에 도시된 실시예들을 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이들로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary and will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

Claims (19)

송신기로부터 송신되는 송신 신호를 수신하여 처리하는 수신기에 구비되는 통신 에러 검출 장치에 있어서,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 송신 신호에 포함된 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부를 구비하고,
상기 제어 논리부는
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 에러 검출 장치.
In the communication error detection device provided in a receiver for receiving and processing a transmission signal transmitted from a transmitter,
Receives a flag signal, a reset signal and an external clock signal, outputs a control clock signal for a predetermined period of the external clock signal upon activation of the reset signal, deactivates after the predetermined period passes, and controls the activation of the flag signal. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Receives the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal included in the transmission signal, and the sequence and the sequence of the pattern data during the predetermined period when the reset signal is activated Perform an initial data setting operation for matching the sequence of reference data, and activate the flag signal when the sequence of the pattern data and the sequence of the reference data match, and the pattern data and the reference data are activated during activation of the flag signal. An error detection unit for comparing and detecting an error of the pattern data,
The control logic section
A counter for receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and to output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. Detection device.
삭제delete 제1항에 있어서, 상기 제어 논리부는,
상기 에러 검출부에서 출력되는 상기 플래그 신호와 외부에서 제공하는 상기 리셋 신호 및 상기 외부 클럭 신호가 입력되고,
상기 리셋 신호가 활성화되면 상기 소정 주기 동안 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하며,
상기 소정 주기 이후에는 상기 제어 클럭 신호를 출력하지 않고 있다가, 상기 초기 데이터 설정 동작이 종료되어 상기 플래그 신호가 활성화되면 상기 제어 클럭 신호를 다시 출력하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 1, wherein the control logic unit,
The flag signal output from the error detection unit, the reset signal and the external clock signal provided from the outside are input,
When the reset signal is activated, the control clock signal is output in synchronization with the external clock signal during the predetermined period.
And not outputting the control clock signal after the predetermined period, and outputting the control clock signal again when the flag signal is activated after the initial data setting operation is terminated.
제1항에 있어서, 상기 기준 데이터 발생부는,
상기 제어 클럭 신호에 응답하여 상기 기준 데이터를 생성하는 선형 피드백 시프트 레지스터(Linear Feedback Shift Register)를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 1, wherein the reference data generating unit,
And a linear feedback shift register configured to generate the reference data in response to the control clock signal.
제1항에 있어서, 상기 에러 검출부는,
상기 패턴 데이터가 입력되고, 상기 패턴 데이터를 시프팅시켜서 비트(bit) 단위로 병렬로 출력하는 패턴 데이터 시프팅부;
상기 기준 데이터가 입력되고, 상기 기준 데이터를 시프팅시켜서 비트 단위로 병렬로 출력하는 기준 데이터 시프팅부;
상기 소정 주기 동안 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스를 비교하며, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터 시프팅부로부터 출력되는 비트들과 상기 기준 데이터 시프팅부로부터 출력되는 비트들을 비교하고, 상기 비교 결과 일치하지 않는 비트들이 있으면 에러 신호를 출력하는 데이터 비교부; 및
상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하는 제3 논리부;를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 1, wherein the error detection unit,
A pattern data shifting unit configured to input the pattern data and to shift the pattern data and output in parallel in units of bits;
A reference data shifting unit configured to input the reference data and to shift the reference data and output in parallel in units of bits;
Compares the sequence of the pattern data and the sequence of the reference data during the predetermined period, compares bits output from the pattern data shifting unit with bits output from the reference data shifting unit during activation of the flag signal, and A data comparing unit which outputs an error signal if there are bits that do not match as a result of the comparison; And
And a third logic unit for activating the flag signal when the sequence of the pattern data and the sequence of the reference data match each other.
송신기로부터 송신되는 송신 신호를 수신하여 처리하는 수신기에 구비되는 통신 에러 검출 장치에 있어서,
상기 송신 신호에 포함된 패턴 데이터를 복수개로 분리하는 패턴 데이터 분리부;
각각, 상기 복수개의 패턴 데이터 중 하나가 입력되고, 상기 입력되는 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및
상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부;를 구비하고,
상기 복수개의 씨드 얼라이너들 각각은,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 송신 신호에 포함된 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부;를 구비하고,
상기 제어 논리부는
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 에러 검출 장치.
In the communication error detection device provided in a receiver for receiving and processing a transmission signal transmitted from a transmitter,
A pattern data separator for separating a plurality of pattern data included in the transmission signal into a plurality;
A plurality of seed aligners, each of which receives one of the plurality of pattern data and detects an error of the input pattern data; And
And an output unit for combining the error signals outputted from the plurality of seed aligners and outputting them as a transmission error signal of the transmission signal.
Each of the plurality of seed aligners,
Receives a flag signal, a reset signal and an external clock signal, outputs a control clock signal for a predetermined period of the external clock signal upon activation of the reset signal, deactivates after the predetermined period passes, and controls the activation of the flag signal. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Receives the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal included in the transmission signal, and the sequence and the sequence of the pattern data during the predetermined period when the reset signal is activated Perform an initial data setting operation for matching the sequence of reference data, and activate the flag signal when the sequence of the pattern data and the sequence of the reference data match, and the pattern data and the reference data are activated during activation of the flag signal. And an error detection unit for comparing and detecting an error of the pattern data.
The control logic section
A counter for receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and to output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. Detection device.
제6항에 있어서, 상기 패턴 데이터 분리부는,
상기 외부 클럭 신호가 입력되고, 복수개의 내부 클럭 신호들을 생성하며, 상기 복수개의 내부 클럭 신호들의 주파수를 상기 외부 클럭 신호의 주파수보다 낮게 만들어서 출력하는 클럭 분배기; 및
상기 패턴 데이터와 상기 복수개의 내부 클럭 신호들을 입력하고, 상기 복수개의 내부 클럭 신호들에 동기되어 상기 패턴 데이터를 복수개로 분리하여 출력하는 디멀티플렉서를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 6, wherein the pattern data separator,
A clock divider configured to receive the external clock signal, generate a plurality of internal clock signals, and output a frequency of the plurality of internal clock signals lower than a frequency of the external clock signal; And
And a demultiplexer configured to input the pattern data and the plurality of internal clock signals and to separate and output the plurality of pattern data in synchronization with the plurality of internal clock signals.
삭제delete 제6항에 있어서, 상기 출력부는,
상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 에러 신호로써 출력하는 멀티플렉서; 및
상기 복수개의 씨드 얼라이너들로부터 출력되는 복수개의 플래그 신호들을 결합하여 하나의 플래그 신호를 출력하는 플래그 신호 발생부를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 6, wherein the output unit,
A multiplexer for combining the error signals outputted from the plurality of seed aligners and outputting the combined error signals as the transmission error signal; And
And a flag signal generator for combining a plurality of flag signals outputted from the plurality of seed aligners and outputting one flag signal.
제6항에 있어서,
상기 패턴 데이터 분리부는 상기 패턴 데이터를 2개로 분리하여 출력하고,
상기 복수개의 씨드 얼라이너들은 2개로 구성되며, 상기 2개의 씨드 얼라이너들은 각각 상기 2개의 패턴 데이터 중 하나를 입력하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 6,
The pattern data separator divides and outputs the pattern data into two,
And the plurality of seed aligners are configured as two, and the two seed aligners each input one of the two pattern data.
제6항에 있어서,
상기 패턴 데이터 분리부는 상기 패턴 데이터를 4개로 분리하여 출력하고,
상기 복수개의 씨드 얼라이너들은 4개로 구성되며, 상기 4개의 씨드 얼라이너들은 각각 상기 4개의 패턴 데이터 중 하나를 입력하는 것을 특징으로 하는 통신 에러 검출 장치.
The method of claim 6,
The pattern data separator divides and outputs the pattern data into four pieces,
And the plurality of seed aligners are configured as four, and the four seed aligners each input one of the four pattern data.
특정한 패턴 데이터를 생성하여 출력하는 패턴 발생부와, 상기 패턴 데이터를 포함하는 송신 신호를 송신하는 송신부를 포함하는 송신기; 및
상기 송신 신호를 수신하는 수신기;를 구비하고,
상기 수신기는 통신 에러 검출 장치를 포함하며,
상기 통신 에러 검출 장치는,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부;를 포함하고,
상기 제어 논리부는,
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 제1 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 시스템.
A transmitter including a pattern generator for generating and outputting specific pattern data, and a transmitter for transmitting a transmission signal including the pattern data; And
A receiver for receiving the transmission signal;
The receiver includes a communication error detection device,
The communication error detection device,
Receives a flag signal, a reset signal and an external clock signal, outputs a control clock signal for a predetermined period of the external clock signal upon activation of the reset signal, deactivates after the predetermined period passes, and controls the activation of the flag signal. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Initially receiving the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal, and matching the sequence of the pattern data and the sequence of the reference data during the predetermined period when the reset signal is activated. And performing a data setting operation, activating the flag signal when the sequence of the pattern data and the sequence of the reference data match, and comparing the pattern data with the reference data during activation of the flag signal to correct an error of the pattern data. An error detection unit for detecting;
The control logic unit,
A first counter receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. .
제12항에 있어서, 상기 수신기는,
상기 통신 에러 검출 장치로부터 출력되는 상기 송신 신호의 에러를 카운트하는 제2 카운터를 더 구비하는 것을 특징으로 하는 통신 시스템.
The method of claim 12, wherein the receiver,
And a second counter for counting an error of the transmission signal output from the communication error detection device.
제12항에 있어서,
상기 송신기의 패턴 발생부와 상기 수신기의 기준 데이터 발생부는 동일한 구조를 갖는 것을 특징으로 하는 통신 시스템.
The method of claim 12,
And the pattern generator of the transmitter and the reference data generator of the receiver have the same structure.
복수개의 서브 패턴 데이터를 생성하고, 상기 복수개의 서브 패턴 데이터를 하나로 결합한 패턴 데이터를 출력하는 패턴 발생부와, 상기 패턴 발생부에서 출력되는 패턴 데이터를 포함하는 송신 신호를 송신하는 송신부를 포함하는 송신기; 및
상기 송신 신호를 수신하는 수신기;를 구비하며,
상기 수신기는 통신 에러 검출 장치를 포함하며,
상기 통신 에러 검출 장치는,
상기 패턴 데이터가 입력되고, 상기 패턴 데이터를 상기 복수개의 서브 패턴 데이터로 분리하는 패턴 데이터 분리부;
각각, 상기 복수개의 서브 패턴 데이터 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및
상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부;를 포함하며
상기 복수개의 씨드 얼라이너들 각각은,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 송신 신호에 포함된 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부;를 구비하고,
상기 제어 논리부는
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 시스템.
A transmitter including a pattern generator for generating a plurality of sub-pattern data and outputting pattern data combining the plurality of sub-pattern data into one, and a transmitter for transmitting a transmission signal including the pattern data output from the pattern generator ; And
A receiver for receiving the transmission signal;
The receiver includes a communication error detection device,
The communication error detection device,
A pattern data separator configured to input the pattern data, and separate the pattern data into the plurality of sub pattern data;
A plurality of seed aligners, each of which receives one of the plurality of sub pattern data and detects an error of the input sub pattern data; And
And an output unit for combining the error signals outputted from the plurality of seed aligners and outputting the transmission error signal of the transmission signal.
Each of the plurality of seed aligners,
Receives a flag signal, a reset signal and an external clock signal, and outputs a control clock signal for a predetermined period of the external clock signal when the reset signal is activated, deactivated after the predetermined period, and the control when the flag signal is activated. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Receives the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal included in the transmission signal, and the sequence and the sequence of the pattern data during the predetermined period when the reset signal is activated Perform an initial data setting operation for matching the sequence of reference data, and activate the flag signal when the sequence of the pattern data matches the sequence of the reference data, and during the activation of the flag signal, the pattern data and the reference data And an error detection unit for comparing and detecting an error of the pattern data.
The control logic section
A counter for receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and to output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. .
제15항에 있어서, 상기 송신기의 패턴 발생부는,
외부 클럭 신호가 입력되고, 복수개의 내부 클럭 신호들을 생성하며, 상기 복수개의 내부 클럭 신호들의 주파수를 상기 외부 클럭 신호의 주파수보다 낮게 만들어서 출력하는 클럭 분배기;
상기 복수개의 내부 클럭 신호들 중 하나가 입력되고, 상기 복수개의 서브 패턴 데이터 중 하나의 서브 패턴 데이터를 생성하는 패턴 발생기;
상기 복수개의 내부 클럭 신호들 중 상기 패턴 발생기로 입력되지 않는 모든 내부 클럭 신호 및 상기 패턴 발생기로부터 출력되는 서브 패턴 데이터가 입력되고, 상기 입력되는 하나 이상의 클럭 신호에 동기되어 상기 입력되는 서브 패턴 데이터를 시프팅시켜서 하나 이상의 서브 패턴 데이터를 생성하여 출력하는 시프팅부; 및
상기 패턴 발생기에서 출력되는 서브 패턴 데이터와 상기 시프팅부에서 출력되는 하나 이상의 서브 패턴 데이터를 하나로 결합하여 상기 패턴 발생부의 패턴 데이터로써 출력하는 결합부를 구비하는 것을 특징으로 하는 통신 시스템.
The method of claim 15, wherein the pattern generator of the transmitter,
A clock divider configured to receive an external clock signal, generate a plurality of internal clock signals, and output a frequency of the plurality of internal clock signals lower than a frequency of the external clock signal;
A pattern generator to which one of the plurality of internal clock signals is input and to generate one sub pattern data of the plurality of sub pattern data;
Among the plurality of internal clock signals, all internal clock signals which are not input to the pattern generator and sub pattern data output from the pattern generator are input, and the input sub pattern data is synchronized with the input one or more clock signals. A shifting unit which shifts to generate and output one or more subpattern data; And
And a combiner for combining the sub-pattern data output from the pattern generator and one or more sub-pattern data output from the shifting unit into one and outputting the pattern data as pattern data of the pattern generator.
삭제delete 제15항에 있어서,
상기 송신기의 패턴 발생부에서 생성되는 복수개의 서브 패턴 데이터와 상기 복수개의 씨드 얼라이너들의 기준 데이터 발생부에서 발생되는 복수개의 기준 데이터는 동일한 데이터 시퀀스를 갖는 것을 특징으로 하는 통신 시스템.
The method of claim 15,
And the plurality of sub pattern data generated by the pattern generator of the transmitter and the plurality of reference data generated by the reference data generator of the plurality of seed aligners have the same data sequence.
제15항에 있어서,
상기 송신기의 패턴 발생부에서 발생되는 복수개의 서브 패턴 데이터의 개수와 상기 복수개의 씨드 얼라이너들의 개수는 동일한 것을 특징으로 하는 통신 시스템.
The method of claim 15,
The number of the plurality of sub-pattern data generated in the pattern generator of the transmitter and the number of the plurality of seed aligner is the same.
KR1020130082005A 2013-07-12 2013-07-12 Apparatus for detecting communication error and communication system having the same KR102079729B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130082005A KR102079729B1 (en) 2013-07-12 2013-07-12 Apparatus for detecting communication error and communication system having the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130082005A KR102079729B1 (en) 2013-07-12 2013-07-12 Apparatus for detecting communication error and communication system having the same

Publications (2)

Publication Number Publication Date
KR20150007691A KR20150007691A (en) 2015-01-21
KR102079729B1 true KR102079729B1 (en) 2020-02-20

Family

ID=52570543

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130082005A KR102079729B1 (en) 2013-07-12 2013-07-12 Apparatus for detecting communication error and communication system having the same

Country Status (1)

Country Link
KR (1) KR102079729B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002026876A (en) * 2000-05-26 2002-01-25 Synthesys Research Inc Bit value examining method for bit error location measurement
JP2005286831A (en) * 2004-03-30 2005-10-13 Nec Corp Apparatus and method for measuring error
JP2011146792A (en) * 2010-01-12 2011-07-28 Anritsu Corp Error rate measuring apparatus and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164030A (en) * 1996-11-25 1998-06-19 Anritsu Corp Signal comparison and evaluation device and error detector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002026876A (en) * 2000-05-26 2002-01-25 Synthesys Research Inc Bit value examining method for bit error location measurement
JP2005286831A (en) * 2004-03-30 2005-10-13 Nec Corp Apparatus and method for measuring error
JP2011146792A (en) * 2010-01-12 2011-07-28 Anritsu Corp Error rate measuring apparatus and method

Also Published As

Publication number Publication date
KR20150007691A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
TWI723006B (en) High speed data transfer using calibrated, single-clock source synchronous serializer-deserializer protocol
US8468398B2 (en) Loopback testing with phase alignment of a sampling clock at a test receiver apparatus
US9094181B2 (en) Communication system, data transmitter, and data receiver capable of detecting incorrect receipt of data
JP2008122399A (en) Interface testing circuit and method
US8949680B2 (en) Data receiver device and test method thereof
US8572447B2 (en) Circuitry for built-in self-test
US9037437B2 (en) High speed data testing without high speed bit clock
US7882474B2 (en) Testing phase error of multiple on-die clocks
JP2004260677A (en) Communication equipment
US8675798B1 (en) Systems, circuits, and methods for phase inversion
KR20140002914A (en) Test circuit of semiconductor memory apparatus and semiconductor memory system including the same
US20160306383A1 (en) Multi-card synchronization system of fundamental and divided clock frequencies
KR102079729B1 (en) Apparatus for detecting communication error and communication system having the same
CN107533533B (en) Communication between integrated circuits
US7532995B1 (en) Interpolator testing circuit
Aloisio et al. High-speed, fixed-latency serial links with FPGAs for synchronous transfers
JP2004274527A (en) Data transmission/reception apparatus
US20080056339A1 (en) Receiver and signal testing method thereof
US9049020B2 (en) Circuitry to facilitate testing of serial interfaces
KR20120116298A (en) Data receiving device
TW201813315A (en) Clock correction method, reference clock generation method, clock correction circuit and reference clock generation circuit
CN105450223A (en) Clock data recovery device
US9246616B2 (en) Clock phase compensator for multi-stage time division multiplexer
KR101110114B1 (en) Method and circuit for synchronization, and data synchronization apparatus having the same
JP6695200B2 (en) Serial data receiving circuit, transceiver circuit, electronic device, idle state detection method

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