KR101000957B1 - Device and method of sensing frequency - Google Patents
Device and method of sensing frequency Download PDFInfo
- Publication number
- KR101000957B1 KR101000957B1 KR1020080093629A KR20080093629A KR101000957B1 KR 101000957 B1 KR101000957 B1 KR 101000957B1 KR 1020080093629 A KR1020080093629 A KR 1020080093629A KR 20080093629 A KR20080093629 A KR 20080093629A KR 101000957 B1 KR101000957 B1 KR 101000957B1
- Authority
- KR
- South Korea
- Prior art keywords
- frequency
- input signal
- output voltage
- threshold voltage
- upper threshold
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31727—Clock circuits aspects, e.g. test clock circuit details, timing aspects for signal generation, circuits for testing clocks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R15/00—Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
- G01R15/14—Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks
- G01R15/22—Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks using light-emitting devices, e.g. LED, optocouplers
-
- 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/0038—Circuits for comparing several input signals and for indicating the result of this comparison, e.g. equal, different, greater, smaller (comparing pulses or pulse trains according to amplitude)
-
- 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/16566—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
- G01R19/1659—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 to indicate that the value is within or outside a predetermined range of values (window)
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/02—Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31725—Timing aspects, e.g. clock distribution, skew, propagation delay
Abstract
본 발명은 주파수 감지 장치 및 그 방법에 관한 것이다.
입력신호의 주파수 이상을 감지하는 주파수 감지 장치는 입력 신호가 제1 레벨인 동안 제1 전류를 적분하는 제1 적분부, 제1 적분부의 제1 출력 전압과 미리 설정된 정상 주파수 범위의 상위 문턱 전압을 비교하는 제1 비교부, 제1 출력 전압과 정상 주파수 범위의 하위 문턱 전압을 비교하는 제2 비교부, 제2 비교부의 출력이 제1 레벨인 동안 제2 전류를 적분하는 제2 적분부, 제2 적분부의 제2 출력 전압과 상위 문턱 전압을 비교하는 제3 비교부 및 제1 비교부와 제3 비교부의 출력을 토대로 입력 신호가 정상 주파수 범위에 포함되는지의 여부를 판단하는 제어부를 포함한다.
이로써, 입력신호의 주파수 이상을 감지하는 주파수 감지 장치는 하드웨어 장치로 인가되는 입력 신호의 주파수 변화를 간단한 구성으로 감지하여, 하드웨어 장치의 위험 요소를 제거하고 안전성을 유지시킬 수 있다.
주파수, 감지, 클럭신호, 문턱 전압
The present invention relates to a frequency sensing device and a method thereof.
The frequency sensing device for detecting an abnormal frequency of the input signal includes a first integrator that integrates a first current while the input signal is at a first level, a first output voltage of the first integrator, and an upper threshold voltage of a preset normal frequency range. A first comparator for comparing, a second comparator for comparing the first output voltage with a lower threshold voltage in the normal frequency range, a second integrator for integrating a second current while the output of the second comparator is at a first level, and And a third comparator for comparing the second output voltage and the upper threshold voltage of the second integrator, and a controller for determining whether the input signal is included in the normal frequency range based on the output of the first comparator and the third comparator.
As a result, the frequency sensing device that detects the frequency abnormality of the input signal may detect the frequency change of the input signal applied to the hardware device with a simple configuration, thereby removing the risk factor of the hardware device and maintaining safety.
Frequency, sensing, clock signal, threshold voltage
Description
본 발명은 주파수 감지 장치 및 그 방법에 관한 것이다. The present invention relates to a frequency sensing device and a method thereof.
본 발명은 지식경제부 및 정보통신연구진흥원의 IT성장동력사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2006-S-041-03, 과제명: 차세대 모바일 단말기의 보안 및 신뢰 서비스를 위한 공통 보안 핵심 모듈 개발].The present invention is derived from a study conducted as part of the IT growth engine project of the Ministry of Knowledge Economy and the Korea Institute of Information and Telecommunications Research and Development. [Task Management Number: 2006-S-041-03, Title: Development of common security core modules].
모든 전자 장치에 구비되는 하드웨어로 구성된 칩, 보드 등과 같은 각종 장치는 소정 주파수의 클럭 신호를 입력받아 상기 클럭 신호를 기준으로 요구되는 기능을 수행한다. 여기서, 클럭 신호의 주파수에 이상이 발생하면 이것은 해당 하드웨어 장치의 동작에 대한 안전성 및 신뢰성을 저하시키는 원인이 된다. Various devices such as chips, boards, etc. composed of hardware included in all electronic devices receive a clock signal having a predetermined frequency and perform a function based on the clock signal. Here, if an abnormality occurs in the frequency of the clock signal, this causes a decrease in the safety and reliability of the operation of the hardware device.
따라서, 클럭 신호에 의해 동작하는 하드웨어 장치는 인가되는 클럭 신호의 주파수 이상을 감지하여, 하드웨어 장치의 안전성 및 신뢰성을 확보해야 한다. Therefore, the hardware device operating by the clock signal should detect the frequency or more of the clock signal applied to ensure the safety and reliability of the hardware device.
클럭 신호의 주파수 이상을 감지하는 방법으로는 클럭 신호의 정상 주파수 범위보다 높은 주파수의 클럭 신호를 생성하여, 하드웨어 장치로 인가되는 클럭 신호에 대한 주파수의 높고 낮은 정도를 인식하는 방법이 있다. As a method of detecting a frequency abnormality of a clock signal, a method of generating a clock signal having a frequency higher than a normal frequency range of the clock signal and recognizing a high and low degree of a frequency with respect to a clock signal applied to a hardware device.
그러나 이러한 클럭 신호의 주파수 이상을 감지하는 방법은 하드웨어 장치의 사이즈가 증가하는 문제점이 있으며, 특히 칩으로 만들기 위해서는 많은 어려움이 있다.However, there is a problem in that the size of a hardware device increases in the method of detecting an abnormal frequency of the clock signal, and in particular, there are many difficulties in making a chip.
본 발명이 이루고자 하는 기술적 과제는 소정 주파수의 클럭 신호에 의해 동작하는 하드웨어 장치에서 클럭 신호의 주파수 이상을 간단한 구성으로 정확하게 검출할 수 있는 장치 및 방법을 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made in an effort to provide an apparatus and method capable of accurately detecting a frequency abnormality of a clock signal with a simple configuration in a hardware device operating by a clock signal having a predetermined frequency.
본 발명의 한 특징에 따르면, 입력신호의 주파수 이상을 감지하는 주파수 감지 장치는 상기 입력 신호가 제1 레벨인 동안 제1 전류를 적분하는 제1 적분부, 상기 제1 적분부의 제1 출력 전압과 미리 설정된 정상 주파수 범위의 상위 문턱 전압을 비교하는 제1 비교부, 상기 제1 출력 전압과 상기 정상 주파수 범위의 하위 문턱 전압을 비교하는 제2 비교부, 상기 제2 비교부의 출력이 제1 레벨인 동안 제2 전류를 적분하는 제2 적분부, 상기 제2 적분부의 제2 출력 전압과 상기 상위 문턱 전압을 비교하는 제3 비교부 및 상기 제1 비교부와 상기 제3 비교부의 출력을 토대로 상기 입력 신호가 상기 정상 주파수 범위에 포함되는지의 여부를 판단하는 제어부를 포함한다.According to an aspect of the present invention, a frequency sensing device for detecting an abnormal frequency of an input signal includes a first integrator for integrating a first current while the input signal is at a first level, and a first output voltage of the first integrator; The first comparator comparing the upper threshold voltage of the preset normal frequency range, the second comparator comparing the first output voltage and the lower threshold voltage of the normal frequency range, the output of the second comparator is a first level The input based on an output of a second integrator for integrating a second current, a third comparator for comparing a second output voltage of the second integrator with the upper threshold voltage, and an output of the first comparator and the third comparator And a controller for determining whether a signal is within the normal frequency range.
본 발명의 다른 특징에 따르면, 입력신호의 주파수 이상을 감지하는 주파수 감지 방법은 상기 입력신호가 제1 레벨인 동안 제1 전류를 적분하여 제1 출력 전압을 생성하는 단계, 상기 제1 출력 전압과 상위 문턱 전압을 비교하는 단계, 상기 제1 출력 전압과 하위 문턱 전압을 비교하여, 비교 결과를 반전하는 단계, 반전된 비교 결과가 상기 제1 레벨인 동안 제2 전류를 적분하여 제2 출력 전압을 생성하는 단계, 상기 제2 출력 전압과 상기 상위 문턱 전압을 비교하는 단계 및 상기 제1 출력 전압과 상위 문턱 전압과의 비교 결과 및 상기 제2 출력 전압과 상기 상위 문턱 전압의 비교 결과를 이용하여 상기 입력 신호의 주파수 이상을 판단하는 단계를 포함한다. According to another aspect of the invention, the frequency sensing method for detecting the frequency abnormality of the input signal to generate a first output voltage by integrating a first current while the input signal is a first level, the first output voltage and Comparing an upper threshold voltage, comparing the first output voltage with a lower threshold voltage, inverting a comparison result, and integrating a second current while the inverted comparison result is the first level to obtain a second output voltage. Generating, comparing the second output voltage with the upper threshold voltage, comparing the first output voltage with the upper threshold voltage, and comparing the second output voltage with the upper threshold voltage. Determining a frequency abnormality of the input signal.
본 발명의 실시예에 따르면, 하드웨어 장치로 인가되는 클럭 신호의 주파수 변화를 간단한 구성으로 감지하여, 하드웨어 장치의 위험 요소를 제거하고 안전성을 유지시킬 수 있다. 또한, 소형의 칩 형태로 구현 가능함으로써 하드웨어 장치에 용이하게 적용할 수 있다. According to an embodiment of the present invention, by detecting the frequency change of the clock signal applied to the hardware device with a simple configuration, it is possible to remove the risk factor of the hardware device and maintain safety. In addition, since it can be implemented in a small chip form, it can be easily applied to a hardware device.
아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.
명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다.Throughout the specification, when a part is "connected" to another part, this includes not only "directly connected" but also "electrically connected" with another element in between. .
명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", "…기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise. In addition, the terms “… unit”, “… unit”, “module”, etc. described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware or software or a combination of hardware and software. have.
이하에서는, 본 발명의 실시예에 따른 주파수 감지 장치 및 그 방법에 대하여 첨부한 도면을 참고로 하여 상세히 설명한다.Hereinafter, a frequency sensing apparatus and a method thereof according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 실시예에 따른 주파수 감지 장치를 개략적으로 나타낸 도면이다. 1 is a view schematically showing a frequency sensing device according to an embodiment of the present invention.
도 1에 나타낸 바와 같이, 주파수 감지 장치는 제1 램프 적분부(100), 제1 비교부(200), 제2 비교부(300), 제2 램프 적분부(400), 제3 비교부(500) 및 제어부(600)를 포함한다. As shown in FIG. 1, the frequency sensing device includes a
제1 램프 적분부(100)는 입력신호 즉, 클럭 신호(CLK)를 수신하여, 클럭 신호(CLK)가 로우 레벨 즉, "0" 인 동안 전류를 적분한다. 여기서, 클럭 신호(CLK)는 해당 하드웨어 장치(도시하지 않음)의 이상 여부를 판별하는 기준이 되는 신호이다. The
제1 비교부(200)는 제1 램프 적분부(100)의 제1 출력 전압(VC1)과 상위 문턱 전압(VTH)을 비교한다. 여기서, 상위 문턱 전압(VTH)은 미리 설정된 클럭 신호(CLK)의 정상 주파수 범위 중 하한 주파수에 대응하는 제1 램프 적분부(100)의 출력 전압 이상으로 설정한다. The
제1 비교부(200)는 비교결과에 따라 클럭 신호(CLK)의 주파수가 정상 주파수 범위보다 낮은지의 여부를 판별하고 그에 따라 제1 비교부(200)의 출력(fout1)을 출력한다. The
구체적으로, 제1 비교부(200)는 제1 출력 전압(VC1)이 상위 문턱 전압(VTH)보다 크면, 하이레벨 즉, "1"을 출력한다. 이때, 제1 비교부(200)의 출력(fout1)이 "1" 인 경우, 제1 비교부(200)는 클럭 신호(CLK)의 주파수가 정상 주파수 범위보다 낮은 것으로 판단한다. 또한, 제1 비교부(200)는 제1 출력 전압(VC1)이 상위 문턱 전압(VTH)보다 작으면, "0"을 출력한다. In detail, when the first output voltage VC1 is greater than the upper threshold voltage VTH, the
제2 비교부(300)는 제1 램프 적분부(100)의 제1 출력 전압(VC1)과 하위 문턱 전압(VTL)을 비교한다. 여기서, 하위 문턱 전압(VTL)은 미리 설정된 클럭 신호(CLK)의 정상 주파수 범위 중 상한 주파수에 대응하는 제1 램프 적분부(100)의 출력 전압 이하로 설정한다. The
제2 비교부(300)는 제1 출력 전압(VC1)이 하위 문턱 전압(VTL)보다 작으면 "1"을 출력하고, 제1 출력 전압(VC1)이 하위 문턱 전압(VTL)보다 크면 "0"을 출력한다. The
제2 램프 적분부(400)는 인버터(도시하지 않음.)에 의해 반전된 제2 비교부(300)의 출력(fout21)를 수신하여, 제2 비교부(300)의 출력(fout21)이 "0"인 동안 전류를 적분한다. The
제3 비교부(500)는 제2 램프 적분부(400)의 제2 출력 전압(VC2)과 상위 문턱 전압(VTH)을 비교한다. 제3 비교부(500)는 비교결과에 따라 클럭 신호(CLK)의 주파 수가 정상 주파수 범위보다 높은지의 여부를 판별하고, 그에 따라 제3 비교부(500)의 출력(fout3)을 출력한다. The
구체적으로, 제3 비교부(500)는 제2 출력 전압(VC2)이 상위 문턱 전압(VTH)보다 크면, "1"을 출력한다. 이때, 제3 비교부(500)의 출력(fout3)이 "1" 인 경우, 제3 비교부(500)는 클럭 신호(CLK)의 주파수가 정상 주파수 범위보다 높은 것으로 판단한다. 제3 비교부(500)는 제2 출력 전압(VC2)이 상위 문턱 전압(VTH)보다 작으면, "0"을 출력한다. Specifically, when the second output voltage VC2 is greater than the upper threshold voltage VTH, the
제어부(600)는 제1 비교부(200)와 제3 비교부(500)의 출력(fout1, fout3)을 수신하여, 하드웨어 장치(도시하지 않음)의 동작을 제어한다. 현재 클럭 신호(CLK)의 주파수의 범위가 설정된 주파수 범위보다 낮거나 높은 주파수로 판별되는 경우, 제어부(600)는 하드웨어 장치의 동작을 정지시키거나, 소정의 신호를 생성하여 주파수를 이용한 물리적인 해킹을 방어할 수 있게 하드웨어 장치를 제어한다. The
이와 같이, 본 발명의 실시예에 따른 제어부(600)는 제1 비교부(200)와 제3 비교부(500)의 출력을 모두 이용하여, 클럭 신호(CLK)의 주파수의 범위가 설정된 주파수 범위보다 낮거나 높은 주파수의 범위인지 판별하여, 하드웨어 장치의 이상을 간단한 구성으로 정확하게 검출할 수 있다.As described above, the
다음에는 위에 기술된 바와 같은 구조를 토대로, 본 발명의 제1 실시예에 따른 주파수 감지 장치의 구체적인 회로 구조를 도 2를 참조하여 상세하게 설명한다.Next, a detailed circuit structure of the frequency sensing device according to the first embodiment of the present invention will be described in detail with reference to FIG. 2 based on the structure as described above.
도 2는 본 발명의 제1 실시예에 따른 주파수 감지 장치의 회로를 나타낸 도면이다. 2 is a diagram illustrating a circuit of a frequency sensing device according to a first embodiment of the present invention.
도 2에 나타낸 바와 같이, 본 발명의 제1 실시예에 따른 주파수 감지 장치는, 제1 램프 적분부(100), 제1 비교부(200), 제2 비교부(300), 인버터(350), 제2 램프 적분부(400), 제3 비교부(500) 및 제어부(600)를 포함한다. As shown in FIG. 2, the frequency sensing device according to the first embodiment of the present invention includes a
제1 램프 적분부(100)는 제1 정전류원(I1), 제1 스위치(SW1) 및 제1 커패시터(C1)를 포함한다. The
제1 스위치(SW1)는 제1 정전류원(I1)과 접지단 사이에 연결되어 있다. 또한, 제1 커패시터(C1)는 제1 정전류원(I1)과 접지단 사이에 연결되어 있다.The first switch SW1 is connected between the first constant current source I1 and the ground terminal. In addition, the first capacitor C1 is connected between the first constant current source I1 and the ground terminal.
제1 정전류원(I1)은 일정 전류를 생성한다. 제1 스위치(SW1)는 입력되는 클럭신호(CLK)에 대응하게 온/오프(on/off)한다. 여기서, 제1 스위치(SW1)는 클럭신호(CLK)가 "0"일 경우에 오프하며, "1"일 경우에 온 한다. The first constant current source I1 generates a constant current. The first switch SW1 is turned on / off corresponding to the input clock signal CLK. Here, the first switch SW1 is turned off when the clock signal CLK is "0", and turned on when the first switch SW1 is "0".
제1 커패시터(C1)는 제1 스위치(SW1)가 오프되는 경우 제1 정전류원(I1)에서 생성된 전류를 충전한다. 이때, 제1 커패시터(C1)의 전압이 제1 램프 적분부(100)의 출력 전압 즉, 제1 출력 전압(VC1)이다. The first capacitor C1 charges the current generated from the first constant current source I1 when the first switch SW1 is turned off. In this case, the voltage of the first capacitor C1 is the output voltage of the
제1 비교부(200)는 제1 비교기(comp1)를 포함한다. 제1 비교기(como1)는 제1 정전류원(I1)과 제1 커패시터(C1)의 접점에 비반전단자(+)가 연결되어 있으며, 반전단자(-)로 상위 문턱 전압(VTH)이 인가된다. The
제2 비교부(300)는 제2 비교기(comp2)를 포함한다. 제2 비교기(comp2)는 비반전단자(+)로 하위 문턱 전압(VTL)이 인가되고, 반전단자(-)로 제1 램프 적분부(100)의 제1 출력 전압(VC1)이 인가된다. The
인버터(350)는 제2 비교부(300)의 출력(fout2)을 반전하여, 반전된 제2 비교 부(300)의 출력(fout21)을 제2 램프 적분부(400)로 전달한다. The
제2 램프 적분부(400)는 제2 정전류원(I2), 제2 스위치(SW2) 및 제2 커패시터(C2)를 포함한다. 제2 정전류원(I2)은 제3 비교기(comp3)의 반전단자(-)와 연결되어 있으며, 제2 스위치(SW2)는 제3 비교기(comp3)의 반전단자(-)와 접지단 사이에 연결되어 있다. 또한, 제2 커패시터(C2)는 제3 비교기(comp3)의 반전단자(-)와 접지단 사이에 연결되어 있다. The
제2 정전류원(I2)은 일정 전류를 생성한다. 제2 스위치(SW2)는 반전된 제2 비교부(300)의 출력(fout21)에 대응하게 온/오프(on/off)한다. 여기서, 제2 스위치(SW2)는 fout21가 "0"일 경우에 오프하며, "1"일 경우에 온 한다. 제2 커패시터(C2)는 제2 스위치(SW2)가 오프되는 경우 제2 정전류원(I2)에서 생성된 전류를 충전한다. 이때, 제2 커패시터(C2)의 전압이 제2 램프 적분부(400)의 출력 전압, 즉 제2 출력 전압(VC2)이다. The second constant current source I2 generates a constant current. The second switch SW2 is turned on / off corresponding to the output fout21 of the inverted
제3 비교부(500)는 제3 비교기(comp3)를 포함한다. 제3 비교기(comp3)는 비반전단자(+)로 상위 문턱 전압(VTH)이 인가되고, 반전단자(-)로 제2 램프 적분부(400)의 제2 출력 전압(VC2)이 인가된다. The
제어부(600)는 OR 게이트(610) 및 AND 게이트(620)를 포함한다. OR 게이트(610)는 제1 비교부(200)의 출력(fout1)과 제3 비교부(500)의 출력(fout3)을 OR 연산하여 출력한다. OR 게이트(610)의 출력이 "1" 이면, 제어부(600)는 클럭신호(CLK)의 주파수에 이상이 발생한 것으로 판단한다.The
AND 게이트(620)는 OR 게이트(610)의 출력과 인에이블 신호(enable)를 AND 연산하여 출력신호(OUT)를 출력한다. 여기서, 인에이블 신호(enable)는 주파수 감지 장치의 실시 여부를 제어하는 신호이다. The AND
다음, 본 발명의 제1 실시예에 따른 주파수 감지 방법을 도 3을 참조하여 상세하게 설명한다.Next, a frequency sensing method according to the first embodiment of the present invention will be described in detail with reference to FIG. 3.
도 3은 본 발명의 제1 실시예에 따른 주파수 감지 방법을 나타낸 흐름도이다. 도 4a, 도 4b 및 도 4c 는 상기 도 2에 도시된 제1 실시 예에 따른 주파수 감지 장치의 동작 타이밍도이다. 3 is a flowchart illustrating a frequency sensing method according to a first embodiment of the present invention. 4A, 4B, and 4C are operation timing diagrams of the frequency sensing apparatus according to the first embodiment shown in FIG. 2.
먼저, 제1 램프 적분부(100)는 수신한 클럭신호(CLK)가 "0" 인 동안 전류를 적분한다(S11).First, the
제1 비교부(200)는 제1 램프 적분부(100)의 출력, 즉 제1 출력 전압(VC1)과 상위 문턱 전압(VTH)을 비교한다(S12). The
비교결과 제1 출력 전압(VC1)이 상위 문턱 전압(VTH)보다 작으면, 제1 비교부(200)는 "0"을 OR 게이트(610)로 출력한다(S13). 이때, 제1 비교부(200)는 제1 출력 전압(VC1)이 상위 문턱 전압(VTH)보다 작으면, 클럭 신호(CLK)의 주파수가 정상 범위에 있는 것으로 판단한다.As a result of the comparison, when the first output voltage VC1 is smaller than the upper threshold voltage VTH, the
도 4a에 나타낸 바와 같이, 클럭 신호(CLK)의 주파수가 정상 범위일 경우, 제1 스위치(SW1)의 오프시간에 대응하는 충전 시간에 따라 제1 출력 전압(VC1)이 상위 문턱 전압(VTH) 이하까지 증가한다. 반면에, 제1 출력 전압(VC1)이 상위 문턱 전압(VTH)보다 크면, 제1 비교부(200)는 "1"을 OR 게이트(610)로 출력한다(S14). 이때, 제1 비교부(200)는 제1 출력 전압(VC1)이 상위 문턱 전압(VTH)보다 크면, 클 럭 신호(CLK)의 주파수가 정상 주파수 범위보다 낮은 것으로 판단한다.As shown in FIG. 4A, when the frequency of the clock signal CLK is in the normal range, the first output voltage VC1 becomes the upper threshold voltage VTH according to the charging time corresponding to the off time of the first switch SW1. Increases to On the other hand, when the first output voltage VC1 is greater than the upper threshold voltage VTH, the
도 4b에 나타낸 바와 같이, 클럭신호(CLK)의 주파수가 낮은 주파수일 경우, 제1 스위치(SW1)의 오프시간이 길어지고, 오프시간이 길수록 충전 시간이 길어짐으로써, 제1 출력 전압(VC1)이 상위 문턱 전압(VTH) 이상으로 증가하게 된다. As shown in FIG. 4B, when the frequency of the clock signal CLK is a low frequency, the off time of the first switch SW1 is longer, and the longer the off time is, the longer the charging time is, whereby the first output voltage VC1 is obtained. This value is increased above the upper threshold voltage VTH.
제2 비교부(300)는 제1 출력 전압(VC1)과 하위 문턱 전압(VTL)을 비교한다(S15).The
비교결과 제1 출력 전압(VC1)이 하위 문턱 전압(VTL)보다 작으면, 제2 비교부(300)는 "1"을 인버터(350)로 출력한다(S16). As a result of the comparison, when the first output voltage VC1 is smaller than the lower threshold voltage VTL, the
제1 출력 전압(VC1)이 하위 문턱 전압(VTL)보다 크면, 제2 비교부(300)는 "0"을 인버터(350)로 출력한다(S17).When the first output voltage VC1 is greater than the lower threshold voltage VTL, the
인버터(350)는 제2 비교부(300)의 출력(fout2)을 반전하여, 반전된 제2 비교부(300)의 출력(fout21)을 제2 램프 적분부(400)로 전송한다(S18).The
제2 램프 적분부(400)는 인버터(350)의 출력(fout21)이 "0"인 동안 전류를 적분한다(S19).The
제3 비교부(500)는 제2 램프 적분부(400)의 출력, 즉 제2 출력 전압(VC2)과 상위 문턱 전압(VTH)을 비교한다(S20).The
비교결과 제2 출력 전압(VC2)이 상위 문턱 전압(VTH)보다 작으면, 제3 비교부(500)는 "0"을 OR 게이트(610)로 출력한다(S21). 이때, 제3 비교부(500)는 제2 출력 전압(VC2)이 상위 문턱 전압(VTH)보다 작으면, 클럭 신호(CLK)의 주파수가 정상 범위에 있는 것으로 판단한다.As a result of the comparison, when the second output voltage VC2 is smaller than the upper threshold voltage VTH, the
도 4a에 나타낸 바와 같이, 클럭 신호(CLK)의 주파수가 정상 범위일 경우, 제1 스위치(SW1)의 오프시간에 대응하는 충전 시간에 따라 제1 출력 전압(VC1)이 하위 문턱 전압(VTL) 이상까지 증가한다. As shown in FIG. 4A, when the frequency of the clock signal CLK is in the normal range, the first output voltage VC1 becomes the lower threshold voltage VTL according to the charging time corresponding to the off time of the first switch SW1. Increase up to
제2 출력 전압(VC2)이 상위 문턱 전압(VTH)보다 크면, 제3 비교부(500)는 "1"을 OR 게이트(610)로 출력한다(S22). 이때, 제3 비교부(500)는 제2 출력 전압(VC2)이 상위 문턱 전압(VTH)보다 크면, 클럭 신호(CLK)의 주파수가 정상 주파수 범위보다 높은 것으로 판단한다.If the second output voltage VC2 is greater than the upper threshold voltage VTH, the
도 4c에 나타낸 바와 같이, 클럭신호(CLK)의 주파수가 높은 주파수일 경우, 제1 스위치(SW1)의 오프시간이 짧아지고, 오프시간이 짧아질수록 충전 시간이 짧아짐으로써, 제1 출력 전압(VC1)이 하위 문턱 전압(VTL) 이하까지만 증가한다. As shown in FIG. 4C, when the frequency of the clock signal CLK is a high frequency, the off time of the first switch SW1 is shortened, and as the off time is shortened, the charging time is shortened. VC1 increases only below the lower threshold voltage VTL.
제어부(600)는 제1 비교부(200)와 제3 비교부(500)의 출력을 수신하여 표 1과 같이 OR 연산한다(S23). The
제어부(600)는 OR 연산한 결과값에 따라 클럭신호(CLK)의 주파수 이상 여부를 판단한다(S24). 구체적으로, 제어부(600)는 OR 연산한 결과값이 "0" 이면 클럭신호(CLK)의 주파수가 정상상태인 것으로 판단한다. 반면에, OR 연산한 결과값이 "1" 이면 제어부(600)는 클럭신호(CLK)의 주파수가 정상 범위보다 높거나 낮은 이상 상태인 것으로 판단한다.The
다음, 본 발명의 제2 실시예에 따른 주파수 감지 장치를 도 5를 참조하여 상세하게 설명한다.Next, a frequency sensing device according to a second embodiment of the present invention will be described in detail with reference to FIG. 5.
도 5는 본 발명의 제2 실시예에 따른 주파수 감지 장치의 구체적인 구조를 나타낸 도면이다. 5 is a view showing a specific structure of a frequency sensing device according to a second embodiment of the present invention.
도 5에 나타낸 바와 같이, 제2 실시예에 따른 주파수 감지 장치는 클럭 분배부(700)를 더 포함한다는 점에서 제1 실시예와 차이가 있으며, 이외에는 제1 실시 예와 동일한 구성 요소를 포함한다. As shown in FIG. 5, the frequency sensing device according to the second embodiment is different from the first embodiment in that it further includes a
구체적으로, 클럭 분배부(700)는 제1 램프 적분부(100)의 제1 스위치(SW1)와 연결되어 있으며, 클럭 분배기(Divider)(710) 및 AND 게이트(720)를 포함한다. In detail, the
본 발명의 제2 실시예에 따른 클럭 분배부(700)는 입력되는 클럭신호가 빠른 경우, 이로 인하여 주파수 감지 장치 내에 발생하는 이상 상황을 방지하기 위하여 삽입되어 있다. The
클럭 분배기(710)는 입력되는 클럭신호를 분배하여 AND 게이트(720)로 출력한다. AND 게이트(720)는 클럭 분배기(710)로부터 수신한 클럭신호와 인에이블 신호(enable)를 AND 연산하여 제1 스위치(SW1)로 출력한다. The clock divider 710 divides an input clock signal and outputs the same to the AND gate 720. The AND gate 720 performs an AND operation on the clock signal and the enable signal received from the clock divider 710 and outputs the result to the first switch SW1.
본 발명의 제2 실시예에 따른 제1 정전류원(I1) 및 제2 정전류원(I2)은 모스 또는 바이폴 트랜지스터를 이용하여 전류미러와 같은 다양한 회로로 구성할 수 있으며, 이에 한정하지 않는다. The first constant current source I1 and the second constant current source I2 according to the second embodiment of the present invention may be configured by various circuits such as a current mirror using a MOS or bipolar transistor, but are not limited thereto.
또한, 본 발명의 제2 실시예에 따른 주파수 감지 장치의 회로는 도 2의 회로와 동일한 동작을 수행할 수 있다. In addition, the circuit of the frequency sensing device according to the second embodiment of the present invention may perform the same operation as the circuit of FIG.
이와 같이, 본 발명의 실시예에 따른 주파수 감지 장치는 하드웨어 장치로 인가되는 클럭 신호의 주파수 이상을 감지할 수 있다. As described above, the frequency sensing device according to the embodiment of the present invention may detect the frequency abnormality of the clock signal applied to the hardware device.
이상에서 설명한 본 발명의 실시예는 장치 및 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다. The embodiments of the present invention described above are not only implemented by the apparatus and method but may be implemented through a program for realizing the function corresponding to the configuration of the embodiment of the present invention or a recording medium on which the program is recorded, The embodiments can be easily implemented by those skilled in the art from the description of the embodiments described above.
이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.
도 1은 본 발명의 실시예에 따른 주파수 감지 장치를 개략적으로 나타낸 도면이다. 1 is a view schematically showing a frequency sensing device according to an embodiment of the present invention.
도 2는 본 발명의 제1 실시예에 따른 주파수 감지 장치의 회로를 나타낸 도면이다. 2 is a diagram illustrating a circuit of a frequency sensing device according to a first embodiment of the present invention.
도 3은 본 발명의 제1 실시예에 따른 주파수 감지 방법을 나타낸 흐름도이다.3 is a flowchart illustrating a frequency sensing method according to a first embodiment of the present invention.
도 4a, 도 4b 및 도 4c 는 도 3에 보인 주파수 감지 방법의 동작 타이밍도이다. 4A, 4B and 4C are operation timing diagrams of the frequency sensing method shown in FIG. 3.
도 5는 본 발명의 제2 실시예에 따른 주파수 감지 장치의 회로를 나타낸 도면이다. 5 is a diagram illustrating a circuit of a frequency sensing device according to a second embodiment of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080093629A KR101000957B1 (en) | 2008-09-24 | 2008-09-24 | Device and method of sensing frequency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080093629A KR101000957B1 (en) | 2008-09-24 | 2008-09-24 | Device and method of sensing frequency |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100034472A KR20100034472A (en) | 2010-04-01 |
KR101000957B1 true KR101000957B1 (en) | 2010-12-13 |
Family
ID=42212614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080093629A KR101000957B1 (en) | 2008-09-24 | 2008-09-24 | Device and method of sensing frequency |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101000957B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003066072A (en) | 2001-08-29 | 2003-03-05 | Sony Corp | Frequency detecting device and method |
-
2008
- 2008-09-24 KR KR1020080093629A patent/KR101000957B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003066072A (en) | 2001-08-29 | 2003-03-05 | Sony Corp | Frequency detecting device and method |
Also Published As
Publication number | Publication date |
---|---|
KR20100034472A (en) | 2010-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130049706A1 (en) | Circuit for discharging an x capacitor | |
US10158360B2 (en) | Capacitive switch having high accuracy | |
US10811875B2 (en) | Power supply apparatus | |
US20130328520A1 (en) | Flash charging protection circuit and control method thereof | |
US8096706B2 (en) | Temperature detector and the method using the same | |
US7847516B2 (en) | Circuit and method for detecting absent battery condition in a linear charger | |
JP2014027644A (en) | Power-on-reset device and power-on-reset method | |
US8228646B2 (en) | Apparatus and method for draining stored power | |
CN107783065B (en) | Sensor circuit | |
KR101000957B1 (en) | Device and method of sensing frequency | |
US9065448B2 (en) | Capacitive switch having high accuracy | |
US9166468B2 (en) | Voltage regulator circuit with soft-start function | |
US20190260338A1 (en) | Power supply control device | |
US20120212059A1 (en) | Power supply system with multiple power sources in parallel | |
US20100275041A1 (en) | Computer power supply and power status signal generating circuit thereof | |
KR100550902B1 (en) | Triangle wave oscillation circuit with temperature compensation function | |
US20150229122A1 (en) | Method and device for recognizing a short circuit in a pwn driver circuit | |
US9203390B1 (en) | Functional device and test mode activation circuit of the same | |
JP7006189B2 (en) | Capacitance detector | |
TWI625904B (en) | Audio jack detection structure and method thereof | |
KR100847148B1 (en) | Frequency sensing device | |
US9385700B2 (en) | Clock monitoring for sequential logic circuits | |
JP5144292B2 (en) | Switching power supply circuit and vehicle equipped with the same | |
KR20180023852A (en) | Sensor circuit | |
JP2022516950A (en) | Detection of signal pulse width tampering |
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: 20131128 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |