KR900004174B1 - Pulse width measuring circuit by controlling micro-process - Google Patents
Pulse width measuring circuit by controlling micro-process Download PDFInfo
- Publication number
- KR900004174B1 KR900004174B1 KR1019870015626A KR870015626A KR900004174B1 KR 900004174 B1 KR900004174 B1 KR 900004174B1 KR 1019870015626 A KR1019870015626 A KR 1019870015626A KR 870015626 A KR870015626 A KR 870015626A KR 900004174 B1 KR900004174 B1 KR 900004174B1
- Authority
- KR
- South Korea
- Prior art keywords
- counters
- pulse width
- pulse
- control
- test input
- Prior art date
Links
Images
Classifications
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Description
제 1 도는 본 발명 회로도.1 is a circuit diagram of the present invention.
제 2 도는 본 발명 플로우챠트.2 is a flowchart of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 중앙처리장치 11 : 디코더10: central processing unit 11: decoder
12 : 롬 13 : 램12: Romans 13: Ram
14,15 : 래치 16,17 : 카운터14,15:
18,19 : 플립플롭 20 : 버퍼18,19: flip-flop 20: buffer
21 : 표시구동부 22 : 표시부21: display drive portion 22: display portion
본 발명은 프로그램 제어에 의해 입력되는 신호의 펄스폭을 체크할 수 있는 장치에 관한 것이다.The present invention relates to an apparatus capable of checking the pulse width of a signal input by program control.
일반적으로 어떤 신호의 펄스폭을 체크하기 위해서는 오실로스코프 또는 로직 애널라이저(Logic Analyzer)등의 장비를 사용하고 있다.Typically, an oscilloscope or logic analyzer is used to check the pulse width of a signal.
그러나 상기한 장비들은 부피가 크고 가격이 고가이므로 상기한 장비를 구비하지 못하였을 때 펄스폭을 손쉽게 측정할 수 있는 방법이 없었다.However, since the equipment is bulky and expensive, there is no easy way to measure the pulse width when the equipment is not provided.
본 발명은 상기한 문제점을 해결하기 위하여 인출한 것으로서, 오실로스코프 또는 로직애널라이저와 같이 펄스폭을 측정할 수 있는 장치를 제공하는 것을 그 목적으로 한다.The present invention has been drawn to solve the above problems, and an object thereof is to provide an apparatus capable of measuring a pulse width, such as an oscilloscope or a logic analyzer.
상기한 목적을 달성하기 위하여 본 발명에서는 마이크로 프로세서와 래치와 카운터 및 논리소자를 이용하여 회로를 구성하고 입력되는 펄스의 신호폭을 마이크로 프로세서의 프로그램 제어하에서 측정하도록 하고 있다.In order to achieve the above object, the present invention configures a circuit using a microprocessor, a latch, a counter, and a logic element, and measures the signal width of an input pulse under program control of the microprocessor.
이하 첨부된 도면에 의하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제 1 도는 본 발명회로도로서 중앙처리장치(10)의 테이타 버스와 어드레스 버스를 통하여 각각 롬(12)과 램(13)이 연결되고, 디코더(11)는 중앙처리장치(10)의 어드레스 버스로부터 디코딩된 출력을 롬(12)과 램(13)의 칠셀렉트 신호()와 대치(14,15)의 로드신호()와 버퍼(20)의 출력 인에이블신호()로서 인가하고, 상기 각 래치(14,15)와 버퍼(20)는 각각 카운터(16,17)와 플립플롭(18,19)을 통하여 연결된다.1 is a circuit diagram of the present invention, in which a
또한 카운터(16,17)의 로드단자(LD)와 플립플롭(18,19)의 클럭단자에는 테스트펄스가 반전되어 인가되고, 중앙처리창치(10)의 인터럽트()단자와 플립플롭(18,19)의 클리어단자()에는 테스트펄스 상승에서 검출 펄스가 반전되어 인가되며, 카운터(16,17)의 클럭단자에는 별도의 클럭펄스가 인가된다.In addition, test pulses are inverted and applied to the load terminals LD of the
상기한 구성을 갖는 본 발명 회로의 동작을 설명하면 다음과 같다.The operation of the circuit of the present invention having the above configuration will be described below.
중앙처리장치(10)의 제어에 의하여 래치(14)에는 "1"을 래치(15)에 "FF"를 세트한다. 테스트펄스 입력단자에 펄스가 없으면 카운터(16,17)의 로드단자(LD)에 하이레벨 신호가 인가되므로 각 카운터(16,17)의 값은 전단의 각 래치(14,15)의 값과 같아진다.Under the control of the
테스트 입력펄스가 하이레벨이 되면 플립플롭(18,19)의 클리어단자()에는 로우레벨신호가 인가되어 출력단자(Q1, Q2)신호는 모두 로우레벨이 된다.When the test input pulse becomes high level, the clear terminal of the flip-flop (18, 19) ( ) Is applied to the low level signal so that the output terminals Q 1 and Q 2 are all at the low level.
동시에 카운터(16, 17)의 로드단자(LD)에는 로우레벨이 입력되어져 고속으로 인가되는 클럭에 의해 카운터(16,17)는 각각 계속 카운트 다운을 수행하여 설정된 카운트 값이 0이 되면 출력단자(O1또는 O2)가 하이레벨이 된다.At the same time, the low level is input to the load terminals LD of the
중앙처리장치(10)는 테스트 입력펄스가 로우레벨이 되기를 기다리며 테스트 입력펄스가 로우레벨이 될 때 플립플롭(18, 19)에는 그때까지의 카운트된 결과로서 카운터(16,17)의 출력값이 인가된다.The
이때 입력되는 신호에 따르는 플립플롭(18,19)의 출력신호는 다음과 같이 나타날 수 있다.In this case, the output signal of the flip-
[표 1]TABLE 1
즉 상기(표 1)에서와 같이 출력(Q1,Q2)이 모두 로우레벨이면 펄스가 클럭보다 작은 것으로 검지한계이하이므로 표시부(22)를 통하여 테스트 입력펄스가 너주작음을 표시하여 주고, 출력(Q1,Q2)이 모두 하이레벨이면 펄스가 너무 크므로 감지할 수 없음을 표시부(22)를 통하여 표시하여 준다.That is, as shown in (Table 1), if the outputs Q 1 and Q 2 are all at the low level, since the pulse is less than the detection limit as the clock, the
상기한 두가지 경우, 즉 펄스가 너무 작거나 너무 클 때에는 카운터(16,17)로 입력되는 클럭펄스를 조정하면 테스트 입력펄스를 측정할 수 있게 된다.In both cases, that is, when the pulse is too small or too large, the test input pulse can be measured by adjusting the clock pulse input to the
한편 상기(표 1)에서 출력(Q1)은 하이레벨이고 출력(Q2)은 로우레벨이면 테스트 입력펼스의 값은 래치(14)와 래치(15)의 값 사이에 있으므로 래치(14)의 값을 증가시키거나 래치(15)의 값을 감소시켜 반복하여 래치(14)와 래치(15)의 값의 차이가 1로 좁혀질 때까지 계속하면 그때의 래치(14) 또는 래치(l5)의 값에서실제 입력된 테스트 입력펄스의 폭과 1클럭 만큼의 오차 이내로 계산할 수 있다.On the other hand, in Table 1, if the output Q 1 is high level and the output Q 2 is low level, the value of the test input pulls is between the
제 2 도는 본 발명의 플로우챠트로서 이를 참조하여 본 발명의 펄스폭 측정 방법을 설명하면 다음과 같다.2 is a flow chart of the present invention with reference to this description of the pulse width measurement method of the present invention as follows.
먼저 펄스폭을 체크하기전에 래치(14)와 래치(15)에 각각 "1"과 "FF"를 기억시키고 측정하기 위한 테스트 펄스가 입력되면 버퍼(20)값을 읽는다.First, before checking the pulse width, when the test pulses for storing and measuring "1" and "FF" are input to the
그 다음 플립플롭(18,19)의 출력 신호로서 펄스폭의 존재범위를 인식하여 펄스폭이 상기한 래치(14)와 래치(15)의 설정값 이외에 존재하도록 래치(14)를 증가시키거나 래치(15)를 감소시키며 다시 테스트 펄스를 입력하여 펄스폭의 범위를 확인하는 상기 동작을 반복하여 래치(14)와 래치(15) 사이에 테스트 펄스가 존재하도록 하여 펄스값을 측정하고 표시부를 통하여 나타내도록 한다.Then, as the output signal of the flip-
상기한 바와같은 본 발명의 효과로서는 펄스폭을 측정하는 전용장비를 사용하지 않고 간단히 펄스폭을 측정할 수 있는 편리함을 제공할 수 있는 점이다.An effect of the present invention as described above is that it is possible to provide a convenience that can simply measure the pulse width without using a dedicated device for measuring the pulse width.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019870015626A KR900004174B1 (en) | 1987-12-31 | 1987-12-31 | Pulse width measuring circuit by controlling micro-process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019870015626A KR900004174B1 (en) | 1987-12-31 | 1987-12-31 | Pulse width measuring circuit by controlling micro-process |
Publications (2)
Publication Number | Publication Date |
---|---|
KR890010571A KR890010571A (en) | 1989-08-09 |
KR900004174B1 true KR900004174B1 (en) | 1990-06-18 |
Family
ID=19267883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019870015626A KR900004174B1 (en) | 1987-12-31 | 1987-12-31 | Pulse width measuring circuit by controlling micro-process |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR900004174B1 (en) |
-
1987
- 1987-12-31 KR KR1019870015626A patent/KR900004174B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR890010571A (en) | 1989-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4027146A (en) | High speed accurate low frequency counter | |
JPH04320982A (en) | Semiconductor electronic circuit | |
HU189723B (en) | Logic measuring instrument | |
KR900004174B1 (en) | Pulse width measuring circuit by controlling micro-process | |
US4063309A (en) | Mean corpuscular volume measuring apparatus and method | |
US4493565A (en) | Combined thermometer and calculator | |
US5357490A (en) | Measuring timer system | |
US4167038A (en) | Calculated parameter generation in a hematology parameter measurement apparatus | |
US4460967A (en) | Electronic circuit for measuring and displaying ion concentration in fluid | |
US4799023A (en) | Circuits and apparatus which enable elimination of setup time and hold time testing errors | |
KR100192775B1 (en) | Apparatus for checking a clock | |
RU2054681C1 (en) | Pulse repetition frequency meter | |
KR100234197B1 (en) | Input circuit of detection signal of laser distance measuring apparatus | |
KR0122855B1 (en) | High impedance test circuit | |
US5511047A (en) | High resolution timer using low resolution counter | |
KR940009290B1 (en) | Electrical signal's rising-time and falling-time measuring apparatus | |
KR910006702Y1 (en) | Apparatus for measuring stability of clock pulses by using first-in-first-out register | |
JPH0460468A (en) | Pulse position measuring type instrument drive circuit | |
KR890004183B1 (en) | Measurement device of decorder | |
KR920005922B1 (en) | Dial pulse measuring circuit | |
JPH0535889A (en) | Microprocessor circuit | |
KR940011751B1 (en) | Es detective circuit of transmitting system | |
CA1114063A (en) | Calculated parameter generation in a hematology parameter measurement apparatus | |
KR940009815B1 (en) | Frequency detecting apparatus and method using directport of microcomputer | |
SU462978A1 (en) | Magnetic tape monitor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19980522 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |