KR100687225B1 - Apparatus and method for improving of key recognition accuracy in multi key demanded terminal - Google Patents
Apparatus and method for improving of key recognition accuracy in multi key demanded terminal Download PDFInfo
- Publication number
- KR100687225B1 KR100687225B1 KR1020040101709A KR20040101709A KR100687225B1 KR 100687225 B1 KR100687225 B1 KR 100687225B1 KR 1020040101709 A KR1020040101709 A KR 1020040101709A KR 20040101709 A KR20040101709 A KR 20040101709A KR 100687225 B1 KR100687225 B1 KR 100687225B1
- Authority
- KR
- South Korea
- Prior art keywords
- key
- keypad
- value
- adc
- interrupt
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/0202—Constructional details or processes of manufacture of the input device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/34—Microprocessors
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
본 발명은 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치 및 그 방법을 제공하기 위한 것으로, ADC 포트와 인터럽트 포트를 구비하고 ADC 값을 체크하여 키 맵핑을 수행하는 MCU와; 상기 MCU에 키패드 인에이블 로직을 제공하는 키패드 인에이블 로직 제공부와; 복수개의 키를 구비한 키패드와; 상기 키패드에서 키 값이 입력되면 키입력 전압레벨을 생성하고 상기 ADC 포트와 인터럽트 포트를 통해 상기 MCU로 전달하여 키 값이 정확하게 인식되도록 하는 키입력 전압레벨 생성부를 포함하여 구성함으로써, IM 폰 등과 같이 문자 및 숫자 입력을 위해 다수의 키가 요구되는 휴대형 단말기에서 키 인식을 위해 사용되는 포트 및 관련 자원을 최소화하며 키 인식의 정확성을 향상시켜 안정도를 높일 수 있게 되는 것이다.The present invention provides an apparatus and method for improving key recognition accuracy in a terminal requiring a plurality of keys, comprising: an MCU having an ADC port and an interrupt port and checking the ADC value to perform key mapping; A keypad enable logic providing unit to provide keypad enable logic to the MCU; A keypad having a plurality of keys; When a key value is input from the keypad, a key input voltage level is generated and a key input voltage level generating unit is configured to transmit the key value to the MCU through the ADC port and the interrupt port so that the key value is correctly recognized. In portable terminals requiring multiple keys for input of letters and numbers, the port and related resources used for key recognition can be minimized and stability can be improved by improving the accuracy of key recognition.
Description
도 1은 종래 다수의 키가 요구되는 단말기에서의 키 매트릭스를 사용한 키입력 장치의 블록구성도이고,1 is a block diagram of a key input device using a key matrix in a terminal which requires a plurality of keys.
도 2는 본 발명에 의한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치의 블록구성도이며,2 is a block diagram of an apparatus for improving key recognition accuracy in a terminal requiring a plurality of keys according to the present invention;
도 3은 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 방법을 보인 흐름도이다.3 is a flowchart illustrating a method of improving key recognition accuracy in a terminal requiring multiple keys.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
1 : MCU 2 : 포트1: MCU 2: port
3 : 키패드 10 : MCU3: keypad 10: MCU
11 : ADC 포트 12 : 인터럽트 포트11: ADC Port 12: Interrupt Port
20 : 키패드 인에이블 로직 제공부 30 : 키패드20: keypad enable logic providing unit 30: keypad
40 : 키입력 전압레벨 생성부 41 ~ 44 : 키패드값 출력부40: key input voltage
45 : ADC용 기준전압 출력부 46 : 인터럽트용 기준전압 출력부45: reference voltage output unit for the ADC 46: reference voltage output unit for the interrupt
본 발명은 다수의 키가 요구되는 단말기에 관한 것으로, 특히 IM(Instant Messaging) 폰 등과 같이 문자 및 숫자 입력을 위해 다수의 키가 요구되는 휴대형 단말기에서 키 인식을 위해 사용되는 포트 및 관련 자원(resource)을 최소화하며 키 인식의 정확성을 향상시켜 안정도를 높이기에 적당하도록 한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE
일반적으로 휴대형 단말기는 한 손으로 들고 다닐 수 있으며, 이동 중에 손에 들고 입력 조작을 할 수 있도록 만들어진 소형의 단말 장치를 말한다.In general, a portable terminal refers to a small terminal device which can be carried by one hand and is made to be input and operated by a hand while moving.
이러한 휴대형 단말기는 문자, 숫자 또는 특수기호 등의 입력을 위해 다수의 키를 사용하고 있다.Such portable terminals use a plurality of keys for input of letters, numbers or special symbols.
이를 위해 종래에는 적용되는 키의 개수에 따라 로우(Row) 및 컬럼(Column)을 행렬(matrix)로 구성하고, MCU(Main Control Unit, 주제어 장치)가 키 채터링(key chattering) 등을 통해 키 입력을 인식하는 구조를 사용하거나, 별도의 컨버터용 디바이스를 외부에 적용하는 구조를 사용하고 있다.To this end, conventionally, rows and columns are configured in a matrix according to the number of keys applied, and a MCU (Main Control Unit) is used for key chattering. It uses a structure that recognizes an input, or a structure that applies a separate converter device to the outside.
도 1은 종래 다수의 키가 요구되는 단말기에서의 키 매트릭스를 사용한 키입력 장치의 블록구성도이다.1 is a block diagram of a key input device using a key matrix in a terminal which requires a plurality of keys.
이에 도시된 바와 같이, 참조번호 1은 장치에 대한 주제어 기능을 수행하는 MCU이고, 2는 상기 MCU 내에 위치하여 키패드로부터의 신호입력을 받는 포트이며, 3은 복수개의 키를 매트릭스 방식으로 구성하여 상기 포트(2)를 통해 상기 MCU(1) 로 키 값을 전달하는 키패드이다.As shown therein,
이와 같이 구성된 종래 장치의 동작을 좀더 상세히 설명하면 다음과 같다.Referring to the operation of the conventional device configured as described in more detail as follows.
먼저 키패드(3)에서 복수개의 키(Key_11 ~ Key_11) 중에서 어느 하나가 사용자에 의해 눌려지면, 해당 키의 신호는 MCU(1)의 포트(2)로 전달된다. 그러면 포트(2)를 통해 전달받은 키 값을 MCU(1)에서 해석하여 해당하는 키 값을 인식하게 된다.First, when any one of the plurality of keys Key_11 to Key_11 is pressed by the user in the
예를 들어 Key_11이 눌려질 경우 포트(2)의 Column1과 Row1 간의 신호가 연결된다. 그러면 MCU(1)는 Column1과 Row1의 신호가 연결되었음을 인식하여 키패드(3)의 Key_11 키가 눌러졌음을 인식하게 된다.For example, when Key_11 is pressed, a signal between Column1 and Row1 of
한편 컨버터용 디바이스를 외부에 적용하는 경우에는 컨버터용 외부 IC(Integrated Circuit, 집적 회로)를 사용하여 키 값을 입력받게 된다.On the other hand, when the converter device is applied to the outside, the key value is input using the converter's external integrated circuit (IC).
그러나 이러한 종래의 기술은 다음과 같은 문제점이 있었다.However, this conventional technology has the following problems.
즉, 키 매트릭스를 사용한 경우에는 단말기에 적용되어야 하는 키의 개수가 증가하는 만큼 MCU(1)의 포트를 비례적으로 할당해야 하며, 포트 수의 한계에 도달하게 되면 더 이상의 키 적용이 불가능한 문제점이 있었다.That is, in the case of using the key matrix, the port of the
또한 컨버터용 디바이스를 외부에 적용하는 경우, 이에 따른 별도의 재료비가 상승하게 되고, 제어 로직을 안정화시키기 위한 작업이 불가피하게 요구되는 단점이 있었다.In addition, when the device for the converter is applied to the outside, a separate material cost increases accordingly, there is a disadvantage that the operation to stabilize the control logic is inevitably required.
이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것 으로, 본 발명의 목적은 IM 폰 등과 같이 문자 및 숫자 입력을 위해 다수의 키가 요구되는 휴대형 단말기에서 키 인식을 위해 사용되는 포트 및 관련 자원을 최소화하며 키 인식의 정확성을 향상시켜 안정도를 높일 수 있는 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치 및 그 방법을 제공하는 데 있다.Accordingly, the present invention has been proposed to solve the conventional problems as described above, an object of the present invention is to be used for key recognition in a portable terminal that requires a plurality of keys for inputting letters and numbers, such as IM phones The present invention provides a device and method for improving key recognition accuracy in a terminal requiring a plurality of keys that can increase stability by minimizing port and related resources and improving accuracy of key recognition.
상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치는,In order to achieve the above object, an apparatus for improving key recognition accuracy in a terminal requiring a plurality of keys according to an embodiment of the present invention,
ADC 포트와 인터럽트 포트를 구비하고 ADC 값을 체크하여 키 맵핑을 수행하는 MCU와; 상기 MCU에 키패드 인에이블 로직을 제공하는 키패드 인에이블 로직 제공부와; 복수개의 키를 구비한 키패드와; 상기 키패드에서 키 값이 입력되면 키입력 전압레벨을 생성하고 상기 ADC 포트와 인터럽트 포트를 통해 상기 MCU로 전달하여 키 값이 정확하게 인식되도록 하는 키입력 전압레벨 생성부를 포함하여 이루어짐을 그 기술적 구성상의 특징으로 한다.An MCU having an ADC port and an interrupt port and performing key mapping by checking an ADC value; A keypad enable logic providing unit to provide keypad enable logic to the MCU; A keypad having a plurality of keys; When a key value is input from the keypad, a key input voltage level is generated and the key input voltage level generator is configured to transmit the key value to the MCU through the ADC port and the interrupt port. It is done.
상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 방법은,In order to achieve the above object, a method of improving key recognition accuracy in a terminal requiring a plurality of keys according to an embodiment of the present invention is provided.
키패드가 인에이블되면 키패드를 사용하기 위한 모드로 전환하여 ADC를 수행하는 제 1 단계와; 상기 제 1 단계 후 일정 시간이 경과하여도 키 입력이 없으면 키 입력 대기 상태를 유지하는 제 2 단계와; 상기 제 2 단계 후 키 입력이 있으면 ADC 값을 체크하고 키 맵핑을 수행하며 인터럽트 값이 변화한 후 상기 제 2 단계로 리턴하여 키 입력 판독 오류를 방지하는 제 3 단계를 포함하여 수행함을 그 기술적 구성상의 특징으로 한다.A first step of performing an ADC by switching to a mode for using the keypad when the keypad is enabled; A second step of maintaining a key input standby state if there is no key input even after a predetermined time elapses after the first step; And a third step of checking the ADC value, performing key mapping, and returning to the second step after the second step to prevent the key input read error if there is a key input after the second step. Features of the jacket.
이하, 상기와 같은 본 발명, 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치 및 그 방법의 기술적 사상에 따른 일실시예를 도면을 참조하여 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention, an apparatus for improving key recognition accuracy in a terminal requiring a plurality of keys, and a technical concept of the method will be described with reference to the accompanying drawings.
도 2는 본 발명에 의한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치의 블록구성도이다.2 is a block diagram of an apparatus for improving key recognition accuracy in a terminal requiring a plurality of keys according to the present invention.
이에 도시된 바와 같이, ADC 포트(11)와 인터럽트 포트(12)를 구비하고 ADC(Analog-to-Digital Conversion, 아날로그-디지털 변환) 값을 체크하여 키 맵핑(Key Mapping)을 수행하는 MCU(10)와; 상기 MCU(10)에 키패드 인에이블 로직을 제공하는 키패드 인에이블 로직 제공부(20)와; 복수개의 키를 구비한 키패드(30)와; 상기 키패드(30)에서 키 값이 입력되면 키입력 전압레벨을 생성하고 상기 ADC 포트(11)와 인터럽트 포트(12)를 통해 상기 MCU(10)로 전달하여 키 값이 정확하게 인식되도록 하는 키입력 전압레벨 생성부(40)를 포함하여 구성된다.As shown in the figure, the
상기에서 키입력 전압레벨 생성부(40)는, 상기 키패드(30)의 키가 눌려지면 키패드값을 상기 MCU(10) 내의 ADC 포트(11)로 출력하는 키패드값 출력부(41 ~ 44)와; 상기 키패드값 출력부(41 ~ 44)와 상기 MCU(10) 내의 ADC 포트(11) 사이에 연결되어 ADC용 기준전압을 출력하는 ADC용 기준전압 출력부(45)와; 상기 키패드(30)와 상기 키패드값 출력부(41 ~ 44) 사이에 연결되고, 상기 MCU(10) 내의 인터럽트 포트(12)에 연결되어 인터럽트용 기준전압을 출력하는 인터럽트용 기준전압 출력부(46)를 포함하여 구성된다.The key input
상기에서 키패드 인에이블 로직 제공부(20)는, 키패드가 인에이블되면 키패드를 사용하기 위한 모드로 전환하여 ADC를 수행하도록 하고, 일정 시간이 경과하여도 키 입력이 없으면 키 입력 대기 상태를 유지하며, 키 입력이 있으면 ADC 값을 체크하고 키 맵핑을 수행하며 인터럽트 값이 변화한 후 키 입력 대기 상태를 유지하여 키 입력 판독 오류가 방지되도록 하는 키패드 인에이블 로직을 상기 MCU(10)로 제공한다.The keypad enable
상기에서 미설명부호 Key_1 내지 Key_n은 키패드 내의 복수개의 키를 의미하고, V_KEY는 전압이며, R_ref는 기준저항이며, R1 내지 Rn은 각 키에 할당된 저항이고, ADC point는 키패드값 출력부(41 ~ 44)와 ADC용 기준전압 출력부(45)와 ADC 포트(11) 사이의 지점이다.In the above description, Key_1 to Key_n denote a plurality of keys in the keypad, V_KEY is voltage, R_ref is reference resistance, R1 to Rn are resistors assigned to each key, and ADC point is keypad
도 3은 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 방법을 보인 흐름도이다.3 is a flowchart illustrating a method of improving key recognition accuracy in a terminal requiring multiple keys.
이에 도시된 바와 같이, 키패드가 인에이블되면 키패드를 사용하기 위한 모드로 전환하여 ADC를 수행하는 제 1 단계(ST11 ~ ST13)와; 상기 제 1 단계 후 일정 시간이 경과하여도 키 입력이 없으면 키 입력 대기 상태를 유지하는 제 2 단계(ST14)(ST15)와; 상기 제 2 단계 후 키 입력이 있으면 ADC 값을 체크하고 키 맵핑을 수행하며 인터럽트 값이 변화한 후 상기 제 2 단계로 리턴하여 키 입력 판독 오류를 방지하는 제 3 단계(ST16 ~ ST19)를 포함하여 수행한다.As shown therein, a first step (ST11 to ST13) of performing the ADC by switching to a mode for using the keypad when the keypad is enabled; A second step (ST14) (ST15) of maintaining a key input standby state if there is no key input even after a predetermined time elapses after the first step; If there is a key input after the second step, the third step (ST16 to ST19) includes checking the ADC value, performing key mapping, changing the interrupt value, and returning to the second step to prevent a key input read error. Perform.
상기에서 제 3 단계(ST16 ~ ST19)는, 상기 제 2 단계 후 인터럽트 값이 로우인지 판별하는 단계(ST16)와; 상기 인터럽트 값이 로우가 아니면 키 입력이 없다고 판단하고 상기 제 2 단계를 수행하고, 상기 인터럽트 값이 로우이면 키 입력이 있다고 판단하여 ADC를 수행하는 단계(ST17)와; 상기 ADC 수행 후 ADC 값을 체크하고 키 맵핑을 수행하는 단계(ST18)와; 상기 ADC 값 체크와 키 맵핑 수행 후 인터럽트 값이 하이인지 판별하는 단계(ST19)와; 상기 인터럽트 값이 하이가 아니면 키패드(30)에서 하나의 키가 눌려진 상태로 있다고 판단하여 대기상태를 유지하고, 상기 인터럽트 값이 하이가 되면 새로운 키 값이 입력될 수 있도록 상기 제 2 단계로 리턴하는 단계를 더욱 포함하여 수행한다.The third step ST16 to ST19 may include determining whether an interrupt value is low after the second step (ST16); Determining that there is no key input if the interrupt value is not low, and performing the second step; and performing an ADC by determining that there is a key input if the interrupt value is low (ST17); Checking the ADC value and performing key mapping after performing the ADC (ST18); Determining whether an interrupt value is high after performing the ADC value check and key mapping (ST19); If the interrupt value is not high, the
이와 같이 구성된 본 발명에 의한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치 및 그 방법의 동작을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.An apparatus and method for improving key recognition accuracy in a terminal requiring a plurality of keys according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.
먼저 본 발명은 IM 폰 등과 같이 문자 및 숫자 입력을 위해 다수의 키가 요구되는 휴대형 단말기에서 키 인식을 위해 사용되는 포트 및 관련 자원을 최소화하며 키 값을 정확하게 인식하고자 한 것이다.First, the present invention aims to accurately recognize a key value while minimizing a port and related resources used for key recognition in a portable terminal requiring a plurality of keys for inputting letters and numbers, such as an IM phone.
그래서 이를 위해 도 2에서와 같이 MCU(10), 키패드 인에이블 로직 제공부(20), 키패드(30), 키입력 전압레벨 생성부(40)를 포함하여 구성한다.Thus, as shown in FIG. 2, the
MCU(10)는 키입력 전압레벨 생성부(40) 내의 키패드값 출력부(41 ~ 44)와 ADC용 기준전압 출력부(45)에서의 출력을 입력받는 ADC 포트(11)와 인터럽트용 기준전압 출력부(46)에서의 출력을 입력받는 인터럽트 포트(12)를 구비하고 있다. 또한 ADC 값을 체크하여 키 맵핑을 수행한다. 또한 키패드 인에이블 로직 제공부(20)로부터 키패드 인에이블 로직을 제공받아 수행하여 키 값을 정확하게 인식한다.The
키패드 인에이블 로직 제공부(20)는 MCU(10)에 키패드 인에이블 로직을 제공한다. 여기서 키패드 인에이블 로직이란 키패드가 인에이블되면 키패드를 사용하기 위한 모드로 전환하여 ADC를 수행하도록 하고, 일정 시간이 경과하여도 키 입력이 없으면 키 입력 대기 상태를 유지하며, 키 입력이 있으면 ADC 값을 체크하고 키 맵핑을 수행하며 인터럽트 값이 변화한 후 키 입력 대기 상태를 유지하여 키 입력 판독 오류가 방지되도록 하는 로직을 말한다.The keypad enable
키패드(30)는 복수개의 키(Key_1 ~ Key_n)를 구비하여 키 값이 입력되도록 한다.The
키입력 전압레벨 생성부(40)는 키패드(30)에서 키 값이 입력되면 키입력 전압레벨을 생성하고 ADC 포트(11)와 인터럽트 포트(12)를 통해 MCU(10)로 전달하여 키 값이 정확하게 인식되도록 한다.The key input
키입력 전압레벨 생성부(40)는 키패드값 출력부(41 ~ 44), ADC용 기준전압 출력부(45), 인터럽트용 기준전압 출력부(46)를 포함하여 구성된다.The key input
키패드값 출력부(41 ~ 44)는 키패드(30)의 키가 눌려지면 키패드값을 MCU(10) 내의 ADC 포트(11)로 출력하며, 각 키에 할당된 저항으로 이루어진다.The keypad
ADC용 기준전압 출력부(45)는 키패드값 출력부(41 ~ 44)와 MCU(10) 내의 ADC 포트(11) 사이에 연결되어 ADC용 기준전압을 출력하도록 전압(V_KEY)을 입력받는 기준저항(R_ref)으로 이루어진다.The reference
그래서 키패드(30)의 키가 눌려져 그라운드 상태로 되면 키패드값 출력부(41 ~ 44)를 통해 키 값이 ADC 포트(11)로 전달된다.Thus, when the key of the
인터럽트용 기준전압 출력부(46)는 키패드(30)와 키패드값 출력부(41 ~ 44) 사이에 연결되고, MCU(10) 내의 인터럽트 포트(12)에 연결되어 인터럽트용 기준전압을 출력하도록 전압(V_KEY)을 입력받는 기준저항(R_ref)으로 이루어진다.The interrupt reference
그래서 키패드(30)의 키가 눌려져 그라운드 상태로 되면 인터럽트용 기준전압 출력부(46)에서 MCU(10)의 인터럽트 포트(12)로 하이 레벨로 입력되는 인터럽트 신호는 로우 레벨로 떨어지게 된다. 그리고 키패드(30)의 키가 눌림 상태에서 해제 되면 다시 인터럽트용 기준전압 출력부(46)에서 MCU(10)의 인터럽트 포트(12)로 로우 레벨로 입력되던 신호는 하이 레벨로 복원되게 된다.Thus, when the key of the
이러한 본 발명의 동작을 좀더 상세히 설명하면 다음과 같다.Referring to the operation of the present invention in more detail as follows.
먼저 키패드가 인에이블 상태인지를 판별한다(ST11).First, it is determined whether the keypad is enabled (ST11).
그래서 키패드가 인에이블 상태가 아니면 ADC를 중지하고 키패드가 인에이블 될 때까지 대기 상태를 유지한다(ST12).Thus, if the keypad is not enabled, the ADC is stopped and idle until the keypad is enabled (ST12).
그리고 사용자가 IM 등의 기능을 사용하기 위해 키패드(30)를 인에이블 시키면, 단말기는 키패드를 사용하기 위한 모드로 전환되고, ADC를 수행한다(ST13).When the user enables the
이후 일정 시간 키패드의 값이 입력되는 지를 판별하여 타임 아웃 여부를 판단한다(ST14).Thereafter, it is determined whether a value of a keypad is input for a predetermined time to determine whether to time out (ST14).
일정 시간이 경과하여도 키 입력이 없는 경우 ADC를 중지하고 키 입력 대기 상태로 빠진다(ST15).If there is no key input even after a certain time has elapsed, the ADC is stopped and the key input wait state is entered (ST15).
그리고 인터럽트 신호가 로우 레벨 신호인지를 판별한다(ST16).Then, it is determined whether the interrupt signal is a low level signal (ST16).
만약 인터럽트 신호가 로우 레벨 신호가 아닌 하이 레벨 신호이면 키 입력 대기 상태를 유지한다.If the interrupt signal is a high level signal rather than a low level signal, the key input standby state is maintained.
한편 사용자가 키패드(30)에 있는 복수개의 키(Key_1 ~ Key_n) 중에서 특정 키를 누르면 MCU(10)로 인터럽트가 발생하게 되며, ADC를 시작한다(ST17).Meanwhile, when the user presses a specific key among the plurality of keys Key_1 to Key_n in the
즉, 키패드(30)의 키가 눌려지면 그라운드와 연결되고, 인터럽트 기준전압 출력부(46)에서 MCU(10)의 인터럽트 포트(12)로 하이 레벨로 전달되던 인터럽트 신호는 로우 레벨로 변환된다. 이렇게 인터럽트 신호가 로우 레벨로 바뀌면 MCU(10)는 ADC를 수행한다.That is, when the key of the
그리고 ADC용 기준전압 출력부(45)와 인터럽트 기준전압 출력부(46)의 기준저항(R_ref)과 각 키에 할당된 키패드값 출력부(41 ~ 44)의 저항(R1 ~ Rn)이 전압 분배기 역할을 수행하여, 이로 인한 특정 전압 레벨이 ADC Point 지점에 발생되어진다. 이를 A/D(Analog-to-Digital, 아날로그-디지털) 변환한 MCU(10)는 검출되어진 전압 레벨에 부합하는 키로 인식하게 된다(ST18).The reference resistor R_ref of the ADC reference
이렇게 입력된 하나의 키 값에 대해 처리를 한 다음 인터럽트 신호가 하이 레벨로 바뀌었는지를 판별한다(ST19).After processing the input key value in this way, it is determined whether the interrupt signal has changed to a high level (ST19).
만약 인터럽트 신호가 하이 레벨이 아닌 로우 레벨 상태에 계속 있으면 키패드(30)에서 하나의 키가 눌려진 상태로 있다고 판단하여 대기상태를 유지한다.If the interrupt signal is in the low level state rather than the high level, the
그리고 인터럽트 신호가 하이 레벨로 복원되면 새로운 키 값이 입력될 수 있도록 다시 키 입력 대기 상태를 유지한다.When the interrupt signal is restored to a high level, the key waits again for new key values to be entered.
여기서 인터럽트 신호가 하이 레벨로 변환되는 것은 키패드(30)의 키가 눌림 상태에서 해제될 때 발생한다. 즉, 키패드(30)의 키가 눌림 상태에서 해제 되면 그 라운드와의 연결이 차단되고, 그라운드와의 연결 차단에 의해 인터럽트용 기준전압 출력부(46)의 하이 레벨 신호가 인터럽트 포트(12)에 입력될 수 있게 되어 발생한다.Here, the interrupt signal is converted to the high level when the key of the
따라서 인터럽트 포트(12)의 신호 레벨이 다시 하이 레벨로 복원되어지기 전에 ADC 값의 변화가 생긴 경우에도 이를 무시하게 된다. 즉, 사용자가 키패드(30)의 키 중에서 어느 키를 누른 상태에서 다른 키까지 누른 경우 다른 키 값은 무시하게 되어 키 입력의 판독 오류를 방지할 수 있게 된다.Therefore, even if the ADC value changes before the signal level of the interrupt
이처럼 본 발명은 휴대형 단말기에서 키 인식을 위해 사용되는 포트 및 관련 자원을 최소화하며 키 인식의 정확성을 향상시켜 안정도를 높이게 되는 것이다.As such, the present invention minimizes ports and related resources used for key recognition in a portable terminal, and improves stability by improving accuracy of key recognition.
이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.
이상에서 살펴본 바와 같이, 본 발명에 의한 다수의 키가 요구되는 단말기에서의 키인식 정확도 향상 장치 및 그 방법은 IM 폰 등과 같이 문자 및 숫자 입력을 위해 다수의 키가 요구되는 휴대형 단말기에서 키 인식을 위해 사용되는 포트 및 관련 자원을 최소화하며 키 인식의 정확성을 향상시켜 안정도를 높일 수 있는 효과가 있게 된다.As described above, an apparatus and method for improving key recognition accuracy in a terminal requiring a plurality of keys according to the present invention may be used for key recognition in a portable terminal requiring a plurality of keys for inputting letters and numbers, such as an IM phone. This minimizes the port and related resources used for the purpose of the system and improves the accuracy of key recognition, thereby increasing stability.
또한 종래기술에 비하여 적은 포트나 자원으로 많은 개수의 키 입력 인식이 가능하여 단말기에 적용되어야 하는 키의 개수가 증가하여도 추가적인 외부 IC나 많은 포트의 할당이 없어도 대응 가능한 효과가 있게 된다.In addition, compared to the prior art, it is possible to recognize a large number of key inputs with fewer ports or resources, so that even if the number of keys to be applied to the terminal increases, a corresponding effect can be achieved without additional external IC or allocation of a large number of ports.
더불어 키 인식을 위한 ADC를 지속적으로 할 필요가 없이 인터럽트 발생 후 일정 시간 동안만 수행하여도 되므로 소비전류를 감소시킬 수 있는 효과도 있게 된다.In addition, it is possible to reduce the current consumption since the ADC does not need to be continuously operated for key recognition, but only needs to be performed for a certain time after the interrupt is generated.
나아가 사용자의 오류로 인해 1개 이상의 키 입력이 동시에 발생하여도 가장 먼저 인식된 키 값만을 정상이라 인식하고 처리할 수 있어 장치의 안정성이 향상되는 효과가 있게 된다.Furthermore, even if more than one key input occurs at the same time due to a user error, only the first recognized key value can be recognized and processed as normal, thereby improving the stability of the device.
Claims (5)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040101709A KR100687225B1 (en) | 2004-12-06 | 2004-12-06 | Apparatus and method for improving of key recognition accuracy in multi key demanded terminal |
CNA2005100777637A CN1786884A (en) | 2004-12-06 | 2005-06-24 | Apparatus for improving key identification accuracy in terminal of requiring multi-keys and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040101709A KR100687225B1 (en) | 2004-12-06 | 2004-12-06 | Apparatus and method for improving of key recognition accuracy in multi key demanded terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060062758A KR20060062758A (en) | 2006-06-12 |
KR100687225B1 true KR100687225B1 (en) | 2007-02-27 |
Family
ID=36784370
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040101709A KR100687225B1 (en) | 2004-12-06 | 2004-12-06 | Apparatus and method for improving of key recognition accuracy in multi key demanded terminal |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR100687225B1 (en) |
CN (1) | CN1786884A (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493728B (en) * | 2008-01-24 | 2011-08-10 | 中兴通讯股份有限公司 | Line control push-button detecting and recognizing device and method capable of identifying combined key |
CN101800557B (en) * | 2009-02-10 | 2014-01-29 | 阿尔派株式会社 | Key input device and key input identification method thereof |
CN103067547A (en) * | 2011-10-20 | 2013-04-24 | 联芯科技有限公司 | Mobile terminal input device and mobile terminal input method |
US8994681B2 (en) * | 2012-10-19 | 2015-03-31 | Google Inc. | Decoding imprecise gestures for gesture-keyboards |
CN103592871A (en) * | 2013-05-20 | 2014-02-19 | 赛龙通信技术(深圳)有限公司 | Multitask timing control system and interruption response method thereof |
CN103686010A (en) * | 2013-11-22 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | ADC port simulation multi-IO-port key input device, television-system and method |
CN104714912B (en) * | 2015-03-04 | 2017-11-10 | 惠州Tcl移动通信有限公司 | A kind of more card detection apparatus, more card detecting systems and its method |
-
2004
- 2004-12-06 KR KR1020040101709A patent/KR100687225B1/en not_active IP Right Cessation
-
2005
- 2005-06-24 CN CNA2005100777637A patent/CN1786884A/en active Pending
Non-Patent Citations (1)
Title |
---|
공개특허 제2005-475호 (공개일 2005.1.5.) |
Also Published As
Publication number | Publication date |
---|---|
CN1786884A (en) | 2006-06-14 |
KR20060062758A (en) | 2006-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6678830B1 (en) | Method and apparatus for an ACPI compliant keyboard sleep key | |
US7388520B2 (en) | Apparatus and method for decoding a key press | |
KR100687225B1 (en) | Apparatus and method for improving of key recognition accuracy in multi key demanded terminal | |
US7953898B2 (en) | Apparatus and method for using expansion key in portable terminal | |
JP4027285B2 (en) | Keypad device | |
US20100148998A1 (en) | Keyboard scanning circuit | |
TWI510969B (en) | Input device and control unit | |
US6919878B2 (en) | Keyboard/mouse switching controller | |
JPH09319475A (en) | Power source control system-integrated computer | |
US5702625A (en) | Encoder key input device for a microwave oven and interrupt processing method using the same | |
US20060082473A1 (en) | Apparatus and method for detecting key signals in a mobile communication terminal | |
KR100455773B1 (en) | Key pad for contain reverse key and method for input character | |
KR100442370B1 (en) | Key scan apparatus and method for mobile communication terminal | |
CN110895501A (en) | Serial port switching method and system | |
JPH10111749A (en) | Portable terminal equipment | |
US20100164757A1 (en) | System and method for providing a single and dual key press keypad | |
CN102843143A (en) | Analog-digital conversion type keyboard | |
US8564460B2 (en) | Keyboard device and method of identifying a key operation | |
KR100628071B1 (en) | Key pad and mobile terminal | |
JPH08194572A (en) | Key input device | |
KR970009068A (en) | Character control method and device using a few telephone buttons | |
JPH0230223A (en) | Keyboard device | |
JP4772329B2 (en) | Electronic device, key detection device, and key detection method | |
JPH09319489A (en) | Display device | |
JP2548023Y2 (en) | Key input device |
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: 20130128 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140124 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150213 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20160122 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20170124 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |