KR100377933B1 - Automatic clock switching circuit - Google Patents

Automatic clock switching circuit Download PDF

Info

Publication number
KR100377933B1
KR100377933B1 KR1019950067890A KR19950067890A KR100377933B1 KR 100377933 B1 KR100377933 B1 KR 100377933B1 KR 1019950067890 A KR1019950067890 A KR 1019950067890A KR 19950067890 A KR19950067890 A KR 19950067890A KR 100377933 B1 KR100377933 B1 KR 100377933B1
Authority
KR
South Korea
Prior art keywords
clock
circuit
switching
remote
local
Prior art date
Application number
KR1019950067890A
Other languages
Korean (ko)
Other versions
KR970056157A (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 KR1019950067890A priority Critical patent/KR100377933B1/en
Publication of KR970056157A publication Critical patent/KR970056157A/en
Application granted granted Critical
Publication of KR100377933B1 publication Critical patent/KR100377933B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: An automatic clock switching circuit is provided to generate a switching control signal and stabilize an operation of a digital system by monitoring digitally a state of a remote clock. CONSTITUTION: An automatic clock switching circuit includes a clock switching portion, a frequency multiplication portion(32), and a clock switching control signal generation portion(30). The clock switching portion outputs selectively a remote clock as a system operating clock and switches a local clock to the system operating clock by selecting the local clock according to an active state of a clock switching signal. The frequency multiplication portion performs a frequency multiplication process for the local clock. The clock control signal generation portion performs a repeated counting operation during a predetermined time by sampling the remote clock and activates the clock switching signal when the counted value is less than the predetermined value.

Description

클럭 자동 절체 회로Clock automatic switching circuit

본 발명은 클럭에 동기되어 신호를 처리하는 데이타 통신 시스템의 디지탈 클럭 절체 회로에 관한 것으로, 특히 외부로부터 전송되는 리모트 클럭의 에러 상태를 검출하여 고속으로 로칼 클럭으로 자동 절체하는 회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital clock switching circuit of a data communication system that processes signals in synchronization with a clock, and more particularly, to a circuit for detecting an error state of a remote clock transmitted from the outside and automatically switching to a local clock at a high speed.

통상적으로 망(Network)을 이용한 디지탈 데이타 통신 시스템은 통신 시스템과 또다른 통신 시스템간에 동기(Syschronism)를 맞추어 상호간에 데이타를 송수신하게 되어 있으며, 이러한 동기 문제는 이 기술 분야에서 이미 잘 알려진 바와 같이 데이타 통신 시스템에서 대단히 중요한 문제중의 하나이다.In general, a digital data communication system using a network is configured to transmit and receive data to and from each other by synchronizing synchronism between a communication system and another communication system. One of the most important problems in communication systems.

상기와 같은 디지탈 통신 시스템은 송신측에서 송신한 데이타로부터 망 동기 클럭(이하 "리모트 클럭"이라 칭함)을 복원하여 추출하는 클럭 복원 회로를 가지고 있다. 또한, 상기와 같은 디지탈 통신 시스템은 상기와 같은 클럭 복원 회로 이외에 망의 손실 혹은 그 밖의 이유로 인해 리모트 클럭이 비정상적일때 로칼 통신을가능하게 하기 위한 수신측의 차체 클럭(이하 "로칼 클럭"이라함)으로서 자동 절체하기 위한 클럭 자동 절체 회로를 내장하여 외부의 리모트 클럭이 비정상적으로 입력될때 자동적으로 로칼 클럭으로 절체하여 동작 되도록 되어 있다.The digital communication system as described above has a clock recovery circuit that recovers and extracts a network synchronization clock (hereinafter referred to as a "remote clock") from the data transmitted from the transmitter. In addition, the digital communication system as described above, in addition to the clock recovery circuit as described above, a body clock on the receiving side for enabling local communication when the remote clock is abnormal due to network loss or other reasons (hereinafter referred to as "local clock"). As a built-in clock switching circuit for automatic switching, it automatically switches to local clock when an external remote clock is abnormally input.

그러나, 종래의 기술에 의한 대다수의 클럭 자동 절체 회로는 수신된 데이타로부터 추출된 리모트 클럭을 아나로그 방식을 이용하여 클럭의 정상 유무를 결정하므로써 리모트 클럭의 손실 이후 로칼 클럭으로의 절체 시간이 많이 소요되어 망의 동기를 맞추는데 많은 어려움을 초래하는 문제를 야기 시킨다. 이와 같은 문제점은 하기 제1도에 도시된 구성 및 그의 설명에 의해 자명하게 인식될 것이다.However, the majority of clock automatic switching circuits according to the prior art take a long time to transfer to the local clock after the loss of the remote clock by determining whether the clock is normal by using the analog method of the remote clock extracted from the received data. This causes problems that cause many difficulties in synchronizing the network. Such a problem will be obviously recognized by the configuration and its description shown in FIG. 1 below.

제1도는 종래의 기술에 의한 클럭 자동 절체 회로를 도시한 도면으로서, 로칼 클럭 12와, 리모트 클럭 14과, 상기 리모트 클럭 14를 시스템의 동작 클럭으로 선택 출력하며 클럭 절체 신호의 활성화에 응답하여 상기 로칼 클럭 12을 선택하여 시스템 동작 클럭으로 절체하는 클럭 절체 회로 18와, 상기 리모트 클럭 14의 이상을 검출하여 상기 클럭 절체 회로 16로 공급되는 클럭 절체 신호를 활성화 시키는 절체 신호 발생 회로 20로 구성된다. 이때, 상기 클럭 절체 신호 발생 회로 20는 정류회로 22, 전압 체배 회로 24, 비교기 26로 구성되어 있다. 상기와 같은 구성중, 미설명 부호 16은 딥 스위치로서 이는 사용자 옵션으로서 상기 로칼 클럭 12, 리모트 클럭 14을 선택적으로 시스템에 입력 시킬 수 있도록 접속된다. 본 발명의 설명에 있어서는 상기 딥 스위치 16는 로칼 클럭 12과 리모트 클럭 14를 선택하여 클럭 절체 회로 18내의 3-상태 버퍼 28, 30에 입력 시킨 상태를 도시하고 있다.FIG. 1 is a diagram illustrating a conventional clock automatic switching circuit, and selectively outputs a local clock 12, a remote clock 14, and the remote clock 14 as an operation clock of a system, in response to activation of a clock switching signal. And a clock switching circuit 18 for selecting a local clock 12 to switch to a system operation clock, and a switching signal generating circuit 20 for detecting an abnormality of the remote clock 14 and activating a clock switching signal supplied to the clock switching circuit 16. At this time, the clock switching signal generation circuit 20 is composed of a rectifier circuit 22, a voltage multiplication circuit 24, a comparator 26. In the above configuration, reference numeral 16 denotes a dip switch, which is connected as a user option to selectively input the local clock 12 and the remote clock 14 into the system. In the description of the present invention, the dip switch 16 shows a state in which the local clock 12 and the remote clock 14 are selected and input to the three-state buffers 28 and 30 in the clock switching circuit 18.

우선, 제1도를 참조하여 종래의 기술에 의한 동작을 살펴보면 하기에 앞서클럭 절체 신호 발생 회로 20내의 비교기 26의 출력은 "로우"라 가정한다.First, referring to FIG. 1, the operation according to the related art is assumed to be low before the output of the comparator 26 in the clock switching signal generation circuit 20 is described.

지금, 제1도에 도시된 로칼 클럭 12과 리모트 클럭 14이 정상적으로 입력되면, 이들의 클럭은 딥 스위치 16를 통하여 클럭 절체회로 18내의 3-상태 버퍼 28, 30들의 입력단자로 공급된다. 이때 클럭 절체 신호 발생 회로 20내의 비교기 26의 출력이 "로우"로 출력됨으로서 상기 3-상태 버퍼 30만이 인에이블되어 리모트 클럭 14를 시스템의 내부로 공급하여 외부로부터의 클럭에 동기되도록 한다.Now, when the local clock 12 and the remote clock 14 shown in FIG. 1 are normally input, these clocks are supplied to the input terminals of the three-state buffers 28 and 30 in the clock switching circuit 18 through the dip switch 16. At this time, the output of the comparator 26 in the clock switching signal generation circuit 20 is output as "low", so that only the three-state buffer 30 is enabled to supply the remote clock 14 into the system so as to be synchronized with the clock from the outside.

상기와 같은 상태에서 리모트 클럭 14를 입력하는 정류회로 22는 리모트 클럭 14를 정류하여 전압 체배 회로 24에 공급한다. 이와 같은 정류회로 22는 통상 저항과 캐패시터와 같은 소자로 구성되어 입력 클럭의 주기에 대응하는 RC시정수의 충방전에 의해 리모트 클럭 14를 정류한다. 이때 상기 리모트 클럭 14이 정상적으로 입력되면 출력전압의 레벨이 안정되겠끔 상기 정류회로 22내의 소자 값을 적절하게 선택하여야 한다.In the above state, the rectifier circuit 22 inputting the remote clock 14 rectifies the remote clock 14 and supplies it to the voltage multiplication circuit 24. The rectifier circuit 22 is usually composed of elements such as a resistor and a capacitor to rectify the remote clock 14 by charging and discharging the RC time constant corresponding to the cycle of the input clock. At this time, if the remote clock 14 is normally input, the value of the element in the rectifier circuit 22 should be appropriately selected so that the level of the output voltage becomes stable.

상기 정류회로 22로부터 출력되는 전압은 전압 체배 회로 24에 공급된다. 상기 전압 체배 회로 24는 상기 정류회로 22로부터 출력되는 전압의 레벨이 후술하는 기준전압 Vref의 레벨 보다 높은 레벨의 신호로 출력되도록 체배하여 출력한다. 즉, 리모트 클럭 14이 정상적으로 입력되면 비교기 26에 설정된 기준전압 Vref의 레벨보다 높게 되도록 한다.The voltage output from the rectifier circuit 22 is supplied to a voltage multiplication circuit 24. The voltage multiplying circuit 24 multiplies and outputs the voltage of the voltage output from the rectifying circuit 22 as a signal having a level higher than that of the reference voltage Vref described later. That is, when the remote clock 14 is normally input, it is made higher than the level of the reference voltage Vref set in the comparator 26.

상기와 같은 구성에 의해 리모트 클럭 14이 정상적으로 입력되면, 비교기 26로 입력되는 체배 전압은 비교기 26의 비반전단자로 공급되는 기준전압 Vref의 레벨 보다 높게된다. 이때 상기 비교기 26는 비반전단자(+)로 입력되는 전압과 상기반전단자(-)로 입력되는 체배 전압을 비교하여 체배 전압의 레벨이 더 높을 경우 "로우"의 신호를 클럭 절체 제어 신호로서 출력한다. 따라서, 클럭 절체 회로 18내의 3-상태 버퍼 30가 인에이블되어 리모트 클럭 14을 시스템의 내부로 공급하게된다. 이때, 3-상태 버퍼 28은 인버터 32의 출력 "하이"에 의해 디스에이블되어 진다.When the remote clock 14 is normally input by the above configuration, the multiplication voltage input to the comparator 26 becomes higher than the level of the reference voltage Vref supplied to the non-inverting terminal of the comparator 26. At this time, the comparator 26 compares the voltage input to the non-inverting terminal (+) and the multiplication voltage input to the inverting terminal (-) and outputs a "low" signal as a clock switching control signal when the level of the multiplication voltage is higher. do. Thus, the tri-state buffer 30 in the clock switching circuit 18 is enabled to supply the remote clock 14 into the system. At this time, the tri-state buffer 28 is disabled by the output " high "

한편, 전송로, 혹은 그 밖의 이유로 인해 리모트 클럭 14이 정상적으로 입력되지 않으면, 정류회로 22의 출력은 거의 그라운드의 레벨로 떨어지며, 이로인해 비교기 26의 반전단자(-)의 레벨은 비반전단자(+)로 입력되는 기준전압 Vref의 레벨 이하로 떨어진다. 따라서, 리모트 클럭 14가 정상적으로 입력되지 않으면 비교기 26의 출력은 "하이"로 출력된다.On the other hand, if the remote clock 14 is not normally input due to a transmission path or other reasons, the output of the rectifying circuit 22 drops to almost ground level, which causes the level of the inverting terminal (-) of the comparator 26 to become the non-inverting terminal (+). ) Falls below the level of the reference voltage Vref. Therefore, if the remote clock 14 is not normally input, the output of the comparator 26 is output "high".

상기 비교기 26의 출력이 "하이"로 출력되면, 클럭 절체 회로 18내의 3-상태 버퍼 28가 인버터 32의 출력에 의해 인에이블되어 로칼 클럭 12을 시스템 내부로 공급하며, 3-상태 버퍼 30는 디스에이블된다. 즉, 외부로부터의 리모트 클럭 14이 정상적으로 입력되지 않으면, 자동적으로 시스템 내부의 클럭인 로칼 클럭으로 클럭 모드가 자동으로 절체된다.When the output of the comparator 26 is " high ", the 3-state buffer 28 in the clock switching circuit 18 is enabled by the output of the inverter 32 to supply the local clock 12 into the system, and the 3-state buffer 30 Is enabled. In other words, when the remote clock 14 from the outside is not normally input, the clock mode is automatically switched to the local clock which is the internal clock of the system.

그러나, 상기 제1도와 같은 구성을 갖는 종래의 회로는 리모트 클럭 14의 정상적인 입력을 검출하는 회로의 구성이 아나로그 소자를 이용함으로서 리모트 클럭이 이상이 있을때 로칼 클럭으로 자동 절체되는 시간이 많이 소요되는 문제점이 야기 시스템 안정화에 커다란 문제를 초래하였다. 즉, 정류회로 22의 구성이 캐패시터, 저항등의 소자를 이용함으로써 리모트 클럭의 변화에 고속으로 대응하여 출력을 발생 시키지 못함으로 신뢰성이 떨어지는 문제가 있어 왔다.However, in the conventional circuit having the configuration as shown in FIG. 1, the circuit which detects the normal input of the remote clock 14 uses an analog element, so that when the remote clock is abnormal, it takes a long time to automatically switch to the local clock. Problems caused Great problems in stabilizing the system. That is, since the structure of the rectifier circuit 22 uses elements such as capacitors and resistors, there has been a problem that reliability cannot be generated because the output of the rectifier circuit 22 does not generate an output in response to the change of the remote clock at high speed.

또한, 전압 체배 회로도 아나로그의 전압을 체배함으로써 전압을 소망하는 레벨까지 올리기 위해서는 상당한 시간이 소요됨으로써 리모트 클럭의 변화에 신속히 대처하지 못하여 클럭 절체 시간이 상당한 시각 지연됨으로 인하여 로칼 통신에 상당한 어려움을 초래한다.In addition, the voltage multiplication circuit also takes considerable time to raise the voltage to the desired level by multiplying the voltage of the analogue, and thus it is difficult to cope with the change of the remote clock quickly, which causes considerable difficulty in local communication due to the significant time delay of the clock switching time. do.

띠라서, 본 발명의 목적은 리모트 클럭의 에러 유무를 디지탈적으로 검출하여 리모트, 로칼 클럭의 자동 절체를 고속으로 하는 클럭 자동 절체 회로를 제공함에 있다.Accordingly, it is an object of the present invention to provide a clock automatic switching circuit for digitally detecting the presence or absence of an error of a remote clock to speed up automatic switching of remote and local clocks.

본 발명의 다른 목적은 외부로부터 입력되는 리모트 클럭의 에러 상태를 고속으로 검출하여 로칼 클럭으로 자동 절체토록하는 클럭 자동 절체 제어 신호 발생회로를 제공함에 있다.Another object of the present invention is to provide a clock automatic switching control signal generation circuit which detects an error state of a remote clock input from the outside at a high speed and automatically switches to a local clock.

상기의 목적을 달성하기 위한 본 발명은, 리모트 클럭과 로칼 클럭을 입력하는 단자들을 가지는 디지탈 시스템의 클럭 자동 절체 회로에 있어서, 상기 로칼 클럭의 주파수를 상기 리모트 클럭의 수배로 체배하여 샘플링 클럭으로 출력하는 주파수 체배 회로와, 상기 리모트 클럭을 상기 체배된 샘플링 클럭에 의해 샘플링하여 출력하는 샘플링회로와, 상기 샘플링회로로 부터 출력되는 샘플 신호를 미리 설정된 시간 동안 반복 카운팅하며 상기 카운팅된 값이 미리 설정된 값 이상일때 응답하여 제1전압을 선택하여 출력하고 상기 카운팅 값이 미리 설정된 값 이하일때 상기 제1전압 보다 낯은 제2전압을 출력하는 카운팅 판별 회로와, 상기 카운팅 판별 회로로부터 출력되는 전압과 미리 설정된 기준압을 비교하여 클럭 절체 제어 신호를 발생하는 비교기와, 상기 리모트 클럭를 시스템의 동작 클럭으로 선택 출력하며 클럭 절체 신호의 활성화에 응답하여 상기 로칼 클럭을 선택하여 시스템 동작 클럭으로 절체하는 클럭 절체 회로로 구성함을 특징으로 한다.In order to achieve the above object, the present invention provides a clock automatic switching circuit of a digital system having terminals for inputting a remote clock and a local clock, wherein the frequency of the local clock is multiplied by a multiple of the remote clock and output as a sampling clock. A frequency multiplier circuit, a sampling circuit for sampling and outputting the remote clock by the multiplied sampling clock, and a sample signal output from the sampling circuit repeatedly counting for a predetermined time, wherein the counted value is a preset value. A counting determination circuit which selects and outputs a first voltage in response to an abnormality and outputs a second voltage that is less than the first voltage when the counting value is less than or equal to a preset value, and a voltage and a preset voltage output from the counting determination circuit. Comparator that compares reference voltage and generates clock switching control signal Selective output in the operation clock of the remote keulreokreul system, characterized in that in response to the activation of the clock switching signal composed of a clock switching circuit for selecting and switching to the system operation clock of the local clock.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 본 발명의 실시예에 관한 도면에서 전술한 도면상의 구성요소와 실질적으로 동일한 구성과 기능을 가진 것들에는 그것들과 동일한 참조부호를 사용할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings of the embodiments of the present invention, those having substantially the same configuration and function as those in the above-described drawings will use the same reference numerals.

제2도는 본 발명의 기술에 따른 클럭 자동 절체 회로를 도시한 도면으로서, 이는 로칼 클럭 12의 주파수를 상기 리모트 클럭의 수배로 체배하여 샘플링 클럭으로 출력하는 주파수 체배 회로 32와, 상기 리모트 클럭 14를 상기 체배된 샘플링 클럭에 의해 샘플링하여 출력하는 샘플링 회로 34와, 상기 샘플링 회로34로 부터 출력되는 샘플 신호를 미리 설정된 시간 동안 반복 카운팅하며 상기 카운팅된 값이 미리 설정된 값 이상일때 응답하여 제1전압을 선택하여 출력하고 상기 카운팅 값이 미리 설정된 값 이하일때 상기 제1전압 보다 낯은 제2전압을 출력하는 카운팅 판별 회로 36와, 상기 카운팅 판별 회로 36으로부터 출력되는 전압과 미리 설정된 기준압을 비교하여 클럭 절체 제어 신호를 발생하는 비교기38로 구성된 클럭 절체 제어 신호 발생 회로 30가 상기 제1도의 딥 스위치 16 및 클럭 절체 회로 18의 3-상태 버퍼 28, 30의 사이에 접속되어 구성된다.2 is a diagram illustrating a clock automatic switching circuit according to the technique of the present invention, which multiplies the frequency of the local clock 12 by a multiple of the remote clock and outputs the frequency multiplication circuit 32 and the remote clock 14. A sampling circuit 34 for sampling and outputting the multiplied sampling clock and a sample signal output from the sampling circuit 34 repeatedly counting for a predetermined time and responding when the counted value is equal to or greater than a preset value. A counting determination circuit 36 which selects and outputs a second voltage that is less than the first voltage when the counting value is less than or equal to a preset value, and compares the voltage output from the counting determination circuit 36 with a preset reference voltage. Clock switching control signal generation circuit 30 comprising a comparator 38 for generating a switching control signal Tri-state buffer of the first DIP switch 16 and clock switching circuits 18, 28 degrees and is configured is connected between the 30.

상기 제2도와 같이 구성된 클럭 자동 절체 회로는 로칼 클럭 12을 주파수 체배하고, 상기 체배된 주파수를 사용하여 리모트 클럭 14를 샘플링하며, 샘플된 값의 갯수를 소정의 주기로 반복 카운트하여 그 카운팅 값이 일정한 값 이상을 연속적으로 가질때 리모트 클럭을 정상으로 판별하여 클럭 절체 제어 신호의 발생을 제어토록 동작된다. 이의 상세한 동작은 하기의 설명에 의해 보다 자명하게 인식되어 질 것이다.The clock automatic switching circuit configured as shown in FIG. 2 frequency-multiplies the local clock 12, samples the remote clock 14 using the multiplied frequency, repeatedly counts the number of sampled values in a predetermined period, and the counting value is constant. When it has a continuous value or more, the remote clock is determined to be normal to operate to control the generation of the clock switching control signal. Its detailed operation will be more clearly appreciated by the following description.

지금, 제2도와 같이 구성된 회로에 로칼 클럭 12과 리모트 클럭 14이 입력되면, 주파수 체배 회로 32는 로칼 클럭 12을 체배하여 샘플링 회로 34의 샘플링 클럭으로 공급한다. 이때, 상기 주파수 체배는 리모트 클럭 14의 수배에 달하는 클럭이 되도록 로칼 클럭를 체배한다. 즉, 리모트 클럭 14을 정상적으 샘플링 할 수 있는 주파수가 되겠끔 상기 로칼 클럭 12를 나이키스트 정리를 만족하는 값으로 체배한다.Now, when the local clock 12 and the remote clock 14 are input to the circuit constructed as shown in FIG. 2, the frequency multiplication circuit 32 multiplies the local clock 12 and supplies it to the sampling clock of the sampling circuit 34. FIG. At this time, the frequency multiplication multiplies the local clock such that the clock is several times the remote clock 14. That is, the local clock 12 is multiplied to a value that satisfies the Nyquist theorem so that the frequency at which the remote clock 14 can be normally sampled.

상기 샘플링 회로 34는 상기 체배된 샘플링 클럭, 즉, 주파수 체배회로 32로부터 출력되는 클럭에 의해 상기 리모트 클럭 14을 샘플링하여 카운트 판별 회로 36로 공급한다. 상기 카운트 판별 회로 36는 미리 설정된 주기 동안 상기 샘플된 클럭을 반복적으로 카운팅한다. 그리고, 상기 카운팅 값이 미리 설정된 값 이상일때 응답하여 제1전압을 선택하여 출력하고 상기 카운팅 값이 미리 설정된 값 이하일때 상기 제1전압 보다 낮은 제2전압을 출력한다.The sampling circuit 34 samples the remote clock 14 by the multiplied sampling clock, that is, the clock output from the frequency multiplication circuit 32, and supplies the remote clock 14 to the count determination circuit 36. The count determination circuit 36 repeatedly counts the sampled clock for a preset period. In response to the counting value being greater than or equal to the preset value, the controller selects and outputs a first voltage. When the counting value is less than or equal to the preset value, the controller outputs a second voltage lower than the first voltage.

예를들어, 상기 리모트 클럭 14의 입력이 정상적으로 입력되어 상기 카운터 판별 회로 36내의 카운터값이 항상 일정한 값 이상을 가지면 비교기 38로는 기준전압 Vref의 값보다 항상 높게 설정된 제1전압이 공급된다. 그러나, 상기 전송라인 혹은 그 밖의 원인에 의해 리모트 클럭 14의 입력이 비정상적으로 입력되면 상기카운터 판별 회로 36내의 카운터값 일정한 값이 이하로 떨어지며, 이때 상기 카운터 판별 회로 36는 기준전압 Vref보다 낯게 설정되는 제2전압을 출력한다.For example, when the input of the remote clock 14 is normally input and the counter value in the counter discrimination circuit 36 always has a predetermined value or more, the comparator 38 is supplied with a first voltage which is always set higher than the value of the reference voltage Vref. However, when the input of the remote clock 14 is abnormally input due to the transmission line or other causes, the counter value constant value in the counter discrimination circuit 36 falls below, wherein the counter discrimination circuit 36 is set to be lower than the reference voltage Vref. The second voltage is output.

따라서, 상기 비교기 38는 제1도에서 전술한 바와 같이 비반전 단자(+)로 입력되는 기준전압 Vref와 반전단자(-)로 입력되는 레벨을 비교하여 클럭 절체 제어 신호를 활성화 혹은 비활성화 시킨다. 즉, 상기 리모트 클럭 14가 비정상적인 상태로 입력시에는 카운트 판별 회로 36내의 카운터에 의해서 일정 주기 동안 카운팅된 값이 미리 설정된 값 이하로 떨어짐으써 상기 비교기 38의 비반전단자(+)로 입력되는 기준전압 Vref 보다 낮은 제2전압을 하게된다. 따라서, 비교기 38는 클럭 절체 신호를 논리 "하이"로 활성화 시킨다.Accordingly, the comparator 38 compares the reference voltage Vref input to the non-inverting terminal (+) with the level input to the inverting terminal (−) and activates or deactivates the clock switching control signal as described above with reference to FIG. 1. That is, when the remote clock 14 is abnormally input, the reference voltage inputted to the non-inverting terminal (+) of the comparator 38 because the value counted for a predetermined period by the counter in the count discrimination circuit 36 falls below a preset value. The second voltage is lower than Vref. Thus, comparator 38 activates the clock transfer signal to a logic " high ".

이때, 클럭 절체 회로 18내의 3-상태 버퍼 30는 디스에이블, 3-상태 버퍼 28는 인버터 32의 출력에 의해 인에이블되어지므로써 시스템 내부로 공급되는 클럭 소스는 리모트 클럭 14에서 로칼 클럭 12으로 자동으로 절체된다. 상기와는 반대로, 리모트 클럭 14이 정상적으로 입력되는 경우, 카운터 판별 회로 36의 출력은 상기 비교기 38에 설정된 기준전압 Vref보다 높은 제1전압을 출력함으로써 비교기 38는 논리 "로우"를 출력하여 클럭 절체 회로 18내의 3-상태 버퍼 30가 인에이블되게 한다.At this time, the 3-state buffer 30 in the clock switching circuit 18 is disabled and the 3-state buffer 28 is enabled by the output of the inverter 32, so that the clock source supplied to the system is automatically controlled from the remote clock 14 to the local clock 12. Is switched to. Contrary to the above, when the remote clock 14 is normally input, the output of the counter discrimination circuit 36 outputs a first voltage higher than the reference voltage Vref set in the comparator 38 so that the comparator 38 outputs a logic " low " Enable 3-state buffer 30 in 18 is enabled.

따라서, 제2도와 같이 구성된 본 발명의 클럭 자동 절체 회로는 리모트 클럭의 정상 유무를 디지탈적으로 감시하여 절체 제어 신호를 발생함으로써 리모트 클럭이 고주파수로 사용되는 경우에도 리모트 클럭의 손실 상태가 감지되는 즉시 로칼 클럭으로 자동 절체함으로써 클럭에 동기되는 디지탈 시스템의 동작을 안정화시킬 수 있다.Therefore, the clock automatic switching circuit of the present invention configured as shown in FIG. 2 digitally monitors whether the remote clock is normally present and generates a switching control signal, so that a loss state of the remote clock is detected even when the remote clock is used at a high frequency. Automatic switching to the local clock can stabilize the operation of the digital system in synchronization with the clock.

제1도는 종래의 기술에 의한 클럭 자동 절체 회로를 도시한 도면.1 is a diagram showing a clock automatic switching circuit according to the prior art.

제2도는 본 발명의 기술에 따른 클럭 자동 절체 회로를 도시한 도면.2 illustrates a clock automatic switching circuit according to the techniques of the present invention.

Claims (3)

리모트 클럭과 로칼 클럭을 입력하는 단자들을 가지는 디지탈 시스템의 클럭 자동 절체 회로에 있어서,A clock automatic switching circuit of a digital system having terminals for inputting a remote clock and a local clock, 상기 리모트 클럭을 시스템의 동작 클럭으로 선택 출력하며 클럭 절체 신호의 활성화에 응답하여 상기 로칼 클럭을 선택하여 시스템 동작 클럭으로 절체하는 클럭 절체 수단과,Clock switching means for selectively outputting the remote clock as an operation clock of a system and selecting the local clock and switching the system clock to a system operation clock in response to activation of a clock switching signal; 상기 로칼 클럭을 주파수 체배하는 주파수 체배 수단과,Frequency multiplication means for frequency multiplying the local clock; 상기 체배된 주파수로서 상기 리모트 클럭을 샘플링하여 상기 샘플된 신호 미리 설정된 시간 동안 반복 카운팅하며, 상기 카운팅된 값이 미리 설정된 값 이하일때 응답하여 상기 클럭 절체 신호를 활성화 시키는 클럭 절체 제어 신호 발생 수단을 더 포함함을 특징으로 하는 클럭 자동 절체 회로.And a clock switching control signal generating means for sampling the remote clock as the multiplied frequency and repeatedly counting the sampled signal for a predetermined time, and activating the clock switching signal in response to the counted value being less than or equal to a predetermined value. Clock automatic switching circuit comprising. 제1항에 있어서, 상기 클럭 절체 수단은,The method of claim 1, wherein the clock switching means, 상기 로칼 클럭 단자와 리모트 클럭 단자에 각각의 입력단자가 상기 클럭 절체 제어 신호의 반전 신호와 상기 클럭 절체 제어 신호를 각각의 제어단자로 입력하는 3-상태 버퍼로 구성함을 특징으로 하는 클럭 자동 절체 회로.Automatic switching of the clock, characterized in that each input terminal of the local clock terminal and the remote clock terminal comprises a three-state buffer for inputting the inverted signal of the clock transfer control signal and the clock transfer control signal to each control terminal. Circuit. 리모트 클럭과 로칼 클럭을 입력하는 단자들을 가지는 디지탈 시스템의 클럭 자동 절체 회로에 있어서,A clock automatic switching circuit of a digital system having terminals for inputting a remote clock and a local clock, 상기 로칼 클럭의 주파수를 상기 리모트 클럭의 수배로 체배하여 샘플링 클럭으로 출력하는 주파수 체배 회로와,A frequency multiplication circuit that multiplies the frequency of the local clock by a multiple of the remote clock and outputs the sampling clock; 상기 리모트 클럭을 상기 체배된 샘플링 클럭에 의해 샘플링하여 출력하는 샘플링회로와,A sampling circuit for sampling and outputting the remote clock by the multiplied sampling clock; 상기 샘플링회로로 부터 출력되는 샘플 신호를 미리 설정된 시간 동안 반복 카운팅하며 상기 카운팅된 값이 미리 설정된 값 이상일때 응답하여 제1전압을 선택하여 출력하고 상기 카운팅 값이 미리 설정된 값 이하일때 상기 제1전압 보다 낯은 제2전압을 출력하는 카운팅 판별 회로와,The sample signal output from the sampling circuit is repeatedly counted for a preset time, and when the counted value is greater than or equal to the preset value, the first voltage is selected and outputted. The first voltage is output when the counting value is less than or equal to the preset value. A counting discrimination circuit for outputting a second voltage that is more familiar; 상기 카운팅 판별 회로로부터 출력되는 전압과 미리 설정된 기준압을 비교하여 클럭 절체 제어 신호를 발생하는 비교기와,A comparator for generating a clock switching control signal by comparing a voltage output from the counting determination circuit with a preset reference voltage; 상기 리모트 클럭를 시스템의 동작 클럭으로 선택 출력하며 클럭 절체 신호의 활성화에 응답하여 상기 로칼 클럭을 선택하여 시스템 동작 클럭으로 절체하는 클럭 절체 회로로 구성함을 특징으로 하는 클럭 자동 절체 회로.And a clock switching circuit for selecting and outputting the remote clock as an operation clock of the system and selecting the local clock and switching the system clock to a system operation clock in response to the activation of the clock switching signal.
KR1019950067890A 1995-12-30 1995-12-30 Automatic clock switching circuit KR100377933B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950067890A KR100377933B1 (en) 1995-12-30 1995-12-30 Automatic clock switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950067890A KR100377933B1 (en) 1995-12-30 1995-12-30 Automatic clock switching circuit

Publications (2)

Publication Number Publication Date
KR970056157A KR970056157A (en) 1997-07-31
KR100377933B1 true KR100377933B1 (en) 2003-06-02

Family

ID=37417006

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950067890A KR100377933B1 (en) 1995-12-30 1995-12-30 Automatic clock switching circuit

Country Status (1)

Country Link
KR (1) KR100377933B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100310232B1 (en) * 1999-03-25 2001-10-29 박종섭 Method for clock selecting according to first order
KR100354414B1 (en) * 1999-12-23 2002-09-30 엘지전자 주식회사 Apparatus and method for acquiring initial synchronous in correlator

Also Published As

Publication number Publication date
KR970056157A (en) 1997-07-31

Similar Documents

Publication Publication Date Title
EP0152457B1 (en) Control circuit for uninterruptible power supply
EP0281307B1 (en) Asynchronous interface and method for coupling data between a data module and a serial asynchronous peripheral
US4208724A (en) System and method for clocking data between a remote unit and a local unit
CN105790754A (en) Digital isolation circuit and control method thereof
US5589683A (en) Optical receiver apparatus for quickly detecting loss of a composite optical signal input employing a loss-of-clock detector
US6034995A (en) System for the transmission of data via a differential bus
EP1972058B1 (en) Serial data communication system and method
US6442142B1 (en) Base-band receiver energy detection system
KR100377933B1 (en) Automatic clock switching circuit
US20030076851A1 (en) Method and apparatus for switching a clock source from among multiple t1/e1 lines with user defined priority
US5787293A (en) Computer incorporating a power supply control system therein
US5977837A (en) Phase selector for external frequency divider and phase locked loop
US4618965A (en) Monitoring of data transfer system having serially distributed data ports
EP0267808A2 (en) Telephone circuit for supplying ringing signals to a subscriber telephone line and for detecting unhooking
US5631709A (en) Method and apparatus for processing a composite synchronizing signal
SE426126B (en) DEVICE FOR CONVERSION OF ANALOGUE SIGNALS TO DIGITAL SIGNALS AND VICE VERSA
JPH06204993A (en) Clock interruption detection circuit
US11989148B2 (en) Data bridge for interfacing source synchronous datapaths with unknown clock phases
SU984044A1 (en) Electronic relay
JPH08191545A (en) Toggle-type power switching circuit
KR910004130Y1 (en) Reset circuit of a keyphone system
JPS62171349A (en) Communication control equipment
KR0175619B1 (en) Reset circuit for momentary power failure
JPH10285245A (en) Automatic data reception timing discriminating system
JPH07175982A (en) Fire sensor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070208

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee