KR940008859B1 - Key-input apparatus for computer system and processing method thereof - Google Patents

Key-input apparatus for computer system and processing method thereof Download PDF

Info

Publication number
KR940008859B1
KR940008859B1 KR1019910023487A KR910023487A KR940008859B1 KR 940008859 B1 KR940008859 B1 KR 940008859B1 KR 1019910023487 A KR1019910023487 A KR 1019910023487A KR 910023487 A KR910023487 A KR 910023487A KR 940008859 B1 KR940008859 B1 KR 940008859B1
Authority
KR
South Korea
Prior art keywords
key
input
register
output
converter
Prior art date
Application number
KR1019910023487A
Other languages
Korean (ko)
Other versions
KR930013955A (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 KR1019910023487A priority Critical patent/KR940008859B1/en
Publication of KR930013955A publication Critical patent/KR930013955A/en
Application granted granted Critical
Publication of KR940008859B1 publication Critical patent/KR940008859B1/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

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 apparatus provides key input processing which can recognize multiple keys input data using a single input port. The apparatus comprises: a key data generating part (1) containing multiple key switches, an AD converter (21) converting analog signal supplied to the single input port (IP) to digital signal, an input register (22) storing the AD converter output, an output register (23) supplying grid signals (G-4G) to a key data generation part, a clock generator (24) supplying driving clock to an AD converter, an input register and an output register.

Description

컴퓨터 시스템의 키입력 처리장치와 그 방법Key input processing device and method of computer system

제1도는 본 발명에 의한 키입력 처리 시스템의 회로도.1 is a circuit diagram of a key input processing system according to the present invention.

제2도는 제1도와 관련된 각부동작 타이밍 챠트.2 is a part timing chart related to FIG.

제3도는 시스템에 탑재된 키입력 처리 프로그램의 일예도.3 is an example of a key input processing program installed in the system.

제4도는 입력데이타 키인식 패턴을 나타낸 도면이다.4 is a diagram illustrating an input data key recognition pattern.

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

1, 3 : 키데이타 발생부 21, 41A-41D : AD컨버터1, 3: key data generator 21, 41A-41D: AD converter

22, 42A-42D : 입력레지스터 23, 43 : 출력레지스터22, 42A-42D: Input Register 23, 43: Output Register

24 : 클럭발생기 25, 45 : 데이타버스24: clock generator 25, 45: data bus

본 발명은 컴퓨터 시스템등의 키입력 처리수단과 관련된 것으로서, 이는 특히 시스템 마이콤등의 입력포트단자를 단지 하나만 사용하여 다수키의 입력 정보를 인식할 수 있도록한 키입력처리 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to key input processing means such as a computer system, and more particularly, to a key input processing apparatus and a method for recognizing input information of multiple keys using only one input port terminal such as a system microcomputer. .

종래에는 이러한 키입력 처리수단이 시스템 마이콤의 다수입력 포트로 이어진 키입력 장치가 구비되어져서 활용되고 있고, 그 방식은 키스캔방식으로 되어있다.Conventionally, such a key input processing means is utilized by being provided with a key input device connected to a plurality of input ports of the system micom, and the method is a kisscan method.

그러나, 이러한 종래 기술에서는 시스템 마이콤의 입력포트를 다수개 이용함에 따른 시스템 마이콤의 아키텍춰 설계를 용이하게 이룰수 없고, 입,출력된 이용설계에 따른 제약으로 말미암아 시스템 마이콤의 기능적 제약을 야기할 수 밖에 없는 것이었다.However, in such a prior art, the architecture design of the system micom is not easily achieved by using multiple input ports of the system micom, and the functional limitation of the system micom is inevitably caused by the constraints of the input and output usage designs. Was.

본 발명의 목적은 시스템 마이콤의 단일 포트(핀)을 이용하여 키입력정보가 인식될 수 있도록한 키입력 처리장치를 제공코져 한 것이다.An object of the present invention is to provide a key input processing apparatus which enables key input information to be recognized using a single port (pin) of the system micom.

본 발명은 특히 다수의 키매트릭스 등분저항에 의해 차등전압을 발생하는 키데이타 발생부와, 이 키데이타 발생부에서 발생된 아날로그 전압을 디지탈로 변환하는 AD컨버터 및 이 AD컨버터부의 디지탈 출력을 일시 기억하여 시스템 버스로 제공하는 입력레지스터와, 상기 키데이타 발생부에 구동 그리드신호를 제공하는 출력레지스터등이 구비되어진 시스템 마이콤과의 관련 구성으로되는 키입력처리 장치와 그 키입력 처리방법을 특징으로 하는 것이다.In particular, the present invention temporarily stores a key data generation unit for generating a differential voltage by a plurality of key matrix equalization resistors, an AD converter for converting an analog voltage generated by the key data generation unit into digital, and a digital output of the AD converter unit. And a key input processing device having a related configuration with an input register provided to a system bus and an output register for providing a driving grid signal to the key data generating unit, and a key input processing method thereof. will be.

이하에서 이를 좀더 구체적으로 설명하면 다음과 같다.Hereinafter, this will be described in more detail.

즉, 제1도는 본 발명에 의한 키입력 처리장치를 나타내었다.That is, FIG. 1 shows a key input processing apparatus according to the present invention.

여기서는 다수의 키매트릭스 저항(R10-R14, R20-R24, R30-R34, R40-R44)과 매트릭스키(SW10-SW14, SW20-SW24, SW30-SW34, SW40-SW44)을 포함한 키데이타 발생부(1)와, 이 키데이타 발생부(1)에서 제공된 단일 라인의 키입력신호와 이어지는 키단일 입력포트(IP) 및 AD컨버터(21)와, 입력레지스터(22) 및 상기 키데이타 발생부(1)를 구동하는 트랜지스터(Q1-Q4) 및 출력레지스터(23)와, 상기 입,출력 레지스터(22,23)에 구동클럭을 제공하는 클럭발생기(24)와, 키입력신호가 마이콤(4)의 단일 입력포트(IP)로 가해질때 이것이 마이콤(4)의 단일 입력 포트로 되돌아가는 것을 방지하기 위한 다이오드(D1-D4)회로를 포함한 구성으로 되어있다.Here, a number of key matrix resistors (R 10 -R 14 , R 20 -R 24 , R 30 -R 34 , R 40 -R 44 ) and matrix keys (SW 10 -SW 14 , SW 20 -SW 24 , SW 30- A key data generator 1 including SW 34 , SW 40 -SW 44 , a single line key input signal provided by the key data generator 1, followed by a key single input port IP and an AD converter 21; ), A transistor (Q 1 to Q 4 ) and an output register (23) for driving the input register (22) and the key data generator (1), and a driving clock to the input and output registers (22, 23). Providing a clock generator 24 and a diode D 1 -D 4 to prevent it from returning to the single input port of the microcomputer 4 when a key input signal is applied to the single input port IP of the microcomputer 4. The circuit includes a circuit.

한편, 제3도는 제1도와 관련하여 시스템 마이콤에 탑재되어진 키데이타 인식 프로그램(KIP)을 나타내었다.Meanwhile, FIG. 3 shows a key data recognition program (KIP) mounted in the system micom in relation to FIG.

여기서는 시작 단계로 부터 1G가 온되었는가를 체크하여(스텝 51) Y(Yes)이면 입력레지스터(22)의 데이타 값을 읽고(스텝 58), N(NO)이면 2G가 온인가 체크한다(스텝 52). 여기서 Y이면 입력레지스터(22)값을 읽고(스텝 68), N이면 3G가 온되었는가를 체크한다(스텝 53).In this case, it is checked whether 1G is turned on from the start step (step 51). If Y (Yes), the data value of the input register 22 is read (step 58). If N (NO), 2G is checked (step 52). ). If Y, the input register 22 is read (step 68), and if N, 3G is turned on (step 53).

또 스텝 53에서 N이면 역시 4G가 온인가를 체크하여(스텝 54), N이면 n카운터를 세트하고(스텝 55), 카운트수가 n인가를 체크하여(스텝 56), Y이면 n카운터를 리세트한후(스텝 57) 종료하며, 스텝 56에서 w이면 스텝 51로 간다.In step 53, if N is also checked whether 4G is on (step 54), if N is set, n counters are set (step 55), if the number of counts is checked n (step 56), if Y, n counters are reset. After completion (step 57), the process goes to step 51 if it is w in step 56.

또, 스텝 53, 54에서 Y이면 입력레지스터(42)값을 읽고(스텝 72,76), 스텝 58, 68, 72, 76 이후는 입력이 존재하는가를 체크하여(스텝 59, 69, 73, 77), N이면 스텝 52, 53, 54, 55로 각기 가고, Y이면 키인식 패턴 A패턴 데이타-D패턴 데이타를 각기 읽고(스텝 60, 70, 74, 78), A, B, C, D 데이타를 비교판정한후(스텝 67, 71, 75, 79)인식한 키에 대한 처리 동작을 진행하는 일련의 처리 과정으로 되어있다.If Y in steps 53 and 54, the value of input register 42 is read (steps 72 and 76), and after steps 58, 68, 72 and 76, it is checked whether an input exists (steps 59, 69, 73 and 77). N, go to step 52, 53, 54, 55, and Y read key recognition pattern A pattern data-D pattern data (step 60, 70, 74, 78), A, B, C, D data After a comparison decision is made (steps 67, 71, 75, and 79), a series of processing steps are performed for processing the recognized key.

이러한 구성의 본 발명은 그 작용 및 효과가 다음과 같다.The present invention of such a configuration is as follows.

즉, 본 발명의 시스템 마이콤(2)에선 제1도와 같이 그리드(Grid) 데이타를 출력레지스터(23)에 제공하면, 키데이타 발생부(1)에선 등분저항 R10-R14, R20-R24, R30-R34, R40-R44에 출력레지스터(23)에 의한 그리드 신호가 제공된다.That is, in the system microcomputer 2 of the present invention, when the grid data is provided to the output register 23 as shown in FIG. 1, the equalization resistances R 10 -R 14 and R 20 -R are provided in the key data generator 1. 24 , R 30 -R 34 and R 40 -R 44 are provided with a grid signal by the output register 23.

또, 이때는 제2도와 같이 G1-G4의 그리드 신호가 출력레지스터(23)에 의해 제공되고 이때의 펄스폭을 t1이라 하면 이것은 키리턴 체크(return check)가 가능한 펄스폭 정도로 설정한다.At this time, when the grid signal of G 1 -G 4 is provided by the output register 23 as shown in FIG. 2 and the pulse width at this time is t 1 , this is set to the pulse width at which the key return check can be performed.

그러므로, 상기 G1-G4출력이 키데이타 발생부(1)로 제공되는 상태에서 스위치(SW10-SW44)중 어느 하나도 온(ON)되지 않는 경우는 다이오드(D1-D4)를 통해 AD컨버터(21)로 그 저항치에 따른 아날로그 값이 제공된다. 이때의 아날로그 레벨은 각각 등으로 된다. 또, 이후 스위치 SW1이 제3도와 같이 t3만큼 온(ON)된 경우는 트랜지스터(Q1-Q4)중 트랜지스터(Q1)회로만 온되어 1G측의 리턴 레벨을로 된다.Therefore, when none of the switches SW 10- SW 44 are turned on in the state where the G 1 -G 4 output is provided to the key data generator 1, the diodes D 1 -D 4 are turned off. Through the analog converter according to the resistance value is provided to the AD converter 21. The analog level at this time is And so on. In addition, when the switch SW 1 is turned on by t 3 as shown in FIG. 3, only the transistor Q 1 circuit of the transistors Q 1 -Q 4 is turned on, and the return level on the 1G side is increased. It becomes

이것은 제3도 스위치 SW11의 온기간 t3에 해당하는 A파형과 같으므로 이러한 리턴 신호가 단일 키입력 포트를 통해 시스템 CPU측으로 가해지고 이것은 AD컨버터(21)와 입력레지스터(22)를 통해 시스템 버스(25)로 입력되는 것이다.This is the same as the A waveform corresponding to the ON period t 3 of the third degree switch SW 11 , so this return signal is applied to the system CPU side through a single key input port, which is connected to the system via the AD converter 21 and the input register 22. It is input to the bus 25.

이러한 상태에서 시스템 마이콤(2)은 제3도예의 키데이타 인식프로그램(KIP)으로 1G-4G그리드 상태를 각기 체크하고 입력값을 읽으며 입력을 읽어서 키인식 패턴 A-D패턴데이타로 구분하여 읽는다(스텝 51-54, 스텝 58, 68, 72, 76, 59, 69, 73, 77, 60, 70, 74, 78 참조).In this state, the system micom 2 checks the 1G-4G grid state with the key data recognition program (KIP) of FIG. 3, reads the input value, reads the input, and divides it into the key recognition pattern AD pattern data (step 51). -54, steps 58, 68, 72, 76, 59, 69, 73, 77, 60, 70, 74, 78).

한편, 제4도는 본 발명의 입력데이타에 따른 키인식패턴을 나타낸 것이다.On the other hand, Figure 4 shows a key recognition pattern according to the input data of the present invention.

이러한 본 발명은 키매트릭스가 저항회로와 함께 구성되면서 하나의 키데이타 출력을 발생시키는 키데이타 발생부로 되고, 시스템 마이콤은 하나의 입력된 포트로 키입력데이타를 인식할 수 있어 이러한 시스템 마이콤의 설계를 용이화할 수 있는 유익한 특징이 있는 것이다.In the present invention, the key matrix is configured with a resistance circuit, and generates a key data output unit. The system micom can recognize key input data with a single input port. There are beneficial features that can be facilitated.

Claims (2)

등분저항과 함께 복수의 키스위치가 포함된 키데이타 발생부(1)와, 이 키데이타 발생부에서 하나의 출력라인으로 제공되는 전압량을 입력받는 하나의 입력포트(IP)와, 이 하나의 입력포트(IP)로 제공된 아날로그 신호를 디지탈로 변환하는 AD컨버터(21), 이 AD컨버터(21)의 출력을 일시 저장하는 입력레지스터(22), 상기 키데이타 발생부(1)에 그리드신호(G-4G)를 제공하는 출력레지스터(23), AD컨버터(21) 및 입력레지스터(22)와 출력레지스터(23)에 구동클럭을 제공하는 클럭발생기(24)가 시스템 마이콤(2)측에 구비되어져 있는 구성을 특징으로 하는 컴퓨터 시스템의 키입력 처리장치.A key data generator (1) including a plurality of key switches together with an equal resistance, one input port (IP) for receiving a voltage amount provided from the key data generator to one output line, and one of An AD converter 21 for converting the analog signal provided to the input port IP into digital, an input register 22 for temporarily storing the output of the AD converter 21, and a grid signal The output register 23, the AD converter 21, and the clock generator 24 providing the drive clock to the input register 22 and the output register 23 are provided on the system microcomputer 2 side. Key input processing apparatus of a computer system characterized in that the configuration. 다수의 매트릭스 저항과 매트릭스키의 조합으로 단일의 키데이타 출력을 발생하고, 이것을 시스템 마이콤에서 단일의 포트로 입력받아 각 그리드신호(1G-4G)상태에 따른 입력 레지스터의 값을 읽고, 입력조건에 따라 키인식 패턴 데이타를 읽으며, 이것을 비교판정 모드로 판정하여 키인식 정보을 얻어내는 일련의 처리 과정을 갖는 키데이타 인식프로그램(KIP)을 시스템에 구비시켜 단일 입력 포트로 키인식 데이타를 인식하는 방법을 특징으로 하는 컴퓨터 시스템등 키입력 처리방법.A combination of multiple matrix resistors and matrix keys generates a single key data output, which is input to a single port from the system micom and reads the value of the input register according to the state of each grid signal (1G-4G), According to the present invention, a key data recognition program (KIP) having a series of processes for reading key recognition pattern data and determining this as a comparative determination mode to obtain key recognition information is provided to recognize the key recognition data with a single input port. Key input processing method, such as a computer system.
KR1019910023487A 1991-12-19 1991-12-19 Key-input apparatus for computer system and processing method thereof KR940008859B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910023487A KR940008859B1 (en) 1991-12-19 1991-12-19 Key-input apparatus for computer system and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910023487A KR940008859B1 (en) 1991-12-19 1991-12-19 Key-input apparatus for computer system and processing method thereof

Publications (2)

Publication Number Publication Date
KR930013955A KR930013955A (en) 1993-07-22
KR940008859B1 true KR940008859B1 (en) 1994-09-28

Family

ID=19325223

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910023487A KR940008859B1 (en) 1991-12-19 1991-12-19 Key-input apparatus for computer system and processing method thereof

Country Status (1)

Country Link
KR (1) KR940008859B1 (en)

Also Published As

Publication number Publication date
KR930013955A (en) 1993-07-22

Similar Documents

Publication Publication Date Title
KR920001960B1 (en) Key-input device
KR930008505Y1 (en) Key input circuit of micro computer
JP4027285B2 (en) Keypad device
US6266049B1 (en) One-chip microcomputer system
KR940008859B1 (en) Key-input apparatus for computer system and processing method thereof
US5371498A (en) Circuit for recognizing key inputs
US4193038A (en) Key input apparatus
GB2213299A (en) Coincidence circuit
US5410312A (en) Digital/analog conversion device with two switched latches for simultaneous D/A conversion
JPH0534409A (en) Test mode control signal generating circuit
JP2614897B2 (en) Key input device
SU1377847A1 (en) Data input device
SU1174917A1 (en) Information input device
SU1322365A1 (en) Control device for linear segment indicator
SU980089A1 (en) Number comparing device
SU1553927A1 (en) Apparatus for checking correct connection of electric wiring
SU1108438A1 (en) Device for detecting extremum number
SU1649533A1 (en) Numbers sorting device
JP2579657Y2 (en) Electronics
SU1495844A2 (en) Character line generator for character generator with tv scanning
KR900006192Y1 (en) Driving circuit of colour ribbon motor
SU1734096A1 (en) Microprogram running checker
JP2002157067A (en) Key input device
SU789977A1 (en) Control system monitoring device
SU1192138A1 (en) Sensory board

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19981221

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee