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 PDF

Info

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
Application number
KR1020070021484A
Other languages
Korean (ko)
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 KR1020070021484A priority Critical patent/KR20080034750A/en
Publication of KR20080034750A publication Critical patent/KR20080034750A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details
    • H04L7/0087Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed 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

An apparatus and a method for processing clock signals of a serial communication system are provided to prevent the attenuation of signals due to the length of wires by utilizing a reference clock according to clock signal conditions. A serial communication system includes a transmitter and a receiver(200). The receiver includes a reference clock generator(220), a serial transceiver(210), a control logic(240), a HDLC(High level Data Link Control) controller(230), and a microprocessor. The reference clock generator generates a reference clock. The serial transceiver converts clock and data signals received through a serial line into TTL(Transistor Transistor Logic) signals. The control logic processes serial data using the TTL and clock signals, sets an error detection range using the reference clock, and processes the serial data using the TTL signal and reference clock when a positive edge is not detected in the error detection range. The HDLC controller processes the serial data. The microprocessor executes a communication function according to the serial data.

Description

직렬 통신 시스템의 클럭 신호 처리 방법 및 그 장치{APPARATUS AND METHOD FOR PROCESSING CLOCK SIGNAL OF SERIAL COMMUNICATION SYSTEM}Method and apparatus for processing clock signal in serial communication system {APPARATUS AND METHOD FOR PROCESSING CLOCK SIGNAL OF SERIAL COMMUNICATION SYSTEM}

도 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 transmission communication device 10 that transmits a clock signal TXC and a data signal TXD, and a reception communication device 20 that receives a clock signal RXC and a data signal RXD receive data. It is connected through a network.

즉, 수신 통신 장비(20)는 광대역 통신망과 같은 데이터 통신망을 통해 전송 통신 장비(10)로부터 클럭 신호(RXC) 및 데이터 신호(RXD)를 수신한다. 이러한, 클럭 신호와 데이터 신호는 각각의 직렬 라인을 통해 수신되며, 클럭 신호에 데이터 신호가 동기되어 전송된다.That is, the reception communication device 20 receives the clock signal RXC and the data signal RXD from the transmission communication device 10 through a data communication network such as a broadband communication network. The clock signal and the data signal are received through the respective serial lines, and the data signal is transmitted in synchronization with the clock signal.

전송 통신 장비(10)는 자체적으로 발생되는 기준 클럭에 데이터 신호를 동기시켜, 클럭 신호(TXC)와 데이터 신호(TXD)를 각각의 직렬 라인을 통해 수신 통신 장비(20)로 전송한다. The transmission communication device 10 synchronizes the data signal with a reference clock generated by itself, and transmits the clock signal TXC and the data signal TXD to the reception communication device 20 through respective serial lines.

즉, 전송 통신 장비(10)는 전송하고자 하는 데이터를 물리 계층을 통해 전송할 수 있도록 처리하고, 기준 클럭에 데이터 신호를 동기시켜 차등 신호, 즉 클럭 신호 및 데이터 신호로 변환하여, 각각의 직렬 라인을 통해 데이터 통신망으로 전송한다.That is, the transmission communication equipment 10 processes the data to be transmitted through the physical layer, synchronizes the data signal with the reference clock, and converts each serial line into a differential signal, that is, a clock signal and a data signal. To the data network.

한편, 수신 통신 장비(20)는 각각의 직렬 라인으로 수신되는 클럭 신호 및 데이터 신호를 0~5볼트의 TTL (Transistor-transistor logic) 신호로 변환하여, 2계층(LAYER-2)의 데이터를 복원하고, 데이터 프로세싱을 처리한다.Meanwhile, the reception communication equipment 20 converts the clock signal and the data signal received through each serial line into a 0-5 volt TTL (transistor-transistor logic) signal to restore data of the second layer (LAYER-2). And process the data processing.

즉, 수신 통신 장비(20)는 자체적으로 발생되는 기준 클럭을 참조하여, 각각의 직렬 라인으로 수신되는 차등 신호, 즉 클럭 신호 및 데이터 신호를 TTL 신호로 변환하고, 기준 클럭 및 데이터를 먹싱(mux)하고, 2계층의 데이터를 복원한다.That is, the receiving communication device 20 refers to the reference clock generated by itself, converts the differential signal received on each serial line, that is, the clock signal and the data signal into the TTL signal, and muxes the reference clock and the data. Restore data of the second layer.

수신 통신 장비(20)가 직렬 통신 방식으로 수신되는 데이터를 처리하는 방식을 간단히 정리하면, 직렬 네트워크 모듈에서 각각의 직렬 라인을 통하여 수신되는 클럭 신호(RXC)와 그에 동기되는 데이터 신호(RXD)가 신호 레벨 변환이 이뤄지고, 모듈의 설정된 모드 또는 구성(configuration)에 따라 먹싱/디먹싱(mux/demux) 작 업이 이뤄진 이후에 2계층의 데이터로 프로세싱된다.In brief, the method of processing the data received by the receiving communication device 20 in the serial communication method, the clock signal RXC received through each serial line in the serial network module and the data signal RXD synchronized thereto are Signal level translation is done, and mux / demux operations are then processed into two layers of data, depending on the module's set mode or configuration.

이러한, 일반적인 통신 장비의 직렬 네트워크 모듈의 데이터 처리 방식에서는 직렬 통신의 특성상 고속의 데이터 전송을 만족하지 못하며, 인코딩(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 serial network module 200 and a serial network module 200 for receiving and processing a clock signal RXC and a data signal RXD through respective serial lines. Microprocessor 300 for processing / controlling the communication function set in the equipment based on the data received through the.

그리고, 직렬 네트워크 모듈(200)은 직렬 트랜시버(210)와, 기준 클럭 발생부(220)와, HDLC(High-level Data Link Control) 컨트롤러(230)와, 제어 로직(240)을 포함하고, 제어 로직(240)은 동기 제어 로직(241)을 포함한다.The serial network module 200 includes a serial transceiver 210, a reference clock generator 220, a high-level data link control (HDLC) controller 230, and control logic 240. Logic 240 includes synchronous control logic 241.

기준 클럭 발생부(220)는 기준 클럭 신호를 발생시켜 제어 로직(240)으로 제공한다. 이때, 기준 클럭 발생부(220)는 직렬 통신 시스템의 데이터 전송측의 기준 클럭과 동일한 주파수의 기준 클럭을 발생시키는 것이 바람직하다.The reference clock generator 220 generates a reference clock signal and provides it to the control logic 240. At this time, the reference clock generator 220 preferably generates a reference clock of the same frequency as the reference clock of the data transmission side of the serial communication system.

직렬 트랜시버(210)는 데이터 통신망을 통해 각각의 직렬 라인을 통해 수신되는 차등 신호, 즉, 클럭 신호(RXC) 및 데이터 신호(RXD)를 TTL 신호로 변환한다.The serial transceiver 210 converts a differential signal, that is, a clock signal RXC and a data signal RXD, received through each serial line through a data communication network into a TTL signal.

제어 로직(240)은 PLD(programmable logic device)로 구현될 수 있으며, 직렬 트랜시커(210)에서 변화된 TTL 신호와, 클럭 신호를 먹싱/디먹싱하여 직렬 데이터를 HDLC 컨트롤러(230)로 전송하고, 직렬 네트워크 모듈(200)의 각 구성 요소를 제어한다.The control logic 240 may be implemented as a programmable logic device (PLD). The control logic 240 may mux / demux the TTL signal and the clock signal changed in the serial transceiver 210 to transmit serial data to the HDLC controller 230. Each component of the serial network module 200 is controlled.

HDLC 컨트롤러(230)는 제어 로직(240)으로부터 수신되는 직렬 데이터를 2계층의 데이터로 복원한다. 즉, HDLC 컨트롤러(230)는 OSI모형의 2계층에 해당하는 데이터 링크 계층에 대한 프로세싱을 처리한다.The HDLC controller 230 restores serial data received from the control logic 240 to data of two layers. That is, the HDLC controller 230 processes the data link layer corresponding to the two layers of the OSI model.

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 HDLC controller 230 processes data according to the conventions defined in the HLDC.

한편, 제어 로직(240)은 설정되는 에러 검출 범위의 기간동안 직렬 라인을 통해 수신되는 클럭 신호(RXC)를 감지하고, 직렬 라인을 통해 클럭 신호가 수신되지 않으면, 기준 클럭 발생부(220)로부터 발생되는 기준 클럭을 클럭 신호(RXC)로 입력한다.On the other hand, the control logic 240 detects the clock signal RXC received through the serial line during the set error detection range, and if the clock signal is not received through the serial line, from the reference clock generator 220. The generated reference clock is input to the clock signal RXC.

제어 로직(240)의 동기 제어 로직(241)은 에러 검출 범위, 예를 들어, 설정된 에러 검출 범위 내에 포지티브 에지(positive edge)가 직렬 라인을 통해 입력되는지 여부를 확인하여, 포지티브 에지가 감지되면, 직렬 라인을 통해 수신되는 클럭 신호(RXC)를 기반으로 처리되는 데이터 처리 클럭 신호(HDLC_RXC)를 HDLC 컨트롤러(230)로 전송한다. 즉, 직렬 라인으로 입력되는 클럭 신호(RXC)를 이용하여 데이터를 처리한다.The synchronous control logic 241 of the control logic 240 checks whether a positive edge is input through the serial line within an error detection range, for example, a set error detection range, and when the positive edge is detected, The data processing clock signal HDLC_RXC, which is processed based on the clock signal RXC received through the serial line, is transmitted to the HDLC controller 230. That is, the data is processed using the clock signal RXC input to the serial line.

한편, 동기 제어 로직(241)은 에러 검출 범위내에 포지티브 에지가 감지되지 않으면, 즉, 일정 주기로 입력되어야 하는 포지티브 에지가 감지되지 않으면, 직렬 라인을 통해 입력되는 클럭 신호(RXC)에 오류가 발생한 것으로 판단하여, 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 기반으로 데이터를 처리한다. On the other hand, the synchronization control logic 241 indicates that an error has occurred in the clock signal RXC input through the serial line when the positive edge is not detected within the error detection range, that is, when the positive edge to be input at a predetermined period is not detected. In operation, the data is processed based on the reference clock generated by the reference clock generator 220.

그리고, 동기 제어 로직(241)은 직렬 라인으로부터 입력되는 어떠한 신호도 입력되지 않도록 하는 것이 바람직하며, 이는 오류가 발생된 클럭 신호(RXC)가 입 력되지 않도록 하기 위함이다.In addition, the synchronous control logic 241 preferably prevents any signal input from the serial line from being input. This is to prevent the errored clock signal RXC from being input.

이때, 동기 제어 로직(241)은 직렬 라인을 통해 수신되는 데이터 신호(RXD)와 기준 클럭간 스큐(SKEW)가 발생하지 않도록 기준 클럭을 반전시킨다.At this time, the synchronization control logic 241 inverts the reference clock such that skew between the data signal RXD and the reference clock received through the serial line does not occur.

이후, 동기 제어 로직(241)은 설정되는 에러 검출 범위내에 포지티브 에지가 감지되면, 다시금 직렬 라인을 통해 입력되는 클럭 신호(RXC)를 이용하여 직렬 데이터가 처리되도록 한다.Thereafter, when the positive edge is detected within the set error detection range, the synchronization control logic 241 again processes the serial data using the clock signal RXC input through the serial line.

즉, 동기 제어 로직(241)은 직렬 라인을 통해 수신되는 클럭 신호(RXC)의 오류를 에러 검출 범위내에 포지티브 에지가 수신되는지 여부를 확인하여 오류를 자동 감지하고, 클럭 신호(RXC)에 오류가 발생하면, 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 클럭 신호(RXC)로 대체하여 사용되도록 한다.That is, the synchronization control logic 241 automatically detects an error by checking whether an error of the clock signal RXC received through the serial line is received within the error detection range and automatically detects the error, and an error is detected in the clock signal RXC. When generated, the reference clock generated by the reference clock generator 220 is replaced with a clock signal RXC to be used.

또한, 동기 제어 로직(241)이 클럭 신호(RXC)의 오류를 감지하는 에러 검출 범위는 허용 가능한 클럭 오류 개수에 따라 설정될 수 있으며, 허용 가능한 클럭 오류 개수는 최소한으로 설정하는 것이 바람직하다.In addition, an error detection range in which the synchronization control logic 241 detects an error of the clock signal RXC may be set according to the allowable number of clock errors, and it is preferable to set the allowable number of clock errors to a minimum.

도 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 reference clock generator 220. The control logic 241, a pair of muxes 243 for outputting one of a plurality of input signals in accordance with the selection signals a and b, and a register for storing signals output from the synchronous control logic 241 ( 242 and an inverter 244 for inverting the reference clock.

동기 제어 로직(241)은 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 이용하여 일정 주기(CNT_MAX 주기)를 가지는 카운터를 생성하고, 생성된 카운터 값을 기준으로 클럭 신호(RXC) 에러 상태를 저장하는 레지스터(242)를 클리어하는 클리어 시작(STAT_CLR) 신호 및 클럭 신호 시작(RXC_STAT) 값을 래치하여 최종 인터럽터(interrupt) 신호(RXC_INT)를 생성시키는 래치 시작(STAT_LAT) 신호를 생성한다. 이때, 카운터의 최대 값(CNT_MAX 값)을 변경하여 에러 검출 범위를 조정할 수 있다.The synchronization control logic 241 generates a counter having a predetermined period (CNT_MAX period) by using the reference clock generated by the reference clock generator 220, and generates a clock signal (RXC) error state based on the generated counter value. A latch start (STAT_LAT) signal for generating a final interrupt signal (RXC_INT) is generated by latching a clear start (STAT_CLR) signal and a clock signal start (RXC_STAT) value for clearing the register 242 to be stored. At this time, the error detection range may be adjusted by changing the maximum value (CNT_MAX value) of the counter.

여기서, 일정 주기(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 synchronization control logic 241 defines a counter using the generated reference clock, generates a clear start and a latch start signal at a specific value, and the clear start signal may appear two clocks later than the latch start signal.

그리고, 동기 제어 로직(241)은 생성되는 제어 신호인 클리어 시작(STAT_CLR) 및 래치 시작(STAT_LAT) 신호를 이용하여 클럭 신호(RXC)의 입력을 선택하는 제 1 선택 신호 및 기준 클럭의 입력을 선택하는 제 2 선택 신호를 생성한다.The synchronous control logic 241 selects an input of a first selection signal and a reference clock for selecting an input of the clock signal RXC using the clear start (STAT_CLR) and latch start (STAT_LAT) signals that are generated control signals. Generates a second selection signal.

각 먹스(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 serial network module 240 will be described below.

동기 제어 로직(241)은 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 이용하여 일정 주기(CNT_MAX 주기)를 가지는 카운터를 생성하고, 동기 제어 로직(241)은 생성되는 카운터를 이용하여 에러 검출 범위를 설정한다.The synchronization control logic 241 generates a counter having a predetermined period (CNT_MAX period) using the reference clock generated by the reference clock generator 220, and the synchronization control logic 241 detects an error using the generated counter. Set the range.

그리고, 동기 제어 로직(241)은 에러 검출 범위내에서 포지티브 에지가 감지되면, 클럭 시작 신호를 로직 하이로 래치한다.When the positive edge is detected within the error detection range, the synchronization control logic 241 latches the clock start signal to logic high.

따라서, 제 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 first input terminal 1 according to an example. The in clock signal RXC is output and processes serial data based on the clock signal RXC input to the serial line.

이때, 기준 클럭 발생부(220)에서 발생되는 기준 클럭은 제 1 먹스(243-1)를 통해 출력되지 않는다.At this time, the reference clock generated by the reference clock generator 220 is not output through the first mux 243-1.

한편, 동기 제어 로직(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 synchronous control logic 241 is the first mux in the state that the clock signal (RXC) is not input The first select signal of 243-1 is prevented from being held at a logic high.

반면, 동기 제어 로직(241)은 에러 검출 범위내에서 포지티브 에지가 감지되지 않으면, 클럭 시작 신호를 로직 로우로 전환한다.On the other hand, if the positive edge is not detected within the error detection range, the synchronous control logic 241 turns the clock start signal to a logic low.

따라서, 제 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 second input terminal 2, to process serial data based on the reference clock.

이때, 제 1 먹스(243-1)로 제 1 입력 단자(1)로 입력되는 클럭 신호(RXC)는 출력되지 않는다.At this time, the clock signal RXC input to the first input terminal 1 through the first mux 243-1 is not output.

도 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 serial network module 200 of the receiving side of the serial communication system, that is, the receiving communication equipment, generates its own reference clock (S 100).

그리고, 직렬 네트워크 모듈(200)은 기준 클럭을 이용하여 일정 주기를 가지는 에러 검출 범위를 설정한다(S 110). 여기서, 일정 주기는 클럭 신호(RXC) 펄스(pulse)의 연속적인 입력 오류 개수 허용치를 의미할 수 있다.The serial network module 200 sets an error detection range having a certain period using the reference clock (S110). Here, the predetermined period may mean the allowable number of continuous input errors of the clock signal RXC pulse.

이후, 직렬 네트워크 모듈(200)은 직렬 라인을 통해 입력되는 클럭 신호(RXC)를 감지한다. 일례에 따라, 직렬 네트워크 모듈(200)은 에러 검출 범위내에 포지티브 에지가 감지되는지 여부를 확인한다(S 120).Thereafter, the serial network module 200 detects the clock signal RXC input through the serial line. According to an example, the serial network module 200 checks whether a positive edge is detected within an error detection range (S 120).

직렬 네트워크 모듈(200)은 에러 검출 범위내에 포지티브 에지가 감지되면, 직렬 라인을 통해 정상적으로 클럭 신호(RXC)가 수신되고 있는 상태이므로, 직렬 라인을 통해 입력되는 클럭 신호를 이용하여 직렬 데이터를 처리한다(S 130).When the positive edge is detected within the error detection range, the serial network module 200 processes the serial data using a clock signal input through the serial line since the clock signal RXC is normally received through the serial line. (S 130).

한편, 직렬 네트워크 모듈(200)은 에러 검출 범위내에 포지티브 에지가 감지되지 않으면, 즉, 일정 주기로 입력되어야 하는 포지티브 에지가 감지되지 않으면, 직렬 라인을 통해 입력되는 클럭 신호(RXC)에 오류가 발생한 것으로 판단하여, 자체적으로 기준 클럭 발생부(220)에서 발생되는 기준 클럭을 기반으로 직렬 데이터를 처리한다(S 140).On the other hand, the serial network module 200 indicates that an error has occurred in the clock signal RXC input through the serial line when the positive edge is not detected within the error detection range, that is, when the positive edge to be input at a predetermined period is not detected. In operation S140, the serial data is processed based on the reference clock generated by the reference clock generator 220.

이때, 직렬 네트워크 모듈(200)은 직렬 라인을 통해 수신되는 데이터 신호(RXD)와 기준 클럭간 스큐(SKEW)가 발생하지 않도록 기준 클럭을 반전시킨다.At this time, the serial network module 200 inverts the reference clock such that skew between the data signal RXD and the reference clock received through the serial line does not occur.

또한, 직렬 네트워크 모듈(200)은 에러 검출 범위가 만료되면, 즉 일정 주기가 지나가면, 초기화하여 다시금 에러 검출 범위내에 포지티브 에지가 감지되는지 여부를 확인한다.In addition, the serial network module 200 initializes when the error detection range expires, that is, when a certain period passes, and checks again whether a positive edge is detected within the error detection range.

이상에서 본 발명은 기재된 구체 예에 대해서만 상세히 설명하였지만 본 발명의 기술 사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.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)

직렬 통신 시스템에 있어서,In a serial communication system, 데이터 통신망을 통해 클럭 신호(TXC)와 그에 동기되는 데이터 신호(TXD)를 전송하는 전송 통신 장비와,A transmission communication device for transmitting a clock signal TXC and a data signal TXD synchronized with the same through a data communication network; 상기 데이터 통신망을 통해 각각의 직렬 라인으로 클럭 신호(RXC)와 그에 동기되는 데이터 신호(RXD)를 수신하며, 설정되는 에러 검출 범위내에 상기 클럭 신호(RXC)가 수신되는 직렬 라인을 통해 포지티브 에지(positive edge)가 감지되지 않으면, 자체적으로 발생되는 기준 클럭을 이용하여 상기 데이터 신호를 처리하는 수신 통신 장비를 포함하는 직렬 통신 시스템.Receive a clock signal (RXC) and a data signal (RXD) in synchronization with each serial line through the data communication network, and a positive edge (via a serial line through which the clock signal (RXC) is received within a set error detection range). and a receiving communication device for processing the data signal using a reference clock generated by itself if a positive edge is not detected. 제 1 항에 있어서, 상기 수신 통신 장비는,The method of claim 1, wherein the receiving communication equipment, 상기 기준 클럭을 발생시키는 기준 클럭 발생부와,A reference clock generator for generating the reference clock; 상기 각각의 직렬 라인을 통해 수신되는 클럭 신호(RXC) 및 데이터 신호(RXD)를 TTL 신호로 변환하는 직렬 트랜시버와,A serial transceiver for converting a clock signal RXC and a data signal RXD received through each serial line into a TTL signal; 상기 직렬 트랜시버에서 변환된 상기 TTL 신호 및 클럭 신호를 이용하여 직렬 데이터를 처리하며, 상기 기준 클럭 발생부에서 발생되는 상기 기준 클럭을 이용하여 에러 검출 범위를 설정하고, 상기 에러 검출 범위내에 상기 포지티브 에지가 감지되지 않으면, 상기 TTL 신호 및 상기 기준 클럭을 이용하여 상기 직렬 데이 터를 처리하는 제어 로직과,The serial data is processed using the TTL signal and the clock signal converted by the serial transceiver, an error detection range is set using the reference clock generated by the reference clock generator, and the positive edge is within the error detection range. If is not detected, the control logic for processing the serial data using the TTL signal and the reference clock, 상기 제어 로직에서 처리되는 상기 직렬 데이터를 2계층 프로세싱 처리하는 HDLC 컨트롤러와,An HDLC controller for performing two-layer processing on the serial data processed by the control logic; 상기 직렬 데이터에 따라 통신 기능을 처리하는 마이크로 프로세서를 포함하는 직렬 통신 시스템.And a microprocessor for processing a communication function in accordance with the serial data. 제 2 항에 있어서, 상기 제어 로직은,The method of claim 2, wherein the control logic, 상기 기준 클럭을 반전시켜 상기 직렬 데이터를 처리하는 것을 특징으로 하는 직렬 통신 시스템.And inverting said reference clock to process said serial data. 제 1 항에 있어서, 상기 에러 검출 범위는,The method of claim 1, wherein the error detection range is, 입력 오류 허용 가능치에 상응하는 상기 클럭 신호(RXC)의 펄스 개수에 따라 설정되는 것을 특징으로 하는 직렬 통신 시스템.And the number of pulses of the clock signal (RXC) corresponding to an input error allowable value. 직렬 통신 시스템의 직렬 네트워크 모듈에 있어서, In a serial network module of a serial communication system, 기준 클럭을 발생시키는 기준 클럭 발생부와,A reference clock generator for generating a reference clock; 데이터 통신망의 각각 직렬 라인을 통해 수신되는 클럭 신호(RXC) 및 데이터 신호(RXD)를 TTL 신호로 변환하는 직렬 트랜시버와,A serial transceiver for converting a clock signal (RXC) and a data signal (RXD) received through a serial line of the data communication network into a TTL signal, respectively; 상기 직렬 트랜시버에서 변환된 상기 TTL 신호 및 클럭 신호를 이용하여 직렬 데이터를 처리하며, 상기 기준 클럭 발생부에서 발생되는 상기 기준 클럭을 이용하여 에러 검출 범위를 설정하고, 상기 에러 검출 범위내에 상기 포지티브 에지가 감지되지 않으면, 상기 TTL 신호 및 상기 기준 클럭을 이용하여 상기 직렬 데이터를 처리하는 제어 로직과,The serial data is processed using the TTL signal and the clock signal converted by the serial transceiver, an error detection range is set using the reference clock generated by the reference clock generator, and the positive edge is within the error detection range. If is not detected, the control logic to process the serial data using the TTL signal and the reference clock, 상기 제어 로직에서 처리되는 상기 직렬 데이터를 2계층 프로세싱 처리하는 HDLC 컨트롤러를 포함하는 직렬 통신 시스템의 직렬 네트워크 모듈.And a HDLC controller for two-layer processing the serial data processed by the control logic. 제 5항에 있어서, 상기 제어 로직은,The method of claim 5, wherein the control logic, 상기 직렬 라인을 통해 상기 에러 검출 범위내에 상기 포지티브 에지가 감지되는 여부에 따라 제 1 및 제 2 선택 신호를 출력하는 동기 제어 로직과,Synchronous control logic for outputting a first and a second selection signal depending on whether the positive edge is detected within the error detection range via the serial line; 상기 기준 클럭을 반전시키는 인버터와,An inverter for inverting the reference clock; 제 1 입력 단자로 상기 클럭 신호(RXC)가 입력되고, 제 2 입력 단자로 상기 인버터에서 반전된 반전 기준 클럭이 입력되며, 상기 제 1 선택 신호가 입력되면, 상기 클럭 신호를 출력하고, 상기 제 2 선택 신호가 입력되면, 상기 반전 기준 클럭을 출력하는 제 1 먹스를 포함하는 직렬 통신 시스템의 직렬 네트워크 모듈.The clock signal RXC 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 clock signal is outputted. And a second mux for outputting the inverted reference clock when a two selection signal is input. 제 6항에 있어서, 상기 제어 로직은,The method of claim 6, wherein the control logic, 제 1 입력 단자로 상기 기준 클럭이 입력되고, 제 2 입력 단자로 상기 인버터에서 반전된 반전 기준 클럭이 입력되며, 상기 제 1 선택 신호가 입력되면, 상기 기준 클럭을 상기 제 1 먹스의 제 2 입력 단자로 출력하고, 상기 제 2 선택 신호가 입력되면, 상기 반전 기준 클럭을 상기 제 1 먹스의 제 2 입력 단자로 출력하는 제 2 먹스를 더 포함하는 직렬 통신 시스템의 직렬 네트워크 모듈.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 input to the second input of the first mux. And a second mux for outputting to the terminal and outputting the inverted reference clock to the second input terminal of the first mux when the second selection signal is input. 직렬 통신 시스템의 수신측에서 클럭 신호를 처리하는 방법에 있어서, A method for processing a clock signal at a receiving side of a serial communication system, 데이터 통신망을 통해 데이터를 전송하는 발신측의 기준 클럭과 동기되는 기준 클럭을 발생시키는 단계와,Generating a reference clock synchronized with a reference clock of the calling party transmitting data through the data communication network; 상기 기준 클럭을 이용하여 일정 주기의 에러 검출 범위를 설정하는 단계와,Setting an error detection range of a predetermined period using the reference clock; 각각의 직렬 라인을 통해 클럭 신호(RXC) 및 데이터 신호(RXD)를 수신하는 단계와, Receiving a clock signal (RXC) and a data signal (RXD) over each serial line, 상기 에러 검출 범위내에 상기 직렬 라인에서 포지티브 에지가 감지되는지 여부를 확인하여, Checking whether a positive edge is detected on the serial line within the error detection range, a) 상기 포지티브 에지가 감지되면, 상기 클럭 신호(RXC)를 이용하여 상기 데이터 신호(RXD)를 처리하고, a) when the positive edge is detected, processes the data signal RXD using the clock signal RXC, b) 상기 포지티브 에지기 감지되지 않으면, 상기 발생되는 기준 클럭을 이용하여 상기 데이터 신호(RXD)를 처리하는 단계를 포함하는 직렬 통신 시스템 의 수신측에서 클럭 신호를 처리하는 방법.b) if the positive edger is not detected, processing the data signal (RXD) using the generated reference clock. 제 8항에 있어서, The method of claim 8, 상기 포지티브 에지가 감지되지 않으면, 상기 직렬 라인을 통해 입력되는 상기 클럭 신호(RXC)를 입력되지 않도록 차단하는 단계와, If the positive edge is not detected, blocking the clock signal RXC input through the serial line from being input; 상기 기준 클럭과 상기 데이터 신호(RXD)간 스큐 방지를 위하여 상기 기준 클럭을 반전시키는 단계를 더 포함하는 직렬 통신 시스템의 수신측에서 클럭 신호를 처리하는 방법.Inverting said reference clock to prevent skew between said reference clock and said data signal (RXD).
KR1020070021484A 2007-03-05 2007-03-05 Apparatus and method for processing clock signal of serial communication system KR20080034750A (en)

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)

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