KR0150957B1 - Key input device - Google Patents

Key input device

Info

Publication number
KR0150957B1
KR0150957B1 KR1019920010613A KR920010613A KR0150957B1 KR 0150957 B1 KR0150957 B1 KR 0150957B1 KR 1019920010613 A KR1019920010613 A KR 1019920010613A KR 920010613 A KR920010613 A KR 920010613A KR 0150957 B1 KR0150957 B1 KR 0150957B1
Authority
KR
South Korea
Prior art keywords
key
output
key signal
input
analog
Prior art date
Application number
KR1019920010613A
Other languages
Korean (ko)
Other versions
KR940000954A (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 KR1019920010613A priority Critical patent/KR0150957B1/en
Publication of KR940000954A publication Critical patent/KR940000954A/en
Application granted granted Critical
Publication of KR0150957B1 publication Critical patent/KR0150957B1/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

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)
  • Input From Keyboards Or The Like (AREA)

Abstract

본 발명은 키입력장치에 관한것으로, 특히 시스템 컨트롤러의 키입력포트를 감소시킬 수 있는 키입력장치에 관한것이다.The present invention relates to a key input device, and more particularly to a key input device that can reduce the key input port of the system controller.

복수의 키를 구비하고, 하나의 출력단자에 각 키에 대응하는 서로다른 전압값을 각 키의 키신호로 출력하는 키신호 발생수단과 키신호 발생수단의 출력단자에 그의 입력단자가 접속되어 입력되는 키신호의 전압값에 대응하는 디지탈신호를 하나의 출력단자에 직렬출력하는 아날로그-디지탈변환기와 아날로그-디지탈변환기의 직렬출력을 입력해서 대응하는 키신호를 인식하는 키신호 판단수단을 구비한다.It is provided with a plurality of keys, the input terminal of which is connected to the output terminal of the key signal generating means and the key signal generating means for outputting a different voltage value corresponding to each key to one output terminal as a key signal of each key and input And a key signal determination means for inputting a serial output of an analog-digital converter and an analog-digital converter for serially outputting a digital signal corresponding to the voltage value of the key signal to one output terminal and recognizing a corresponding key signal.

따라서 키 값을 입력으로 받기위해 하나의 포트만을 필요하므로 포트의 수를 절약할 수 있는 효과가 있다.Therefore, since only one port is needed to receive key value, the number of ports can be saved.

Description

키입력장치Key input device

제1도는 종래기술의 일 실시예.1 is an embodiment of the prior art.

제2도는 종래기술의 다른 실시예.2 is another embodiment of the prior art.

제3도는 본 발명에 따른 키입력장치의 블럭도.3 is a block diagram of a key input device according to the present invention.

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

10 : 시스템컨트롤러 11 ∼ 14 : 제 1 ∼ 4번키10: system controller 11-14: 1st-4th key

20 : 키신호발생수단 30 : 아날로그-디지탈변환기20: key signal generating means 30: analog-to-digital converter

31 : 비교수단 32 : 인코더31: comparison means 32: encoder

33 : 병렬입력 -직렬출력기 ( Parallel Input-Serial Output )33: Parallel Input-Serial Output

40 : 키신호판단수단 R1-R4,Rr : 저항40: key signal determination means R1-R4, Rr: resistance

PI1 ∼ PI2 : 키입력포트 PO1, PO2 : 키출력포트PI1 to PI2: Key input port PO1, PO2: Key output port

D1, D2 : 다이오드D1, D2: Diode

본 발명은 키입력장치에 관한것으로, 특히 시스템 컨트롤러의 키입력포트를 감소시킬 수 있는 키입력장치에 관한것이다.The present invention relates to a key input device, and more particularly to a key input device that can reduce the key input port of the system controller.

일반적으로 키를 입력수단으로 하는 시스템은 시스템 컨트롤러(System Controller)의 입출력포트를 통해 키 값을 받아들인다.In general, a system using a key as an input means receives a key value through an input / output port of a system controller.

제1도는 종래기술의 일 실시예로서 직접입력(Direct Input)방식이다. 제1도에서 키 값을 입력으로 받아들이기 위해서는 키의 갯수에 따라 시스템 컨트롤러(10)의 입출력포트가 필요하다.1 is a direct input method according to an embodiment of the prior art. In FIG. 1, in order to receive a key value as an input, an input / output port of the system controller 10 is required according to the number of keys.

제1번키(11)는 시스템 컨트롤러(10)의 제1키 입력포트(P11)에 접속한다.The first key 11 is connected to the first key input port P11 of the system controller 10.

제2번키(12)는 시스템 컨트롤러(10)의 제2키 입력포트(P12)에 접속한다.The second key 12 is connected to the second key input port P12 of the system controller 10.

나머지 키도 마찬가지 방법으로 접속한다. 그러므로 4개의 키를 입력으로 받기위해서는 4개의 키입력포트가 필요하다. 즉, N개의 키를 입력으로 받기위해서는 N개의 키 입력포트가 필요하다.The remaining keys are connected in the same manner. Therefore, four key input ports are required to receive four keys as input. In other words, N key input ports are required to receive N keys as input.

제2도는 종래기술의 다른 실시예로서 다이나믹 스캔(Dynamic Scan)방식 또는 매트릭스 키입력방식이다. 제2도에서 키 값을 입력으로 받아들이기 위해서는 행단위로 키를 선택하는 키출력포트(PO1,PO2)와 열단위로 키가 입력된 것을 감지하는 키입력포트(PI1,PI2)를 시스템 컨트롤러(10)에 구비한다. 두 개의 키출력포트(PO1,PO2)에서는 서로 다른 주기의 키스캔펄스가 발생한다. 제1키출력포트(PO1)에서는 제1번키(11)와 제2번키(12)를 선택하도록 키스캔펄스를 발생한다. 만약 제1번키(11)가 눌러지면 제1키출력포트(PO1)의 스캔펄스가 제1키입력포트(PI1)에 입력되므로 시스템 컨트롤러(10)은 제1번키(11)가 눌러졌다는 것을 감지한다. 만약 제2번키(12)가 눌러지면 제1키출력포트(PO1)의 스캔펄스가 제2키입력포트(PI2)로 입력되므로 시스템 컨트롤러(10)는 제2번키(12)가 눌러젓다는 것을 감지한다. 마찬가지로, 제2키출력포트(PO2)에서는 제3번키(13)와 제4번키(14)를 선택하도록 키스캔펄스를 발생하며 각각 누른 키에 대해 제1키입력포트(PI1)와 제2키입력포트(PI2)에서 감지한다. 이와같이 다이나믹 스캔방식은 4개의 키 값을 받아들이기위해서 2 개의 키출력포트와 2 개의 키 입력포트, 합계 4개의 포트가 필요하다. 즉, 키출력포트의 수가 M(또는 N), 키입력포트의 수가 N(또는 M)인 경우에 (M x N)개의 키 값을 입력으로 받기 위해서는 (M . N)개의 포트가 필요하다.2 is a dynamic scan method or a matrix key input method according to another embodiment of the prior art. In FIG. 2, the key output ports PO1 and PO2 for selecting keys in row units and the key input ports PI1 and PI2 for detecting key input in column units are used to receive key values as inputs. ). Two key output ports PO1 and PO2 generate different kisscan pulses. In the first key output port PO1, a kisscan pulse is generated to select the first key 11 and the second key 12. If the first key 11 is pressed, the scan pulse of the first key output port PO1 is input to the first key input port PI1, so that the system controller 10 detects that the first key 11 is pressed. do. If the second key 12 is pressed, the scan pulse of the first key output port PO1 is input to the second key input port PI2, so that the system controller 10 indicates that the second key 12 is pressed. Detect. Similarly, the second key output port PO2 generates a kisscan pulse to select the third key 13 and the fourth key 14, and the first key input port PI1 and the second key for each key pressed. Detect at input port (PI2). As such, the dynamic scan method requires two key output ports, two key input ports, and four ports in total to accept four key values. That is, when the number of key output ports is M (or N) and the number of key input ports is N (or M), (M. N) ports are required to receive (M x N) key values as input.

다이나믹 스캔방식은 직접입력방식보다 키 값을 받아들이는 데 필요한 포트의 수를 많이 절약할 수 있다.Dynamic scan can save a lot of ports to accept key values than direct input.

그러나 직접입력방식이나 다이나믹 스캔방식은 키입력에 따른 포트의 수가 고정되며, 포트의 수를 줄이는데는 한계가 있으므로 키입력을 통한 다양한 기능을 시스템에 추가시키는데 곤란하다. 역으로 다양한 기능을 추가시키기위해 포트의 수가 많은 고가의 시스템 컨트롤러를 사용할 경우에는 코스트 상승의 문제점이 있었다.However, the direct input method or the dynamic scan method is difficult to add various functions to the system because the number of ports according to key input is fixed and there is a limit in reducing the number of ports. Conversely, when using an expensive system controller with a large number of ports to add various functions, there was a problem of cost increase.

따라서 본 발명의 목적은 상술한 종래기술의 문제점을 해결하기 위하여 하나의 키입력포트를 사용하면서 다수의 키를 입력으로 받아들일수 있는 피입력장치를 제공하는 데 있다.Accordingly, an object of the present invention is to provide an input device that can accept a plurality of keys as input while using one key input port in order to solve the problems of the prior art described above.

상기 목적을 달성하기 위하여 본 발명은The present invention to achieve the above object

복수의 키를 구비하고, 하나의 출력단자에 각 키에 대응하는 서로다른 전압값을 각 키의 키신호로 출력하는 키신호 발생수단;A key signal generating means having a plurality of keys and outputting a different voltage value corresponding to each key to one output terminal as a key signal of each key;

상기 키신호 발생수단의 출력단자에 그의 입력단자가 접속되어 입력되는 키신호의 전압값에 대응하는 디지탈신호를 하나의 출력단자에 직렬 출력하는 아날로그-디지탈변환기;An analog-digital converter for serially outputting a digital signal corresponding to a voltage value of a key signal inputted to the output terminal of the key signal generating means, in one output terminal;

상기 아날로그-디지탈변환기의 직렬출력을 입력해서 대응하는 키신호를 인식하는 키신호 판단수단을 구비한것을 특징으로 하는 한다.Key signal determination means for inputting the serial output of the analog-to-digital converter to recognize a corresponding key signal.

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

제3도는 본 발명에 따른 키입력장치의 일 실시예이다. 먼저, 제3도에서 구성요소들간의 접속관계를 보면 다음과 같다.3 is an embodiment of a key input device according to the present invention. First, in FIG. 3, the connection relationship between the components is as follows.

키신호 발생수단(20)에서 제1번키(11)는 저항(R1)과, 제2번키 (12)는 저항(R2)과, 제3번키(13)는 저항(R3)과, 제4번키(14)는 저항(R4)과 직렬로 접속한다. 또한 제1∼4번키(11-14)는 전원(Vcc)와 병렬접속하고, 저항(Rf)와도 병렬접속한다. 키신호 발생수단(20)의 출력은 복수 개의 비교기로 구성된 비교수단(31)의 +측에 접속한다. 비교수단(31)의 출력단은 인코더(32)의 입력단에 접속한다. 인코더(32)의 출력단은 병렬 입력-직렬출력기(33, Parallel Input-Serial Output, 이하 PISO라 함)의 입력단에 접속하고, PISO(33)의 출력단은 키신호 판단수단(40)와 키입력포트(PI1)에 접속한다.In the key signal generating means 20, the first key 11 is the resistor R1, the second key 12 is the resistor R2, the third key 13 is the resistor R3, and the fourth key. 14 is connected in series with the resistor R4. The first through fourth keys 11-14 are connected in parallel with the power supply Vcc and also in parallel with the resistor R f . The output of the key signal generating means 20 is connected to the + side of the comparing means 31 composed of a plurality of comparators. The output end of the comparison means 31 is connected to the input end of the encoder 32. The output terminal of the encoder 32 is connected to the input terminal of a parallel input-serial output (PISO 33), and the output terminal of the PISO 33 is a key signal determination means 40 and a key input port. Connect to (PI1).

그러면 제3도의 동작관계를 설명하면 다음과 같다.The operation relationship of FIG. 3 is as follows.

키신호발생수단(20)에서 입력키(11~14)를 눌렀을 때 입력키(11~14)의 전압강하값이 만족하도록 저항(R1)∼저항(R4) 및 저항(Rf)를 선택한다.When the input keys 11 to 14 are pressed in the key signal generating means 20, the resistors R1 to R4 and the resistor R f are selected so that the voltage drop values of the input keys 11 to 14 are satisfied. .

만약 제1번키(11)를 누르면 제1번키(11)의 전압강하값이 비교수단(31)를 구성하는 모든 비교기의측에 입력된다. 이 때 모든 비교기의측의 값이측의 기준레벨값보다 크므로 모든 비교기의 출력값은 하이레벨이다. 즉, 비교수단(31)의 출력값(W1~W7)은 『1 1 1 1 1 1 1 』 이된다.If the first key 11 is pressed, the voltage drop value of the first key 11 is used for all comparators of the comparator 31. Is input to the side. Of all comparators The value of the side The output values of all comparators are high level because they are larger than the reference level value on the side. In other words, the output values W1 to W7 of the comparison means 31 are "1 1 1 1 1 1 1".

만약 제2번키(12)를 누르면 제2번키(12)의 전압강하값이 출력이 W7에 해당하는 비교기에서 +측의 값이 -측의 기준레벨값보다 작으므로 로우레벨을 출력한다. 나머지 비교기에서는 하이 레벨을 출력한다. 즉, 비교수단(31)의 출력값(W1 ~W7)은 『0 1 1 1 1 1 1 』이 된다.If the second key 12 is pressed, the voltage drop value of the second key 12 outputs a low level since the output value of the comparator corresponding to W7 is smaller than the reference level value of the negative side. The remaining comparators output high levels. In other words, the output values W1 to W7 of the comparison means 31 are "0 1 1 1 1 1 1".

제3번키(13)를 누를경우 출력이 W7에 해당하는 비교기와 출력이 W6에 해당하는 비교기에서는 로우레벨을 출력한다. 따라서 비교수단(31)의 출력값(W1∼W7)은 『0 0 1 1 1 1 1 』이 된다.When the third key 13 is pressed, the comparator whose output corresponds to W7 and the comparator whose output corresponds to W6 output a low level. Therefore, the output values W1 to W7 of the comparison means 31 become "0 0 1 1 1 1 1".

키가 눌러지지 않을 경우 비교수단(31)의 출력값은 『0 0 0 0 0 0 0 』이다.When the key is not pressed, the output value of the comparing means 31 is "0 0 0 0 0 0 0".

다음 비교수단(31)의 출력값은 인코더(32)에 입력된다. 인코더(32)에서는 비교수단(31)의 출력값에 따라 미리 정의된 값으로 코딩한다. 표 1 은 인코더(32)에 대한 진리값을 예로 든 것이다.The output value of the next comparing means 31 is input to the encoder 32. In the encoder 32, the encoder 32 codes the predefined value according to the output value of the comparing means 31. Table 1 shows the truth values for the encoder 32 as an example.

인코더(32)의 출력값은 PISO(33)에 입력된다. PISO(33)는 인코더(32)에서 병렬로 출력되는 값을 직렬로 내보낸다. 즉, 인코더(32)의 출력값이 키신호 판단수단(40)에서 하나의 키 입력포트(P11)에 입력된다.The output value of the encoder 32 is input to the PISO 33. PISO 33 outputs the values output in parallel from encoder 32 in series. That is, the output value of the encoder 32 is input from the key signal determination means 40 to one key input port P11.

신호 판단수단(40)은 키입력포트(PI1)를 통해 입력되는 값에 따라 키신호발생수단(20)에 눌러진 키를 인식한다.The signal determining means 40 recognizes the key pressed by the key signal generating means 20 according to the value input through the key input port PI1.

상술한 바와 같이 본 발명은 아날로그형태를 갖는 키의 값을 디지탈형태로 변환시켜 하나의 포트를 통해 시스템 컨트롤러에 입력되므로서, 키 값의 입력에 필요한 포트의 수를 절약할 수 있는 효과가 있다.As described above, the present invention converts a value of a key having an analog form into a digital form and is input to a system controller through one port, thereby saving the number of ports required for input of a key value.

Claims (6)

복수의 키를 구비하고, 하나의 출력단자에 각 키에 대응하는 서로다른 전압값을 각 키의 키신호로 출력하는 키신호 발생수단(20); 상기 키신호 발생수단(20)에서 출력되는 전압값과 미리 설정된 기준레벨값과 비교하여 복수개의 레벨값을 발생하고, 그 레벨값에 따라 정의된 코드로 생성하여 직렬로 출력하는 아날로그-디지탈변환수단(30); 상기 아날로그-디지탈변환수단의 직렬출력을 입력해서 대응하는 키신호를 인식하는 키신호 판단수단(40)을 구비한것을 특징으로 하는 키입력장치.Key signal generating means (20) having a plurality of keys and outputting a different voltage value corresponding to each key to one output terminal as a key signal of each key; Analog-to-digital conversion means for generating a plurality of level values by comparing the voltage value output from the key signal generating means 20 with a preset reference level value, and generating a code defined according to the level value to output in series. 30; And key signal determination means (40) for inputting a serial output of said analog-to-digital conversion means to recognize a corresponding key signal. 제1항에 있어서, 상기 키신호 발생수단(20)은 제1전원단자와 상기 출력단자 사이에 병렬접속된 복수의 저항 및 키스위치의 직렬 연결됨; 상기 출력단자와 제2전원단자 사이에 접속된 기준저항을 구비하고, 상기 복수의 저항들은 서로다른 저항값을 가지는 것을 특징으로 하는 키입력장치.2. The apparatus of claim 1, wherein the key signal generating means (20) is connected in series with a plurality of resistors and key switches connected in parallel between a first power supply terminal and the output terminal; And a reference resistor connected between the output terminal and the second power supply terminal, wherein the plurality of resistors have different resistance values. 제1항에 있어서, 상기 아날로그-디지탈변환기(30)는 상기 키신호 발생수단(20)에서 출력되는 전압값을 미리 설정된 기준레벨값과 비교하여 하이 레벨 혹은 로우레벨값으로 출력하기위한 비교수단(31); 상기 비교수단(31)에서 출력된 코딩하기위한 인코더(32); 상기 인코더(32)에서 병렬출력되는 값을 직렬출력하기 위한PISO(33)로 구성됨을 특징으로 하는 키입력장치.The method of claim 1, wherein the analog-to-digital converter 30 compares the voltage value output from the key signal generating means 20 with a preset reference level value and outputs a high level or low level value ( 31); An encoder (32) for coding output from said comparing means (31); And a PISO (33) for serially outputting the values output in parallel in the encoder (32). 제1항에 있어서, 상기 아날로그-디지탈변환기(30)의 해상도(m)는 N+1≤ 2m(여기서 N은 키수)을 만족하는 것을 특징으로 하는 키입력장치.2. The key input device according to claim 1, wherein the resolution (m) of the analog-to-digital converter (30) satisfies N + 1 ≦ 2 m (where N is the number of keys). 제3항에 있어서, 상기 비교수단(31)은 복수 개의 비교기로 구성됨을 특징으로 하는 키입력장치.4. The key input device according to claim 3, wherein the comparing means (31) comprises a plurality of comparators. 제1항에 있어서, 상기 아날로그-디지탈변환기(30) 및 키신호 판단수단(40)은 원칩 시스템 컨트롤러 내에 구비된 것을 특징으로 하는 키입력장치.2. The key input device according to claim 1, wherein the analog-to-digital converter (30) and the key signal determination means (40) are provided in a one-chip system controller.
KR1019920010613A 1992-06-18 1992-06-18 Key input device KR0150957B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920010613A KR0150957B1 (en) 1992-06-18 1992-06-18 Key input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920010613A KR0150957B1 (en) 1992-06-18 1992-06-18 Key input device

Publications (2)

Publication Number Publication Date
KR940000954A KR940000954A (en) 1994-01-10
KR0150957B1 true KR0150957B1 (en) 1998-10-15

Family

ID=19334889

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920010613A KR0150957B1 (en) 1992-06-18 1992-06-18 Key input device

Country Status (1)

Country Link
KR (1) KR0150957B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901143B1 (en) 1999-01-11 2005-05-31 Nec Corporation Voice switching system capable of improving a quality of conversation
KR20030075734A (en) * 2002-03-20 2003-09-26 주식회사 엘지이아이 A key input circuit of microwave oven

Also Published As

Publication number Publication date
KR940000954A (en) 1994-01-10

Similar Documents

Publication Publication Date Title
JP2800233B2 (en) AD converter
EP0070175B1 (en) Analog-to-digital converters
CA1320583C (en) Error limiting analog to digital converter
KR100333006B1 (en) Sub-ranging Analog-to-Digital Converters
US5877718A (en) Differential analog-to-digital converter with low power consumption
EP0153778A2 (en) Multi-step parallel analog-digital converter
KR0139508B1 (en) Semi-flash a/d converter and a/d converting method
US4591825A (en) Analog-to-digital-converter and related encoding technique
KR0150957B1 (en) Key input device
KR0138775B1 (en) Multistep flash analog to digital converter with voltage estimator
KR100235465B1 (en) Flash type a/d converter
EP0217009A2 (en) Thermometer-to-adjacent binary encoder
US4336525A (en) Direct conversion analog to digital converter
EP0508454B1 (en) A/D converter
US5629702A (en) Analog to digital converter
US6847322B2 (en) Sequential comparison type AD converter and microcomputer
US4970513A (en) Device for converting an analog signal into a digital signal of a parallel comparison type with error suppression circuits
KR930007651B1 (en) A/d converter with error detect means
JPH04215318A (en) A/d converter and d/a converter
JPH11340830A (en) Successive comparison a/d converter circuit
KR900008783A (en) Analog to Digital Converter
SU1695500A1 (en) Analog-to-digital converter
KR100186339B1 (en) Minimum/maximum selecting circuit
KR20000004486A (en) Analog-digital converter
SU736089A1 (en) Device for converting table codes

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

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee