KR100196723B1 - Frequency generating apparatus - Google Patents

Frequency generating apparatus Download PDF

Info

Publication number
KR100196723B1
KR100196723B1 KR1019960065209A KR19960065209A KR100196723B1 KR 100196723 B1 KR100196723 B1 KR 100196723B1 KR 1019960065209 A KR1019960065209 A KR 1019960065209A KR 19960065209 A KR19960065209 A KR 19960065209A KR 100196723 B1 KR100196723 B1 KR 100196723B1
Authority
KR
South Korea
Prior art keywords
frequency
output
input frequency
delay
variable delay
Prior art date
Application number
KR1019960065209A
Other languages
Korean (ko)
Other versions
KR19980046796A (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 KR1019960065209A priority Critical patent/KR100196723B1/en
Publication of KR19980046796A publication Critical patent/KR19980046796A/en
Application granted granted Critical
Publication of KR100196723B1 publication Critical patent/KR100196723B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/01Details
    • H03K3/013Modifications of generator to prevent operation by noise or interference
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

본 발명은 입력주파수를 이중화하여 외부의 영향 등으로 어느 한 입력주파수가 영향을 받을지라도 일정하게 주파수를 출력할 수 있는 주파수 발생장치에 관한 것으로서, 제1입력주파수와 지연 소자에 의해 미리 정해진 시간만큼 지연된 제1입력주파수를 입력받아 제1제어신호에 응답하여 제1입력주파수를 가변적으로 지연하여 출력하거나 디스에이블되는 제1가변 지연부; 제2입력주파수와 지연 소자에 의해 미리 정해진 시간만큼 지연된 제2입력주파수를 입력받아 제2제어주파수에 응답하여 제2입력주파수를 가변적으로 지연하여 출력하거나 디스에이블되는 제2가변 지연부; 상기 제1 및 제2가변 지연부의 출력주파수를 비교하여 위상차가 일정 이하가 되도록 두 주파수의 위상차를 위상 비교부; 상기 제1 및 제2가변 지연부의 출력주파수를 입력받아 하나의 입력주파수에 이상이 발생하면 자동으로 스위치를 절체하여 이상이 없는 입력주파수가 일정하게 출력하도록 하는 스위치 절체부; 및 상기 위상 비교부의 출력 주파수 및 상기 스위치 절체부의 출력 주파수를 검출하여 제1 및 제2제어 신호를 발생하는 CPU(Centrl Process Unit)를 구비한 것을 특징으로 한다.The present invention relates to a frequency generating device capable of outputting a constant frequency even if any one input frequency is influenced by an external influence by duplexing the input frequency, and by a predetermined time by the first input frequency and the delay element. A first variable delay unit configured to receive the delayed first input frequency and variably delay or output the first input frequency in response to the first control signal; A second variable delay unit configured to receive a second input frequency delayed by a predetermined time by the second input frequency and the delay element and to variably delay or output the second input frequency in response to the second control frequency; A phase comparison unit comparing the output frequencies of the first and second variable delay units with a phase difference between the two frequencies so that a phase difference becomes less than a predetermined level; A switch switching unit for receiving an output frequency of the first and second variable delay units and automatically switching a switch when an abnormality occurs in one input frequency so that an input frequency having no abnormality is constantly output; And a CPU (Centrl Process Unit) for detecting the output frequency of the phase comparison unit and the output frequency of the switch switching unit to generate first and second control signals.

Description

주파수 발생 장치Frequency generator

제1도는 본 발명에 따른 주파수 발생 장치의 블록도.1 is a block diagram of a frequency generating device according to the present invention.

제2도는 a,b,c도는 본 발명에 따른 가변 지연부를 설명하기 위한 도면.2 is a, b, c is a view for explaining a variable delay unit according to the present invention.

제3도는 a,b,c도는 본 발명에 따른 위상 비교부를 설명하기 위한 도면.3 is a, b, c is a view for explaining a phase comparison unit according to the present invention.

제4도는 a,b,c도는 본 발명에 따른 스위치를 설명하기 위한 도면.4 is a, b, c is a view for explaining a switch according to the invention.

제5도는 a,b,c,d도는 본 발명에 따른 주파수 이상 감지 회로를 설명하기 위한 도.5 is a, b, c, d is a view for explaining a frequency abnormality detection circuit according to the present invention.

제6도는 본 발명에 따른 스위치 딜레이(SW-DELAY)의 논리 회로예시도.6 is a diagram illustrating a logic circuit of a switch delay (SW-DELAY) according to the present invention.

본 발명은 주파수 발생 장치에 관한 것으로서, 특히 입력되는 두 개의 주파수를 이중화하여 외부의 영향 등으로 어느 한 입력주파수가 영향을 받을지라도 일정하게 주파수를 출력할 수 있는 주파수 발생장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency generating device, and more particularly, to a frequency generating device capable of constantly outputting a frequency even if any one input frequency is affected by an external influence by duplexing two input frequencies.

일반적으로 고속 디지털 네트워크의 통신을 위해서는 정확한 타이밍이 요구된다.In general, accurate timing is required for high-speed digital network communications.

그러나 고속의 디지털 통신에 있어서 정확한 타이밍으로 주파수를 발생해야 하는 장치들중 외부의 영향 등으로 입력주파수가 이상이 발생하였을 때는 타이밍의 불일치로 수신측에서는 감도가 불량하게 된다. 특히 동기 신호를 공급하는 장치에 문제가 발생하여 공급된 동기 신호의 위상이 지연되는 경우에는 수신측의 디코딩이 어려워져 잡음만 발생하게 된다.However, in the high speed digital communication, when the input frequency is abnormal due to external influence among devices that need to generate the frequency at the correct timing, the sensitivity is poor at the receiving side due to the timing mismatch. In particular, when a problem occurs in a device that supplies a synchronization signal and the phase of the supplied synchronization signal is delayed, decoding on the receiving side becomes difficult and only noise occurs.

예로 CDMA(Code Division multiple Access)등을 이용하는 무선 통신망의 기지국과 제어국간의 통신에서 동기 신호를 공급하는 장치에서 문제가 발생하는 경우에는 수신측의 정확한 디코딩이 어려워 많은 가입자들의 혼선이 예상되며, 문제가 지속되면 수신측에서는 잡음만 발생하게 되어 수신 불능의 상태가 된다는 문제점이 있다.For example, when a problem occurs in a device that supplies a synchronization signal in a communication between a base station and a control station of a wireless communication network using a code division multiple access (CDMA), etc., it is difficult to correctly decode the receiving side, and confusion of many subscribers is expected. If is continued, there is a problem that only the noise is generated on the receiving side, and the reception becomes impossible.

본 발명의 목적은 상기와 같은 문제점을 해결하기 위해 입력되는 주파수를 이중화하여 하나의 입력주파수가 이상이 발생하였을 때, 다른 하나의 입력 주파수에 의해 출력 주파수를 발생하도록 함으로서 지속적으로 안정된 주파수를 발생할 수 있는 주파수 발생 장치를 제공하는 데 있다.An object of the present invention is to duplicate the input frequency to solve the above problems, when one input frequency is abnormal, by generating the output frequency by the other input frequency to generate a stable frequency continuously The present invention provides a frequency generating device.

상기의 목적으로 달성하기 위한 본 발명의 주파수 발생 장치는 제1입력주파수와 지연 소자에 미리 정해진 시간만큼 지연된 제1입력주파수를 입력받아 제1제어신호에 응답하여 제1입력주파수를 가변적으로 지연하여 출력하거나 디스에이블 되는 제1가변 지연부; 제2입력 주파수와 지연 소자에 의해 미리 정해진 시간만큼 지연된 제2입력주파수를 입력받아 제2제어주파수에 응답하여 제2입력주파수를 가변적으로 지연하여 출력하거나 디스에이블 되는 제2가변 지연부; 상기 제1 및 제2가변 지연부의 출력주파수를 비교하여 위상차가 일정 이하가 되도록 두 주파수의 위상차를 출력하는 위상 비교부; 상기 제1 및 제2가변지연부의 출력 주파수를 입력 받아 하나의 입력주파수에 이상이 발생하면 자동으로 스위치를 절체하여 이상이 없는 입력주파수가 일정하게 출력하도록 하는 스위치 절체부; 및 상기 위상 비교부의 출력주파수 및 상기 스위치 절체부의 출력 주파수를 검출하여 제1 및 제2제어 신호를 발생하는 CPU(Central Process Unit)를 구비한 것을 특징으로 한다.The frequency generating device of the present invention for achieving the above object receives the first input frequency and the first input frequency delayed by a predetermined time to the delay element to variably delay the first input frequency in response to the first control signal. A first variable delay unit which is output or disabled; A second variable delay unit configured to receive a second input frequency delayed by a predetermined time by the second input frequency and a delay element, and variably delay or output the second input frequency in response to the second control frequency; A phase comparison unit for comparing the output frequencies of the first and second variable delay units and outputting a phase difference between the two frequencies so that the phase difference becomes less than a predetermined level; A switch switching unit for receiving an output frequency of the first and second variable delay units and automatically switching the switch when an abnormality occurs in one input frequency so that an input frequency having no abnormality is constantly output; And a central process unit (CPU) configured to detect an output frequency of the phase comparator and an output frequency of the switch switching unit to generate first and second control signals.

이하 첨부한 도면을 참조하여 본 발명을 상세하게 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명에 따른 주파수에 발생 장치의 블록도로서, CUP(10), 제1 및 제2가변 지연부(20,30), 위상 비교부(40), 스위치 절체부(50)로 구성된다.1 is a block diagram of an apparatus for generating a frequency according to the present invention, and includes a CUP 10, first and second variable delay units 20 and 30, a phase comparator 40, and a switch switching unit 50. do.

상기와 같은 구성에서 각 블록의 동작 특성을 살펴보면 상기 제1가변 지연부(20)는 10㎒의 제1입력주파수(가1)가 지연 소자에 의해 미리 정해진 3.5Nano Second의 시간만큼 지연된 제1입력주파수(가2)(DIN1)를 입력받아 상기 CUP(10)에서 출력된 CPU CON1인 제1제어 신호(나)에 응답하여 제1입력주파수(가1)를 가변적으로 지연하여 출력하거나 디스에이블 된다.Looking at the operating characteristics of each block in the configuration as described above, the first variable delay unit 20 is a first input in which the first input frequency (1) of 10 MHz is delayed by a time of 3.5 Nano Second predetermined by the delay element In response to the first frequency (DIN1) and the first control signal (B) which is the CPU CON1 output from the CUP 10, the first input frequency (1) is variably delayed and outputted or disabled. .

마찬가지로 제2가변 지연부(30)도 10㎒의 제2입력주파수(다1)와 지연 소자에 의해 미리 정해진 3.5Nano Second의 시간만큼 지연되 제2입력주파수(다2)를 입력받아 상기 CPU CON2인 제2제어신호(라)에 응답하여 제2입력주파수(다1)를 가변적으로 지연하여 출력하거나 디스에이블 된다.Similarly, the second variable delay unit 30 is also delayed by a time of 3.5Nano Second predetermined by the second input frequency (1) of 10 MHz and the delay element, and receives the second input frequency (2) by the CPU CON2. In response to the second control signal D, the second input frequency D1 is variably delayed and output or disabled.

상기 위상 비교부(40)는 제1 및 제2가변 지연부(20,30)의 출력 주파수(마,바)를 비교하고 두 출력 주파수(마,바)의 위성차를 상기 CPU(10)에 전달하여 상기 제1 및제2가변 지연부(20,30)의 출력이 위상차가 3.5Nano Second 이하에 제어되도록 출력(사)한다. 상기 스위치 절체부(50)는 제1 및 제2가변 지연부(20,30)의 출력주파수(마,바)를 입력받아 입력주파수(10㎒-IN1,2)에 이상이 발생하면 자동으로 스위치를 절체하여 일정한 10㎒의 주파수를 출력(자) 할 수 있도록 한다.The phase comparator 40 compares output frequencies (ma and bar) of the first and second variable delay units 20 and 30 and compares the satellite difference between the two output frequencies (ma and bar) to the CPU 10. The outputs of the first and second variable delay units 20 and 30 are output so that the phase difference is controlled to be 3.5 Nano Second or less. The switch switching unit 50 receives the output frequencies (e, bar) of the first and second variable delay units 20 and 30 and automatically switches when an abnormality occurs in the input frequency (10 MHz-IN1,2). Switch over to output constant 10MHz frequency.

제2a도는 상기 제1가변 지연부(20) 또는 제2가변 지연부(30)를 구체화한 블록도로서, 가변 지연 제어부(22), 가변 지연 출력부(24) 및 위상 지연 소자(26)로 구성됨을 보인다.FIG. 2A is a block diagram in which the first variable delay unit 20 or the second variable delay unit 30 is embodied. The variable delay control unit 22, the variable delay output unit 24, and the phase delay element 26 are illustrated in FIG. It is configured.

상기와 같은 구성에서 데이터 인에이블 신호(A,B,H,I)에 의해 상기 가변 지연 제어부(22)와 상기 가변 지연 출력부(24)는 인에이블 또는 디스에이블되고, 상기 가변 지연 제어부(22)는 50㎒의 플립 플롭 동기신호(D)에 의해 동기가 되며, 클리어 주파수(E)에 의해 출력을 초기화 한다. 또한 상기 가변 지연 출력부(24)는 지연 스텝을 최소화 하기 위하여 외부에 3.5Nano Second의 지연값을 가지는 지연 소자(26)를 이용하여 입력주파수(F)10㎒_IN를 전체적으로 30스텝, 105Nano Second의 지연값을 가지도록 하였고 16비트 먹스를 2기 조합하여 30스텝을 출력(G)하도록 하였으며, 상기 CPU(10)에서 주어진 제어 데이커 값(C)에 따라 상기 가변 지연 제어부(22)를 통하여 제어하도록 한다.In the above configuration, the variable delay control unit 22 and the variable delay output unit 24 are enabled or disabled by the data enable signals A, B, H, and I, and the variable delay control unit 22 is used. ) Is synchronized by the 50 MHz flip-flop synchronization signal (D), and the output is initialized by the clear frequency (E). In addition, the variable delay output unit 24 uses a delay element 26 having a 3.5Nano Second delay value externally to minimize the delay step. It has a delay value and outputs 30 steps by combining two 16-bit mux, and controls it through the variable delay control section 22 according to the control data value C given by the CPU 10. Do it.

제2b도는 상기 가변 지연부의 논리 회로도로서, 10㎒의 입력주파수에 응답하여 제1 및 제2데이터 인에이블 신호(A,B)를 출력하는 제1 및 제2D-플립플롭(DFF2-1,DFF2-2)과, 상기 제1 및 제2D-플립플롭(DFF2-1,DFF2-2)의 출력을 논리합하여 제1테스트 신호(TEST1)를 출력하는 제1오어 게이트(ORS2-1)와 50㎒의 플립를롭 동기 신호(D)의 각각 응답하여 상기 제1 및 제22D-플립플롭(DFF2-1,DFF2-2)의 출력 신호를 각각 다소 지연 출력하는 제3 및 제4D-플립플롭(DFF2-3,DFF2-4)과, 상기 제1오어 게이트 (OR1)의 출력신호를 클럭 신호(CLK)로 하고, 그라운드를 인에이블 신호(EN)로하여 제1내지 제4데이터 값(SELO, 1,2,3)에 따라 제 1내지 제 4출력값(Q1-Q4)을 출력하는 지연값 선택 수단(74437-ams)과, 제3 및 제4D-플립플롭(DFF3-3,DFF3-4)의 출력 신호에 응답하여 그라운드 신호가 다소 지연된 신호로 제2 및 제3테스트 신호(TEST2,3)를 출력하는 제5 및 제6D-플립플롭(DFF2-5,DFF2-6)과, 상기 제3D-플립플롭(DFF2-3)의 출력 신호와 상기 제6D-플립플롭(DFF2-6)의 출력신호를 논리합하여 상기 제5D-플립플롭(DFF2-5)의 프리세트(PRN)신호로 출력하는 제2오어 게이트(ORS-2)와 상기 제4D-플립플롭(DFF2-4)의 출력신호와 상기 제5D-플립플롭(DFF2-5)의 출력신호를 논리합하여 상기 제6D-플립플롭(DFF2-6)의 프리세트(PRN)신호로 출력하는 제3오어 게이트(OR2-3)와 상기 제5 및 제6D-플립플롭(DFF2-5,DFF2-6)의 출력신호를 제1 및 제2인에이블 신호(ENABLE1, ENABLLE2)로 하여 상기 지연값 선택수단(74437-ams)에서 주어지는 선택값에 따라 10㎒의 입력 주파수를 지연 출력하는 지연부(DELAY100)로 구성됨을 나타낸다.FIG. 2B is a logic circuit diagram of the variable delay unit. First and second D flip-flops DFF2-1 and DFF2 outputting first and second data enable signals A and B in response to an input frequency of 10 MHz. -2) and the first OR gate ORS2-1 for outputting the first test signal TEST1 by ORing the outputs of the first and second D-flip flops DFF2-1 and DFF2-2. Third and fourth D flip-flops DFF2- which slightly delay the output signals of the first and 22D flip-flops DFF2-1 and DFF2-2, respectively, in response to the flip-flop synchronization signal D, respectively. 3, DFF2-4, the output signal of the first OR gate OR1 is the clock signal CLK, and the ground is the enable signal EN, and the first to fourth data values SELO, 1, Delay value selecting means (74437-ams) for outputting the first to fourth output values (Q1-Q4) according to 2,3), and outputs of the third and fourth D flip-flops (DFF3-3, DFF3-4). In response to the signal, the ground signal is delayed slightly. Fifth and sixth D-flop flops DFF2-5 and DFF2-6 for outputting a signal TEST2 and 3, an output signal of the third D-flip flop DFF2-3, and the sixth D-flip flop The second OR gate ORS-2 and the fourth D flip-flop DFF2 that logically add the output signal of the DFF2-6 to output the preset PRN signal of the fifth D flip-flop DFF2-5. And a third OR gate for outputting the output signal of -4) and the output signal of the fifth D flip-flop DFF2-5 to output the preset PRN signal of the sixth D flip-flop DFF2-6. OR2-3) and the output value of the fifth and sixth D-flip flops DFF2-5 and DFF2-6 as the first and second enable signals ENABLE1 and ENABLLE2, and the delay value selecting means 74437- and a delay unit DELAY100 for delaying and outputting an input frequency of 10 MHz according to a selection value given by ams).

제2c도는 상기 제2b도에 보인 지연부(DELAY100)의 상세 회로도로서, 제1 및 제216비트 멀티플랙서(MUX1,MUX2)를 두 개를 구비하여 제1 및 제2 인에이블 신호(ENABLE1, ENABLE2)와 주어진 데이터 값(SELO,1,2,3)에 따라 입력(10㎒_IN, DELAY35)의 어느 한 지연 값으로 각각 출력값을 결정하고, 각각 출력된 제1 및 제2멀티플랙서(MUX1,MUX2)의 출력 신호를 논리합(OR)하여 10㎒의 신호를 지연 출력(10㎒_OUT)함을 보인다.FIG. 2C is a detailed circuit diagram of the delay unit DELAY100 shown in FIG. 2B and includes two first and second 216-bit multiplexers (MUX1 and MUX2) to enable the first and second enable signals ENABLE1, According to ENABLE2) and the given data values (SELO, 1,2,3), the output values are respectively determined by the delay values of the inputs (10 MHz_IN, DELAY35), and the output first and second multiplexers (MUX1), respectively. It is shown that the output signal of MUX2 is ORed so that the 10 MHz signal is delayed output (10 MHz_OUT).

제2d도는 상기 가변 지연부(20,30)에 입력되는 신호들 및 그에 따른 출력 파형을 보인 도면으로서, 데이터 값(SELO,1,2,3)이 0000(①)인 281㎱의 시점에서 나타나는 출력 신호(10㎒_OUT)와 데이터 값(SELO,1,2,3)이 0001(②)인 581㎱의 시점에서 나타나는 출력신호(10㎒_OUT)를 비교 했을 때, 581㎱로부터 두 주기 후에는 781㎱보다 3.5②㎱가 지연된 784.5㎱에서 출력 신호가 나타남을 보인다. 즉 데이터가 1비트 변할 때 3.5㎱의 지연이 발생함을 알 수 있다.FIG. 2d is a diagram illustrating signals input to the variable delay units 20 and 30 and corresponding output waveforms. FIG. 2d is a view showing a data value (SELO, 1, 2, 3) at a time of 281 μs where 0000 (①). When comparing the output signal (10MHz_OUT) and the output signal (10MHz_OUT) appearing at 581 Hz when the data values (SELO, 1,2,3) are 0001 (②), after two cycles from 581 Hz It shows that the output signal appears at 784.5㎱, which is 3.5㎱ delayed from 781㎱. In other words, it can be seen that a delay of 3.5 ms occurs when the data changes by one bit.

제3a,b,c도는 상기 위상 비교부(40)의 동작을 설명하기 위한 순서도, 논리회로도, 파형도로서, 10㎒의 두 입력주파수(10㎒-IN1,2)의 라이징에지(Rising Edge)간 간격을 100㎒ 클럭 주파수를 이용한 4비트 카운터로 계수하여 CPU에서 읽어 들이고, CPU에서는 순서도에서 보이는 바와 같이 라이징 에지의 계수가 끝나면 제3c도에 보이는 것처럼 READ-RDY 주파수가 하이가 되는 순간을 검출(S1)하여 (제3a도)하이가 발생하면 두 입력주파수(10㎒-IN1,2)중 어느 것이 먼저 입력되었는가를 SIGN-CHECK주파수로 감지하여 하이와 로우를 판단(S2)한다. 그리하여 하이가 된 입력주파수(10㎒-IN1/10-㎒-IN2)를 리드(S3)하고, 로우가 된 입력 주파수(10㎒-IN1/10㎒-IN1)는 클리어(S4)한다. 여기에서 제1입력주파수(10-㎒-IN1;제3b,c도에서는 10-㎒-1으로 표기함)에 대해 제2입력주파수(10㎒-IN2; 제3b,c에서는 10㎒-2로 표기함)가 하이일 경우에는 제2입력주파수(10㎒-IN2)가 앞서 있고, 로우일 경우에는 제2입력주파수(10㎒-IN2)가 늦다는 것을 나타낸다.3a, b, and c are flowcharts, logic circuits, and waveform diagrams for explaining the operation of the phase comparator 40. Rising edges of two input frequencies 10 MHz-IN1,2 of 10 MHz are shown. The interval is counted by a 4-bit counter using a 100 MHz clock frequency and read by the CPU. The CPU detects the moment when the READ-RDY frequency becomes high as shown in FIG. If (S1) high occurs (Fig. 3a), the signal of the two input frequencies (10MHz-IN1,2) is first inputted as a SIGN-CHECK frequency to determine high and low (S2). Thus, the high input frequency (10 MHz-IN1 / 10-MHz-IN2) is read (S3), and the low input frequency (10 MHz-IN1 / 10 MHz-IN1) is cleared (S4). Here, the second input frequency (10 MHz-IN2; 10 MHz-2 in 3b, c) for the first input frequency (10-MHz-IN1; denoted 10-MHz-1 in FIGS. 3b and c). If the high), the second input frequency (10MHz-IN2) is ahead, if the low indicates that the second input frequency (10MHz-IN2) is slow.

제4a도는 본 발명에 따른 스위치 절체부(50)의 논리회로도로서, 제1 및 제2입력 주파수(10㎒-IN1/10㎒-IN2)를 100㎒의 클럭주파수(100㎒-IN)로 각각 에러 체킹하는 제1 및 제2에러 체크부(error-chk1, error-chk2)와; CPU에서 발생한 제1제어신호(CPU-CTL1), 상기 제1에러 체크부(error-chk1)의 출력신호 및 래치되는 신호를 입력 받는 3-입력 제1낸드 게이트 게이트(NaND4-1)와; CPU에서 발생한 제2제어 신호(CPU-CTL2), 상기 제2에러 체크부(error-chk2)의 출력 신호 및 3-입력 제1낸드 게이트 (NAND4-1)출력 신호를 입력받아 래치되는 신호를 촐력하는 3-입력 제2낸드 게이트 (NAND4-2)와; 상기 3-입력 제1낸드 및 제2낸드 게이트 게이트(NAND4-1,2)의 출력을 각각 인버팅하여 각각 제1 및 제2입력 주파수의상태(FREQ1,2-STATE)를 출력하는 제1 및 제2인버터(NOT4-1,NOT4-2)와; 상기 제1인버터(NOT4-1)의 출력 신호와 제1입력주파수(10㎒-IN1)를 입력으로 하는 제1앤드 게이트 (AND4-1)와; 상기 제2인버터(NOT4-2)의 출력 신호와 제2입력주파수(10㎒-IN2)를 입력으로 하는 제2앤드 게이트 (AND4-2) 및; 상기 제1 및 제2앤드 게이트 (AND4-1,2)출력 신호를 논리합하여 스위치 출력(SW-OUTPUT)을 출력하는 제1오어 게이트(OR4-1)로 구성됨을 보인다.4A is a logic circuit diagram of the switch switching unit 50 according to the present invention, in which the first and second input frequencies 10 MHz-IN1 / 10 MHz-IN2 are respectively converted into a 100 MHz clock frequency (100 MHz-IN). First and second error check units (error-chk1 and error-chk2) for error checking; A three-input first NAND gate gate (NaND4-1) for receiving a first control signal (CPU-CTL1) generated from a CPU, an output signal of the first error check unit (error-chk1), and a latched signal; The second control signal CPU-CTL2 generated by the CPU, the output signal of the second error check unit error-chk2, and the three-input first NAND gate NAND4-1 output signal are outputted and output the latched signal. A three-input second NAND gate NAND4-2; First and second outputting states of the first and second input frequencies FREQ1 and 2-STATE, respectively, by inverting the outputs of the three-input first NAND and second NAND gate gates NAND4-1 and 2, respectively. Second inverters NOT4-1 and NOT4-2; A first end gate (AND4-1) for inputting an output signal of the first inverter (NOT4-1) and a first input frequency (10MHz-IN1); A second end gate AND4-2 which receives the output signal of the second inverter NOT4-2 and a second input frequency 10MHz-IN2; The first and second gates AND4-1 and 2 output the logical OR of the first OR gate OR4-1 to output the switch output SW-OUTPUT.

또한 제4b,c도는 각 입력주파수가 정상인 경우와 이상 발생의 경우에 발생되는 각 주파수의 파형도를 보인 도면으로서, 제4b도에서 두 입력주파수가 정상인 경우에는 두 입력주파수인 10㎒-IN1과 10㎒-IN2가 정상으로 입력될 때 CPU에서 제어한 CPU-CTL1, CPU-CTL2중 빠른 주파수에 의해 FREQ2-STATE는 하이를 나타내고, FREQ1-STATE는 로우를 나타냄을 볼 수 있다. 즉, 현재의 파형에서는 FREQ2-STATE가 하이로 되어 10㎒-IN2가 출력됨을 보인다. 여기에서 두 입력주파수는 가변지연부에 위상이 3.5Nano Second 이하로 동기되어 있다.4b and c show waveform diagrams of each frequency generated when each input frequency is normal and when an abnormality occurs. In FIG. 4b, when two input frequencies are normal, two input frequencies 10MHz-IN1 and When 10MHz-IN2 is normally input, it can be seen that FREQ2-STATE is high and FREQ1-STATE is low due to the faster frequency among CPU-CTL1 and CPU-CTL2 controlled by the CPU. That is, in the current waveform, FREQ2-STATE goes high, indicating that 10 MHz-IN2 is output. Here, the two input frequencies are synchronized to the variable delay section with a phase of 3.5 Nano Second or less.

제4c도에서 입력주파수에 이상이 발생하였을 경우에는 (A)에서 제1입력주파수가 1클럭 로우로 된 경우의 스위칭을 보이며, (B)에서 제2입력주파수가 1클럭 로우로 된 경우의 스위칭을 보인다. 또한(C)에서 제1입력주파수가 하이로 된 경우의 스위칭을 볼 수 있으며, (D)에서 제2입력주파수가 하이로된 경우의 스위칭을 볼 수 있다. 두 입력주파수의 합성된 주파수가 출력됨을 볼 수있다.If an abnormality occurs in the input frequency in Fig. 4c, the switching occurs when the first input frequency goes one clock low in (A), and the switching when the second input frequency goes one clock low in (B). Seems. In addition (C) it can be seen that the switching when the first input frequency is high, and in (D) it can be seen that the switching when the second input frequency is high. It can be seen that the combined frequency of the two input frequencies is output.

제5a도는 제4a도에 보인 에러 체크부(예로들어 error-chk1)를 나타낸 논리 회로도로서, 10㎒의 입력 주파수(10㎒-IN)와 100㎒의 클럭 주파수(100㎒-IN)를 입력 받아 지연된 출력 신호로 스위치 동작을 지연시켜 제1 및 제2출력 신호(Q,Q1)와 제1 및 제2출력의 반전신호(/Q,/Q1)를 출력하는 스위치 딜레이(SW-DESAY)와 상기 제1출력의 반전 신호(/Q)와 제2출력 신호(Q1)를 논리합하여 제1테스트 신호(TEST1)를 출력하는 제1오어 게이트(OR5-1)와, 제1출력신호(Q)와 제2출력의 반전신호(/Q1)를 부정 논리합하여 제2테스트 신호 (TEST2)를 출력하는 제1노어 게이트(NOR5-1)와, 상기 제1오어 게이트(OR5-1)의 출력 신호와 10㎒의 입력 주파수(10㎒-IN)를 논리합하여 제3 테스트신호(TEST3)를 출력하는 제2오어 게이트(OR5-2)와, 상기 제1노어 게이트(NOR5-1)의 출력 신호와 10㎒의 입력주파수(10㎒-IN)를 부정 논리곱하여 제4 테스트 신호(TEST4)를 출력하는 제1낸드 게이트(NAND5-1)와, 상기 제2오어 게이트(OR5-2)의 출력 신호와 상기 제1낸드 게이트 (NAND5-1)의 출력 신호를 논리곱하여 출력 신호를 전달하는 제1앤드 게이트 (AND5-1)로 구성됨을 보인다.FIG. 5A is a logic circuit diagram showing an error check unit (for example, error-chk1) shown in FIG. 4A. FIG. 5A receives an input frequency of 10 MHz (10 MHz-IN) and a clock frequency of 100 MHz (100 MHz-IN). A switch delay (SW-DESAY) for delaying a switch operation with a delayed output signal and outputting the first and second output signals Q and Q1 and the inverted signals / Q and Q1 of the first and second outputs. A first OR gate OR5-1 that outputs the first test signal TEST1 by ORing the inverted signal / Q of the first output and the second output signal Q1, and the first output signal Q and The first NOR gate NOR5-1 outputting the second test signal TEST2 by performing an NOR operation on the inverted signal / Q1 of the second output and the output signal of the first OR gate OR5-1 and 10. A second OR gate OR5-2 for outputting a third test signal TEST3 by ORing an input frequency of 10 MHz-IN and 10 MHz with an output signal of the first NOR gate NOR5-1. Negative input frequency of 10MHz-IN The first NAND gate NAND5-1, which is multiplied to output the fourth test signal TEST4, the output signal of the second OR gate OR5-2, and the output signal of the first NAND gate NAND5-1. It is shown that it is composed of a first end gate (AND5-1) that delivers an output signal by AND.

제5b도는 입력주파수가 정상일 경우에는 각 인에이블 주파수가 하이가 되어 출력을 하이로 발생시킴을 나타낸 파형도이며, 제5c,d도는 입력주파수의 이상이 발생한 각 부분(A,B)에서 출력(OUTPMT)이 로우가 됨을 나타낸 파형도이다.FIG. 5B is a waveform diagram showing that the enable frequency is high when the input frequency is normal, and the output is generated high. FIG. 5C and FIG. 5C are outputs from the respective parts A and B where an abnormality of the input frequency occurs. The waveform diagram shows that OUTPMT) goes low.

또한 제6도는 제4a도에 보인 에레체크부를 이루는 요소인 스위치 딜레이(SW-DESAY)부분의 상세 회로도로서, 100㎒의 클럭 신호에 응답하여 입력주파수10㎒-IN)를 다소 지연하여 제1출력 신호(Q)를 출력하는 복수개의 D-플립플롭(DFF6-1-11)과, 상기D-플립플롭(DFF6-11)의 출력신호를 반전하여 출력하도록 하는 제1인버터(NOT6-1)와, 상기 제1출력 신호를 한 클럭 더 지연하여 출력하는 제12D-플립플롭(DFF6-12)과 상기12D-플립플롭(DFF6-12)의 출력 신호를 반전하여 출력하도록 하는 제2인버터(NOT6-2)로 구성됨을 보인다.FIG. 6 is a detailed circuit diagram of a switch delay (SW-DESAY) part of the elecheck portion shown in FIG. 4a, which first delays the input frequency 10 MHz-IN in response to a 100 MHz clock signal. A plurality of D-flip flops DFF6-1-11 for outputting the signal Q, a first inverter NOT6-1 for inverting and outputting the output signals of the D-flip flops DFF6-11; And a second inverter (NOT6-) which inverts and outputs an output signal of the 12D flip-flop (DFF6-12) and the 12D flip-flop (DFF6-12) for delaying the first output signal by one more clock. 2) is shown.

이와 같이 본 발명은 입력되는 주파수를 이중화하여 하나의 주파수는 인에이블 시킥고, 다른 하나의 주파수는 디스에이블시킨 후 입력되는 인에이블된 주파수에 이상이 발생하였을 때, 디스에이블되었던 주파수를 인에이블시키고, 이상이 발생한 주파수는 디스에이블 시키도록 함으로서, 주파수 발생시에 안정된 주파수를 발생할 수 있다.As such, the present invention duplicates an input frequency so that one frequency is enabled and the other frequency is disabled, and when an abnormality occurs in the input enabled frequency, the disabled frequency is enabled. By disabling the frequency at which the abnormality occurs, a stable frequency can be generated at the time of frequency generation.

따라서 본 발명은 주파수 발생시에 지속적으로 안정하게 주파수를 발생시킬수 있으므로 디지탈 고속 통신 등에 사용하는 경우 입력 주파수 이상 발생으로 인한 잡음을 제거할 수 있다.Therefore, the present invention can generate the frequency continuously and stably at the time of frequency generation, and when used for digital high-speed communication, etc., it is possible to remove the noise caused by the occurrence of an abnormal input frequency.

Claims (2)

제1입력주파수와 지연 소자에 의해 미리 정해진 시간만큼 지연된 제1입력주파수를 입력 받아 제1제어 신호에 응답하여 제1입력주파수를 가변적으로 지연하여 출력하거나 디스에이블 되는 제1가변 지연부; 제2입력주파수와 지연 소자에 의해 미리 정해진 시간만큼 지연된 제2입력주파수를 입력받아 제2제어주파수에 응답하여 제2입력주파수를 가변적으로 지연하여 출력하거나 디스에이블 되는 제2가변 지연부; 상기 제1 및 제2가변 지연부의 출력주파수를 비교하여 위상차가 일정이하가 되도록 두 주파수의 위상차를 출력하는 위상비교부; 상기 제1 및 제2가변 지연부의 출력 주파수를 입력 받아 하나의 입력주파수에 이상이 발생하면 자동으로 스위치를 절체하여 이상이 없는 입력주파수가 일정하게 출력하도록 하는 스위치 절체부; 및 상기 위상 비교부의 출력 주파수와 상기 스위치 절체부의 출력 주파수를 검출하여 제1 및 제2제어 신호를 발생하는 CPU(Central Process Unit)를 구비한 것을 특징으로 하는 주파수 발생 장치.A first variable delay unit that receives the first input frequency and the first input frequency delayed by a predetermined time by the delay element and variably delays or outputs the first input frequency in response to the first control signal; A second variable delay unit configured to receive a second input frequency delayed by a second input frequency and a delay element by a predetermined time, and to variably delay or output the second input frequency in response to the second control frequency; A phase comparator for comparing the output frequencies of the first and second variable delay units and outputting a phase difference between the two frequencies so that the phase difference becomes less than a predetermined level; A switch switching unit for receiving an output frequency of the first and second variable delay units and automatically switching a switch when an abnormality occurs in one input frequency so that an input frequency having no abnormality is constantly output; And a central process unit (CPU) configured to detect an output frequency of the phase comparator and an output frequency of the switch switching part to generate first and second control signals. 제1항에 있어서, 상기 가변 지연부는 데이터 인에이블 신호에 의해 인에이블되고, 동기 신호에 응답하여 상기 CPU에서 주어진 복수테이터 값에 따라 입력주파수의 지연값을 결정하여 출력하는 가변지연 제어부; 입력주파수를 일정시간 지연하여 출력하는 위상 지연 소자; 테이터 인에이블 신호에 의해 인에이블 또는 디스에이블 되고, 상기 위상 지연 소자의 지연값을 단위로 상기 가변 지연 제어부에서 결정된 지연값에 따라 지연하여 출력하는 가변 지연 출력부를 구비한 것을 특징으로 하는 주파수 발생장치.The variable delay unit of claim 1, wherein the variable delay unit is enabled by a data enable signal and determines and outputs a delay value of an input frequency according to a plurality of data values given by the CPU in response to a synchronization signal; A phase delay device for outputting a delayed input frequency by a predetermined time; And a variable delay output unit configured to be enabled or disabled by a data enable signal and to delay and output the delay value of the phase delay element according to the delay value determined by the variable delay control unit. .
KR1019960065209A 1996-12-13 1996-12-13 Frequency generating apparatus KR100196723B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960065209A KR100196723B1 (en) 1996-12-13 1996-12-13 Frequency generating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960065209A KR100196723B1 (en) 1996-12-13 1996-12-13 Frequency generating apparatus

Publications (2)

Publication Number Publication Date
KR19980046796A KR19980046796A (en) 1998-09-15
KR100196723B1 true KR100196723B1 (en) 1999-06-15

Family

ID=19487633

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960065209A KR100196723B1 (en) 1996-12-13 1996-12-13 Frequency generating apparatus

Country Status (1)

Country Link
KR (1) KR100196723B1 (en)

Also Published As

Publication number Publication date
KR19980046796A (en) 1998-09-15

Similar Documents

Publication Publication Date Title
US7509517B2 (en) Clock transferring apparatus for synchronizing input data with internal clock and test apparatus having the same
KR101436042B1 (en) Apparatus and method for preventing glitch in clock switching circuit
US6320436B1 (en) Clock skew removal apparatus
EP1525488B1 (en) Electronic circuit with asynchronously operating components
KR970018653A (en) Design Method of Clock Generation Circuit, PLL Circuit, Conductor Device, and Clock Generation Circuit
WO2007136977A2 (en) Methods and apparatus for testing delay locked loops and clock skew
US5148113A (en) Clock phase alignment
US5180937A (en) Delay compensator and monitor circuit having timing generator and sequencer
EP0233221B1 (en) Apparatus and method for detecting time-related faults
JPH09246963A (en) Pll circuit
US6701280B2 (en) System and method to provide measurement capabilities for both single-ended and differential signals with software switching
KR100196723B1 (en) Frequency generating apparatus
US6115438A (en) Method and circuit for detecting a spurious lock signal from a lock detect circuit
US20010045822A1 (en) Pulse detector
US20060088137A1 (en) Multi-frequency clock stretching systems
CN111913038A (en) Multi-channel clock signal frequency detection device and method
US7454306B2 (en) Frequency margin testing
US4975594A (en) Frequency detector circuit
KR20000071380A (en) Timing generation circuit for semiconductor test system
CN113504809B (en) Dynamic switching method, device and system for multipath clocks
KR19990053199A (en) High-Speed Synchronous Memory Devices for Testing
WO2023033103A1 (en) Successive-approximation register based a/d converter
KR100629538B1 (en) Circuit for determining the time difference between two edges of a first and of a second digital signal
US6777921B2 (en) Analog filter with built-in self test
JP2853752B2 (en) Transmission line length measuring device

Legal Events

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

Payment date: 20070214

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee