KR20090035149A - Apparatus for estimating frequency of receiving signal in serial commnication - Google Patents
Apparatus for estimating frequency of receiving signal in serial commnication Download PDFInfo
- Publication number
- KR20090035149A KR20090035149A KR1020070100259A KR20070100259A KR20090035149A KR 20090035149 A KR20090035149 A KR 20090035149A KR 1020070100259 A KR1020070100259 A KR 1020070100259A KR 20070100259 A KR20070100259 A KR 20070100259A KR 20090035149 A KR20090035149 A KR 20090035149A
- Authority
- KR
- South Korea
- Prior art keywords
- frequency
- input signal
- storage unit
- logic value
- edge detector
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/22—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
- H03K5/24—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
- H03K5/2472—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude using field effect transistors
- H03K5/249—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude using field effect transistors using clock signals
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/153—Arrangements in which a pulse is delivered at the instant when a predetermined characteristic of an input signal is present or at a fixed time interval after this instant
- H03K5/1534—Transition or edge detectors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Manipulation Of Pulses (AREA)
Abstract
Description
본 발명은 제1 입력 신호와 제2 입력 신호의 주파수를 비교하는 모듈에 관한 것으로, 보다 구체적으로 제1 입력 신호와 제2 입력 신호의 주파수를 비교하여 비교 결과를 로우/하이의 로직 값으로 출력하는 주파수 비교 모듈에 관한 것이다.The present invention relates to a module for comparing the frequency of the first input signal and the second input signal, and more specifically, to compare the frequency of the first input signal and the second input signal and output the comparison result as a logic value of low / high It relates to a frequency comparison module.
시리얼 통신은 마스터 디바이스와 슬레이브 디바이스 사이에 할당된 하나의 데이터 송수신선과 클락동기선을 이용하여 데이터를 송수신한다. 하나의 데이터 송수신선과 클락동기선을 이용하여 데이터를 송수신 시리얼 통신에서 마스터 디바이스와 슬레이브 디바이스 사이의 송수신 데이터를 정확하게 샘플링하기 위해서는 타이밍 정보를 가진 클락에 의해 마스터 디바이스와 슬레이브 디바이스가 서로 동기화되어야 한다. Serial communication transmits and receives data using one data transmission line and a clock synchronization line allocated between the master device and the slave device. Transmitting and Receiving Data Using One Data Transceiver and Clock Synchronization Line In order to accurately sample transmit and receive data between a master device and a slave device in serial communication, the master device and the slave device must be synchronized with each other by a clock having timing information.
최근 들어 다양한 멀티미디어 장치들이 개발되어 사용되고 있으며 멀티미디어 장치에서 하나의 마스터 디바이스는 다양한 슬레이브 디바이스와 데이터를 통신할 필요가 있다. 이 경우 각각의 슬레이브 디바이스는 서로 다른 송신 속도로 데이터를 마스터 디바이스로 송신한다. 따라서 마스터 디바이스는 서로 다른 속도로 각각의 슬레이브 디바이스로부터 데이터를 수신하기 위하여 각각의 슬레이브 디바이스와 모두 동기화되어야 한다. 이를 위해, 마스터 디바이스는 다양한 슬레이브 디바이스와 모두 동기화될 수 있는 클락 주파수를 이용하여 각각의 슬레이브 디바이스로부터 데이터를 수신한다. Recently, various multimedia devices have been developed and used. In the multimedia device, one master device needs to communicate data with various slave devices. In this case, each slave device transmits data to the master device at different transmission rates. Thus, the master device must be synchronized with each slave device in order to receive data from each slave device at different rates. To this end, the master device receives data from each slave device using a clock frequency that can all be synchronized with the various slave devices.
위에서 설명한, 다양한 슬레이브 디바이스로부터 데이터를 수신하는 마스터 디바이스는 빠른 클락 주파수로 데이터를 송신하는 슬레이브 디바이스 또는 느린 클락 주파수로 데이터를 송신하는 슬레이브 디바이스에 상관없이 각각의 슬레이브 디바이스와 동기화될 수 있는 공통의 클락 주파수를 이용하여 슬레이브 디바이스와 동기화를 달성한다. 마스터 디아비스가 느린 클락 주파수로 데이터를 송신하는 슬레이브 디바이스로부터 데이터를 수신하는 경우에도, 마스터 디바이스는 공통의 클락 주파수를 이용하여 데이터를 샘플링함으로써 데이터 처리 효율이 떨어지며 데이터 처리를 위해 큰 부하가 마스터 디바이스에 주어진다는 문제점이 있다.As described above, a master device receiving data from various slave devices can be synchronized with each slave device regardless of which slave device transmits data at a fast clock frequency or the slave device transmits data at a slow clock frequency. The frequency is used to achieve synchronization with the slave device. Even when the master diabis receives data from a slave device that transmits data at a slow clock frequency, the master device samples the data using a common clock frequency, resulting in inefficient data processing and a large load for the data processing. There is a problem that is given in.
다양한 슬레이브 디바이스와 데이터를 송수신하는 마스터 디바이스가 다양한 슬레이브 디바이스로부터 수신되는 데이터의 수신 주파수를 정확하게 판단함으로써, 마스터 디바이스는 수신 주파수에 적합한 클락 주파수로 슬레이브 디바이스로부터 수신되는 데이터를 샘플링할 수 있다. By accurately determining the reception frequency of the data received from the various slave devices by the master device transmitting and receiving data with the various slave devices, the master device can sample the data received from the slave device at a clock frequency suitable for the reception frequency.
따라서 본 발명이 이루고자 하는 목적은 각각의 슬레이브 디바이스로부터 수신되는 데이터의 수신 주파수를 정확하게 판단하기 위하여, 제1 입력 신호와 제2 입력 신호의 주파수를 비교하여 비교 결과를 로우/하이의 로직 값으로 출력하는 주파수 비교 모듈을 제공하는 것이다.Accordingly, an object of the present invention is to compare the frequency of the first input signal and the second input signal in order to accurately determine the reception frequency of the data received from each slave device to output the comparison result as a logic value of low / high It is to provide a frequency comparison module.
본 발명이 이루고자 하는 다른 목적은 다수의 주파수 비교 모듈을 이용하여 슬레이브 디바이스로부터 수신되는 데이터의 수신 주파수를 판단하는 장치를 제공 하는 것이다. Another object of the present invention is to provide an apparatus for determining a reception frequency of data received from a slave device using a plurality of frequency comparison modules.
본 발명에 따른 주파수 비교 모듈은 제1 입력 신호에서 상승 에지를 검출하여 상승 에지의 검출 여부에 따라 로우/하이의 로직 값을 출력하는 제1 에지 검출부와 제2 입력 신호에서 상승 에지를 검출하며 상승 에지의 검출 여부에 따라 로우/하이의 로직 값을 출력하는 제2 에지 검출부를 구비하는 에지 검출부, 제1 에지 검출부 또는 제2 에지 검출부로부터 하이의 로직 값을 입력받을 때마다 클럭 신호를 발생하는 클럭 발생부, 클럭 신호에 동기되어 제1 에지 검출부로부터 출력되는 로직 값을 순차적으로 저장하는 저장부 및 클럭 신호에 동기되어 저장부에서 출력되는 로직 값에 따라 제1 입력 신호와 제2 입력 신호의 주파수 크기를 비교하는 주파수 비교부를 포함하는 것을 특징으로 한다.The frequency comparison module according to the present invention detects the rising edge in the first input signal and detects the rising edge in the first edge detector and the second input signal which outputs a logic value of low / high depending on whether the rising edge is detected. A clock that generates a clock signal whenever a logic value of high is received from an edge detector, a first edge detector, or a second edge detector that outputs a logic value of low / high according to whether an edge is detected. Generator, a storage for sequentially storing the logic value output from the first edge detector in synchronization with the clock signal and the frequency of the first input signal and the second input signal according to the logic value output from the storage in synchronization with the clock signal Characterized in that it comprises a frequency comparison unit for comparing the magnitude.
본 발명에 따른 주파수 판단 장치는 제1 입력 신호와 제2 입력 신호의 주파수 크기를 비교하는 복수의 주파수 비교 모듈 및 복수의 주파수 비교 모듈로부터 출력되는 비교 결과에 기초하여 제1 입력 신호의 주파수 범위를 판단하는 주파수 판단부를 포함하며, According to an embodiment of the present invention, a frequency determining device determines a frequency range of a first input signal based on a comparison result output from a plurality of frequency comparison modules and a plurality of frequency comparison modules comparing frequency magnitudes of a first input signal and a second input signal. It includes a frequency determination unit for determining,
주파수 비교 모듈은 제1 입력 신호에서 상승 에지를 검출하여 상승 에지의 검출 여부에 따라 로우/하이의 로직 값을 출력하는 제1 에지 검출부와 제2 입력 신호에서 상승 에지를 검출하며 상승 에지의 검출 여부에 따라 로우/하이의 로직 값을 출력하는 제2 에지 검출부를 구비하는 에지 검출부, 제1 에지 검출부 또는 제2 에지 검출부로부터 하이의 로직 값을 입력받을 때마다 클럭 신호를 발생하는 클럭 발생부, 클럭 신호에 동기되어 제1 에지 검출부로부터 출력되는 로직 값을 순차적으로 저장하는 저장부 및 클럭 신호에 동기되어 저장부에서 출력되는 로직 값에 따라 제1 입력 신호와 제2 입력 신호의 주파수 크기를 비교하는 주파수 비교부를 포함하는 것을 특징으로 한다.The frequency comparison module detects the rising edge in the first input signal and detects the rising edge in the second input signal and the first edge detector outputting a logic value of low / high according to whether the rising edge is detected. According to the edge detection unit having a second edge detector for outputting a logic value of the low / high, a clock generator for generating a clock signal every time a logic value of the first input from the first edge detector or the second edge detector, clock A storage unit sequentially stores the logic values output from the first edge detector in synchronization with the signal and compares the frequency magnitudes of the first input signal and the second input signal according to the logic values output from the storage in synchronization with the clock signal. Characterized in that it comprises a frequency comparison unit.
본 발명에 따른 주파수 비교 모듈은 제1 입력 신호와 제2 입력 신호의 주파수를 비교하여 그 비교 결과를 로우/하이의 로직 값으로 출력함으로써, 사용자는 제1 입력 신호와 제2 입력 신호의 주파수를 쉽게 비교할 수 있다.The frequency comparison module according to the present invention compares the frequencies of the first input signal and the second input signal and outputs the comparison result as a logic value of low / high, thereby allowing the user to adjust the frequencies of the first input signal and the second input signal. Easy to compare.
또한 본 발명에 따른 주파수 비교 모듈은 제1 입력 신호와 제2 입력 신호의 주파수를 비교하여 그 비교 결과를 로우/하이의 로직 값으로 출력함으로써, 로직 값을 사용하는 로직 회로와 본 발명에 따른 주파수 비교 모듈을 쉽게 연계하여 사용할 수 있다.In addition, the frequency comparison module according to the present invention compares the frequency of the first input signal and the second input signal and outputs the result of the comparison as a low / high logic value, thereby using a logic circuit using the logic value and the frequency according to the present invention The comparison module can be used easily.
본 발명에 따른 주파수 판단 장치는 다수의 주파수 비교 모듈을 이용하여 슬레이브 디바이스로부터 수신되는 데이터의 수신 주파수를 판단함으로써, 마스터 슬레이브로 하여금 다양한 슬레이브 디바이스로부터 수신되는 데이터를 효율적으로 처리할 수 있도록 한다.The frequency determining apparatus according to the present invention enables the master slave to efficiently process data received from various slave devices by determining the reception frequency of data received from the slave device using a plurality of frequency comparison modules.
이하 첨부한 도면을 참고로 본 발명에 따른 주파수 비교 모듈 및 주파수 판단 장치에 대해 보다 구체적으로 설명한다.Hereinafter, a frequency comparison module and a frequency determination device according to the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시예에 따른 주파수 비교 모듈을 설명하는 기능 블록 도를 도시하고 있다.1 is a functional block diagram illustrating a frequency comparison module according to an embodiment of the present invention.
입력되는 신호에서 에지를 검출하는 에지 검출부(10)는 제1 에지 검출부(12)와 제2 에지 검출부(14)로 구성되어 있다. 제1 에지 검출부(12)는 제1 입력단자(T1)로 입력되는 제1 입력신호(I1)에서 상승 에지를 검출하며 제2 에지 검출부(12)는 제2 입력단자(T2)로 입력되는 제2 입력신호(I2)에서 상승 에지를 검출한다. 제1 에지 검출부(12)는 제1 입력신호(I1)에서 상승 에지를 검출할 때마다 하이의 로직 값을 출력하며, 상승 에지를 검출하지 못하는 경우 로우의 로직 값을 출력한다. 이와 동일하게, 제2 에지 검출부(14)는 제2 입력신호(I2)에서 상승 에지를 검출할 때마다 하이의 로직 값을 출력하며 상승 에지를 검출하지 못하는 경우 로우의 로직 값을 출력한다. The
바람직하게, 제1 입력신호(I1)와 제2 입력신호(I2)는 펄스 신호인 것을 특징으로 한다. 본 발명이 적용되는 분야에 따라 펄스 신호가 아닌, 상승 에지를 가지는 다른 종류의 신호가 입력신호로 제1 입력단자와 제2 입력단자를 통해 입력될 수 있으며, 제1 에지 검출부(12)와 제2 에지 검출부(14)는 상승 에지를 가지는 입력 신호에서 상승 에지를 검출한다.Preferably, the first input signal I1 and the second input signal I2 are pulse signals. According to the field to which the present invention is applied, other types of signals having rising edges, not pulse signals, may be input as input signals through the first input terminal and the second input terminal. The two
클럭 발생부(20)는 제1 에지 검출부(12) 또는 제2 에지 검출부(14)로부터 하이의 로직 값이 출력될 때마다, 하이의 로직 값을 가지는 클럭 신호를 발생한다. 즉, 클럭 발생부(20)는 제1 에지 검출부(12) 또는 제2 에지 검출부(14)를 통해 제1 입력신호(I1)와 제2 입력신호(I2)에서 중 어느 하나에서 상승 에지가 검출되는 경우, 하이의 로직 값을 가지는 클럭 신호를 발생시킨다. The
저장부(30)는 제1 에지 검출부(12)를 통해 출력되는 하이 또는 로우의 로직 값을 차례로 저장하며 클럭 발생부(20)에서 발생한 클럭 신호에 의해 저장부에 저장된 로직 값을 출력한다. 저장부(30)는 제1 에지 검출부(12)를 통해 차례로 출력되는 4개의 하이 또는 로우의 로직 값을 저장한다. 제1 에지 검출부(12)를 통해 출력되는 4개의 하이 또는 로우의 로직 값을 저장하기 위해, 저장부(30)는 4개의 플립플롭 또는 4개의 래치가 사용되거나 이들의 조합이 사용될 수 있다.The
클럭 발생부(20)로부터 하이의 로직 값을 가지는 클럭 신호가 입력될 때마다 저장부(30)에서 출력되는 로직 값은 제1 입력신호(I1) 또는 제2 입력신호(I2)에서 검출한 상승에지의 존재를 나타낸다. 즉, 클럭 발생부(20)는 제1 입력신호(I1) 또는 제2 입력신호(I2) 중 적어도 어느 하나에서 상승 에지를 검출하는 경우 하이의 로직 값을 가지는 클럭 신호를 발생하며 저장부(30)는 클럭 신호에 동기되어 제1 에지 검출부(12)에서 출력되는 로직 값을 저장하므로, 저장부(30)에서 출력되는 하이의 로직 값은 입력신호(I1)의 상승에지를 의미하며 로우의 로직 값은 입력신호(I2)의 상승에지를 의미한다.Whenever a clock signal having a high logic value is input from the
주파수 비교부(40)는 저장부(30)에서 출력되는 4개의 로직 값을 이용하여 제1 입력신호(I1)와 제2 입력신호(I2) 중 어떤 입력신호에서 더 많은 상승에지가 검출되는지, 즉 어떤 입력신호의 주파수가 더 빠른지를 비교하여 주파수 비교 신호를 출력한다. The
도 2는 본 발명에 따른 주파수 비교 모듈에 대한 간략한 회로도의 일 예를 도시하고 있다.2 shows an example of a simplified circuit diagram for a frequency comparison module according to the present invention.
도 2를 참고로 살펴보면, 제1 에지 검출부(12)는 제1 입력신호(I1)의 시간 지연시키고 값을 반전시키기 위한 3개의 NOT 소자, 3개의 NOT 소자를 통과한 제1 입력신호(I1)와 시간 지연되지 않은 제1 입력신호(I1)를 서로 합하는 1개의 NAND 소자와 NOT 소자로 구성되어 있다. 이와 동일하게, 제2 에지 검출부(14)는 제2 입력신호(I2)의 시간을 지연시키고 값을 반전시키기 위한 3개의 NOT 소자, 3개의 NOT 소자를 통과한 제2 입력신호(I2)와 시간 지연되지 않은 제2 입력신호(I2)를 서로 합하는 1개의 NAND 소자와 NOT 소자로 구성되어 있다. Referring to FIG. 2, the
제1 에지 검출부(12)는 시간지연된 제1 입력신호(I1)와 시간 지연되지 않은 제1 입력신호(I1)을 합하여 제1 입력신호에서 상승 에지를 검출하며, 상승 에지를 검출할 때마다 하이의 로직 값을 출력한다. 제2 에지 검출부(14)는 시간지연된 제2 입력신호(I2)와 시간 지연되지 않은 제2 입력신호(I2)을 합하여 제2 입력신호에서 상승 에지를 검출하며, 상승 에지를 검출할 때마다 하이의 로직 값을 출력한다.The
클럭 발생부(20)는 1개의 NOR 소자와 1개의 NOT 소자를 구비하고 있으며 제1 에지 검출부(12) 또는 제2 에지 검출부(14) 중 적어도 어느 하나에서 하이의 로직 값을 출력하는 경우, 하이의 로직 값을 출력하는 OR 소자로 동작한다. When the
도 3 내지 도 5는 클럭 발생부(20)에서 발생하는 클럭 신호의 일 예를 설명하기 위한 도면이다.3 to 5 are diagrams for describing an example of a clock signal generated by the
도 3(a)는 제1 입력신호(I1)의 일 예이며 도 3(b)는 제1 에지 검출부(12)에서 검출한 제1 입력신호(I1)의 상승에지를 나타내는 하이의 로직 값을 도시하고 있다. 3A illustrates an example of the first input signal I1, and FIG. 3B illustrates a logic value of a high indicating a rising edge of the first input signal I1 detected by the
도 4(a)는 제2 입력신호(I2)의 일 예이며 도 4(b)는 제2 에지 검출부(14)에서 검출한 제2 입력신호(I2)의 상승에지를 나타내는 하이의 로직 값을 도시하고 있다. FIG. 4A illustrates an example of the second input signal I2, and FIG. 4B illustrates a logic value of high indicating the rising edge of the second input signal I2 detected by the
도 5는 클럭 발생부(20)에서 출력되는 클럭 신호를 도시하고 있다. 도 3 내지 도5에서 알 수 있는 것과 같이, 클럭 발생부(20)는 제1 에지 검출부(12) 또는 제2 에지 검출부(14)에서 상승 에지를 검출할 때마다 하이의 로직 값을 가지는 클럭 신호를 발생한다.5 illustrates a clock signal output from the
저장부(30)는 4개의 플립플롭(31, 33, 35, 37)으로 구성되어 있다. 클럭 발생부(20)에서 출력되는 클럭 신호에 동기되어 제1 플립플롭(31) 내지 제4 플립플롭(37)은 제1 에지 검출부(12)로부터 출력되는 하이/로우의 로직 값을 차례로 저장한다. 제1 플립플롭(31) 내지 제4 플립플롭(37)에 제1 에지 검출부(12)로부터 출력되는 하이/로우의 로직 값이 차례로 저장된 후, 제1 플립플롭(31) 내지 제4 플립플롭(37)은 클럭 발생부(20)로부터 출력되는 클럭신호에 동기되어 제1 플립플롭(31) 내지 제4 플립플롭(37)에 저장되어 있던 4개의 로직 값을 출력한다.The
도 6은 제1 플립플롭(31)의 회로도에 대한 일 예를 도시하고 있으며, 도 7은 제2 플립플롭(33)의 회로도에 대한 일 예를 도시하고 있으며, 도 8은 제3 플립플롭(35)의 회로도에 대한 일 예를 도시하고 있으며 도 9는 제4 플립플롭(37)의 회로도에 대한 일 예를 도시하고 있다.6 illustrates an example of a circuit diagram of the first flip-
도 6을 참고로, 제1 플립플롭(31)은 클락 신호를 게이트 단자의 바이어스 신호로 입력받는 1개의 N-MOSFET(100)와 N-MOSFET(100)의 소스 단자에 직렬로 연결되 어 있는 NOT 소자(103, 105)의 조합으로 구성되어 있다. N-MOSFET(100)는 스위치로 동작하며, N-MOSFET(100)의 게이트 단자로 하이의 로직 값을 가지는 클락 신호가 입력되는 경우, N-MOSFET(100)는 온(on)되어 제1 에지 검출부(12)로부터 입력되는 로직 값이 그대로 NOT 소자(103, 105)를 통해 주파수 비교부(41, 43)로 출력된다.Referring to FIG. 6, the first flip-
도 7을 참고로, 제2 플립플롭(33)은 클락 신호를 게이트 단자의 바이어스 신호로 입력받는 2개의 N-MOSFET(111, 115), 2개의 N-MOSFET(111, 115) 사이에서 2개의 N-MOSFET(111, 115)와 직렬로 접속되어 있으며 역클락 신호를 게이트 단자의 바이어스 신호로 입력받는 1개의 N-MOSFET(113), N-MOSFET(111)과 N-MOSFET(113) 사이에서 N-MOSFET(111)과 N-MOSFET(113)와 직렬로 접속되어 있는 NOT 소자의 조합(112), N-MOSFET(113)과 N-MOSFET(115) 사이에서 N-MOSFET(113)과 N-MOSFET(115)와 직렬로 접속되어 있는 NOT 소자의 조합(114), N-MOSFET(115)와 직렬로 접속되어 있는 NOT 소자의 조합(116)으로 구성되어 있다.Referring to FIG. 7, the second flip-
N-MOSFET(111)의 게이트 단자로 하이의 로직 값을 가지는 클락 신호가 입력되는 경우, N-MOSFET(111)은 온되고 N-MOSFET(113)은 오프된다. 따라서, 제1 에지 검출부(12)로부터 입력되는 로직 값은 N-MOSFET(113)를 통과하지 못하고 NOT 소자의 조합(112)에 저장된다. 로우의 로직 값을 가지는 클락 신호가 입력되는 경우, N-MOSFET(113)은 온되고 N-MOSFET(115)는 오프되므로 NOT 소자의 조합(112)에 저장되어 있던 로직 값은 NOT 소자의 조합(114)에 저장된다. When a clock signal having a high logic value is input to the gate terminal of the N-
한편, 하이의 로직 값을 가지는 새로운 클락 신호가 N-MOSFET(111)의 게이트 단자로 입력되는 경우, N-MOSFET(111)은 온되고 N-MOSFET(113)은 오프되며 N-MOSFET(115)는 온된다. 따라서, NOT 소자의 조합(114)에 저장되어 있던 로직 값은 N-MOSFET(115)를 통과하여 주파수 비교부(41, 43)와 제3 플립플롭(35)으로 출력되며, N-MOSFET(111)로는 제1 에지 검출부(12)로부터 새로운 로직 값이 입력되어 NOT 소자의 조합(112)에 저장된다.On the other hand, when a new clock signal having a logic value of high is input to the gate terminal of the N-
도 8을 참고로, 제3 플립플롭(35)은 역클락 신호를 게이트 단자의 바이어스 신호로 입력받는 1개의 N-MOSFET(121), N-MOSFET(121)와 직렬로 접속되어 있으며 클락 신호를 게이트 단자의 바이어스 신호로 입력받는 1개의 N-MOSFET(123), N-MOSFET(121)과 N-MOSFET(123) 사이에서 N-MOSFET(121)과 N-MOSFET(123)와 직렬로 접속되어 있는 NOT 소자의 조합(122) 및 N-MOSFET(123)와 직렬로 접속되어 있는 NOT 소자의 조합(124)으로 구성되어 있다.Referring to FIG. 8, the third flip-flop 35 is connected in series with one N-
N-MOSFET(123)의 게이트 단자로 하이의 로직 값을 가지는 클락 신호가 입력되는 경우, N-MOSFET(121)은 오프되고 N-MOSFET(123)은 온된다. 따라서, 제2 플립플롭(33)으로부터 입력되는 로직 값은 N-MOSFET(121)를 통과하지 못하고 NOT 소자의 조합(124)에 저장되어 있던 로직 값은 주파수 비교부(41, 43)와 제4 플립플롭(37)으로 출력된다. 한편, 로우의 로직 값을 가지는 클락 신호가 N-MOSFET(123)의 게이트 단자로 입력되는 경우, N-MOSFET(121)은 온되고 N-MOSFET(123)은 오프된다. 따라서, 제2 플립플랍(33)으로부터 새로운 로직 값이 출력되어 NOT 소자의 조합(122)에 저장된다.When a clock signal having a high logic value is input to the gate terminal of the N-
도 9를 참고로, 제4 플립플롭(37)은 역클락 신호를 게이트 단자의 바이어스 신호로 입력받는 1개의 N-MOSFET(131), N-MOSFET(131)와 직렬로 접속되어 있으며 클락 신호를 게이트 단자의 바이어스 신호로 입력받는 1개의 N-MOSFET(133), N-MOSFET(131)과 N-MOSFET(133) 사이에서 N-MOSFET(131)과 N-MOSFET(133)와 직렬로 접속되어 있는 NOT 소자의 조합(132) 및 N-MOSFET(133)와 직렬로 접속되어 있는 NOT 소자의 조합(134)으로 구성되어 있다.Referring to FIG. 9, the fourth flip-
N-MOSFET(133)의 게이트 단자로 하이의 로직 값을 가지는 클락 신호가 입력되는 경우, N-MOSFET(131)은 오프되고 N-MOSFET(133)은 온된다. 따라서, 제3 플립플롭(35)으로부터 입력되는 로직 값은 N-MOSFET(131)를 통과하지 못하고 NOT 소자의 조합(134)에 저장되어 있던 로직 값은 주파수 비교부(41, 43)로 출력된다. 한편, 로우의 로직 값을 가지는 클락 신호가 N-MOSFET(133)의 게이트 단자로 입력되는 경우, N-MOSFET(131)은 온되고 N-MOSFET(133)은 오프된다. 따라서, 제3 플립플랍(35)으로부터 새로운 로직 값이 출력되어 NOT 소자의 조합(132)에 저장된다. When a clock signal having a high logic value is input to the gate terminal of the N-
도 6 내지 도 9를 참고로 살펴본 것과 같이, 제1 에지 검출부(12)를 통해 출력되는 하이 또는 로우의 로직 값은 차례로 제1 플립플롭(31) 내지 제4 플립플롭(37)에 차례로 저장하며 클럭 발생부(20)에서 발생한 클럭 신호에 따라 제1 플립플롭(31) 내지 제4 플립플롭(37)에 저장되어 있던 4개의 로직 값이 주파수 비교부(41, 43)로 출력된다.As described with reference to FIGS. 6 to 9, the logic values of the high or low output through the
다시 도 2를 참고로, 주파수 비교부(40)는 제1 플립플롭(31) 내지 제4 플립플롭(37)에서 출력되는 로직 값의 조합을 입력받아 제1 입력신호(I1)와 제2 입력신호(I2) 중 어떤 입력 신호의 주파수가 더 빠른지를 나타내기 위한 주파수 비교 신 호를 출력하는 제1 주파수 비교부(41)와 제2 주파수 비교부(43)로 구성되어 있다. 제1 주파수 비교부(41)는 제1 플립플롭(31) 내지 제4 플립플롭(37)로부터 출력되는 로직 값을 입력받는 3개의 NAND 소자(1, 2, 3)와 3개의 NAND(1, 2, 3)로부터 출력되는 로직 값을 입력받는 1개의 NAND 소자(4)로 구성되어 있다. 제2 주파수 비교부(43)는 제1 플립플롭(31) 내지 제4 플립플롭(37)로부터 출력되는 로직 값을 NOT 게이트로 반전시켜 후 입력받는 3개의 NAND 소자(5, 6, 7)와 3개의 NAND(5, 6, 7)로부터 출력되는 로직 값을 입력받는 1개의 NAND 소자(8)로 구성되어 있다.Referring back to FIG. 2, the
제1 주파수 비교부(41)에서 제1 NAND 소자(1)는 제1 플립플롭(31)과 제2 플립플롭(33)의 로직 값을 입력받으며, 제2 NAND 소자(2)는 제2 플립플롭(33)과 제3 플립플롭(35)의 로직 값을 입력받으며, 제3 NAND 소자(3)는 제1 플립플롭(31), 제3 플립플롭(35) 및 제4 플립플롭(37)의 로직 값을 입력받는다. 제4 NAND 소자(4)는 제1 NAND 소자(1) 내지 제3 NAND 소자(3)로부터 출력되는 로직 값을 입력받아 제1 주파수 비교 신호(O1)를 출력한다.In the
제1 주파수 비교부(41)의 제4 NAND(4)에서 출력되는 제1 주파수 비교 신호(O1)의 로직 값은 아래의 수학식(1)과 같다.The logic value of the first frequency comparison signal O1 output from the fourth NAND 4 of the
[수학식 1][Equation 1]
O1 = t2×t3 + t1×t2 + t0×t1×t3O1 = t2 × t3 + t1 × t2 + t0 × t1 × t3
여기서, t0은 제4 플립플롭(37)으로부터 제1 NAND 소자(1) 내지 제3 NAND 소자(3)로 출력되는 로직 값을 의미하며, t1은 제3 플립플롭(35)으로부터 제1 NAND 소자(1) 내지 제3 NAND 소자(3)로 출력되는 로직 값을 의미하며, t2은 제2 플립플 롭(33)으로부터 제1 NAND 소자(1) 내지 제3 NAND 소자(3)로 출력되는 로직 값을 의미하며, t3은 제1 플립플롭(31)으로부터 제1 NAND 소자(1) 내지 제3 NAND 소자(3)로 출력되는 로직 값을 의미한다.Here, t0 means a logic value output from the fourth flip-
제2 주파수 비교부(43)에서 제5 NAND 소자(5)는 제1 플립플롭(31)과 제2 플립플롭(33)의 로직 값을 NOT게이트를 통과하게 하여 반전시킨 후 입력받으며, 제6 NAND 소자(6)는 제2 플립플롭(33)과 제3 플립플롭(35)의 로직 값을 NOT게이트를 통과하게 하여 반전시킨 후 입력받으며, 제7 NAND 소자(7)는 제1 플립플롭(31), 제3 플립플롭(35) 및 제4 플립플롭(37)의 로직 값을 NOT게이트를 통과하게 하여 반전시킨 후 입력받는다. 제8 NAND 소자(8)는 제5 NAND 소자(5) 내지 제7 NAND 소자(7)로부터 출력되는 로직 값을 입력받아 제2 주파수 비교 신호(O2)를 출력한다. In the
제2 주파수 비교부(43)의 제8 NAND(8)에서 출력되는 제2 주파수 비교 신호(O2)의 로직 값은 아래의 수학식(2)과 같다.The logic value of the second frequency comparison signal O2 output from the
[수학식 2][Equation 2]
O2 = t2b×t3b + t1b×t2b + t0b×t1b×t3bO2 = t2b × t3b + t1b × t2b + t0b × t1b × t3b
여기서, t0b은 제4 플립플롭(37)으로부터 NOT게이트를 거쳐 반전되어 제5 NAND 소자(5) 내지 제3 NAND 소자(7)로 출력되는 로직 값을 의미하며, t1b은 제3 플립플롭(35)으로부터 NOT게이트를 거쳐 반전되어 제5 NAND 소자(5) 내지 제7 NAND 소자(7)로 출력되는 로직 값을 의미하며, t2b은 제2 플립플롭(33)으로부터 NOT게이트를 거쳐 반전되어 제5 NAND 소자(5) 내지 제7 NAND 소자(7)로 출력되는 로직 값을 의미하며, t3b은 제1 플립플롭(33)으로부터 NOT게이트를 거쳐 반전되어 제5 NAND 소자(5) 내지 제7 NAND 소자(7)로 출력되는 로직 값을 의미한다.Here, t0b denotes a logic value inverted through the NOT gate from the fourth flip-
위의 수학식(1)과 수학식(2)로부터 제1 입력신호(I1)의 주파수가 제2 입력신호(I2)의 주파수보다 더 빠른 경우, 제1 주파수 비교 신호(O1)에서 하이의 로직 값이 출력되며, 제2 입력신호(I2)의 주파수가 제1 입력신호(I1)의 주파수보다 더 빠른 경우, 제2 주파수 비교 신호(O2)에서 하이의 로직 값이 출력되며, 제1 입력신호(I1)의 주파수와 제2 입력신호(I2)의 주파수가 동일한 경우, 제1 주파수 비교 신호(O1)와 제2 주파수 비교 신호(O2)에서는 모두 로우의 로직 값이 출력된다.When the frequency of the first input signal I1 is faster than the frequency of the second input signal I2 from the above equations (1) and (2), the logic of high in the first frequency comparison signal O1 Value is output, and when the frequency of the second input signal I2 is faster than the frequency of the first input signal I1, a logic value of high is output from the second frequency comparison signal O2 and the first input signal. When the frequency of I1 and the frequency of the second input signal I2 are the same, a logic value of a low is output from both the first frequency comparison signal O1 and the second frequency comparison signal O2.
도 10은 본 발명의 일 실시예에 따른 주파수 판단 장치를 설명하는 기능 블록도를 도시하고 있다.10 is a functional block diagram illustrating a frequency determining apparatus according to an embodiment of the present invention.
도 10을 참고로 살펴보면, 도 1 내지 도 9를 참고로 설명한 본 발명에 따른 복수의 주파수 비교 모듈(200-1, 200-2, 200-3,..., 200-n)로 입력신호(I1)와 서로 다른 주파수를 가지는 기준신호(R1, R2, R3,..., Rn)가 각각 입력된다. Referring to FIG. 10, an input signal (eg, a plurality of frequency comparison modules 200-1, 200-2, 200-3,..., 200-n) according to the present invention described with reference to FIGS. 1 to 9 is described. Reference signals R1, R2, R3, ..., Rn having different frequencies from I1) are input, respectively.
제1 주파수 비교 모듈(200-1)은 입력신호(I1)와 기준신호(R1)의 주파수를 비교하여 입력신호(I1)와 기준신호(R1) 중 어떤 신호의 주파수가 더 큰지를 비교한다. 제1 주파수 비교 모듈(200-1)은 비교 결과를 로우/하이의 로직 값으로 출력한다. 제2 주파수 비교 모듈(200-2) 내지 제n 주파수 모듈(200-n)도 각각 입력신호(I2, I3,..., In)와 기준신호(R2, R3,..., Rn)의 주파수를 비교하여 입력신호(I2, I3,..., In)와 기준신호(R2, R3,..., Rn) 중 어떤 신호의 주파수가 더 큰지를 비교하여 비교 결과를 로우/하이의 로직 값으로 출력한다.The first frequency comparison module 200-1 compares the frequencies of the input signal I1 and the reference signal R1 and compares which of the input signal I1 and the reference signal R1 has a greater frequency. The first frequency comparison module 200-1 outputs the comparison result as a logic value of low / high. The second frequency comparison module 200-2 to the n-th frequency module 200-n also have the input signals I2, I3,..., In and the reference signals R2, R3,. Compares the frequency and compares which of the input signals (I2, I3, ..., In) and the reference signals (R2, R3, ..., Rn) has a higher frequency to compare the logic Output as a value.
주파수 판단부(210)는 복수의 주파수 비교 모듈(200-1, 200-2, 200-3,..., 200-n)로부터 출력되는 로직 값을 입력받아, 입력신호(I1)의 주파수가 기준신호(R1, R2, R3,..., Rn) 중 어느 범위에 속하는지 판단한다.The
본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.
도 1은 본 발명의 일 실시예에 따른 주파수 비교 모듈을 설명하는 기능 블록도를 도시하고 있다.1 is a functional block diagram illustrating a frequency comparison module according to an embodiment of the present invention.
도 2는 본 발명에 따른 주파수 비교 모듈에 대한 간략한 회로도의 일 예를 도시하고 있다.2 shows an example of a simplified circuit diagram for a frequency comparison module according to the present invention.
도 3(a)는 제1 입력신호의 일 예이며 도 3(b)는 제1 에지 검출부에서 검출한 제1 입력신호의 상승에지를 나타내는 하이의 로직 값을 도시하고 있다. FIG. 3A illustrates an example of the first input signal, and FIG. 3B illustrates a logic value of high indicating the rising edge of the first input signal detected by the first edge detector.
도 4(a)는 제2 입력신호의 일 예이며 도 4(b)는 제2 에지 검출부에서 검출한 제2 입력신호의 상승에지를 나타내는 하이의 로직 값을 도시하고 있다. 4A illustrates an example of the second input signal, and FIG. 4B illustrates a logic value of high indicating the rising edge of the second input signal detected by the second edge detector.
도 5는 클럭 발생부에서 출력되는 클럭 신호를 도시하고 있다.5 illustrates a clock signal output from the clock generator.
도 6은 제1 플립플롭의 회로도에 대한 일 예를 도시하고 있다.6 illustrates an example of a circuit diagram of the first flip-flop.
도 7은 제2 플립플롭의 회로도에 대한 일 예를 도시하고 있다.7 illustrates an example of a circuit diagram of a second flip-flop.
도 8은 제3 플립플롭의 회로도에 대한 일 예를 도시하고 있다.8 shows an example of a circuit diagram of the third flip-flop.
도 9는 제4 플립플롭의 회로도에 대한 일 예를 도시하고 있다.9 shows an example of a circuit diagram of a fourth flip-flop.
도 10은 본 발명의 일 실시예에 따른 주파수 판단 장치를 설명하는 기능 블록도를 도시하고 있다.10 is a functional block diagram illustrating a frequency determining apparatus according to an embodiment of the present invention.
<도면의 주요 부분에 대한 설명>Description of the main parts of the drawing
12: 제1 에지 검출부 14: 제2 에지 검출부12: first edge detector 14: second edge detector
20: 클럭 발생부 30: 저장부20: clock generator 30: storage
41: 제1 주파수 비교부 43: 제2 주파수 비교부41: first frequency comparator 43: second frequency comparator
200: 주파수 비교 모듈 210: 주파수 판단부200: frequency comparison module 210: frequency determination unit
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070100259A KR100917391B1 (en) | 2007-10-05 | 2007-10-05 | Apparatus for estimating frequency of receiving signal in serial commnication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070100259A KR100917391B1 (en) | 2007-10-05 | 2007-10-05 | Apparatus for estimating frequency of receiving signal in serial commnication |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090035149A true KR20090035149A (en) | 2009-04-09 |
KR100917391B1 KR100917391B1 (en) | 2009-09-17 |
Family
ID=40760658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070100259A KR100917391B1 (en) | 2007-10-05 | 2007-10-05 | Apparatus for estimating frequency of receiving signal in serial commnication |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100917391B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101013680B1 (en) | 2008-08-04 | 2011-02-11 | 경희대학교 산학협력단 | Apparatus for estimating phase difference between original signal and duplicate signal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100186433B1 (en) * | 1996-12-30 | 1999-04-15 | 구자홍 | Clock frequency and phase recovery circuit of data communication device |
KR100285313B1 (en) * | 1999-04-20 | 2001-03-15 | 윤종용 | Apparatus for detecting digital frequency |
JP4081067B2 (en) * | 2004-11-08 | 2008-04-23 | 富士通株式会社 | Phase comparator and semiconductor device having phase comparator |
KR100714872B1 (en) * | 2005-08-26 | 2007-05-07 | 삼성전자주식회사 | Frequency detecting circuit, method and semiconductor device including the frequency detecting circuit |
-
2007
- 2007-10-05 KR KR1020070100259A patent/KR100917391B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR100917391B1 (en) | 2009-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20060131788A (en) | Variable delay circuit | |
WO2020209891A1 (en) | Phase predictor and associated method of use | |
US7893740B2 (en) | Data signal generating apparatus | |
KR20060131789A (en) | Clock recovery circuit and communication device | |
JP2009514361A (en) | Method and apparatus for adjusting a synchronous clock signal | |
US20040250180A1 (en) | Input/output circuit and semiconductor integrated circuit | |
US20130009679A1 (en) | Bang-bang phase detector with hysteresis | |
KR100649881B1 (en) | Semiconductor device and method for synchronizing clock signals | |
US8125249B2 (en) | Frequency measuring circuit and semiconductor device having the same | |
KR100917391B1 (en) | Apparatus for estimating frequency of receiving signal in serial commnication | |
US10983164B2 (en) | Test apparatus | |
CN115826678A (en) | Method, device and system for calibrating clock phases of multiple FPGAs (field programmable gate arrays) and storage medium | |
KR20140075348A (en) | Semiconductor apparatus | |
CN108318809B (en) | Built-in self-test circuit for frequency jitter | |
CN114679158B (en) | Periodic signal generating device, signal processing system and periodic signal generating method thereof | |
CN109155798B (en) | Asynchronous FIFO circuit and time delay determination method | |
KR101100756B1 (en) | skew arranging output circuit | |
US20180090197A1 (en) | Semiconductor device | |
US9811112B2 (en) | Adaptive clock delay compensation | |
US6275952B1 (en) | Information transmission system and information transmission apparatus | |
WO2009147797A1 (en) | Testing device, transmission circuit, testing device control method and transmission circuit control method | |
JP3408486B2 (en) | Synchronous circuit between devices | |
KR102570959B1 (en) | Integrated circuit | |
KR20190047274A (en) | Semiconductor apparatus and method for performing clock phase synchronization and semiconductor system using the same | |
KR101013680B1 (en) | Apparatus for estimating phase difference between original signal and duplicate signal |
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: 20120911 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20130910 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20140820 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |