KR20080034750A - Apparatus and method for processing clock signal of serial communication system - Google Patents
Apparatus and method for processing clock signal of serial communication system Download PDFInfo
- Publication number
- KR20080034750A KR20080034750A KR1020070021484A KR20070021484A KR20080034750A KR 20080034750 A KR20080034750 A KR 20080034750A KR 1020070021484 A KR1020070021484 A KR 1020070021484A KR 20070021484 A KR20070021484 A KR 20070021484A KR 20080034750 A KR20080034750 A KR 20080034750A
- Authority
- KR
- South Korea
- Prior art keywords
- signal
- serial
- reference clock
- data
- clock
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/324—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0079—Receiver details
- H04L7/0087—Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
Abstract
Description
도 1을 일반적인 데이터 통신망에서 직렬 통신 방식으로 데이터를 교환하는 것을 설명하기 위한 블록 도면.1 is a block diagram for explaining data exchange in a serial communication scheme in a general data communication network.
도 2는 본 발명의 바람직한 실시예에 따른 직렬 통신 시스템의 수신 통신 장비를 설명하기 위한 도면.2 is a diagram for explaining reception communication equipment of a serial communication system according to a preferred embodiment of the present invention.
도 3은 본 발명의 바람직한 실시예에 따른 직렬 네트워크 모듈의 클럭 신호 처리 장치를 설명하기 위한 도면.3 is a view for explaining a clock signal processing apparatus of a serial network module according to an embodiment of the present invention.
도 4는 본 발명의 바람직한 실시예에 따른 직렬 통신 시스템의 클럭 신호 처리 방법을 설명하기 위한 플로챠트 도면.4 is a flowchart for explaining a clock signal processing method of a serial communication system according to a preferred embodiment of the present invention.
**도면의 주요부분에 대한 부호의 설명**** Description of the symbols for the main parts of the drawings **
200 : 직렬 네트워크 모듈 210 : 직렬 드랜시버200: serial network module 210: serial transceiver
220 : 기준 클럭 발생부 230 : HDLC 컨트롤러220: reference clock generator 230: HDLC controller
240 : 제어 로직 241 : 동기 제어 로직240: control logic 241: synchronous control logic
242 : 레지스터 243 : 먹스242: Register 243: mux
244 : 인버터244: Inverter
본 발명은 직렬 통신 시스템의 클럭 신호 처리 방법 및 그 장치에 관한 것으로, 더욱 자세하게는, 직렬 통신 시스템의 수신측에서 수신되는 클럭 신호(RXC)가 직렬 라인의 길이에 따른 신호 감쇠 등과 같은 이유로 오류가 발생하지 않도록 하는 직렬 통신 시스템의 클럭 신호 처리 방법 및 그 장치에 관한 것이다.The present invention relates to a method and apparatus for processing a clock signal of a serial communication system. More particularly, the clock signal (RXC) received at the receiving side of the serial communication system has errors due to attenuation of the signal along the length of the serial line. The present invention relates to a clock signal processing method and apparatus thereof of a serial communication system that do not occur.
현재 광대역 네트워크(wide area network)에서 데이터를 직렬(serial) 통신 방식으로 교환할 수 있는 직렬 네트워크 모듈을 적용하고 있다. 즉, 직렬 통신 방식으로 데이터를 교환할 수 있는 직렬 네트워크 모듈을 통신 장비에 탑재하여 광대역 네트워크와 같은 데이터 통신 망에서 데이터를 교환한다.Currently, a serial network module capable of exchanging data by serial communication in a wide area network is being applied. That is, a serial network module capable of exchanging data in a serial communication method is mounted in a communication device to exchange data in a data communication network such as a broadband network.
도 1을 일반적인 데이터 통신망에서 직렬 통신 방식으로 데이터를 교환하는 것을 설명하기 위한 블록 도면이다.1 is a block diagram for explaining data exchange in a serial communication method in a general data communication network.
도 1을 참조하면, 클럭 신호(TXC) 및 데이터 신호(TXD)를 전송하는 전송 통신 장비(10)와, 클럭 신호(RXC) 및 데이터 신호(RXD)를 수신하는 수신 통신 장비(20)가 데이터 통신망을 통해 연결되어 있다.Referring to FIG. 1, a
즉, 수신 통신 장비(20)는 광대역 통신망과 같은 데이터 통신망을 통해 전송 통신 장비(10)로부터 클럭 신호(RXC) 및 데이터 신호(RXD)를 수신한다. 이러한, 클럭 신호와 데이터 신호는 각각의 직렬 라인을 통해 수신되며, 클럭 신호에 데이터 신호가 동기되어 전송된다.That is, the
전송 통신 장비(10)는 자체적으로 발생되는 기준 클럭에 데이터 신호를 동기시켜, 클럭 신호(TXC)와 데이터 신호(TXD)를 각각의 직렬 라인을 통해 수신 통신 장비(20)로 전송한다. The
즉, 전송 통신 장비(10)는 전송하고자 하는 데이터를 물리 계층을 통해 전송할 수 있도록 처리하고, 기준 클럭에 데이터 신호를 동기시켜 차등 신호, 즉 클럭 신호 및 데이터 신호로 변환하여, 각각의 직렬 라인을 통해 데이터 통신망으로 전송한다.That is, the
한편, 수신 통신 장비(20)는 각각의 직렬 라인으로 수신되는 클럭 신호 및 데이터 신호를 0~5볼트의 TTL (Transistor-transistor logic) 신호로 변환하여, 2계층(LAYER-2)의 데이터를 복원하고, 데이터 프로세싱을 처리한다.Meanwhile, the
즉, 수신 통신 장비(20)는 자체적으로 발생되는 기준 클럭을 참조하여, 각각의 직렬 라인으로 수신되는 차등 신호, 즉 클럭 신호 및 데이터 신호를 TTL 신호로 변환하고, 기준 클럭 및 데이터를 먹싱(mux)하고, 2계층의 데이터를 복원한다.That is, the
수신 통신 장비(20)가 직렬 통신 방식으로 수신되는 데이터를 처리하는 방식을 간단히 정리하면, 직렬 네트워크 모듈에서 각각의 직렬 라인을 통하여 수신되는 클럭 신호(RXC)와 그에 동기되는 데이터 신호(RXD)가 신호 레벨 변환이 이뤄지고, 모듈의 설정된 모드 또는 구성(configuration)에 따라 먹싱/디먹싱(mux/demux) 작 업이 이뤄진 이후에 2계층의 데이터로 프로세싱된다.In brief, the method of processing the data received by the
이러한, 일반적인 통신 장비의 직렬 네트워크 모듈의 데이터 처리 방식에서는 직렬 통신의 특성상 고속의 데이터 전송을 만족하지 못하며, 인코딩(encoding/ decoding) 성능 또는 전송단과 수신단과의 직렬 라인의 길이에 따른 신호 감쇠 등과 같은 이유로 클럭 신호가 비정상적으로 수신되면, 데이터 동기화 과정에서 오류가 발생하게 된다.In the data processing method of the serial network module of the general communication equipment, it does not satisfy the high speed data transmission due to the characteristics of the serial communication, such as encoding / decoding performance or signal attenuation according to the length of the serial line between the transmitting end and the receiving end. If the clock signal is abnormally received for a reason, an error occurs during data synchronization.
데이터 동기화 과정에서 오류가 발생되면, 이에 따라 CRC(cyclic redundancy check) 에러가 발생될 수 있으며, 또한, 클럭 신호(RXC) 에러를 해결할 수 있는 방법이 없음으로, 직렬 라인을 통해 신호를 전송하는 라인 프로토콜에서 전송 속도의 제약 또는 직렬 트랜시버(serial transceiver)의 제약이 발생하게 된다.If an error occurs in the data synchronization process, a cyclic redundancy check (CRC) error may occur according to this, and there is no way to solve the clock signal (RXC) error. In the protocol, a limitation of a transmission rate or a limitation of a serial transceiver occurs.
따라서 본 발명은 상기와 같은 문제점을 해결하기 위하여 창안된 것으로, 직렬 통신 방식으로 데이터를 교환하는 직렬 통신 시스템의 수신측에서 수신되는 클럭 신호(RXC)가 직렬 라인의 길이에 따른 신호 감쇠 등과 같은 이유로 오류가 발생하는 경우, 이를 감지하여 오류로 인한 문제가 발생하지 않도록 처리하며, 통신 제약을 최소화할 수 있는 직렬 통신 시스템의 클럭 신호 처리 방법 및 그 장치를 제공하는 것에 그 목적이 있다.Therefore, the present invention was devised to solve the above problems, and the clock signal RXC received at the receiving side of the serial communication system exchanging data in the serial communication method is the same as the signal attenuation according to the length of the serial line. It is an object of the present invention to provide a clock signal processing method and apparatus for a serial communication system that detects an error and handles it so that a problem caused by the error does not occur and minimizes communication restrictions.
상기 목적을 달성하기 위한 본 발명의 일측면에 따른 직렬 통신 시스템은, 데이터 통신망을 통해 클럭 신호(TXC)와 그에 동기되는 데이터 신호(TXD)를 전송하는 전송 통신 장비와, 상기 데이터 통신망을 통해 각각의 직렬 라인으로 클럭 신호(RXC)와 그에 동기되는 데이터 신호(RXD)를 수신하며, 설정되는 에러 검출 범위내에 상기 클럭 신호(RXC)가 수신되는 직렬 라인을 통해 포지티브 에지(positive edge)가 감지되지 않으면, 자체적으로 발생되는 기준 클럭을 이용하여 상기 데이터 신호를 처리하는 수신 통신 장비를 포함한다.A serial communication system according to an aspect of the present invention for achieving the above object, the transmission communication equipment for transmitting a clock signal (TXC) and the data signal (TXD) in synchronization with it through a data communication network, and each through the data communication network Receives the clock signal RXC and the data signal RXD synchronized with the serial line of the signal, and does not detect the positive edge through the serial line through which the clock signal RXC is received within the set error detection range. Or a receiving communication device for processing the data signal using a self-generated reference clock.
상기 수신 통신 장비는, 상기 기준 클럭을 발생시키는 기준 클럭 발생부와, 상기 각각의 직렬 라인을 통해 수신되는 클럭 신호(RXC) 및 데이터 신호(RXD)를 TTL 신호로 변환하는 직렬 트랜시버와, 상기 직렬 트랜시버에서 변환된 상기 TTL 신호 및 클럭 신호를 이용하여 직렬 데이터를 처리하며, 상기 기준 클럭 발생부에서 발생되는 상기 기준 클럭을 이용하여 에러 검출 범위를 설정하고, 상기 에러 검출 범위내에 상기 포지티브 에지가 감지되지 않으면, 상기 TTL 신호 및 상기 기준 클럭을 이용하여 상기 직렬 데이터를 처리하는 제어 로직과, 상기 제어 로직에서 처리되는 상기 직렬 데이터를 2계층 프로세싱 처리하는 HDLC 컨트롤러와, 상기 직렬 데이터에 따라 통신 기능을 처리하는 마이크로 프로세서를 포함한다.The receiving communication equipment includes: a reference clock generator for generating the reference clock, a serial transceiver for converting a clock signal (RXC) and a data signal (RXD) received through each serial line into a TTL signal, and the serial The serial data is processed using the TTL signal and the clock signal converted by the transceiver, an error detection range is set using the reference clock generated by the reference clock generator, and the positive edge is detected within the error detection range. Otherwise, the control logic for processing the serial data using the TTL signal and the reference clock, the HDLC controller for two-layer processing the serial data processed in the control logic, and a communication function according to the serial data. A microprocessor for processing.
상기 제어 로직은, 상기 기준 클럭을 반전시켜 상기 직렬 데이터를 처리하는 것이 바람직하다.The control logic preferably inverts the reference clock to process the serial data.
상기 에러 검출 범위는, 입력 오류 허용 가능치에 상응하는 상기 클럭 신호(RXC)의 펄스 개수에 따라 설정되는 것이 바람직하다.The error detection range is preferably set according to the number of pulses of the clock signal RXC corresponding to an input error allowable value.
본 발명의 다른 측면에 따른 직렬 통신 시스템의 직렬 네트워크 모듈은, 기준 클럭을 발생시키는 기준 클럭 발생부와, 데이터 통신망의 각각 직렬 라인을 통해 수신되는 클럭 신호(RXC) 및 데이터 신호(RXD)를 TTL 신호로 변환하는 직렬 트랜시버와, 상기 직렬 트랜시버에서 변환된 상기 TTL 신호 및 클럭 신호를 이용하여 직렬 데이터를 처리하며, 상기 기준 클럭 발생부에서 발생되는 상기 기준 클럭을 이용하여 에러 검출 범위를 설정하고, 상기 에러 검출 범위내에 상기 포지티브 에지가 감지되지 않으면, 상기 TTL 신호 및 상기 기준 클럭을 이용하여 상기 직렬 데이터를 처리하는 제어 로직과, 상기 제어 로직에서 처리되는 상기 직렬 데이터를 2계층 프로세싱 처리하는 HDLC 컨트롤러를 포함한다.According to another aspect of the present invention, a serial network module of a serial communication system includes a reference clock generator for generating a reference clock and a clock signal (RXC) and a data signal (RXD) received through serial lines of a data communication network, respectively. A serial transceiver converting the signal into a signal, the serial data is processed using the TTL signal and the clock signal converted from the serial transceiver, and the error detection range is set using the reference clock generated by the reference clock generator; If the positive edge is not detected within the error detection range, the control logic for processing the serial data using the TTL signal and the reference clock, and the HDLC controller for two-layer processing the serial data processed by the control logic. It includes.
상기 제어 로직은, 상기 직렬 라인을 통해 상기 에러 검출 범위내에 상기 포지티브 에지가 감지되는 여부에 따라 제 1 및 제 2 선택 신호를 출력하는 동기 제어 로직과, 상기 기준 클럭을 반전시키는 인버터와, 제 1 입력 단자로 상기 클럭 신호(RXC)가 입력되고, 제 2 입력 단자로 상기 인버터에서 반전된 반전 기준 클럭이 입력되며, 상기 제 1 선택 신호가 입력되면, 상기 클럭 신호를 출력하고, 상기 제 2 선택 신호가 입력되면, 상기 반전 기준 클럭을 출력하는 제 1 먹스를 포함한다.The control logic may include synchronous control logic for outputting first and second selection signals depending on whether the positive edge is detected within the error detection range through the serial line, an inverter for inverting the reference clock, and a first; The clock signal RXC is input to an input terminal, an inverted reference clock inverted from the inverter is input to a second input terminal, and when the first selection signal is input, the clock signal is output and the second selection is performed. When a signal is input, the first mux outputs the inverted reference clock.
상기 제어 로직은, 제 1 입력 단자로 상기 기준 클럭이 입력되고, 제 2 입력 단자로 상기 인버터에서 반전된 반전 기준 클럭이 입력되며, 상기 제 1 선택 신호가 입력되면, 상기 기준 클럭을 상기 제 1 먹스의 제 2 입력 단자로 출력하고, 상기 제 2 선택 신호가 입력되면, 상기 반전 기준 클럭을 상기 제 1 먹스의 제 2 입 력 단자로 출력하는 제 2 먹스를 더 포함한다.In the control logic, when the reference clock is input to a first input terminal, an inverted reference clock inverted by the inverter is input to a second input terminal, and when the first selection signal is input, the reference clock is converted into the first clock. And a second mux outputting the second input terminal of the mux and outputting the inverted reference clock to the second input terminal of the first mux when the second selection signal is input.
본 발명의 다른 측면에 따른 직렬 통신 시스템의 수신측에서 클럭 신호를 처리하는 방법은, 데이터 통신망을 통해 데이터를 전송하는 발신측의 기준 클럭과 동기되는 기준 클럭을 발생시키는 단계와, 상기 기준 클럭을 이용하여 일정 주기의 에러 검출 범위를 설정하는 단계와, 각각의 직렬 라인을 통해 클럭 신호(RXC) 및 데이터 신호(RXD)를 수신하는 단계와, 상기 에러 검출 범위내에 상기 직렬 라인에서 포지티브 에지가 감지되는지 여부를 확인하여, a) 상기 포지티브 에지가 감지되면, 상기 클럭 신호(RXC)를 이용하여 상기 데이터 신호(RXD)를 처리하고, b) 상기 포지티브 에지기 감지되지 않으면, 상기 발생되는 기준 클럭을 이용하여 상기 데이터 신호(RXD)를 처리하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of processing a clock signal at a receiving side of a serial communication system, the method comprising: generating a reference clock synchronized with a reference clock at a transmitting side transmitting data through a data communication network; Setting a predetermined period of error detection range, receiving a clock signal RXC and a data signal RXD through each serial line, and detecting a positive edge on the serial line within the error detection range. A) the data signal RXD is processed using the clock signal RXC when the positive edge is detected, and b) the generated reference clock is detected if the positive edge is not detected. And processing the data signal RXD.
상기 직렬 통신 시스템의 수신측에서 클럭 신호를 처리하는 방법은, 상기 포지티브 에지가 감지되지 않으면, 상기 직렬 라인을 통해 입력되는 상기 클럭 신호(RXC)를 입력되지 않도록 차단하는 단계와, 상기 기준 클럭과 상기 데이터 신호(RXD)간 스큐 방지를 위하여 상기 기준 클럭을 반전시키는 단계를 더 포함한다.A method of processing a clock signal at a receiving side of the serial communication system may include blocking the clock signal RXC inputted through the serial line from being input if the positive edge is not detected. And inverting the reference clock to prevent skew between the data signals RXD.
이하, 본 발명에 따른 직렬 통신 시스템의 클럭 신호 처리 방법 및 그 장치를 첨부한 도면을 참조하여 상세 설명하며, 본 발명의 기술 분야는 직렬 통신 시스템의 데이터 수신측에서 클럭 신호(RXC)에 오류가 발생하는 경우에 대한 것이므로, 데이터 전송측의 상세 설명은 생략한다.Hereinafter, a method and apparatus for processing a clock signal of a serial communication system according to the present invention will be described in detail with reference to the accompanying drawings. In the technical field of the present invention, an error occurs in the clock signal RXC at the data receiving side of the serial communication system. Since it is a case of occurrence, detailed description of the data transmission side is omitted.
도 2는 본 발명의 바람직한 실시예에 따른 직렬 통신 시스템의 수신 통신 장 비를 설명하기 위한 도면이다.2 is a view for explaining the reception communication equipment of the serial communication system according to an embodiment of the present invention.
도 2를 참조하면, 본 발명의 따른 수신 통신 장비는 각각의 직렬 라인을 통해 클럭 신호(RXC) 및 데이터 신호(RXD)를 수신하여 처리하는 직렬 네트워크 모듈(200)과, 직렬 네트워크 모듈(200)을 통해 수신되는 데이터를 기반으로 장비에 설정된 통신 기능을 처리/제어하는 마이크로 프로세서(300)를 포함한다.Referring to FIG. 2, a receiving communication device according to the present invention includes a
그리고, 직렬 네트워크 모듈(200)은 직렬 트랜시버(210)와, 기준 클럭 발생부(220)와, HDLC(High-level Data Link Control) 컨트롤러(230)와, 제어 로직(240)을 포함하고, 제어 로직(240)은 동기 제어 로직(241)을 포함한다.The
기준 클럭 발생부(220)는 기준 클럭 신호를 발생시켜 제어 로직(240)으로 제공한다. 이때, 기준 클럭 발생부(220)는 직렬 통신 시스템의 데이터 전송측의 기준 클럭과 동일한 주파수의 기준 클럭을 발생시키는 것이 바람직하다.The
직렬 트랜시버(210)는 데이터 통신망을 통해 각각의 직렬 라인을 통해 수신되는 차등 신호, 즉, 클럭 신호(RXC) 및 데이터 신호(RXD)를 TTL 신호로 변환한다.The
제어 로직(240)은 PLD(programmable logic device)로 구현될 수 있으며, 직렬 트랜시커(210)에서 변화된 TTL 신호와, 클럭 신호를 먹싱/디먹싱하여 직렬 데이터를 HDLC 컨트롤러(230)로 전송하고, 직렬 네트워크 모듈(200)의 각 구성 요소를 제어한다.The
HDLC 컨트롤러(230)는 제어 로직(240)으로부터 수신되는 직렬 데이터를 2계층의 데이터로 복원한다. 즉, HDLC 컨트롤러(230)는 OSI모형의 2계층에 해당하는 데이터 링크 계층에 대한 프로세싱을 처리한다.The
HDLC에서는 Flag(8bit), Address(8bit), 제어(8bit), 데이터 정보(임의), frame의 오류 점검용(16bit), Flag(8bit)와 같은 프레임(frame)의 형식으로 데이터가 저장됨으로, HDLC 컨트롤러(230)는 HLDC에 정의된 규약에 따라 데이터를 처리한다.In HDLC, data is stored in the form of frames such as Flag (8bit), Address (8bit), Control (8bit), Data information (arbitrary), Error checking of frame (16bit), Flag (8bit), The
한편, 제어 로직(240)은 설정되는 에러 검출 범위의 기간동안 직렬 라인을 통해 수신되는 클럭 신호(RXC)를 감지하고, 직렬 라인을 통해 클럭 신호가 수신되지 않으면, 기준 클럭 발생부(220)로부터 발생되는 기준 클럭을 클럭 신호(RXC)로 입력한다.On the other hand, the
제어 로직(240)의 동기 제어 로직(241)은 에러 검출 범위, 예를 들어, 설정된 에러 검출 범위 내에 포지티브 에지(positive edge)가 직렬 라인을 통해 입력되는지 여부를 확인하여, 포지티브 에지가 감지되면, 직렬 라인을 통해 수신되는 클럭 신호(RXC)를 기반으로 처리되는 데이터 처리 클럭 신호(HDLC_RXC)를 HDLC 컨트롤러(230)로 전송한다. 즉, 직렬 라인으로 입력되는 클럭 신호(RXC)를 이용하여 데이터를 처리한다.The
한편, 동기 제어 로직(241)은 에러 검출 범위내에 포지티브 에지가 감지되지 않으면, 즉, 일정 주기로 입력되어야 하는 포지티브 에지가 감지되지 않으면, 직렬 라인을 통해 입력되는 클럭 신호(RXC)에 오류가 발생한 것으로 판단하여, 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 기반으로 데이터를 처리한다. On the other hand, the
그리고, 동기 제어 로직(241)은 직렬 라인으로부터 입력되는 어떠한 신호도 입력되지 않도록 하는 것이 바람직하며, 이는 오류가 발생된 클럭 신호(RXC)가 입 력되지 않도록 하기 위함이다.In addition, the
이때, 동기 제어 로직(241)은 직렬 라인을 통해 수신되는 데이터 신호(RXD)와 기준 클럭간 스큐(SKEW)가 발생하지 않도록 기준 클럭을 반전시킨다.At this time, the
이후, 동기 제어 로직(241)은 설정되는 에러 검출 범위내에 포지티브 에지가 감지되면, 다시금 직렬 라인을 통해 입력되는 클럭 신호(RXC)를 이용하여 직렬 데이터가 처리되도록 한다.Thereafter, when the positive edge is detected within the set error detection range, the
즉, 동기 제어 로직(241)은 직렬 라인을 통해 수신되는 클럭 신호(RXC)의 오류를 에러 검출 범위내에 포지티브 에지가 수신되는지 여부를 확인하여 오류를 자동 감지하고, 클럭 신호(RXC)에 오류가 발생하면, 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 클럭 신호(RXC)로 대체하여 사용되도록 한다.That is, the
또한, 동기 제어 로직(241)이 클럭 신호(RXC)의 오류를 감지하는 에러 검출 범위는 허용 가능한 클럭 오류 개수에 따라 설정될 수 있으며, 허용 가능한 클럭 오류 개수는 최소한으로 설정하는 것이 바람직하다.In addition, an error detection range in which the
도 3은 본 발명의 바람직한 실시예에 따른 직렬 네트워크 모듈의 클럭 신호 처리 장치를 설명하기 위한 도면이다.3 is a diagram illustrating a clock signal processing apparatus of a serial network module according to an exemplary embodiment of the present invention.
도 3을 참조하면, 직렬 라인을 통해 수신되는 클럭 신호(RXC)의 오류를 감지하고, 클럭 신호(RXC)의 오류가 발생하면, 기준 클럭 발생부(220)에서 발생하는 기준 클럭으로 대체하는 동기 제어 로직(241)과, 선택 신호(a,b)에 따라 복수개의 입력 신호 중 하나의 신호를 출력하는 한쌍의 먹스(243)와, 동기 제어 로직(241)으로부터 출력되는 신호를 저장하는 레지스터(242)와, 기준 클럭을 반전시키는 인버 터(244)를 포함한다.Referring to FIG. 3, when the error of the clock signal RXC received through the serial line is detected and an error of the clock signal RXC occurs, the synchronization is replaced by a reference clock generated by the
동기 제어 로직(241)은 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 이용하여 일정 주기(CNT_MAX 주기)를 가지는 카운터를 생성하고, 생성된 카운터 값을 기준으로 클럭 신호(RXC) 에러 상태를 저장하는 레지스터(242)를 클리어하는 클리어 시작(STAT_CLR) 신호 및 클럭 신호 시작(RXC_STAT) 값을 래치하여 최종 인터럽터(interrupt) 신호(RXC_INT)를 생성시키는 래치 시작(STAT_LAT) 신호를 생성한다. 이때, 카운터의 최대 값(CNT_MAX 값)을 변경하여 에러 검출 범위를 조정할 수 있다.The
여기서, 일정 주기(CNT_MAX)는 결과적으로 클럭 신호(RXC) 펄스(pulse)의 연속적인 입력 오류 개수 허용치를 나타낸다.Here, the constant period CNT_MAX consequently represents the allowable number of consecutive input errors of the clock signal RXC pulse.
또한, 동기 제어 로직(241)은 생성되는 기준 클럭을 이용하여 카운터를 정의하고, 특정 값에서 클리어 시작 및 래치 시작 신호를 생성하며, 클리어 시작 신호는 래치 시작 신호보다 2클럭 이후에 나타날 수 있다.In addition, the
그리고, 동기 제어 로직(241)은 생성되는 제어 신호인 클리어 시작(STAT_CLR) 및 래치 시작(STAT_LAT) 신호를 이용하여 클럭 신호(RXC)의 입력을 선택하는 제 1 선택 신호 및 기준 클럭의 입력을 선택하는 제 2 선택 신호를 생성한다.The
각 먹스(243)는 입력되는 선택 신호에 따라 입력되는 신호 중 하나의 신호를 출력한다. 예를 들어, 각 먹스(243)는 선택 신호가 하이(high)이면, 제 1 입력 단자로부터 입력되는 신호를 출력하고, 로우(low)이면, 제 2 입력 단자로부터 입력되 는 신호를 출력한다.Each mux 243 outputs one of the input signals according to the input selection signal. For example, each mux 243 outputs a signal input from the first input terminal if the selection signal is high, and outputs a signal input from the second input terminal if the selection signal is high.
이러한, 직렬 네트워크 모듈(240)의 클럭 신호 처리 방식을 설명하면, 다음과 같다.The clock signal processing scheme of the
동기 제어 로직(241)은 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 이용하여 일정 주기(CNT_MAX 주기)를 가지는 카운터를 생성하고, 동기 제어 로직(241)은 생성되는 카운터를 이용하여 에러 검출 범위를 설정한다.The
그리고, 동기 제어 로직(241)은 에러 검출 범위내에서 포지티브 에지가 감지되면, 클럭 시작 신호를 로직 하이로 래치한다.When the positive edge is detected within the error detection range, the
따라서, 제 1 및 제 2 먹스(243-1, 243-2)의 선택 신호를 하이가 입력되므로, 일례에 따라, 제 1 먹스(243-1)는 제 1 입력 단자(1)로 입력되는 신호인 클럭 신호(RXC)가 출력되어, 직렬 라인으로 입력되는 클럭 신호(RXC)를 기반으로 직렬 데이터를 처리한다.Therefore, since high is input to the selection signals of the first and second muxes 243-1 and 243-2, the first mux 243-1 is a signal input to the
이때, 기준 클럭 발생부(220)에서 발생되는 기준 클럭은 제 1 먹스(243-1)를 통해 출력되지 않는다.At this time, the reference clock generated by the
한편, 동기 제어 로직(241)은 일정 주기(CNT_MAX)마다 생성되는 클리어 시작(STAT_CLR) 신호에 의하여 클럭 시작 신호가 로직 호우로 초기화되면, 이는 클럭 신호(RXC)가 입력되지 않는 상태에서 제 1 먹스(243-1)의 제 1 선택 신호가 로직 하이로 유지되는 것을 방지한다.On the other hand, if the clock start signal is initialized to a logic heavy rain by the clear start (STAT_CLR) signal generated every predetermined period (CNT_MAX), the
반면, 동기 제어 로직(241)은 에러 검출 범위내에서 포지티브 에지가 감지되지 않으면, 클럭 시작 신호를 로직 로우로 전환한다.On the other hand, if the positive edge is not detected within the error detection range, the
따라서, 제 1 및 제 2 먹스(243-1, 243-2)의 선택 신호를 로우가 입력되므로, 일례에 따라, 제 2 먹스(243-2)는 인버터(244)에서 반전되어 제 2 입력 단자(4)로 기준 클럭을 출력하고, 제 1 먹스(243-1)는 제 2 입력 단자(2)로 입력되는 신호인 반전된 기준 클럭을 출력하여, 기준 클럭를 기반으로 직렬 데이터를 처리한다.Therefore, since low is inputted to the selection signals of the first and second muxes 243-1 and 243-2, the second mux 243-2 is inverted in the inverter 244 according to an example and the second input terminal is provided. The reference clock is output to (4), and the first mux 243-1 outputs an inverted reference clock, which is a signal input to the
이때, 제 1 먹스(243-1)로 제 1 입력 단자(1)로 입력되는 클럭 신호(RXC)는 출력되지 않는다.At this time, the clock signal RXC input to the
도 4는 본 발명의 바람직한 실시예에 따른 직렬 통신 시스템의 클럭 신호 처리 방법을 설명하기 위한 플로챠트 도면이다.4 is a flowchart illustrating a clock signal processing method of a serial communication system according to an exemplary embodiment of the present invention.
도 4를 참조하면, 직렬 통신 시스템의 수신측, 즉 수신 통신 장비의 직렬 네트워크 모듈(200)은 자체적으로 기준 클럭을 발생시킨다(S 100).Referring to FIG. 4, the
그리고, 직렬 네트워크 모듈(200)은 기준 클럭을 이용하여 일정 주기를 가지는 에러 검출 범위를 설정한다(S 110). 여기서, 일정 주기는 클럭 신호(RXC) 펄스(pulse)의 연속적인 입력 오류 개수 허용치를 의미할 수 있다.The
이후, 직렬 네트워크 모듈(200)은 직렬 라인을 통해 입력되는 클럭 신호(RXC)를 감지한다. 일례에 따라, 직렬 네트워크 모듈(200)은 에러 검출 범위내에 포지티브 에지가 감지되는지 여부를 확인한다(S 120).Thereafter, the
직렬 네트워크 모듈(200)은 에러 검출 범위내에 포지티브 에지가 감지되면, 직렬 라인을 통해 정상적으로 클럭 신호(RXC)가 수신되고 있는 상태이므로, 직렬 라인을 통해 입력되는 클럭 신호를 이용하여 직렬 데이터를 처리한다(S 130).When the positive edge is detected within the error detection range, the
한편, 직렬 네트워크 모듈(200)은 에러 검출 범위내에 포지티브 에지가 감지되지 않으면, 즉, 일정 주기로 입력되어야 하는 포지티브 에지가 감지되지 않으면, 직렬 라인을 통해 입력되는 클럭 신호(RXC)에 오류가 발생한 것으로 판단하여, 자체적으로 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 기반으로 직렬 데이터를 처리한다(S 140).On the other hand, the
이때, 직렬 네트워크 모듈(200)은 직렬 라인을 통해 수신되는 데이터 신호(RXD)와 기준 클럭간 스큐(SKEW)가 발생하지 않도록 기준 클럭을 반전시킨다.At this time, the
또한, 직렬 네트워크 모듈(200)은 에러 검출 범위가 만료되면, 즉 일정 주기가 지나가면, 초기화하여 다시금 에러 검출 범위내에 포지티브 에지가 감지되는지 여부를 확인한다.In addition, the
이상에서 본 발명은 기재된 구체 예에 대해서만 상세히 설명하였지만 본 발명의 기술 사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.Although the present invention has been described in detail only with respect to the described embodiments, it will be apparent to those skilled in the art that various modifications and changes are possible within the technical spirit of the present invention, and such modifications and modifications belong to the appended claims.
상술한 바와 같이, 본 발명에 따르면, 직렬 통신 시스템의 수신측 통신 장비에서 간단한 로직을 추가하여 클럭 신호(RXC)가 직렬 라인의 길이에 따른 신호 감쇠 등과 같은 이유로 오류가 발생하는 경우, 이를 감지하여 오류로 인한 문제가 발생하지 않도록 처리할 수 있음은 물론, 통신 제약을 최소화할 수 있다.As described above, according to the present invention, by adding a simple logic in the communication device of the receiving side of the serial communication system, if the clock signal (RXC) error occurs for reasons such as signal attenuation according to the length of the serial line, In addition to preventing problems from occurring due to errors, communication restrictions can be minimized.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070021484A KR20080034750A (en) | 2007-03-05 | 2007-03-05 | Apparatus and method for processing clock signal of serial communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070021484A KR20080034750A (en) | 2007-03-05 | 2007-03-05 | Apparatus and method for processing clock signal of serial communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20080034750A true KR20080034750A (en) | 2008-04-22 |
Family
ID=39574053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070021484A KR20080034750A (en) | 2007-03-05 | 2007-03-05 | Apparatus and method for processing clock signal of serial communication system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20080034750A (en) |
-
2007
- 2007-03-05 KR KR1020070021484A patent/KR20080034750A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110868228B (en) | Retimer data communication device | |
US7529275B2 (en) | Data transfer protocol for 6.25 GBPs Serializer/Deserializer (SERDES) | |
US9645958B2 (en) | Method and device for transmitting data having a variable bit length | |
EP2573975B1 (en) | Method and device for selecting sampling clock signal | |
US10129371B2 (en) | Serial communication device and serial communication method | |
US9479277B2 (en) | Mechanism for channel synchronization | |
EP3275130B1 (en) | Method for transmitting messages in a data bus system, transceiver and electronic control unit for a motor vehicle | |
US20100325677A1 (en) | TV Network-Based Ethernet Data Transmission Method and Physical Layer Transmission Apparatus | |
US20120327983A1 (en) | Transmitter apparatus, transmission method and transmission system | |
KR0147471B1 (en) | Ethernet with the capability of sensing the data rate | |
US8054929B2 (en) | System and method for auto-squelching digital communications | |
US7426235B1 (en) | Method of adaptive equalization for high-speed NRZ and multi-level signal data communications | |
JP2922643B2 (en) | System to protect scrambler from unwanted symbol generation | |
US20210320816A1 (en) | Frame screening unit, user station for a serial bus system, and method for communicating in a serial bus system | |
KR20080034750A (en) | Apparatus and method for processing clock signal of serial communication system | |
CN102035733A (en) | Method for establishing serial data transparent transmission channel by Ethernet | |
US10097313B2 (en) | Backchannel protocol for link training and adaptation | |
CN111475447B (en) | High-speed serial transmission device based on LVDS and data transmission method | |
CN111247501B (en) | Device and method for transmitting data between two physical interfaces | |
US7401134B2 (en) | Packet processing architecture | |
JP2008278459A (en) | Communication system, transmitter, receiving apparatus and communication method, and semiconductor device | |
US9667558B1 (en) | Data communication over a frame synchronized digital transmission network | |
JP6299302B2 (en) | Communication apparatus and communication system | |
US8964876B2 (en) | Error compensation transceiver system | |
US20130265921A1 (en) | Method and system for signaling by bit manipulation in communication protocols |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
G15R | Request for early opening | ||
WITN | Withdrawal due to no request for examination |