KR0177089B1 - Key detection method of radiation noise reduction - Google Patents

Key detection method of radiation noise reduction Download PDF

Info

Publication number
KR0177089B1
KR0177089B1 KR1019950030749A KR19950030749A KR0177089B1 KR 0177089 B1 KR0177089 B1 KR 0177089B1 KR 1019950030749 A KR1019950030749 A KR 1019950030749A KR 19950030749 A KR19950030749 A KR 19950030749A KR 0177089 B1 KR0177089 B1 KR 0177089B1
Authority
KR
South Korea
Prior art keywords
key
input
key search
search
state
Prior art date
Application number
KR1019950030749A
Other languages
Korean (ko)
Other versions
KR970016899A (en
Inventor
조성민
Original Assignee
윤종용
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR1019950030749A priority Critical patent/KR0177089B1/en
Publication of KR970016899A publication Critical patent/KR970016899A/en
Application granted granted Critical
Publication of KR0177089B1 publication Critical patent/KR0177089B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/02Details
    • H03M11/04Coding of multifunction keys
    • H03M11/06Coding of multifunction keys by operating the multifunction key itself in different ways
    • H03M11/08Coding of multifunction keys by operating the multifunction key itself in different ways by operating selected combinations of multifunction keys
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Abstract

본 발명은 다수의 키가 설치된 키매트릭스부와 제어부를 포함하는 키검색 장치의 키검색방법에 관한 것으로, 특히, 키매트릭스부에 입력된 키를 검색함에 있어 상기 제어부로부터 출력되는 키검색펄스신호에 의한 방사 노이즈의 발생을 최소화하고자 하는 키검색방법에 관한 것이다. 이러한 본 발명은 키검색초기상태로 진입 한 후, 상기 키매트릭스부로 키검색펄스신호들을 소정 논리값 상태로 출력하고, 상기 출력에 따라 입력되는 키입력신호들의 논리값 상태를 저장하는 제1과정과, 상기 제1과정에서 저장된 논리값에 있어 어느 하나의 값이라도 다른 논리값을 가진 것으로 판단되면, 상기 키검색펄스신호들을 순차적으로 출력하고, 상기 출력에 따라 입력되는 키입력신호들의 논리값 상태를 저장하는 제2과정과, 상기 제2과정에서 저장된 논리값 상태와 상기 제1과정에서 저장된 논리값 상태가 동일한 상태로 판단되는 경우, 키 검색중 상태로 진입하여, 상기 제2과정에서 출력된 키검색펄스신호와 그에 해당하여 입력된 키입력신호들의 논리값 상태를 저장하는 제3과정과, 상기 제3과정에서 저장된 키검색펄스신호를 출력한 후 이 출력에 따라 입력되는 키검색입력신호의 논리값 상태를 저장하고, 이 저장된 논리값 상태와 상기 제3과정에서 저장된 키검색입력신호의 논리값 상태를 비교하는 제4과정과, 상기 제4과정의 비교과정에서 비교 결과가 동일한 것으로 판단되면, 상기 제4과정에서 저장된 키검색입력신호에 해당하는 키 검색 동작을 수행을 처리하는 제5과정으로 이루어짐을 특징으로 한다.The present invention relates to a key retrieval method of a key retrieval apparatus including a key matrix unit and a control unit provided with a plurality of keys. In particular, the present invention relates to a key retrieval pulse signal output from the control unit in retrieving a key input to the key matrix unit. The present invention relates to a key retrieval method for minimizing the generation of radiation noise. The present invention includes a first process of outputting key search pulse signals to a predetermined logic value state to the key matrix unit after entering a key search initial state, and storing the logic value states of key input signals inputted according to the output; If it is determined that any one of the logical values stored in the first process has a different logical value, the key search pulse signals are sequentially output, and the logical value states of the key input signals inputted according to the output are sequentially output. When it is determined that the second process of storing and the logic value stored in the second process and the logic value stored in the first process are the same state, the process enters the key searching state and the key output in the second process. A third process of storing a search pulse signal and a logic state of the key input signals input corresponding thereto; and after outputting the key search pulse signal stored in the third process, Storing a logic value state of the key search input signal inputted according to the output, and comparing the stored logic value state with the logic value state of the key search input signal stored in the third process; When it is determined that the comparison result is the same in the comparison process, a fifth process of processing a key search operation corresponding to the key search input signal stored in the fourth process is performed.

Description

방사 노이즈 감소 키검색방법Radiation Noise Reduction Key Search Method

제1도는 종래 3×4 키매트릭스를 이용한 키검색 장치의 구성도.1 is a block diagram of a key retrieval apparatus using a conventional 3x4 key matrix.

제2도는 종래 키검색장치에서의 키검색펄스신호의 일 예를 나타내는 파형도.2 is a waveform diagram showing an example of a key search pulse signal in a conventional key search apparatus.

제3도는 종래 키검색장치에서의 또 다른 키검색펄스신호의 일 예를 나타내는 파형도.3 is a waveform diagram showing an example of another key search pulse signal in a conventional key search apparatus.

제4도는 본 발명이 적용되는 3×4 키매트릭스를 이용한 키검색 장치의 구성도.4 is a block diagram of a key retrieval apparatus using a 3x4 key matrix to which the present invention is applied.

제5도는 본 발명에 따른 키검색 장치에서 키검색펄스 신호의 일 예를 나타내는 파형도.5 is a waveform diagram showing an example of a key search pulse signal in the key search apparatus according to the present invention.

제6도는 본 발명에 따른 키검색방법을 나타내는 동작 흐름도.6 is an operation flowchart showing a key retrieval method according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 제어부 20 : 키매트릭스부10: control unit 20: key matrix unit

본 발명은 다수의 키가 설치된 키매트릭스부와 제어부(Microprocessor)를 포함하는 키검색 장치의 키검색방법에 관한 것으로, 특히, 키매트릭스부에 입력된 키를 검색함에 있어 상기 제어부로부터 출력되는 키검색펄스신호에 의한 방사 노이즈의 발생을 최소화하고자 하는 키검색방법에 관한 것이다.The present invention relates to a key retrieval method of a key retrieval apparatus including a key matrix unit and a microprocessor installed with a plurality of keys. In particular, a key retrieval output from the control unit is used for retrieving a key input to the key matrix unit. The present invention relates to a key retrieval method for minimizing the generation of radiation noise by pulse signals.

통상적인 3×4키매트릭스부를 이용한 키검색 장치의 구성도가 제1도에 나타나 있다.A schematic diagram of a key retrieval apparatus using a conventional 3x4 key matrix unit is shown in FIG.

제1도를 참조하면, 제어부(10)는 구비된 키검색출력단자(KOø, KO1, KO2)를 통하여 수회동안 반복해서 키매트릭스부(20)의 입력단자(K, J, H)로 키검색펄스신호를 발생하여 임의의 키가 입력되었는가를 검사한다. 그리고 상기 키매트릭스부(20)는 상기 임의의 키의 입력에 대응하는 키검색입력신호를 발생하여 출력단자(L, M, N, O)를 통해 대응되는 상기 제어부(10)의 키검색입력단자(KIø, KI1, KI2, KI3)로 입력한다. 따라서, 상기 제어부(10)는 상기한 키검색펄스신호의 발생과 그에 대응하여 키매트릭스부(20)로부터 출력되는 키검색입력신호에 따라 입력되는 키를 인지하게 되는 것이다.Referring to FIG. 1, the control unit 10 repeatedly searches for a number of times through the provided key retrieval output terminals KOø, KO1, and KO2 through the input terminals K, J, and H of the key matrix unit 20 repeatedly. A pulse signal is generated to check if an arbitrary key has been input. In addition, the key matrix unit 20 generates a key search input signal corresponding to the input of the arbitrary key to output the key search input terminal of the control unit 10 corresponding to the output terminals L, M, N, O. Enter as (KIø, KI1, KI2, KI3). Accordingly, the controller 10 recognizes the input key according to the generation of the key search pulse signal and the key search input signal output from the key matrix unit 20 corresponding thereto.

제2도는 상기 제1도에 도시된 종래 키검색 장치의 키검색방법에 의한 키검색펄스신호의 파형도를 나타내는 도면이다.2 is a view showing a waveform diagram of a key search pulse signal by the key search method of the conventional key search apparatus shown in FIG.

상기 제1도의 참조하에 제2도를 살펴보면, (2a)는 상기 키검색출력단자(KO¢)에서 발생되는 제1키검색펄스신호의 파형을 나타내고, (2b)는 상기 키검색출력단자(KO1)에서 발생되는 제2키검색펄스신호의 파형, (2c)는 상기 키검색출력단자(KO2)에서 발생되는 제3키검색펄스신호의 파형을 각각 나타낸다. 상기 제2도에 도시된 바와 같이 종래 키검색 방법에 있어서는 상기 키검색펄스신호들이 상기 키매트릭스부(20)를 통하여 임의의 키의 입력시점(A) 이전부터 계속 발생되며, 임의의 키의 입력이 해제된 시점(B)이후에도 계속 발생되고 있음을 알 수 있다. 이와 같이 키검색펄스신호가 계속적으로 발생함에 따라 펄스신호에 의한 방사 노이즈의 발생이 있게 되는데, 이러한 방사 노이즈는 키검색장치가 적용되는 인접회로에 악영향을 주게 된다. 따라서, 키검색펄스신호에 의한 방사 노이즈에 의한 오동작이 발생되는 경우도 있었다.Referring to FIG. 2, referring to FIG. 1, reference numeral 2a denotes a waveform of a first key search pulse signal generated at the key search output terminal KO ', and 2b denotes a key search output terminal KO1. The waveforms of the second key search pulse signal generated at C1, (2c) represent the waveforms of the third key search pulse signal generated at the key search output terminal KO2, respectively. As shown in FIG. 2, in the conventional key retrieval method, the key retrieval pulse signals are continuously generated before the input point A of any key through the key matrix unit 20, and any key input is performed. It can be seen that it continues to be generated even after this release point B. As the key search pulse signal is continuously generated as described above, radiation noise is generated by the pulse signal, and this radiation noise adversely affects the adjacent circuit to which the key search device is applied. Therefore, malfunctions may occur due to radiation noise caused by the key search pulse signal.

한편, 종래 상술한 방사 노이즈의 영향 문제를 개선하고자 제3도에 도시된 바와 같은 키검색펄스신호의 파형을 가지는 키검색방법이 제안되었는데, 이 또한 키검색펄스신호에 의한 방사 노이즈를 최소화하는데 있어 많은 한계를 가지게 되었다. 이의 내용을 상기 제3도를 참조하여 살펴보면, (3a)는 상기 키검색출력단자(KO¢)에서 발생되는 제1키검색펄스신호의 파형도를 나타내고, (3b)는 상기 키검색출력단자(KO1)에서 발생되는 제2키검색펄스신호의 파형도, (3c)는 상기 키검색출력단자(KO2)에서 발생되는 제3키검색펄스신호의 파형도를 나타낸다. 제3도에 도시된 파형이 나타나는 경우의 키검색방법을 설명하면, 먼저, 임의의 키가 입력시점(A) 이전에는 상기 키검색출력단자(KO¢, KO1, KO2)를 통해 키검색펄스신호들이 출력되지 않도록 한다. 이는 키 입력시점 이전에 발생되는 방사 노이즈를 제거하도록 하는 방법에 따른 방법이 된다. 그리고, 임의의 키 입력시점(A) 이후 키검색펄스신호들이 발생되도록 하고, 키 입력 해제시점(B)이후로는 상기 키 입력시점(A)이후 발생되는 키검색펄스신호들의 발생을 차단하도록 한다. 따라서, 상기 제3도에 도시된 키검색 방법은 상기 제2도에 도시된 키검색방법에 비해 키 입력시점 및 키입력 해제 시점 이후의 키검색펄스신호에 의해 발생되는 방사 노이즈를 줄일 수 있는 이점을 가지게 된다.On the other hand, in order to improve the problem of the influence of the radiation noise described above, a key retrieval method having a waveform of a key retrieval pulse signal as shown in FIG. 3 has been proposed. There are many limitations. Referring to FIG. 3, reference numeral 3a shows a waveform diagram of a first key search pulse signal generated at the key search output terminal KO ', and 3b shows a key search output terminal (3b). A waveform diagram of the second key search pulse signal generated at KO1), and (3c) shows a waveform diagram of the third key search pulse signal generated at the key search output terminal KO2. Referring to the key retrieval method when the waveform shown in FIG. 3 appears, first, a key retrieval pulse signal is transmitted through the key retrieval output terminals KO ', KO1 and KO2 before any key is input. Are not output. This is a method according to the method to remove the radiation noise generated before the key input point. Then, the key search pulse signals are generated after an arbitrary key input time point A, and after the key input release time B, the key search pulse signals generated after the key input time point A are blocked. . Accordingly, the key retrieval method shown in FIG. 3 can reduce radiation noise generated by the key retrieval pulse signal after the key input time and the key input release time, compared to the key search method shown in FIG. Will have

그러나, 상기한 보다 개선된 키검색방법 또한 상기 입력시점(A)과 상기 해제시점(B) 사이에서 계속적으로 발생되는 키검색펄스신호들에 의한 방사 노이즈의 영향은 줄일 수 없는 문제점을 가지게 된다. 즉, 제2도에 도시된 결과를 낳는 키검색방법에 비해 상기 제3도의 키검색 방법은 상대적으로 방사 노이즈의 발생을 줄일 수 있는 개선점을 가지고 있음에도, 방사 노이즈의 발생에 의한 인접회로의 영향은 그대로 남아있게 되는 문제점이 있었다.However, the improved key retrieval method described above also has a problem in that the influence of radiation noise caused by key retrieval pulse signals continuously generated between the input point A and the release point B cannot be reduced. That is, the key retrieval method of FIG. 3 has an improvement that can relatively reduce the generation of the radiation noise, compared to the key retrieval method of the result shown in FIG. There was a problem that remained.

따라서, 본 발명의 목적은 키검색 장치에 있어 키매트릭스부에 입력된 키를 검색하기 위해 제어부가 출력하는 키검색펄스신호에 의해 발생되는 방사 노이즈를 최소화하고자 하는 키검색방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a key retrieval method for minimizing radiation noise generated by a key retrieval pulse signal output by a control unit for retrieving a key input to a key matrix unit in a key retrieval apparatus.

이러한 목적은, 키검색펄스신호에 의한 방사 노이즈의 영향에 따라 발생될 수 있는 인접회로의 오동작을 최소화 하고자 하는 의도에 따른 것이다.This purpose is to minimize the malfunction of adjacent circuits that can be generated by the influence of radiation noise by the key search pulse signal.

상기한 목적을 달성하기 위해, 본 발명은 키버튼을 매트릭스 구조로 구비하는 키매트릭스부와 상기 키매트릭스로 키검색펄스신호틀 출력하여 그에 해당하여 입력되는 키검색입력신호를 통해 해당 키버튼의 인지를 수행하는 키검색 장치의 키검색방법에 있어서, 키검색초기상태로 진입한 후, 상기 키매트릭스부로 키검색펄스신호들을 소정 논리값 상태로 출력하고, 상기 출력에 따라 입력되는 키입력신호들의 논리값 상태를 저장하는 제1과정과, 상기 제1과정에서 저장된 논리값에 있어 어느 하나의 값이라도 다른 논리값을 가진 것으로 판단되면, 상기 키검색펄스신호들을 순차적으로 출력하고, 상기 출력에 따라 입력되는 키입력신호들의 논리값 상태를 저장하는 제2과정과, 상기 제2과정에서 저장된 논리값 상태와 상기 제1과정에서 저장된 논리값 상태가 동일한 상태로 판단되는 경우, 키 검색중 상태로 진입하여, 상기 제2과정에서 출력된 키검색펄스신호와 그에 해당하여 입력된 키입력신호들의 논리값 상태를 저장하는 제3과정과, 상기 제3과정에서 저장된 키검색펄스신호를 출력한 후 이 출력에 따라 입력되는 키검색입력신호의 논리값 상태를 저장하고, 이 저장된 논리값 상태와 상기 제3과정에서 저장된 키검색입력신호의 논리값 상태를 비교하는 제4과정과, 상기 제4과정의 비교과정에서 비교 결과가 동일한 것으로 판단되면, 상기 제4과정에서 저장된 키검색입력신호에 해당하는 키 검색 동작을 수행을 처리하는 제5과정으로 이루어지는 키검색방법을 특징으로 한다.In order to achieve the above object, the present invention is a key matrix unit having a key button in a matrix structure and a key search pulse signal output to the key matrix to recognize the corresponding key button through a key search input signal input corresponding thereto. In the key search method of the key search apparatus for performing a key search, after entering the key search initial state, and outputs the key search pulse signals to a predetermined logic value state to the key matrix unit, the logic of the key input signals input according to the output If it is determined that the first process of storing the value state and any one value in the logic value stored in the first process has a different logic value, the key search pulse signals are sequentially output and input according to the output. A second process of storing a logic value state of the key input signals, and a logic value state stored in the second process and a logic value stored in the first process A third step of entering a key searching state and storing a logic value state of the key search pulse signal output in the second process and the corresponding key input signals when the second state is determined to be the same; After outputting the key search pulse signal stored in step 3, and storing the logic value state of the key search input signal input according to the output, the stored logic value state and the logic value state of the key search input signal stored in the third process The fourth step of comparing the step and the fifth step of processing the key search operation corresponding to the key search input signal stored in the fourth step if it is determined that the comparison result is the same in the comparison process of the fourth step Characterized in a key retrieval method.

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

제4도는 본 발명이 적용되는 3×4 키매트릭스를 이용한 키검색 장치의 구성도이다.4 is a configuration diagram of a key retrieval apparatus using a 3x4 key matrix to which the present invention is applied.

상기 제4도를 참조하면, 제어부(10)는 키검색출력단자(KO¢, KO1, KO2)를 통하여 수회동안 반복해서 키매트릭스부(20)로 키검색펄스신호를 발생하여 임의의 키가 입력되었는가를 검사한다. 그리고 상기 키매트릭스부(20)는 상기 임의의 키의 입력에 대응하여 키검색입력신호를 발생하고, 구비된 풀다운 저항(R1, R2, R3, R4)을 통하여 상기 제어부(10)의 키검색입력단자(K1ø, K11, K12, K13)로 입력한다. 이의 동작을 실 예로서 설명하면, 상기 키검색출력단자(KO¢, KO1, KO2)를 통하여 키매트릭스부(20)로 하이(High)값을 가지는 키검색펄스신호의 출력이 있는 경우, 별도의 키입력이 없는 상태에서 상기 풀다운 저항(R1, R2, R3, R4)들에 의해 상기 제어부(10)의 키검색입력단자(K16, K11, K12, K13)로는 상기 풀다운 저항들에 의해 모두 로우(Low)값의 입력이 있게 된다 이 상태에서, 상기 제어부(10)는 상기 키검색입력단자(K10, K11, K12 ,K13)로 입력되는 각각의 값을 검색하며, 검색 결과에 있어 해당 키검색단자의 로우상태 입력이 하이상태로 변환되면 키매트릭스부(20)로 어떠한 키의 입력이 있는지를 판단할 수 있게 되는 것이다.Referring to FIG. 4, the controller 10 repeatedly generates a key search pulse signal to the key matrix unit 20 through the key search output terminals KO ¢, KO1, and KO2 several times to input an arbitrary key. Check if it is done. In addition, the key matrix unit 20 generates a key search input signal in response to the input of the arbitrary key, and the key search input of the controller 10 through the provided pull-down resistors R1, R2, R3, and R4. Input to terminals (K1ø, K11, K12, K13). When the operation thereof is described as an example, when there is an output of a key search pulse signal having a high value to the key matrix unit 20 through the key search output terminals KO ¢, KO1, KO2, In the absence of a key input, the pull down resistors R1, R2, R3, and R4 are all low by the pulldown resistors to the key search input terminals K16, K11, K12, and K13 of the controller 10. In this state, the controller 10 searches for respective values inputted to the key search input terminals K10, K11, K12, and K13, and the corresponding key search terminal in the search result. When the low state input is converted to the high state, the key matrix unit 20 may determine which key is input.

제5도는 본 발명에 따른 키검색방법에 의해 발생되는 키검색펄스신호들의 파형도로서, 하기 설명되는 제6도의 키검색방법에 따른 결과로서 나타나는 파형도의 일 예이다. 참고로, 이는 키매트릭스부(20)에 있어 '2' 번키 입력이 있을 경우의 일 예이다.FIG. 5 is a waveform diagram of key search pulse signals generated by the key search method according to the present invention, and is an example of a waveform diagram that appears as a result of the key search method of FIG. For reference, this is an example of a case where there is a '2' number key input in the key matrix unit 20.

제5도를 참조하면, (5a)는 상기 키검색출력단자(KO¢)에서 발생되는 제1키검색펄스신호의 파형도이며, (5b)는 상기 키검색출력단자(KO1)에서 발생되는 제2키검색펄스신호의 파형도, 그리고 (5c)는 상기 키검색출력단자(KO2)에서 발생되는 제3키검색펄스신호의 파형도를 나타낸다. 이러한 파형도가 나타나는 키검색펄스신호들의 발생은 첨부되는 제6도의 본 발명에 따른 키검색 방법의 동작 흐름도를 참조하여 설명한다.Referring to FIG. 5, reference numeral 5a is a waveform diagram of a first key search pulse signal generated at the key search output terminal KO ', and (5b) is a second waveform generated at the key search output terminal KO1. A waveform diagram of the two-key search pulse signal, and 5c, show a waveform diagram of the third key search pulse signal generated at the key search output terminal KO2. The generation of the key search pulse signals in which the waveform is shown will be described with reference to the operation flowchart of the key search method according to the present invention shown in FIG.

제6도는 본 발명에 따른 키검색방법을 나타내는 흐름도이다.6 is a flowchart illustrating a key retrieval method according to the present invention.

이하 제4도 내지 제6도를 참조하여 본 발명에 따른 키검색방법의 일실시예를 설명한다.Hereinafter, an embodiment of a key retrieval method according to the present invention will be described with reference to FIGS.

우선, 제6도에 있어, 100단계에서 제어부(10)는 키매트릭스부(20)에 임의의 키버튼 입력을 검색하기 위한 초기검색상태를 수행하고, 110단계에서 제어부(10)는 현 키 검색상태가 초기검색상태인지를 판단하여, 초기 검색상태인 것으로 판단되면 120단계를 수행한다. 상기 120단계에서 상기 제어부(10)는 키검색출력단자(KO¢, KO1, KO2)를 통하여 제1키검색펄스신호와 제2키검색펄스신호와 제3키검색펄스신호를 모두 하이값 상태로 하여 상기 키매트릭스부(20)의 입력단자(K, J, H)로 출력한다. 그리고, 130단계에서 상기 제어부(10)는 상기 키매트릭스부(20)의 입력단자(K, J, H)로 입력된 상기 제1, 제2, 제3키검색펄스신호에 각각 대응하여 키매트릭스의 출력단자(L, M, N, O)로 출력되는 제0키검색입력신호와 제1키검색입력신호, 제2키검색입력신호, 제3키검색입력신호를 키검색입력신호단자(K1ø, K11, K12, K13)를 통해 읽어 들인다. 이 읽어들인 결과는 상기 제어부(10) 내부에 구비된 휘발성 메모리로 저장된다. 만일, 키매트릭스부(20)에 있어 어떠한 키 입력도 발생하지 않는 경우에는 키검색출력단자들을 모두 하이 상태로 하였으므로 키검색입력단자들이 풀다운 저항에 의해 모두 로우 상태를 유지하게 되어 저장되지만, 임의 키 입력이 있는 상태의 경우 상기 130단계에서는 입력된 키에 해당하여 발생되는 키검색입력신호가 저장될 것이다. 일 예로, 사용자가 '2'번키를 입력한거라면, 'H L L L'값이 입력되어 저장될 것이다. 140단계에서는 상기 130단계에서 저장된 값이 모두 로우인지를 판단한다. 만일 모두 로우 값으로 판단되면, 이는 어떠한 키 입력도 발생하지 않은 것임으로 상기 110단계의 동작을 되풀이 수행한다. 그러나, 상기 140단계에서 모두 로우 값이 아닌 것으로 판단되면, 이는 임의의 키 입력이 있는 경우이므로, 이러한 경우에는 키 입력 상태를 검색하기 위해 키검색펄스신호의 출력 동작을 수행하게 된다. 즉, 키 입력 발생 시점에는 키검색펄스의 출력이 이루어지지 않고 140단계에서 키 입력이 발생한 것으로 판단됨으로, 키 입력 발생 시점 이후에 키 검색펄스신호의 출력이 이루어지는 것이다. 키검색펄스신호를 출력함에 있어, 150단계에서는 먼저 제1키검색펄스신호 만을 논리 하이(HIGH)상태로 하여 상기 키매트릭스부(20)의 입력단자(K)로 출력한다. 이때 또 다른 키검색펄스신호들은 모두 논리 로우 상태로 하여 출력되게 된다. 상기 제1키검색펄스신호의 출력에 따라 상기 키매트릭스부(20)의 출력단자(L, M, N, O)를 통해 해당되는 키검색입력신호가 출력되어 상기 제어부(10)의 키검색입력신호단자(K1ø, K11, K12, K13)로 입력되며, 입력된 값은 160단계에서 내부의 휘발성메모리에 저장된다. 상기 160단계의 저장동작을 수행한 후, 170단계에서는 제2키검색펄스신호만을 논리 하이(High)상태로 하여 상기 키매트릭스부(20)의 입력단자(J)로 출력하고, 180단계에서 상기 출력된 제2키검색펄스신호에 따른 키매트릭스(20)의 출력단자(L, M, N, O)의 출력인 키검색입력신호를 입력받아 이를 제2키검색입력신호로서 상기 휘발성 메모리에 저장한다. 190단계에서는 제3키검색펄스신호만을 논리 하이 상태로 하여 상기 키매트릭스의 입력단자(H)로 출력하고, 200단계에서는 상기 출력에 따라 키매트릭스(20)의 출력단자(L, M, N, O)를 통해 출력되는 제3키검색입력신호를 입력받아 이를 저장한다. 이처럼 키검색펄스신호를 차례대로 출력하여 그에 따른 키검색입력신호를 저장하는 것은, 키가 제2도에 도시된 바와 같이 매트릭스(Matrix) 형태로 서로 연결되어 있기 때문이다.First, in FIG. 6, in step 100, the controller 10 performs an initial search state for searching for an arbitrary key button input to the key matrix unit 20, and in step 110, the controller 10 searches for the current key. It is determined whether the state is the initial search state, and if it is determined that the initial search state, step 120 is performed. In step 120, the controller 10 sets both the first key search pulse signal, the second key search pulse signal, and the third key search pulse signal to a high value state through the key search output terminals KO ¢, KO1, and KO2. The output is output to the input terminals K, J, and H of the key matrix unit 20. In operation 130, the controller 10 corresponds to the key matrix corresponding to the first, second, and third key search pulse signals input to the input terminals K, J, and H of the key matrix unit 20, respectively. The key search input signal (K1ø) includes the zero key search input signal, the first key search input signal, the second key search input signal, and the third key search input signal outputted to the output terminals L, M, N, and O of FIG. , K11, K12, K13). The read result is stored in the volatile memory provided in the controller 10. If no key input occurs in the key matrix unit 20, since all the key search output terminals are set to high state, all the key search input terminals are kept low by the pull-down resistor, but the key is stored. In the case where there is an input, in step 130, the key search input signal generated corresponding to the input key will be stored. For example, if the user inputs the '2' key, the 'H L L L' value will be input and stored. In step 140, it is determined whether all the values stored in step 130 are low. If all are determined to be low values, since no key input has occurred, the operation of step 110 is repeated. However, if it is determined in step 140 that all are not low values, since there is a random key input, in this case, the output operation of the key search pulse signal is performed to search for the key input state. That is, the key search pulse is not output at the time of the key input generation, and it is determined that the key input has occurred in step 140, so that the key search pulse signal is output after the key input generation time. In outputting the key search pulse signal, in step 150, only the first key search pulse signal is output to the input terminal K of the key matrix unit 20 in a logical high state. At this time, all other key search pulse signals are output in a logic low state. According to the output of the first key search pulse signal, a corresponding key search input signal is output through the output terminals L, M, N, and O of the key matrix unit 20, and the key search input of the controller 10 is performed. The signal is input to the signal terminals K1ø, K11, K12, and K13, and the input value is stored in the internal volatile memory in step 160. After performing the storing operation in step 160, in step 170, only the second key search pulse signal is output to the input terminal J of the key matrix unit 20 in a logic high state. Receives a key search input signal which is an output of the output terminals L, M, N, O of the key matrix 20 according to the output second key search pulse signal and stores it in the volatile memory as a second key search input signal. do. In step 190, only the third key search pulse signal is output to the input terminal H of the key matrix in a logic high state, and in step 200, the output terminals L, M, N, and N of the key matrix 20 according to the output. The third key search input signal outputted through O) is received and stored. The key search pulse signal is output in this order and the key search input signal is stored accordingly because the keys are connected to each other in a matrix form as shown in FIG.

상기 200단계를 수행하고, 210단계에서 상기 제어부(10)는 상기 검출된 키검색입력신호들이 모두 정상 상태에 있는지를 판단한다. 이의 판단은 상기 130단계에서 저장된 값들과 상기 150단계에서 200단계의 키검색펄스신호 출력 동작을 통해 입력된 값들이 동일한지 여부를 통해 이루어지는 것이다. 앞서 일 예로서 설명한 바와 같이 만일 '2'번 키 입력이 있는 경우 130단계에서 'H L L L'이 입력되어 저장되는데, 이 값과 상기 150단계에서 200단계의 키검색펄스신호 발생에 따라 입력된 값이 동일한지 여부를 통해 키검색입력신호들이 정상 상태에 있는지를 판단하는 것이다. 상기 200단계에서 정상상태에 있음이 판단되면, 220단계에서 상기 제어부(10)는 다음 키검색상태로 세팅하도록 한다. 상기 세팅 동작은 저장된 키검색입력신호들이 모두 정상인 것으로 판단되는 경우에 있어서 수행되는 동작으로, 키버튼 검색 초기상태를 키버튼 검색상태로 변경함에 따른 동작이 된다. 그리고, 230단계에서 상기 제어부(10)는 현재 입력되는 키버튼에 해당하여 발생되는 키검색펄스신호와 그에 따른 키검색입력신호를 저장한다. '2'번키 입력의 경우에는 키검색펄스신호는 'L H L'이며 키검색입력신호 'H L L L'로서 저장될 것이다. 상기 230단계의 저장동작을 수행한 후, 240단계에서는 다음 키검색상태인지를 판단한다. 여기서 다음 키 검색상태라 함은 현재의 상태가 키버튼 검색중의 상태인지를 판단하는 동작을 칭하는 것이다. 따라서, 상기 240단계에서 다음 키 검색 상태인 것으로 판단되면, 250단계에서 제어부(10)는 상기 230단계에서 저장된 키검색펄스신호를 상기 키매트릭스부(20)의 입력단자(K, J, H)로 출력한다. '2' 번키의 경우에는 'L H L'을 출력하게 되는 것이다. 다음으로, 260단계에서 제어부(10)는 다음 키검색입력신호를 읽은 후 270단계로 진행한다.In step 200, the controller 10 determines whether all of the detected key search input signals are in a normal state. The determination is made based on whether or not the values stored in step 130 and the values input through the key search pulse signal output operation of step 150 and 200 are the same. As described above as an example, if there is a key input of '2', 'HLL L' is input and stored in step 130, and this value and the value input according to the key search pulse signal generation in step 150 of step 150. It is determined whether or not the key search input signals are in a normal state through the same. If it is determined in step 200 that the normal state, in step 220 the control unit 10 is set to the next key search state. The setting operation is performed when all of the stored key search input signals are determined to be normal. The setting operation is performed by changing the initial state of the key button search to the key button search state. In operation 230, the controller 10 stores a key search pulse signal generated corresponding to a key button currently input and a key search input signal according thereto. In case of '2' key input, the key search pulse signal is 'L H L' and it will be stored as the key search input signal 'H L L L'. After the storage operation of step 230 is performed, in step 240 it is determined whether the next key search state. Here, the next key search state refers to an operation of determining whether a current state is a key button search state. Therefore, when it is determined in step 240 that the next key search state, in step 250 the control unit 10 receives the key search pulse signal stored in step 230 of the input terminal (K, J, H) of the key matrix unit 20 Will output In case of '2' key, 'L H L' is printed. Next, in step 260, the controller 10 reads the next key search input signal and proceeds to step 270.

즉, 상기 160단계에서는 상기 'L H L'에 해당하여 발생되는 'H L L L'을 읽게 된다. 상기 270단계에서 제어부(10)는 상기 검출 키검색입력신호와 상기 다음 키검색입력신호가 일치하면, 즉, 260단계에서 읽은 값이 상기 230단계에서 저장된 값과 일치하면, 상기 키검색펄스들의 발생을 종료하고 상기 검출 키검색입력신호와 상기 다음 키검색입력신호가 일치하지 않으면 상기 110단계를 되풀이 수행한다.That is, in step 160, 'H L L L' generated corresponding to the 'L H L' is read. In step 270, the controller 10 generates the key search pulses when the detected key search input signal matches the next key search input signal, that is, when the value read in step 260 matches the value stored in step 230. When the detection key search input signal and the next key search input signal do not match, step 110 is repeated.

하기 표 1 및 표 2는 본 발명의 실시를 보다 명확히 알 수 있도록 하는 표로서, 이는 키매트릭스부(20)의 '2'번키 입력이 있을 경우에 있어서 이루어지는 상기 제6도의 동작 흐름도 각 단계에 대응하는 입력단자(K, J, H)와 출력단자(L, M, N, O)들의 각 펄스 상태를 나타낸다.Tables 1 and 2 below are tables for clarifying the implementation of the present invention, which correspond to the operation flowcharts of FIG. 6 in the case where there is a keystroke of '2' of the key matrix unit 20. Each pulse state of the input terminals K, J, and H and the output terminals L, M, N, and O is shown.

상술한 바와 같이 본 발명은 키매트릭스부에 입력된 키를 검색하기 위해 제어부가 연속적으로 출력하는 키검색펄스신호에 의해 발생되는 방사 노이즈를 최소화함으로써 키매트릭스의 주변회로에 영향을 최소화할 수 있는 이점이 있다.As described above, the present invention has the advantage of minimizing the influence on the peripheral circuit of the key matrix by minimizing the radiation noise generated by the key search pulse signal continuously output by the control unit to search for the key input to the key matrix unit. There is this.

Claims (1)

키버튼을 매트릭스 구조로 구비하는 키매트릭스부와 상기 키매트릭스로 키검색펄스신호를 출력하여 그에 해당하여 입력되는 키검색입력신호를 통해 해당 키버튼의 인지를 수행하는 키검색 장치의 키검색방법에 있어서, 키검색초기상태로 진입한 후, 상기 키매트릭스부로 키검색펄스신호들을 소정 논리값 상태로 출력하고, 상기 출력에 따라 입력되는 키입력신호들의 논리값 상태를 저장하는 제1과정과, 상기 제1과정에서 저장된 논리값에 있어 어느 하나의 값이라도 다른 논리값을 가진 것으로 판단되면, 상기 키검색펄스신호들을 순차적으로 출력하고, 상기 출력에 따라 입력되는 키입력신호들의 논리값 상태를 저장하는 제2과정과, 상기 제2과정에서 저장된 논리값 상태와 상기 제1과정에서 저장된 논리값 상태가 동일한 상태로 판단되는 경우, 키 검색중 상태로 진입하여, 상기 제2과정에서 출력된 키검색펄스신호와 그에 해당하여 입력된 키 입력신호들의 논리값 상태를 저장하는 제3과정과, 상기 제3과정에서 저장된 키검색펄스신호를 출력한 후 이 출력에 따라 입력되는 키검색입력신호의 논리값 상태를 저장하고, 이 저장된 논리값 상태와 상기 제3과정에서 저장된 키검색입력신호의 논리값 상태를 비교하는 제4과정과, 상기 제4과정의 비교과정에서 비교 결과가 동일한 것으로 판단되면, 상기 제4과정에서 저장된 키검색입력신호에 해당하는 키 검색 동작 수행을 처리하는 제5과정으로 이루어짐을 특징으로 하는 방사 노이즈 감소를 위한 키검색방법.In a key search method of a key search apparatus for outputting a key search pulse signal with a key matrix unit having a key button in a matrix structure and the key search pulse signal through the key search input signal input thereto. And a first step of outputting key search pulse signals to a predetermined logic value state to the key matrix unit after entering a key search initial state, and storing logical value states of key input signals inputted according to the output; If it is determined that any one of the values stored in the first process has a different logic value, the key search pulse signals are sequentially output, and the logical value states of the key input signals inputted according to the output are stored. If it is determined that the second state and the logic value state stored in the second process and the logic value state stored in the first process are equal, Entering a color state and storing a key search pulse signal output in the second process and a logic value state of the key input signals input corresponding thereto; and outputting a key search pulse signal stored in the third process. And a fourth step of storing the logic value state of the key search input signal input according to the output, and comparing the stored logic value state with the logic value state of the key search input signal stored in the third step; If it is determined that the comparison result is the same in the comparison process of step 4, the key search for reducing the radiation noise is performed as a fifth process of processing a key search operation corresponding to the key search input signal stored in the fourth process. Way.
KR1019950030749A 1995-09-19 1995-09-19 Key detection method of radiation noise reduction KR0177089B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950030749A KR0177089B1 (en) 1995-09-19 1995-09-19 Key detection method of radiation noise reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950030749A KR0177089B1 (en) 1995-09-19 1995-09-19 Key detection method of radiation noise reduction

Publications (2)

Publication Number Publication Date
KR970016899A KR970016899A (en) 1997-04-28
KR0177089B1 true KR0177089B1 (en) 1999-05-15

Family

ID=19427257

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950030749A KR0177089B1 (en) 1995-09-19 1995-09-19 Key detection method of radiation noise reduction

Country Status (1)

Country Link
KR (1) KR0177089B1 (en)

Also Published As

Publication number Publication date
KR970016899A (en) 1997-04-28

Similar Documents

Publication Publication Date Title
KR920005171A (en) Semiconductor memory with successively clocked call codes for entering test mode
US4860236A (en) Cellular automaton for generating random data
JP3036467B2 (en) Longest match detector
KR19980028357A (en) Semiconductor device with noise reduction refresh device
US5638017A (en) Pulse width modulation circuit
JPS6232511B2 (en)
KR0177089B1 (en) Key detection method of radiation noise reduction
US3978474A (en) Keyboard with n-key lockout and two-key rollover protection
JPS5915155Y2 (en) decoder circuit
US5568529A (en) Signal disconnection monitor apparatus and signal period detection apparatus therefor
JPS5818650B2 (en) keyboard input device
JP2707778B2 (en) Noise removal circuit
JPS60499A (en) Threshold setting system for voice recogntion equipment
KR0169776B1 (en) Method for preventing wrong operation of remote controller
JPH06207971A (en) Test signal generation circuit containing semiconductor device
KR100506280B1 (en) Key-in Recognition Circuit and Method in Telephone
JPH0534409A (en) Test mode control signal generating circuit
JPS6222433B2 (en)
US4041248A (en) Tone detection synchronizer
JPH0426129B2 (en)
KR940007251B1 (en) Clock duty detector
JPH0787441B2 (en) Signaling detector
JP2999897B2 (en) Key input circuit
JPH0555882A (en) Trigger signal judging circuit
US7236585B2 (en) Apparatus and method for noise immunity during signal detection

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: 20071011

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee