KR101492568B1 - Comparing device for detecting meta-stability - Google Patents
Comparing device for detecting meta-stability Download PDFInfo
- Publication number
- KR101492568B1 KR101492568B1 KR20130025428A KR20130025428A KR101492568B1 KR 101492568 B1 KR101492568 B1 KR 101492568B1 KR 20130025428 A KR20130025428 A KR 20130025428A KR 20130025428 A KR20130025428 A KR 20130025428A KR 101492568 B1 KR101492568 B1 KR 101492568B1
- Authority
- KR
- South Korea
- Prior art keywords
- signal
- input
- comparator
- valid
- differential
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16504—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the components employed
- G01R19/16519—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the components employed using FET's
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/10—Measuring sum, difference or ratio
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/023—Generators characterised by the type of circuit or by the means used for producing pulses by the use of differential amplifiers or comparators, with internal or external positive feedback
- H03K3/0232—Monostable circuits
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Manipulation Of Pulses (AREA)
Abstract
본 발명은 준안정성(meta-stability)을 검출하는 비교 장치에 관한 것이다. 본 발명에 따른 비교 장치는, 외부에서 입력되는 클럭 신호에 동기되어 복수개의 입력 신호들의 전압차를 비교하고, 상기 전압차의 발생 여부를 나타내는 제1 유효 신호를 출력하는 입력 신호 비교기; 및 상기 클럭 신호와 상기 제1 유효 신호를 입력하고, 상기 클럭 신호에 동기되어 상기 제1 유효 신호로부터 상기 입력 신호 비교기에서 준안정성이 발생하는지 여부를 검출하는 준안정성 검출기를 구비한다.The present invention relates to a comparison device for detecting meta-stability. An input signal comparator for comparing a voltage difference between a plurality of input signals in synchronization with an externally input clock signal and outputting a first valid signal indicating whether the voltage difference is generated; And a metastability detector for receiving the clock signal and the first valid signal and detecting whether metastability occurs in the input signal comparator from the first valid signal in synchronization with the clock signal.
Description
본 발명은 두 입력 신호들을 비교하는 비교 장치에 관한 것으로서, 특히 준안정성(meta-stability)을 검출하는 비교 장치에 관한 것이다. The present invention relates to a comparison device for comparing two input signals, and more particularly to a comparison device for detecting meta-stability.
2개의 신호들을 비교하기 위하여 비교기를 사용한다. 즉, 비교기는 입력되는 2개의 신호들의 전압 레벨을 비교하여 그 결과를 알려준다. A comparator is used to compare the two signals. That is, the comparator compares the voltage levels of the two input signals and reports the result.
도 1은 일반적인 비교기의 블록도이다. 도 1을 참조하면, 비교기(101)는 2개의 신호들(IN1,IN2)을 입력하고, 상기 2개의 신호들(IN1,IN2)의 전압 레벨을 비교한 다음, 전압 차이가 있으면 출력 신호(OUT)를 활성화시킨다. 즉, 비교기(101)는 입력되는 2개의 신호들(IN1,IN2) 사이에 전압 차가 있으면, 전원 전압을 출력하거나 또는 접지 전압을 출력한다.1 is a block diagram of a general comparator. 1, the
그런데, 비교기(101)가입력 신호들(IN1,IN2)을 비교하는 과정에서 준안정성(meta-stability)이 발생할 수가 있다. 준안정성은 2개의 입력 신호들(IN1,IN2)의 전압 차이가 작거나 셋업(set-up)/홀드(hold) 타임이 부족한 경우에 발생할 수 있다. 준안정성이 발생하면, 비교기(101)의 출력신호(OUT)는 전원 전압이나 접지 전압의 레벨로 되지 않고, 전원 전압의 중간 정도로 유지되거나 긴 시간이 흐른 후에 전원 전압이나 접지전압으로 바뀌게 된다. 이와 같이, 준안정성 현상이 발생 할 경우에는 비교기(101)는 비교 기능을 제대로 수행하지 못하고, 불확실한 상태로 유지 되어 다음 단계로 넘어가지 못하게 될 수 있어서 전체회로에 치명적인 영향을 끼치게 된다.즉, 준안정성이 발생하면, 회로의 동작을 멈추게 하거나, 혹은 회로의 전력 소모를 급격하게 증가시키는 등 회로의 성능을 저하시키는 문제가 발생한다. However, meta-stability may occur in the process of comparing the input power signals IN1 and IN2 of the
본 발명은 준안정성이 발생할 경우에 이를 검출하여 회로의 동작을 정상화시키는 비교 장치를 제공하기 위한 것이다.The present invention is intended to provide a comparator device that detects metastability when it occurs, thereby normalizing the operation of the circuit.
상기 과제를 해결하기 위하여 본 발명은,According to an aspect of the present invention,
복수개의 입력 신호들의 전압차를 비교하고, 상기 전압차의 발생 여부를 나타내는 제1 유효 신호를 출력하는 입력 신호 비교기; 및 상기 제1 유효 신호를 입력하고, 상기 제1 유효 신호로부터 상기 입력 신호 비교기에서 준안정성(meta-stability)이 발생하는지 여부를 검출하는 준안정성 검출기를 구비하는 비교 장치를 제공한다.An input signal comparator for comparing a voltage difference between a plurality of input signals and outputting a first valid signal indicating whether the voltage difference is generated; And a metastable detector for inputting the first valid signal and detecting whether meta-stability occurs in the input signal comparator from the first valid signal.
상기 입력 신호 비교기와 상기 준안정성 검출기는 외부에서 입력되는 클럭 신호에 동기 되어 동작할 수 있다.The input signal comparator and the metastability detector may operate in synchronization with an externally input clock signal.
상기 제1 유효 신호는 상기 복수개의 입력 신호들 사이에 전압차가 구분될 때 발생한다.The first valid signal is generated when a voltage difference is distinguished between the plurality of input signals.
상기 입력 신호 비교기는 외부에서 입력되는 리셋 신호에 의해 리셋 될 수 있다.The input signal comparator may be reset by an externally input reset signal.
상기 준안정성 검출기는, 외부에서 입력되는 클럭 신호와 상기 제1 유효 신호를 입력하고, 상기 제1 유효 신호가 비활성화 상태일 때 상기 클럭 신호를 출력하는 입력 신호 판단부; 상기 입력 신호 판단부의 출력 신호를 입력하고, 상기 입력 신호 판단부의 출력 신호가 활성화될 때 메타 신호를 출력하는 준안정성 판단부; 및 상기 제1 유효 신호와 상기 준안정성 판단부의 출력 신호를 입력하고, 이들 중 어느 하나라도 활성화되면 제2 유효 신호를 출력하는 제2 유효 신호 발생부를 구비할 수 있다.Wherein the metastability detector comprises: an input signal determination unit that receives an externally input clock signal and the first valid signal and outputs the clock signal when the first valid signal is inactive; A metastability judging unit for inputting an output signal of the input signal judging unit and outputting a meta signal when an output signal of the input signal judging unit is activated; And a second valid signal generator for inputting the first valid signal and the output signal of the metastable signal determiner, and outputting a second valid signal if any one of them is activated.
상기 준안정성 판단부는 직렬로 연결된 복수개의 레프리카(replica) 비교기들을 구비할 수 있다.The metastability determination unit may include a plurality of replica comparators connected in series.
상기 복수개의 레프리카 비교기들은 4개로 구성될 수 있다.The plurality of the replica comparators may be composed of four.
상기 복수개의 레프리카 비교기들은 각각 전원 전압과 접지 전압을 입력할 수 있다.The plurality of replica comparators may input a power supply voltage and a ground voltage, respectively.
상기 복수개의 레프리카 비교기들은 상기 제1 유효 신호가 활성화될 때, 리셋될 수 있다.The plurality of replica comparators may be reset when the first valid signal is activated.
상기 복수개의 레프리카 비교기들은 각각 상기 입력 신호 비교기와 동일한 구조를 가질 수 있다.The plurality of replica comparators may have the same structure as the input signal comparator.
상술한 바와 같이 본 발명에 따른 비교 장치는, 입력 신호들의 전압을 비교하는 과정에서 준안정성이 발생하는지 여부를 검출할 수가 있다.As described above, the comparison apparatus according to the present invention can detect whether metastability occurs in the process of comparing the voltages of the input signals.
따라서, 비교 장치를 구비하는 회로는 상기 비교 장치에서 준안정성이 발생할 경우에, 상기 비교 장치의 비교 동작을 중단시키고, 다음 동작을 진행한다. Therefore, the circuit including the comparison device stops the comparison operation of the comparison device when metastability occurs in the comparison device, and proceeds to the next operation.
이와 같이, 본 발명의 비교 장치는 준안정성의 발생을 검출할 수가 있기 때문에, 상기 비교 장치를 구비하는 회로의 오동작을 방지하고, 상기 회로의 전력 소모가 증가하는 것을 방지할 수 있다. As described above, since the comparator of the present invention can detect the occurrence of the metastability, it is possible to prevent malfunction of the circuit including the comparator and to prevent the power consumption of the circuit from increasing.
도 1은 일반적인 비교기의 블록도이다.
도 2는 일반적인 조건에서 실시된 비교기의 지연 시간의 시뮬레이션(simulation) 결과를 도시한 그래프이다.
도 3은 고속 조건에서 실시된 비교기의 지연 시간의 시뮬레이션 결과를 도시한 그래프이다.
도 4는 저속 조건에서 실시된 비교기의 지연 시간의 시뮬레이션 결과를 도시한 그래프이다.
도 5는 본 발명의 바람직한 실시 예에 따른 비교 장치의 블록도이다.
도 6은 도 5에 도시된 입력 신호 비교기의 회로도이다.
도 7은 도 5에 도시된 준안정성(meta-stability) 검출부의 블록도이다.
도 8은 도 5의 비교 장치에서 준안정성이 발생하지 않은 경우의 신호들의 시뮬레이션 결과를 보여준다.
도 9는 도 5의 비교 장치에서 준안정성이 발생한 경우의 신호들의 시뮬레이션 결과를 보여준다.1 is a block diagram of a general comparator.
2 is a graph showing a simulation result of a delay time of a comparator performed under a general condition.
3 is a graph showing a simulation result of a delay time of a comparator performed under a high-speed condition.
4 is a graph showing a simulation result of a delay time of a comparator performed under a low speed condition.
5 is a block diagram of a comparison device according to a preferred embodiment of the present invention.
6 is a circuit diagram of the input signal comparator shown in FIG.
7 is a block diagram of the meta-stability detector shown in FIG.
FIG. 8 shows a simulation result of signals when the metastability does not occur in the comparator of FIG. 5. FIG.
9 shows simulation results of signals when metastability occurs in the comparator of FIG.
이하, 첨부한 도면들을 참고하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시 할 수 있도록 본 발명의 실시 예에 대하여 상세히 설명하기로 한다. 각 도면에 제시된 참조 부호들 중 동일한 참조 부호는 동일한 부재를 나타낸다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. Like reference numerals in the drawings denote like elements.
도 2는 일반적인 조건에서 실시된 비교기의 지연 시간의 시뮬레이션(simulation) 결과를 도시한 그래프이다. 즉, 도 2는 일반적인 조건, 예컨대 1.2 볼트 정도의 전압을 갖는 입력 신호들을 상온(섭씨 25도)에서 비교한 결과를 보여준다. 이 때, 두 입력 신호들 사이의 전압차가 0.1 [mV]일 때 클럭 신호에 대한 유효(valid) 신호의 지연 시간이 최대로, 예컨대 3배 정도로 발생하고, 두 입력 신호들 사이의 전압차가 커질수록 클럭 신호에 대한 유효 신호의 지연 시간은 감소한다. 즉, 두 입력 신호들이 각각 전원 전압과 접지 전압일 때, 클럭 신호에 대한 유효 신호의 지연 시간은 최소로 발생한다. 2 is a graph showing a simulation result of a delay time of a comparator performed under a general condition. That is, FIG. 2 shows a result of comparing input signals having a voltage of about 1.2 volts under a general condition at room temperature (25 degrees Celsius). At this time, when the voltage difference between the two input signals is 0.1 [mV], the delay time of the valid signal for the clock signal occurs at maximum, for example, about 3 times, and as the voltage difference between the two input signals becomes larger The delay time of the valid signal with respect to the clock signal decreases. That is, when the two input signals are the power supply voltage and the ground voltage, the delay time of the valid signal with respect to the clock signal is minimized.
도 3은 고속 조건에서 실시된 비교기의 지연 시간의 시뮬레이션 결과를 도시한 그래프이다. 즉, 도 3은 고속 조건, 예컨대 1.32볼트 정도의 전압을 갖는 입력 신호들을 저온(예컨대, 섭씨 0도 이하)에서 비교한 결과를 보여준다. 이 때, 두 입력 신호들 사이의 전압차가 0.1 [mV]일 때 클럭 신호에 대한 유효 신호의 지연 시간이 최대로, 예컨대 2.5배 정도로 발생하고, 두 입력 신호들 사이의 전압차가 커질수록 클럭 신호에 대한 유효 신호의 지연 시간은 감소한다. 즉, 두 입력 신호들이 각각 전원 전압과 접지 전압일 때, 클럭 신호에 대한 유효 신호의 지연 시간은 최소로 발생한다.3 is a graph showing a simulation result of a delay time of a comparator performed under a high-speed condition. That is, FIG. 3 shows a result of comparing input signals having a high-speed condition, for example, a voltage of about 1.32 volts at a low temperature (for example, 0 degrees Celsius or less). At this time, when the voltage difference between the two input signals is 0.1 [mV], the delay time of the valid signal with respect to the clock signal is maximized, for example, about 2.5 times, and as the voltage difference between the two input signals becomes larger, The delay time of the valid signal for the input signal decreases. That is, when the two input signals are the power supply voltage and the ground voltage, the delay time of the valid signal with respect to the clock signal is minimized.
도 4는 저속 조건에서 실시된 비교기의 지연 시간의 시뮬레이션 결과를 도시한 그래프이다. 즉, 도 4는 저속 조건, 예컨대 1.08볼트 정도의 전압을 갖는 입력 신호들을 고온(예컨대, 섭씨 110도 이상)에서 비교한 결과를 보여준다. 이 때, 두 입력 신호들 사이의 전압차가 0.1 [mV]일 때 클럭 신호에 대한 유효 신호의 지연시간이 최대로, 예컨대 3.5배 정도로 발생하고, 두 입력 신호들 사이의 전압차가 커질수록 클럭 신호에 대한 유효 신호의 지연 시간은 감소한다. 즉, 두 입력 신호들이 각각 전원 전압과 접지 전압일 때, 클럭 신호에 대한 유효 신호의 지연 시간은 최소로 발생한다.4 is a graph showing a simulation result of a delay time of a comparator performed under a low speed condition. That is, FIG. 4 shows the result of comparing input signals having a low speed condition, for example, a voltage of about 1.08 volts at a high temperature (for example, 110 degrees Celsius or more). At this time, when the voltage difference between the two input signals is 0.1 [mV], the delay time of the valid signal with respect to the clock signal is maximized, for example, about 3.5 times, and as the voltage difference between the two input signals becomes larger, The delay time of the valid signal for the input signal decreases. That is, when the two input signals are the power supply voltage and the ground voltage, the delay time of the valid signal with respect to the clock signal is minimized.
이와 같이, 클럭 신호에 대한 유효 신호의 지연 시간은 최대 3.5배임이 실험결과에서 판명되었다.Thus, the experimental results show that the delay time of the valid signal with respect to the clock signal is at most 3.5 times.
도 2 내지 도 4에 도시된 그래프에서 X축에 표시된 입력 전압차는 로그(Log) 스케일로 설정한 것이며, 그에 따라 Y축에 표시된 클럭 신호에 대한 유효 신호의 지연 시간은 선형성을 갖는다. In the graphs shown in FIGS. 2 to 4, the input voltage difference indicated on the X-axis is set to a log scale, so that the delay time of the valid signal with respect to the clock signal displayed on the Y-axis has linearity.
도 5는 본 발명의 바람직한 실시 예에 따른 비교 장치의 블록도이다. 도 5를 참조하면, 비교 장치(501)는 입력 신호 비교기(511) 및 준안정성(meta-stability) 검출기(521)를 구비한다. 5 is a block diagram of a comparison device according to a preferred embodiment of the present invention. Referring to FIG. 5, the
입력 신호 비교기(511)는 외부에서 입력되는 복수개의 신호들(Inp,Inm)의 전압차를 비교하고, 상기 전압차의 발생 여부를 나타내는 제1 유효 신호(vld1)를 출력한다. 이 때, 입력 신호 비교기(511)는 외부에서 입력되는 클럭 신호(clk)를 입력하고, 클럭 신호(clk)에 동기되어 복수개의 입력 신호들(Inp,Inm)의 전압차를 비교한다. 입력 신호 비교기(511)는 또한, 리셋 단자(513)를 구비한다. 리셋 단자(513)를 통해 외부에서 입력되는 리셋 신호(rst)에 의해 제1 유효 신호(vld1)는 리셋된다. 입력 신호 비교기(511)의 구조에 대해서는 도 6을 통해 상세히 설명하기로 한다. The
준안정성 검출기(521)는 입력 신호 비교기(511)에 연결된다. 준안정성 검출기(521)는 입력 신호 비교기(511)로 입력되는 클럭 신호(clk)및 제1 유효 신호(vld1)를 입력하고, 제2 유효 신호(vld2)를 출력한다. 준안정성 검출기(521)는 제1 유효 신호(vld1)를 분석하여 입력 신호 비교기(511)에서 준안정성이 발생하는지 여부를 검출하고, 그 결과를 제2 유효 신호(vld2)로써 출력한다. 준안정성 검출기(521)의 구조에 대해서는 도 7을 통해서 상세히 설명하기로 한다. The
도 6은 도 5에 도시된 입력 신호 비교기(511)의 회로도이다. 도 6을 참조하면, 입력 신호 비교기(511)는, 차동 비교부(610~630), 출력부(640) 및 제1 유효 신호 발생부(650)를 구비한다.FIG. 6 is a circuit diagram of the
차동 비교부(610~630)는 복수개의 입력 신호들(Inp,Inm)의 전압차를 증폭하여 복수개의 출력 신호들(out,outb)을 출력한다. 차동 비교부(610~630)는 제어부(610), 입력부(620) 및 차동 증폭부(630)를 구비한다. The
제어부(610)는 접지단(GND)과 입력부(620) 사이에 연결된다. 제어부(610)는 클럭 신호(clk)에 의해 제어된다. 즉, 제어부(610)는 클럭 신호(clk)가 논리 하이(logic high)이면 활성화되어 입력 신호 비교기(511)가 비교 동작을 수행하게 하고, 클럭 신호(clk)가 논리 로우(logic low)이면 비활성화되어 입력 신호 비교기(511)가 비교 동작을 수행하지 못하게 한다. 제어부(610)는 클럭 신호(clk)가 논리 하이일 때 턴온(turn-on)되고, 클럭 신호(clk)가 논리 로우일 때 턴오프(turn-off)되는 NMOS(N channel Metal Oxide Semiconductor) 트랜지스터(NM1)를 구비한다.The
입력부(620)는 제어부(610)와 차동 증폭부(630) 사이에 연결되며, 제어부(610)가 활성화될 때 입력 신호들(Inp,Inm)을 비교한다. 입력부(620)는 2개의 입력 신호들(Inp,Inm)을 입력하는 제1 및 제2 NMOS 트랜지스터들(NM2,NM3)을 구비한다. 즉, 제1 NMOS 트랜지스터(NM2)는 제1 입력 신호(Inp)를 입력하고, 제2 NMOS 트랜지스터(NM3)는 제2 입력 신호(Inm)를 입력한다. 제1 입력 신호(Inp)의 전압 레벨이 제2 입력 신호(Inm)의 전압 레벨보다 높으면, 제1 NMOS 트랜지스터(NM2)가 제2 NMOS 트랜지스터(NM3)보다 더 많은 전류를 흘려주고, 제1 입력 신호(Inp)의 전압 레벨이 제2 입력 신호(Inm)의 전압 레벨보다 낮으면, 제2 NMOS 트랜지스터(NM3)가 제1 NMOS 트랜지스터(NM2)보다 많은 전류를 흘려준다.The
차동 증폭부(630)는 입력부(620)에 연결된다. 차동 증폭부(630)는 전원 전압(VDD)을 받아서 동작하며, 입력부(620)가 입력 신호들(Inp,Inm)을 비교하는 동작을 수행할 때 상기 비교 결과에 따른 제1 및 제2 차동 신호들(outp,outm)을 출력한다. 차동 증폭부(630)는 2개의 NMOS 트랜지스터들(NM4,NM5)과 6개의 PMOS 트랜지스터들(PM1~PM6)을 구비한다. 2개의 NMOS 트랜지스터들(NM4,NM5)의 소스들은 입력부(620)에 연결되고, 2개의 NMOS 트랜지스터들(NM4,NM5)의 드레인들로부터 차동 신호들(outp,outm)이 출력된다. 6개의 PMOS 트랜지스터들(PM1~PM6)은 전원 전압(VDD)을 2개의 NMOS 트랜지스터들(NM4,NM5)과 입력부(620)에 공급한다. PMOS 트랜지스터들(PM1,PM2,PM5,PM6)은 클럭 신호(clk)에 동기되어 전원 전압(VDD)을 출력한다. The
차동 비교부(610~630)의 동작으로써, 클럭 신호(clk)가 논리 로우이면 제어부(610)는 비활성화고, 차동 증폭부(630)의 PMOS 트랜지스터들(PM1,PM2,PM5,PM6)이 턴온되어 제1 및 제2 차동 신호들(outp,outm)은 논리 하이로써 출력된다. 즉, 클럭 신호(clk)가 논리 로우이면 입력부(620)는 제1 및 제2 입력 신호들(Inp,Inm)의 비교 동작을 수행하지 않으며, 차동 증폭부(630)는 제1 및 제2 입력 신호들(Inp,Inm)의 전압 레벨에 관계없이 제1 및 제2 차동 신호들(outp,outm)을 항상 논리 하이로써 출력한다. 따라서, 클럭 신호(clk)가 논리 로우 일 때 제1 및 제2 차동 신호들(outp,outm)의 오류로 인해 입력 신호 비교기(511)의 출력 신호들(out,outb)에 오류가 발생하는 것을 방지할 수 있다. When the clock signal clk is logic low, the
클럭 신호(clk)가 논리 로우에서 논리 하이로 천이되면, 제어부(610)가 활성화된다. 이 상태에서 제1 입력 신호(Inp)의 전압 레벨이 제2 입력 신호(Inm)의 전압 레벨보다 높으면, 제1 차동 신호(outp)는 낮아지고, 제2 차동 신호(outm)는 높아진다. 반대로, 제어부(610)가 활성화된 상태에서 제1 입력 신호(Inp)의 전압 레벨이 제2 입력 신호(Inm)의 전압 레벨보다 낮으면, 제1 차동 신호(outp)는 높아지고, 제2 차동 신호(outm)는 낮아진다.When the clock signal clk transitions from logic low to logic high, the
출력부(640)는 제1 및 제2 차동 신호들(outp,outm)을 입력하고, 입력 신호 비교기(511)의 2개의 출력 신호들(out,outb)을 출력한다. 즉, 출력부(630)는 제1 차동 신호(outp)가 제2 차동 신호(outm)보다 높거나, 반대로 제1 차동 신호(outp)가 제2 차동 신호(outm)보다 낮으면 2개의 출력 신호들(out,outb) 중 하나는 전원 전압(VDD) 레벨로써 출력하고, 다른 하나는 접지 전압 레벨로써 출력한다. 출력부(640)는 낸드게이트(NAND gate)들(641,642)로 구성된 래치(latch)를 구비한다. 따라서, 출력부(640)는 제1 및 제2 차동 신호들(outp,outm)의 전압 레벨이 바뀌지 않는 한, 현재 출력되는 출력 신호들(out,outb)의 전압 레벨을 계속 유지한다. The
제1 유효 신호 발생부(650)는 차동 증폭부(630)에서 출력되는 제1 및 제2 차동 신호들(outp,outm)을 입력하고, 제1 유효 신호(vld1)를 출력한다. 즉, 제1 유효 신호 발생부(650)는 제1 차동 신호(outp)와 제2 차동 신호(outm)의 전압 레벨이 서로 다를 경우에 제1 유효 신호(vld1)를 활성화시킨다. 또한, 제1 유효 신호 발생부(650)는 제1 차동 신호(outp)와 제2 차동 신호(outm)의 전압 레벨이 동일할 경우에는 제1 유효 신호(vld1)를 비활성화시킨다. 즉, 입력 신호 비교기(511)에 준안정성이 발생할 경우에, 제1 유효 신호 발생부(650)는 제1 유효 신호(vld1)를 활성화시키지 않는다. 제1 유효 신호 발생부(650)는 익스클루시브 노아 게이트(exclusive NOR gate)(653) 및 노아 게이트(654)를 구비한다. 제1 유효 신호(vld1)를 출력하는 노아 게이트(654)에는 리셋 신호(rst)가 인가된다. 리셋 신호(rst)는 리셋 단자(513)를 통해서 입력된다. 리셋 신호(rst)가 논리 하이로 되면,노아 게이트(654)는 리셋되어 제1 유효 신호(vld1)를 리셋시킨다. The first
도 7은 도 5에 도시된 준안정성 검출기(521)의 블록도이다. 도 7을 참조하면, 준안정성 검출기(521)는 입력 신호 판단부(710), 준안정성 판단부(720), 및 제2 유효 신호 발생부(730)를 구비한다. 7 is a block diagram of the
입력 신호 판단부(710)는 입력 신호 비교기(511)로 입력되는 클럭 신호(clk)와 입력 신호 비교기(511)에서 출력되는 제1 유효 신호(vld1)를 입력하고, 제1 메타 신호(mt0)와 리셋 신호(vldr)를 출력한다. 입력 신호 판단부(710)는 제1 유효 신호(vld1)가 논리 하이로써 활성화되면 클럭 신호(clk)와 관계없이 리셋 신호(vldr)를 출력하여 준안정성 판단부(720)를 리셋시킨다. 이와 같이, 제1 유효 신호(vld1)가 활성화되면 준안정성 판단부(720)는 리셋되어 동작을 하지 않기 때문에, 제1 유효 신호(vld1)가 활성화되어있는 동안에 준안정성 판단부(720)는 전력을 소모하지 않게 된다. 입력 신호 판단부(710)는 제1 유효 신호(vld1)가 논리 로우로써 비활성화되면, 클럭 신호(clk)에 동기되어 제1 메타 신호(mt0)를 출력한다. 즉, 입력 신호 판단부(710)는 제1 유효 신호(vld1)가 논리 로우인 상태에서, 클럭 신호(clk)가 논리 하이이면 제1 메타 신호(mt0)를 논리 하이로 활성화시키고, 클럭 신호(clk)가 논리 로우이면 제1 메타 신호(mt0)를 논리 로우로써 비활성화시킨다. 다시 말하면, 제1 유효 신호(vld1)가 논리 로우인 상태에서는 제1 메타 신호(mt0)는 클럭 신호(clk)에 따라 동작한다.The input
준안정성 판단부(720)는 제1 메타 신호(mt0)를 입력하고, 제5 메타 신호(mt4)를 출력한다. 준안정성 판단부(720)는 직렬로 연결된 복수개의 레프리카(replica) 비교기들(721~724) 즉, 제1 내지 제4 레프리카 비교기들(721~724)을 구비한다. The
제1 레프리카 비교기(721)는 전원 전압(VDD)과 접지 전압(VSS)을 입력하고, 제1 메타 신호(mt0)에 동기 되어 제2 메타 신호(mt1)를 출력한다. 즉, 제1 레프리카 비교기(721)는 제1 메타 신호(mt0)가 논리 하이로써 활성화될 때 제2 메타 신호(mt1)를 활성화시키고, 제1 메타 신호(mt0)가 논리 로우로써 비활성화될 때 제2 메타 신호(mt1)를 비활성화시킨다. 다시 말하면, 리셋 신호(vldr)가 논리 로우인 상태에서는, 제2 메타 신호(mt1)는 제1 메타 신호(mt0)에 따라 동작한다. 제1 레프리카 비교기(721)는 제1 유효 신호(vld1)가 활성화될 때 리셋된다. The
제2 레프리카 비교기(722)는 전원 전압(VDD)과 접지 전압(VSS)을 입력하고, 제2 메타 신호(mt1)에 동기되어 제3 메타 신호(mt2)를 출력한다. 즉, 제2 레프리카 비교기(722)는 제2 메타 신호(mt1)가 논리 하이로써 활성화될 때 제3 메타 신호(mt2)를 활성화시키고, 제2 메타 신호(mt1)가 논리 로우로써 비활성화될 때 제3 메타 신호(mt2)를 비활성화시킨다. 다시 말하면, 리셋 신호(vldr)가 논리 로우인 상태에서는 제3 메타 신호(mt2)는 제2 메타 신호(mt1)에 따라 동작한다. 제2 레프리카 비교기(722)는 입력 신호 판단부(710)에서 출력되는 리셋 신호(vldr)가 활성화될 때 리셋된다. The
제3 레프리카 비교기(723)는 전원 전압(VDD)과 접지 전압(VSS)을 입력하고, 제3 메타 신호(mt2)에 동기되어 제4 메타 신호(mt3)를 출력한다. 즉, 제3 레프리카 비교기(723)는 제3 메타 신호(mt2)가 논리 하이로써 활성화될 때 제4 메타 신호(mt3)를 활성화시키고, 제3 메타 신호(mt2)가 논리 로우로써 비활성화될 때 제4 메타 신호(mt3)를 비활성화시킨다. 다시 말하면, 리셋 신호(vldr)가 논리 로우인 상태에서는 제4 메타 신호(mt3)는 제3 메타 신호(mt2)에 따라 동작한다. 제3 레프리카 비교기(723)는 입력 신호 판단부(710)에서 출력되는 리셋 신호(vldr)가 활성화될 때 리셋된다. The
제4 레프리카 비교기(724)는 전원 전압(VDD)과 접지 전압(VSS)을 입력하고, 제4 메타 신호(mt3)에 동기되어 제5 메타 신호(mt4)를 출력한다. 즉, 제4 레프리카 비교기(724)는 제4 메타 신호(mt3)가 논리 하이로써 활성화될 때 제5 메타 신호(mt4)를 활성화시키고, 제4 메타 신호(mt3)가 논리 로우로써 비활성화될 때 제5 메타 신호(mt4)를 비활성화시킨다. 다시 말하면, 리셋 신호(vldr)가 논리 로우인 상태에서는 제5 메타 신호(mt4)는 제4 메타 신호(mt3)에 따라 동작한다. 제4 레프리카 비교기(724)는 입력 신호 판단부(710)에서 출력되는 리셋 신호(vldr)가 활성화될 때 리셋된다. 제5 메타 신호(mt4)가 활성화될 때 입력 신호 비교기(511)에서 준안정성이 발생하였다고 판단한다. The
제1 내지 제4 레프리카 비교기들(721~724)은 각각 도 6에 도시된 회로와 동일한 구조로 구성될 수 있다. 이 때, 제1 및 제2 입력 신호들(Inp,Inm) 대신에 전원 전압(VDD)과 접지 전압(VSS)이 입력되고, 리셋 신호(rst) 대신에 입력 신호 판단부(710)에서 출력되는 신호(vldr)가 입력되며, 클럭 신호(clk) 대신에 전단에서 전송되는 제1 내지 제4 메타 신호들(mt0~mt4) 중 하나가 입력되고, 제1 유효 신호(vld1) 대신에 제2 내지 제5 메타 신호들(mt1~mt5) 중 하나가 출력된다. The first to
도 2 내지 도 4에 도시된 바와 같이, 클럭 신호(clk))에 대한 유효 신호(vld1)의 지연 시간은 최대 3.5배이다. 즉, 클럭 신호(clk))에 대한 유효 신호(vld1)의 지연 시간은 최대 4배 이하이다. 따라서, 준안정성 검출기(521)가 4개의 레프리카 비교기들(721~724)을 구비함으로써 클럭 신호(clk)에 대한 유효 신호(vld1)의 지연 시간을 충분히 반영할 수가 있다. 즉, 4개의 레프리카 비교기들(721~724)에 의해 모든 상황에서 발생할 수 있는 준안정성이 충분히 검출될 수 있다.2 to 4, the delay time of the valid signal vld1 with respect to the clock signal clk is at most 3.5 times. The delay time of the valid signal vld1 with respect to the clock signal clk is at most four times or less. Therefore, since the
제2 유효 신호 발생부(730)는 입력 신호 비교기(511)에서 출력되는 제1 유효 신호(vld1)와 준안정성 판단부(720)의 출력 신호인 제5 메타 신호(mt4)를 입력하고, 이들 중 어느 하나라도 활성화되면 제2 유효 신호(vld2)를 활성화시킨다. 즉, 제2 유효 신호 발생부(730)는 제1 유효 신호(vld1)가 논리 하이로써 활성화되거나 제5 메타 신호(mt4)가 논리 하이로써 활성화되면 제2 유효 신호(vld2)를 논리 하이로써 활성화시키고, 제1 유효 신호(vld1)와 제5 메타 신호(mt4)가 모두 논리 로우로써 비활성화될 때 제2 유효 신호(vld2)를 논리 로우로써 비활성화시킨다. 제1 유효 신호(vld1)가 활성화되면 입력 신호 비교기(511)에서 준안정성이 발생하지 않은 것으로 판단하고, 제2 유효 신호(vld2)가 활성화되면 입력 신호 비교기(511)에서 준안정성이 발생한 것으로 판단한다. The second
상술한 바와 같이, 준안정성 검출기(521)는 입력 신호 비교기(511)에서 준안정성이 발생하는지 여부를 검출한다. 즉, 준안정성 검출기(521)는 제1 유효 신호(vld1)가 활성화되지 않을 때, 클럭 신호(clk)에 대한 유효 신호(vld1)의 지연 시간이 4배가 될 때까지 기다리며, 그 후에도 제1 유효 신호(vld1)가 발생하지 않으면 준안정성이 발생하였다고 판단하고, 제2 유효 신호(vld2)를 활성화시킨다. As described above, the
따라서, 비교 장치(501)를 구비하는 장치는 입력 신호 비교기(511)에서 준안정성이 발생하더라도 시간이 낭비되거나 회로가 오동작하는 것을 방지할 수가 있다. Therefore, even if metastability occurs in the
도 8은 도 5의 입력 신호 비교기(511)에서 준안정성이 발생하지 않은 경우의 신호들의 시뮬레이션 결과를 보여준다. 도 8을 참조하면, 제1 유효 신호(vld1)가 제5 메타 신호(mt4)보다 먼저 논리 하이로써 활성화된다. 이와 같이, 제1 유효 신호(vld1)가 도 7의 준안정성 판단부(720)에서 출력되는 제5 메타 신호(mt4)보다 먼저 활성화되면, 준안정성이 발생하지 않은 것으로 판단하여 제1 유효 신호(vld1)에 의해 제2 유효 신호(vld2)가 활성화된다.FIG. 8 shows a simulation result of signals when the metastability does not occur in the
도 9는 도 5의 입력 신호 비교기(511)에서 준안정성 상태가 발생한 경우의 신호들의 시뮬레이션 결과를 보여준다. 도 9를 참조하면, 제5 메타 신호(mt4)가 제1 유효 신호(vld1)보다 먼저 논리 하이로써 활성화된다. 이와 같이, 제5 메타 신호(mt4)가 제1 유효 신호(vld1)보다 먼저 활성화되면, 준안정성이 발생한 것으로 판단하여 제5 메타 신호(mt4)에 의해 제2 유효 신호 (vld2)가 활성화 된다.FIG. 9 shows a simulation result of signals when the metastable state occurs in the
본 발명은 도면들에 도시된 실시예들을 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이들로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다. Although the present invention has been described with reference to the embodiments shown in the drawings, it is to be understood that various modifications and equivalent embodiments may be made by those skilled in the art without departing from the scope of the present invention. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.
Claims (12)
상기 클럭 신호와 제1 유효 신호를 입력하고, 상기 클럭 신호에 동기되어 상기 제1 유효 신호로부터 상기 입력 신호 비교기에서 준안정성(meta-stability)이 발생하는지 여부를 검출하는 준안정성 검출기를 구비하는 것을 특징으로 하는 비교 장치.An input signal comparator for comparing a voltage difference between a plurality of input signals in synchronization with an externally input clock signal and outputting a first valid signal indicating whether the voltage difference is generated; And
And a metastability detector that receives the clock signal and the first valid signal and detects whether meta-stability occurs in the input signal comparator from the first valid signal in synchronization with the clock signal Characterized in that
상기 복수개의 입력 신호들의 전압차를 증폭하여 복수개의 차동 신호들을 출력하는 차동 비교부; 및
상기 차동 비교부에서 출력되는 복수개의 차동 신호들을 입력하고, 상기 차동 비교부의 복수개의 차동 신호들의 전압 레벨이 서로 다를 경우에 상기 제1 유효 신호를 발생시키는 제1 유효 신호 발생부를 구비하는 것을 특징으로 하는 비교 장치.The apparatus of claim 1, wherein the input signal comparator comprises:
A differential comparator for amplifying a voltage difference between the plurality of input signals and outputting a plurality of differential signals; And
And a first valid signal generator for inputting a plurality of differential signals output from the differential comparator and generating the first valid signal when voltage levels of a plurality of differential signals of the differential comparator are different from each other, .
클럭 신호에 의해 활성화되는 제어부;
상기 제어부에 연결되며, 상기 복수개의 입력 신호들을 입력하고, 상기 제어부가 활성화될 때 상기 복수개의 입력 신호들을 비교하는 입력부; 및
상기 입력부에 연결되며, 상기 입력부가 상기 복수개의 입력 신호들을 비교할 때 상기 비교 결과에 따른 복수개의 차동 신호들을 출력하는 차동 증폭부를 구비하는 것을 특징으로 하는 비교 장치.The apparatus as claimed in claim 4, wherein the differential comparing unit
A control unit activated by a clock signal;
An input unit connected to the control unit for inputting the plurality of input signals and comparing the plurality of input signals when the control unit is activated; And
And a differential amplifier connected to the input unit and configured to output a plurality of differential signals according to the comparison result when the input unit compares the plurality of input signals.
상기 제1 유효 신호는 상기 차동 비교부의 복수개의 차동 신호들 중 어느 하나는 논리 로우이고, 다른 하나는 논리 하이일 때 활성화되는 것을 특징으로 하는 비교 장치.5. The method of claim 4,
Wherein the first valid signal is activated when one of the plurality of differential signals of the differential comparator is a logic low and the other is a logic high.
상기 제1 유효 신호 발생부는 외부에서 입력되는 리셋 신호에 의해 리셋되는 것을 특징으로 하는 비교 장치.5. The method of claim 4,
Wherein the first valid signal generator is reset by an externally input reset signal.
외부에서 입력되는 클럭 신호와 상기 제1 유효 신호를 입력하고, 상기 제1 유효 신호가 비활성화 상태일 때 상기 클럭 신호를 출력하는 입력 신호 판단부;
상기 입력 신호 판단부의 출력 신호를 입력하고, 상기 입력 신호 판단부의 출력 신호가 활성화될 때 메타 신호를 출력하는 준안정성 판단부; 및
상기 제1 유효 신호와 상기 준안정성 판단부의 출력 신호를 입력하고, 이들 중 어느 하나라도 활성화되면 제2 유효 신호를 출력하는 제2 유효 신호 발생부를 구비하는 것을 특징으로 하는 비교 장치.The apparatus of claim 1, wherein the metastability detector comprises:
An input signal determination unit receiving an external clock signal and the first valid signal and outputting the clock signal when the first valid signal is inactive;
A metastability judging unit for inputting an output signal of the input signal judging unit and outputting a meta signal when an output signal of the input signal judging unit is activated; And
And a second valid signal generator for receiving the first valid signal and the output signal of the metastable signal determiner and outputting a second valid signal when any one of them is activated.
상기 준안정성 판단부는 직렬로 연결된 복수개의 레프리카(replica) 비교기들을 구비하는 것을 특징으로 하는 비교 장치.9. The method of claim 8,
Wherein the metastability determination unit comprises a plurality of replica comparators connected in series.
상기 복수개의 레프리카 비교기들은 각각 전원 전압과 접지 전압을 입력하는 것을 특징으로 하는 비교 장치.10. The method of claim 9,
Wherein the plurality of replica comparators input a power supply voltage and a ground voltage, respectively.
상기 복수개의 레프리카 비교기들은 상기 제1 유효 신호가 활성화될 때, 상기 입력 신호 판단부에서 출력되는 신호에 의해 리셋되는 것을 특징으로 하는 비교 장치.10. The method of claim 9,
Wherein the plurality of the replica comparators are reset by a signal output from the input signal determination unit when the first valid signal is activated.
상기 복수개의 레프리카 비교기들은 각각 상기 입력 신호 비교기와 동일한 구조를 갖는 것을 특징으로 하는 비교 장치.10. The method of claim 9,
Wherein the plurality of replica comparators have the same structure as the input signal comparator, respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20130025428A KR101492568B1 (en) | 2013-03-11 | 2013-03-11 | Comparing device for detecting meta-stability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20130025428A KR101492568B1 (en) | 2013-03-11 | 2013-03-11 | Comparing device for detecting meta-stability |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20140111379A KR20140111379A (en) | 2014-09-19 |
KR101492568B1 true KR101492568B1 (en) | 2015-02-11 |
Family
ID=51756867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20130025428A KR101492568B1 (en) | 2013-03-11 | 2013-03-11 | Comparing device for detecting meta-stability |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101492568B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262561B (en) * | 2020-02-05 | 2023-03-31 | 电子科技大学 | Metastable state detection circuit of comparator |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050007937A (en) * | 2003-07-12 | 2005-01-21 | 정원섭 | Mono-Stable Multivibrator using Operational Transconductance Amplifier |
-
2013
- 2013-03-11 KR KR20130025428A patent/KR101492568B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050007937A (en) * | 2003-07-12 | 2005-01-21 | 정원섭 | Mono-Stable Multivibrator using Operational Transconductance Amplifier |
Also Published As
Publication number | Publication date |
---|---|
KR20140111379A (en) | 2014-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108574489B (en) | Comparator and successive approximation type analog-digital converter | |
US9374093B2 (en) | Capacitively coupled input buffer | |
US8736313B2 (en) | Input buffer capable of expanding an input level | |
JP5566941B2 (en) | Input circuit | |
US9746501B1 (en) | Apparatus for voltage detection in an integrated circuit | |
US8754677B2 (en) | System and method of implementing input/output drivers with low voltage devices | |
US20150365081A1 (en) | Hold-time optimization circuit and receiver with the same | |
JP5175142B2 (en) | Short detection circuit | |
CN111130536B (en) | Circuit with ageing detection and PUF functions | |
WO2016197153A1 (en) | Fast pre-amp latch comparator | |
KR101062744B1 (en) | Differential amplifier | |
US20140119426A1 (en) | Slicer and method of operating the same | |
TWI547098B (en) | High-speed clocked comparator and method thereof | |
KR101492568B1 (en) | Comparing device for detecting meta-stability | |
KR100500928B1 (en) | Circuit for detecting switching point and semiconductor device using the same | |
US10425076B2 (en) | Power-on-reset circuit | |
Wang et al. | $2\times\text {VDD} $40-nm CMOS Output Buffer With Slew Rate Self-Adjustment Using Leakage Compensation | |
US8270557B2 (en) | Integrated circuit and method for driving the same | |
KR101096197B1 (en) | Multi-stage differential amplifier and input buffer for semiconductor device | |
JP4284347B2 (en) | Serial data detection circuit | |
US6677785B1 (en) | Power level detection circuit | |
US10425067B2 (en) | Memory device and method for operating a memory device | |
KR100494097B1 (en) | Glitch Prevention Data Sensing Circuit | |
CN114513203A (en) | Input/output circuit, method of operating the same, and data processing system including the same | |
KR20110035786A (en) | Differential amplifier and input buffer of a semiconductor memory apparatus using the same |
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: 20200203 Year of fee payment: 6 |