KR0165208B1 - Keyboard incoding device and method thereof - Google Patents

Keyboard incoding device and method thereof Download PDF

Info

Publication number
KR0165208B1
KR0165208B1 KR1019950044853A KR19950044853A KR0165208B1 KR 0165208 B1 KR0165208 B1 KR 0165208B1 KR 1019950044853 A KR1019950044853 A KR 1019950044853A KR 19950044853 A KR19950044853 A KR 19950044853A KR 0165208 B1 KR0165208 B1 KR 0165208B1
Authority
KR
South Korea
Prior art keywords
key
row
pressed
port
signal
Prior art date
Application number
KR1019950044853A
Other languages
Korean (ko)
Other versions
KR970028969A (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 KR1019950044853A priority Critical patent/KR0165208B1/en
Publication of KR970028969A publication Critical patent/KR970028969A/en
Application granted granted Critical
Publication of KR0165208B1 publication Critical patent/KR0165208B1/en

Links

Classifications

    • 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
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야:1. The technical field to which the invention described in the claims belongs:

키보드 인코딩장치 및 방법.Keyboard Encoding Device and Method.

2. 발명이 해결하려고 하는 기술적 과제:2. The technical problem the invention is trying to solve:

종래에는 키 입력을 검출하기 위해 라인에 따른 키 스트로빙 신호를 지속적으로 출력하거나, 눌린키의 좌표를 읽기 위하여 두개의 포트를 입력포트와 출력포트로 변환하여 사용하여야 했다. 상기 첫번째 경우는 키 스트로빙 신호는 흔히 전자기기에 문제가 되는 전자파 간섭의 원인이 되며, 상기 두번째 경우는 입,출력포트를 토글링하면서 키를 인식하므로 입력포트에서 출력포트로 변환시 많은 전류가 소모되었다.Conventionally, in order to detect a key input, a key strobe signal along a line is continuously output or two ports have to be converted into an input port and an output port to read the coordinates of a pressed key. In the first case, the key strobing signal is a source of electromagnetic interference, which is often a problem in the electronic device. In the second case, a large current is consumed when the input and output ports are switched because the key is recognized while the input and output ports are toggled. It became.

3. 발명의 해결방법의 요지:3. Summary of the Solution of the Invention:

행과 렬에 따른 두개의 포트를 모두 입력포트로 사용하며, 상기 행과 렬로 일정한 풀-업전압 레벨을 제공하고 키스위치에 접지단자를 더 구비하여 키스위치가 눌릴 경우 공급되는 풀-업전압을 접지시키므로 전압레벨의 변화를 가져온다. 상기 전압레벨의 변화를 검출하여 인터럽트를 발생하고 또한 변화된 행과 렬의 좌표를 읽어 눌린 특정키의 좌표를 알 수 있도록 하였다. 따라서 전자파 간섭의 원인이 없어지고, 출력포트로 변환할 필요가 없으므로 전류의 과다한 소모가 없어질 뿐 아니라 키가 눌렸을 때 바로 눌린키의 좌표를 인식할 수 있다.Both ports in row and column are used as input ports, and the pull-up voltage is provided in the row and column and the ground switch is further provided in the key switch to provide the pull-up voltage supplied when the key switch is pressed. Grounding results in a change in voltage level. The change of the voltage level is detected to generate an interrupt, and the coordinates of the specific key pressed by the changed row and column coordinates are known. Therefore, the cause of electromagnetic interference is eliminated, and there is no need to convert to the output port, so that the excessive consumption of current is eliminated, and the key can be recognized immediately when the key is pressed.

4. 발명의 중요한 용도:4. Important uses of the invention:

키보드 인코딩 장치Keyboard encoding device

Description

키보드 인코딩 장치 및 방법Keyboard Encoding Device and Method

제1도는 종래의 키메트릭스에 접속된 키보드 인코딩 장치의 블럭도.1 is a block diagram of a keyboard encoding apparatus connected to a conventional key matrix.

제2도는 제1도의 출력단으로 출력되는 신호도.2 is a signal diagram output to the output terminal of FIG.

제3도는 종래의 키메트릭스에 접속된 키보드 인코딩 장치의 블럭도.3 is a block diagram of a keyboard encoding apparatus connected to a conventional key matrix.

제4도는 본 발명에 따른 키메트릭스에 접속된 키보드 인코딩 장치의 블럭도.4 is a block diagram of a keyboard encoding apparatus connected to key metrics according to the present invention.

제5도는 본 발명에 따른 키보드 인코딩 장치의 상세 블럭도.5 is a detailed block diagram of a keyboard encoding apparatus according to the present invention.

제6도는본 발명에 따른 키메트릭스에서 키의 눌림에 따른 스위칭 동작을 하는 스위치의 구조도.6 is a structural diagram of a switch for performing a switching operation according to the pressing of a key in the key matrix according to the present invention.

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

410 : 제어부 412 : A포트410: control unit 412: A port

414 : B포트 416 : 키메트릭스414: port B 416: key metrics

420 : 키스위치 510,512 : 버퍼420: keyswitch 510, 512: buffer

514 : 필터 516 : 에지검출기514: filter 516: edge detector

518 : 인터럽트발생기518: interrupt generator

본 발명은 키보드 인코딩 장치 및 방법에 관한 것으로, 특히 두개의 포트를 입력포트로 사용하여 특정키의 눌림에 따라 발생되는 신호를 검출하여 특정키 입력을 인코딩하는 장치 및 방법에 관한 것이다.The present invention relates to a keyboard encoding apparatus and method, and more particularly, to an apparatus and method for encoding a specific key input by detecting a signal generated by pressing a specific key using two ports as input ports.

종래기술은 제1,2,3도를 참조하여 설명한다.The prior art will be described with reference to FIGS. 1, 2, 3.

제1도의 블럭도는 키신호 입력포트(X1-Xn)와 키신호 출력포트(Y1-Yn)를 가지는 키보드 인터페이스 제어장치(110)와, 다수의 키 접점에 해당하는 키스위치(114)를 가지는 키메트릭스(112)로 구성된다.The block diagram of FIG. 1 is a keyboard interface controller 110 having a key signal input port X 1 -Xn and a key signal output port Y 1 -Yn, and a key switch 114 corresponding to a plurality of key contacts. It consists of key metrics 112 having a.

상기와 같은 구성을 가지는 장치에서 키입력을 감지하는 방법은, 먼저 상기 키보드 인터럽트 제어장치(110)의 키신호 출력포트(Y1-Yn)로 제2도에 도시된 키스트로빙 신호를 순차적으로 출력하며, 상기 키메트릭스(112)를 구성하는 하나의 키스위치(114)가 눌렀을 경우에 상기 키신호 입력포트(X1-Xn)로 입력하는 키스트로빙 신호를 읽어 눌려진 키를 체크한다.In the device having the above-described configuration, a key input sensing method may be performed by sequentially outputting the keystroke signal shown in FIG. 2 to the key signal output ports Y 1 to Yn of the keyboard interrupt control apparatus 110. When one key switch 114 constituting the key metrics 112 is pressed, a key strobe signal input to the key signal input ports X 1 to X n is read to check the pressed key.

상기 제1,2도를 참조하여 동작의 일 실시예를 들면, 키보드 인터페이스 제어장치(110)는 외부 또는 내부에 풀-업 저항을 구비하여 신호 입력포트(X1-Xn)로 로직 하이(High)신호를 출력하고, 키신호 출력포트(Y1-Yn)로는 로직 로우(Low)신호를 출력한다. 키메트릭스(112)의 특정키의 입력이 없을 경우에는 상기 키신호 입력포트(X1-Xn)에서는 항상 로직 하이 상태가 유지될 것이다.For example, the keyboard interface controller 110 may include a pull-up resistor externally or internally so as to provide a logic high signal to the signal input ports X 1 to Xn. Signal is output, and a logic low signal is output to the key signal output ports (Y 1 to Y n). If there is no input of a specific key of the key metrics 112, the logic high state will always be maintained in the key signal input ports X 1 -Xn.

하지만 X1-Yn에 해당하는 좌표의 키가 눌렀을 경우에는 X1의 키신호 입력포트 Yn에 해당하는 키신호 출력포트를 통해 출력되는 키 스트로빙 신호가 감지될 것이다. 이에 따라 상기 좌표(X1-Yn)를 가지는 키가 눌렸다는 것을 감지하게 된다.However, when the key of the coordinate corresponding to X 1 -Yn is pressed, the key strobing signal output through the key signal output port corresponding to the key signal input port Yn of X 1 will be detected. Accordingly, it is detected that the key having the coordinates (X 1- Yn) is pressed.

또한 제3도의 블럭도는 키신호 입력포트와 키신호 출력포트를 겸용하는 두개의 포트(310a,310b)를 가지는 키보드 인터페이스 제어장치(310)와, 다수의 키접점에 해당하는 키스위치(314)를 가지는 키메트릭스(312)로 구성된다.In addition, the block diagram of FIG. 3 shows a keyboard interface controller 310 having two ports 310a and 310b which both use a key signal input port and a key signal output port, and a key switch 314 corresponding to a plurality of key contacts. It consists of key metrics 312 having a.

상기 제3도를 참조하여 동작의 일 실시예를 들면, 먼저 키메트릭스(312)의 행에 해당하는 라인(X1-Xn)이 연결된 제1포트(310a)를 출력포트 상태로 놓고, 렬에 해당하는 라인(Y1-Yn)이 연결된 제2포트(310b)를 입력포트 상태로 놓는다. 그리고 각각의 포트(310a,b)는 로직 하이 또는 로우 신호를 상반되게 상기 키메트릭스(312)의 행과 렬로 제공한다. 상기의 상태에서 특정키가 눌려 키스위치(314)가 닫혔을 경우에 상기 제2포트(310b)는 먼저 행에 해당하는 신호를 상기 제1포트(310a)로부터 읽는다. 또한 특정키가 눌린 행의 라인이 감지되면, 상기 제1포트(310a)를입력포트로 상기 제2포트(310b)를 출력포트로 전환한다. 그리고 각각의 포트(310a,b)는 로직 하이 또는 로우 신호를 상반되게 상기 키메트릭스(312)의 행과 렬로 제공하며, 상기 제1포트(310a)는 렬에 해당하는 신호를 상기 제2포트(310b)로부터 읽는다.For example, referring to FIG. 3, the first port 310a connected to the lines X 1 -Xn corresponding to the rows of the key metrics 312 is placed in an output port state, The second port 310b connected to the corresponding line Y 1 -Yn is placed in an input port state. Each port 310a, b provides a logic high or low signal in opposition to the rows of the key metrics 312. In the above state, when the key switch 314 is closed by pressing a specific key, the second port 310b first reads a signal corresponding to the row from the first port 310a. In addition, when a line of a line where a specific key is pressed is detected, the first port 310a is converted into an input port, and the second port 310b is converted into an output port. Each of the ports 310a and b provides a logic high or low signal in a row and a column opposite to each other, and the first port 310a provides a signal corresponding to a column in the second port ( 310b).

그러나 상기 제1도와 같은 구조를 가지는 장치를 통하여 키입력을 검출하기 위해 라인에 지속적으로 출력되는 키 스트로빙 신호는 흔히 전자기기에서 문제가 되는 전자파 간섭의 원인이 된다.However, a key strobing signal continuously output to a line to detect a key input through the device having the structure as shown in FIG. 1 is a source of electromagnetic interference, which is often a problem in electronic devices.

또한 상기 제3도와 같은 구조를 가지는 장치를 통하여 키입력을 검출하는 경우 입,출력 겸용포트를 구성하여야 하며, 눌려진 해당 키 스위치의 좌표를 얻기 위해 행과 렬에 해당하는 상기 포트의 상태를 입력 혹은 출력포트로 변환시켜야 함으로 인하여 많은 전류가 소모된다는 문제점이 있다.In addition, when detecting a key input through the device having the structure as shown in FIG. 3, the input / output combined port should be configured, and the state of the port corresponding to the row and column may be input or obtained to obtain the coordinates of the corresponding key switch pressed. There is a problem in that a large current is consumed due to the conversion to the output port.

따라서 본 발명의 목적은 키스위치에 접지단자를 구비하여 키가 눌렸음을 감지하기 위한 두 포트를 입력포트로 사용하는 장치 및 방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide an apparatus and method for providing a ground terminal in a key switch and using two ports as input ports for sensing that a key is pressed.

본 발명의 또 다른 목적은 키메트릭스의 행과 렬에 연결된 두 포트에서 키메트릭스로 일정한 풀-업 전압을 공급하여, 특정키가 눌림에 따른 풀-업전압의 변화로서 키입력을 감지하는 장치 및 방법을 제공하는데 있다.Another object of the present invention is to supply a constant pull-up voltage to the key metrics from two ports connected to the row and column of the key matrix, to detect the key input as a change in the pull-up voltage according to the pressing of a specific key and To provide a method.

이하 본 발명을 수행하기 위한 장치의 구성을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a configuration of an apparatus for performing the present invention will be described in detail with reference to the accompanying drawings.

제4도는 본 발명에 따른 키메트릭스에 접속된 키보드 인코딩 장치의 블럭도로서,4 is a block diagram of a keyboard encoding apparatus connected to key metrics according to the present invention.

키메트릭스(416)는 다수의 행라인과 렬라인으로 구성되며, 상기 행라인과 렬라인이 겹치는 지점에 키스위치(420)를 설치한다.The key metrics 416 is composed of a plurality of row lines and column lines, and the key switch 420 is installed at a point where the row lines and the column lines overlap.

A포트(412)는 상기 키메트릭스(416)의 행에 해당하는 라인(X1-Xn)이 연결되며, 상기 라인(X1-Xn)으로 풀-업전압을 공급하고, 특정키가 눌림에 따라 입력되는 키신호(KSX1-KSXn)에 의해 렬라인을 감지하여 제어부(410)에 제공한다.A port 412 is a line (X 1 -Xn) corresponding to the row of the key matrix 416 connected to the pull line (X 1 -Xn) - supplying-up voltage, the specific key is pressed The column line is sensed by the key signals KXX 1 to KXXn inputted accordingly, and provided to the controller 410.

B포트(414)는 상기 키메트릭스(416)의 렬에 해당하는 라인(Y1-Yn)이 연결되며, 상기 라인(Y1-Yn)으로 풀-업전압을 공급하고, 특정키가 눌림에 따라 입력되는 키신호(KSY1-KSYn)에 의해 행라인을 감지하여 상기 제어부(410)에 제공한다.B port 414, and the line (Y 1 -Yn) for the column of the key matrix 416 connected to the pull line (Y 1 -Yn) - supplying-up voltage, the specific key is pressed The row line is sensed by the key signals KSY 1 -KSYn input accordingly and provided to the controller 410.

상기 제어부(410)는 상기 A포트(412)와 B포트(414)로부터 버스(418)를 통해 행과 렬에 따른 감지신호를 받아 눌린 키스위치(420)의 좌표를 알아낸다.The controller 410 finds the coordinates of the key switch 420 that is pressed by receiving the detection signals according to the rows and columns from the A port 412 and the B port 414 through the bus 418.

제5도는 본 발명에 따른 키보드 인코딩 장치의 상세 블럭도로서, 풀-업저항(R1,R2)은 풀-업전압(VDD)을 다수의 행과 렬 라인으로 공급하여 풀-업전압 레벨을 유지한다.5 is a detailed block diagram of a keyboard encoding apparatus according to the present invention, in which the pull-up resistors R1 and R2 supply the pull-up voltage V DD to a plurality of row and column lines to adjust the pull-up voltage level. Keep it.

버퍼(510,512)는 특정키가 눌림에 따라 입력되는 키신호(KSxn)를 감지하여 버스(418)를 통해 제어부(410)에 제공한다.The buffers 510 and 512 detect a key signal Ksxn input as a specific key is pressed and provide the same to the controller 410 through the bus 418.

필터(514)는 상기 버퍼(510,512)로부터 출력되는 행 또는 렬의 키입력신호에서 노이즈 성분을 제거한다.The filter 514 removes noise components from the key input signals of the rows or columns output from the buffers 510 and 512.

에지검출부(518)는 상기 필터(514)로부터 출력되는 신호에서 에지(Edge)를 검출한다.The edge detector 518 detects an edge from the signal output from the filter 514.

인터럽트 발생부(518)는 특정키가 눌려 상기 에지검출부(518)로부터 로직 하이 신호가 입력되면 상기 제어부(410)로 인터럽트를 발생한다. 또한 상기 인터럽트 발생부(518)는 상기 제어부(410)로 데이타를 리드(Read) 또는 라이트(Write)가 가능한 레지스터로 구성된다.The interrupt generator 518 generates an interrupt to the controller 410 when a specific key is pressed and a logic high signal is input from the edge detector 518. In addition, the interrupt generator 518 is configured by a register capable of reading or writing data to the controller 410.

인터럽트장치(520)는 상기 필터(514), 에지검출부(516) 및 인터럽트발생부(518)로 구성되며, 상기 두개의 버퍼(510,612)중 하나의 버퍼출력단에 연결된다.The interrupt device 520 includes the filter 514, the edge detector 516, and the interrupt generator 518 and is connected to one buffer output terminal of the two buffers 510 and 612.

제4도에 도시된 A포트(412)는 상기 풀-업저항(R1)와 버퍼(510)로 구성되며, 상기 A포트(412)에서 인터럽트가 발생되는 경우는 인터럽트장치(520)가 상기 버퍼(510)의 출력단에 접속된다.A port 412 shown in FIG. 4 includes the pull-up resistor R1 and a buffer 510. When an interrupt occurs in the A port 412, the interrupt device 520 causes the buffer. 510 is connected to the output terminal.

또한 상기 제4에 도시된 B포트(414)는 상기 풀-업저항(R2)와 버퍼(512)로 구성되며, 상기 A포트(512)에서 인터럽트가 발생되는 경우는 인터럽트장치(520)가 상기 버퍼(510)의 출력단에 접속된다.In addition, the B port 414 shown in the fourth is composed of the pull-up resistor R2 and the buffer 512. When an interrupt occurs in the A port 512, the interrupt device 520 is It is connected to the output terminal of the buffer 510.

제6도는 본 발명에 따른 키메트릭스에서 키의 눌림에 따른 스위칭 동작을 하는 키스위치의 구조도로서,6 is a structural diagram of a key switch performing a switching operation according to the pressing of a key in key metrics according to the present invention.

제6a도는 PCB(Printed Circuit Board)상에서 A포트(412)로 연결되는 행단자와 B포트(414)로 연결되는 렬단자 사이에 접지(Ground)단자를 삽입하여 스위치(610-a)가 눌리면 상기 행과 렬단자가 접지단자에 접속되도록 구성된 키스위치(420)의 구조를 나타내었다.FIG. 6a illustrates that a ground terminal is inserted between a row terminal connected to the A port 412 and a column terminal connected to the B port 414 on a printed circuit board (PCB) to press the switch 610-a. The structure of the key switch 420 is configured such that the row and column terminals are connected to the ground terminal.

제6b도는 스위치(610-b)를 접지시켜 키입력에 따라 스위치가 눌리면 PCB(Printed Circuit Board)상에서 A포트(412)로 연결되는 행단자와 B포트(414)로 연결되는 렬단자가 모두 접지되도록 구성된 키스위치(420)의 구조를 나타내었다.FIG. 6B illustrates that the switch 610-b is grounded, and when the switch is pressed according to a key input, both the terminal connected to the A port 412 and the column terminal connected to the B port 414 on the PCB (Printed Circuit Board) are grounded. The structure of the key switch 420 configured to be illustrated is shown.

따라서 본 발명의 일 실시예를 제4,5,6도를 참조하여 상세히 설명한다.Therefore, an embodiment of the present invention will be described in detail with reference to FIGS. 4, 5, and 6.

풀-업저항(R1,R2)을 통해 공급되는 풀-업전압이 키메트릭스(416)의 행과 렬라인에 균일하게 제공된다. 이때 특정키가 눌렸을 경우에 상기 풀-업저항(R1,R2)을 통해 공급되는 풀-업전압은 제6도에 도시된 구조를 가지는 키스위치(420)에 구비된 접지단자를 통해 흐르게 된다. 이에 따라 눌린 특정키 위치의 행과 렬의 전압레벨이 상기 풀-업저항(R1,R2)에 의해 하이레벨로 잡혀 있던 것이 접지전압인 로우레벨로 변환된다. 이러한 로우레벨의 전압은 버퍼(510,512)에서 검출되며, 상기 버퍼(510,512)는 상기 검출된 전압레벨에 따른 감지신호를 인터럽트장치(520)로 출력한다. 상기 버퍼(510,512)로부터 출력된 감지신호는 상기 인터럽트장치(520) 내부에 구비된 필터(514)에 입력되어 노이즈가 제거된 신호가 출력된다. 상기 필터(514)를 통해 출력되는 신호는 에지검출부(516)로 입력되며, 상기 에지검출부(516)에서 에지가 검출되면 로직 하이신호를 출력하여 인터럽트발생부(518)를 세트(Set)한다. 따라서 상기 인터럽트발생부(518)는 상기 로직 하이 신호에 따라 인터럽트를 발생하여 인터럽트 서비스 루틴으로 진행한다.The pull-up voltage supplied through the pull-up resistors R1 and R2 is uniformly provided in the row and column lines of the key metrics 416. At this time, when a specific key is pressed, the pull-up voltage supplied through the pull-up resistors R1 and R2 flows through the ground terminal provided in the key switch 420 having the structure shown in FIG. . As a result, the voltage level of the row and column of the pressed specific key position is set to the high level by the pull-up resistors R1 and R2. The low level voltage is detected in the buffers 510 and 512, and the buffers 510 and 512 output the detection signal according to the detected voltage level to the interrupt device 520. The detection signals output from the buffers 510 and 512 are input to a filter 514 provided in the interrupt device 520 to output a signal from which noise is removed. The signal output through the filter 514 is input to the edge detector 516. When an edge is detected by the edge detector 516, a logic high signal is output to set the interrupt generator 518. Accordingly, the interrupt generator 518 generates an interrupt according to the logic high signal and proceeds to an interrupt service routine.

상기 인터럽트 서비스 루틴이 설정되면 상기 제어부(410)는 X1-Xn의 입력라인을 가지는 상기 A포트(412)로부터 눌려진 특정키의 행의 좌표 값을 읽고, Y1-Yn의 입력라인을 가지는 상기 B포트(414)로부터 눌려진 특정키의 렬의 좌표값을 읽는다.When the interrupt service routine is set, the controller 410 reads coordinate values of a row of a specific key pressed from the A port 412 having an input line of X 1 -Xn, and has an input line of Y 1 -Yn. Read the coordinate value of the column of the specific key pressed from the B port 414.

또한 상기 제어부(410)는 상기 A포트(412)와 B포트(414)의 내부에 구비된 상기 버퍼(510,512)로부터 제공되는 검출신호에 따라 눌린 특정키의 좌표를 읽을 수 있다.In addition, the controller 410 may read coordinates of a specific key pressed according to a detection signal provided from the buffers 510 and 512 provided in the A port 412 and the B port 414.

제6a도에 도시된 키스위치(420)로 상기 키메트릭스(416)를 구성할 경우와 제6도b에 도시된 키스위치(420)로 상기 키메트릭스(418)를 구성할 경우 특정키 입력을 검출하는 방법은 동일하다. 또한 인터럽트장치(520)가 상기 A포트(412)의 출력단에 연결될 경우와, 상기 B포트(414)에 연결될 경우 모두 동일한 방법으로 인터럽트를 발생한다.When the key metrics 416 are configured with the key switch 420 shown in FIG. 6A and the key metrics 418 are configured with the key switch 420 shown in FIG. The method of detection is the same. In addition, when the interrupt device 520 is connected to the output terminal of the A port 412 and when connected to the B port 414, the interrupt is generated in the same manner.

상술한 바와 같이 본 발명은 키메트릭스를 구성하는 행과 렬의 라인을 모두 입력라인으로 사용하고, 두개의 포트를 모두 입력포트로 사용함으로서 보다빠르게 눌린 특정키의 좌표를 검출할 수 있는 효과가 있다.As described above, the present invention has the effect of detecting the coordinates of a particular key pressed more quickly by using both the lines of the lines and columns constituting the key metrics as input lines, and using both ports as input ports. .

Claims (8)

다수의 행라인과 열라인을 가지는 키메트릭스로부터 특정키의 눌림을 검출하기 위한 키도드 인코딩 장치에 있어서, 특정키가 눌림에 따라 입력되는 행의 키신호를 검출하는 제1포트와, 특정키가 눌림에 따라 입력되는 렬의 키신호를 검출하는 제2포트와, 상기 제1포트로부터 검출되는 행의 신호를 받아 인터럽트 신호를 발생하는 인터럽트발생수단과, 상기 제1포트와 제2포트로부터 검출되는 감지신호에 따라 눌린 특정키의 좌표를 감지하는 감지수단으로 구성됨을 특징으로 하는 키보드 인코딩 장치.1. A keyed encoding device for detecting a press of a specific key from key metrics having a plurality of row lines and column lines, the key port encoding apparatus comprising: a first port for detecting a key signal of a row input as a specific key is pressed; A second port for detecting a key signal of a column inputted as pressed, an interrupt generating means for generating an interrupt signal in response to a signal of a row detected from the first port, and detected from the first and second ports Keyboard encoding device, characterized in that consisting of the sensing means for detecting the coordinates of the specific key pressed in accordance with the detection signal. 제1항에 있어서, 상기 제1포트는, 상기 키메트릭스의 행라인으로 풀-업전압을 공급하는 전압공급부와, 특정키가 눌릴 경우에 변환되는 전압레벨을 검출하여 행의 좌표에 해당하는 감지신호를 제공하는 제1버퍼로 구성됨을 특징으로 하는 키보드 인코딩 장치.The method of claim 1, wherein the first port comprises: a voltage supply unit for supplying a pull-up voltage to the row line of the key matrix, and a voltage level that is converted when a specific key is pressed to correspond to row coordinates; Keyboard encoding apparatus comprising a first buffer for providing a signal. 제1항에 있어서, 상기 제2포트는, 상기 키메트릭스의 렬라인으로 풀-업전압을 공급하는 전압공급부와, 특정키가 눌릴 경우에 변환되는 전압레벨을 검출하여 렬의 좌표에 해당하는 감지신호를 제공하는 제2버퍼로 구성됨을 특징으로 하는 키보드 인코딩 장치.The method of claim 1, wherein the second port, the voltage supply unit for supplying a pull-up voltage to the column line of the key matrix, and detecting the voltage level to be converted when a specific key is pressed to correspond to the coordinates of the column Keyboard encoding apparatus comprising a second buffer for providing a signal. 제2항에 있어서, 상기 인터럽트 발생수단은, 상기 제1버퍼로부터 출력되는 신호에서 잡음 성분을 제거하는 필터와, 상기 필터로부터 출력되는 신호에서 에지를 검출하는 에지검출부와, 상기 에지검출부에서 에지가 검출되면 인터럽트를 발생하는 발생부로 구성됨을 특징으로 하는 키보드 인코딩 장치.The method of claim 2, wherein the interrupt generating means comprises: a filter for removing a noise component from a signal output from the first buffer, an edge detector for detecting an edge from a signal output from the filter, and an edge at the edge detector. And a generator for generating an interrupt when detected. 제3항에 있어서, 상기 인터럽트 발생수단은, 상기 제2버퍼로부터 출력되는 감지신호에 잡음 성분을 제거하는 필터와, 상기 필터로부터 출력되는 신호에서 에지를 검출하는 에지검출부와, 상기 에지검출부에서 에지가 검출되면 인터럽트를 발생하는 발생부로 구성됨을 특징으로 하는 키보드 인코딩 장치.4. The method of claim 3, wherein the interrupt generating means comprises: a filter for removing noise components from a detection signal output from the second buffer, an edge detector for detecting an edge from a signal output from the filter, and an edge at the edge detector. And a generator for generating an interrupt when is detected. 제2항 또는 제3항에 있어서, 상기 특정키는 행과 렬라인이 접속된 두개의 단자 사이에 접지단자를 구비하여 스위치가 눌릴 경우에 상기 행과 렬라인이 접지되도록 하는 구조를 가진 키스위치로 구성됨을 특징으로 하는 키보드 인코딩 장치.The key switch according to claim 2 or 3, wherein the specific key has a ground terminal between two terminals connected to row and column lines so that the row and column lines are grounded when the switch is pressed. Keyboard encoding device characterized in that consisting of. 제2항 또는 제3항에 있어서, 상기 특정키는 행과 렬라인이 접속된 두개의 단자 와 스위치 자체가 접지된 스위치를 스위치가 눌릴 경우에 행과 렬라인이 접지되도록 하는 구조를 가진 키스위치로 구성됨을 특징으로 하는 키보드 인코딩 장치.The key switch according to claim 2 or 3, wherein the specific key has a structure in which the row and column lines are grounded when the switch is pressed on two terminals to which the row and column lines are connected and the switch itself is grounded. Keyboard encoding device characterized in that consisting of. 키보드 인코딩 장치에서 특정키 눌림을 감지하는 방법에 있어서, 일정한 레벨로 행과 렬라인으로 공급되는 풀-업전압 레벨의 변화를 감지하여 감지신호를 발생하는 제1과정과, 특정키 눌림에 따른 감지신호가 발생되면 인터럽트를 수행하는 제2과정과, 상기 인터럽트에 따라 상기 제1과정에서 발생되는 감지신호를 받아 눌린 특정키의 좌표를 검출하는 제3과정으로 이루어짐을 특징으로 하는 특정키 눌림 검출방법.A method for detecting a specific key press in a keyboard encoding apparatus, comprising: a first process of detecting a change in a pull-up voltage level supplied to a row and a column line at a predetermined level and generating a detection signal; and detecting according to a specific key press A second process of performing an interrupt when a signal is generated and a third process of detecting coordinates of a specific key pressed by receiving a detection signal generated in the first process according to the interrupt .
KR1019950044853A 1995-11-29 1995-11-29 Keyboard incoding device and method thereof KR0165208B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950044853A KR0165208B1 (en) 1995-11-29 1995-11-29 Keyboard incoding device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950044853A KR0165208B1 (en) 1995-11-29 1995-11-29 Keyboard incoding device and method thereof

Publications (2)

Publication Number Publication Date
KR970028969A KR970028969A (en) 1997-06-26
KR0165208B1 true KR0165208B1 (en) 1999-01-15

Family

ID=19436501

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950044853A KR0165208B1 (en) 1995-11-29 1995-11-29 Keyboard incoding device and method thereof

Country Status (1)

Country Link
KR (1) KR0165208B1 (en)

Also Published As

Publication number Publication date
KR970028969A (en) 1997-06-26

Similar Documents

Publication Publication Date Title
KR100218916B1 (en) Power management system in usb hub unit
JPH02227670A (en) Zero input current measuring apparatus
KR970059947A (en) Data processing system and method for accessing external device
KR0165208B1 (en) Keyboard incoding device and method thereof
JP3201873B2 (en) Method and apparatus for detecting coordinates of resistance pressure-sensitive tablet
US10318058B2 (en) Control circuit for resistive film touch panel
US5702625A (en) Encoder key input device for a microwave oven and interrupt processing method using the same
KR100407930B1 (en) Device for preventing halt of portable computer
KR890005310B1 (en) Key scan circuit
KR930020652A (en) Large scale integrated circuit devices
US5721708A (en) Reduction of the address pins of the integrated circuit
KR880001219B1 (en) Computer interface circuit
JPH06181400A (en) Mounting of ic and decision of kinds of circuits and functions
KR940012128A (en) Micro computer
KR100209697B1 (en) Chip connector
KR950000357Y1 (en) Keyboard controller reset circuit
KR900002497Y1 (en) Firmware action analysis devices
JP2502012B2 (en) Switch status detector
KR100319516B1 (en) Key-in Scanning Device
KR970028568A (en) Microcontroller Test Circuits and Methods
KR950009872Y1 (en) Data output circuit of plc
JPS62200417A (en) Keyboard circuit
KR19980067524A (en) Microcontroller Development System
KR100543031B1 (en) Rush current measuring device of liquid crystal display module
JPH01169501A (en) Switch signal reader

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20050802

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee