CN101552611B - Method for scanning keyboard scanning circuit - Google Patents

Method for scanning keyboard scanning circuit Download PDF

Info

Publication number
CN101552611B
CN101552611B CN2009101350285A CN200910135028A CN101552611B CN 101552611 B CN101552611 B CN 101552611B CN 2009101350285 A CN2009101350285 A CN 2009101350285A CN 200910135028 A CN200910135028 A CN 200910135028A CN 101552611 B CN101552611 B CN 101552611B
Authority
CN
China
Prior art keywords
output
key scan
input
button
scan line
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
CN2009101350285A
Other languages
Chinese (zh)
Other versions
CN101552611A (en
Inventor
金红志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN CHINALC SEMICONDUCTOR CO Ltd
Original Assignee
SHENZHEN CHINALC SEMICONDUCTOR CO Ltd
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=41156633&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN101552611(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by SHENZHEN CHINALC SEMICONDUCTOR CO Ltd filed Critical SHENZHEN CHINALC SEMICONDUCTOR CO Ltd
Priority to CN2009101350285A priority Critical patent/CN101552611B/en
Publication of CN101552611A publication Critical patent/CN101552611A/en
Application granted granted Critical
Publication of CN101552611B publication Critical patent/CN101552611B/en
Ceased legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a keyboard scanning method, comprising following steps: outputting scanning signal of low level pulse; monitoring output level jumping state of key output lines, wherein only two outputs generate level jumping, the key is judged as a effective key. By the invention for N IO scanning interfaces, N*(N-1)/2 keys can be composed, thereby greatly increasing number of keys and reducing producing cost.

Description

The scan method of keyboard scanning circuit
The application is to be that November 1, application number in 2006 are 200610063432.2, name is called dividing an application of " keyboard scanning circuit and scan method thereof " applying date.
Technical field
The present invention relates to the scan method of the scanning circuit of a kind of keyboard scanning method, particularly a kind of matrix type structure.
Background technology
Existing keyboard scanning circuit adopts the matrix structure form more, every input, output line use an IO scanning mouth, scan matrix for X*Y, be X scanning output line, Y scanning incoming line, the output scanning signal is to Y different scanning incoming lines in order for X scanning output line, and the internal judgment circuit sends different sign indicating numbers according to the different output lines and the combination of incoming line.As chip 3010,64 keys need 16 IO scanning mouths, 8 are used for incoming line, other 8 are used for output line, and 7461,32 keys of chip need 12 IO mouths, 8 are used for incoming line, other 4 are used for output line etc., and this scan mode is faced with very big cost pressure in the so fierce market of this competition today, therefore need go to seek a kind of more cheap scan mode.Along with development of science and technology, the application of the progress in epoch, particularly remote controller more and more widely, the bond number of pressing on the remote controller also gets more and more, but the quality requirement to remote controller is more and more higher, and cost pressure is also increasing, so traditional scan mode can not satisfy requirement cheaply.
Summary of the invention
Number of keys needs a large amount of technical problems that scan mouth for a long time in the prior art in order to solve in the present invention, has proposed a kind of scan method of keyboard scanning circuit of the IO of saving scanning mouth.
The key scan method that the present invention proposes, described key scan method is applied in the keyboard scanning circuit, described keyboard scanning circuit, comprise input and output cross matrix, button output line unit and key scan line circuit, every key scan line in this key scan line circuit all comprises the reverser of two serial connections, and each sweep signal DO exports KIO through two corresponding reverser outputs as each key scan line; The output signal of described key scan line circuit is as the input signal of input and output cross matrix, and the output signal of the input signal of described key scan line circuit and input and output cross matrix is jointly as the input signal of button output line unit,
Every button output line in the described button output line unit comprises the NAND gate of a reverser and one two input, each key scan line output KIO through reverser and corresponding sweep signal DO together as the input of NAND gate, the output EI of described NAND gate said method comprising the steps of as the judgement signal of actuation of keys:
1) sweep signal of output low level pulse, two adjacent low level pulses have a time interval;
2) monitor the output level saltus step situation of each button output line unit, when having monitored two outputs when producing the level saltus steps, be judged as an actuation of keys and taken place, button be input, the output line corresponding key of these two output connections.
Reverser away from sweep signal DO in described each key scan line is to be made of a undersized PMOS pipe and a large-sized NMOS pipe.
Technique effect of the present invention is: because each key scan line is simultaneously as incoming line and output line, it is bidirectional interface, different key scan lines can constitute the button point in twos, and the key scan line can only be as incoming line or output line in the prior art, and incoming line corresponding key scan line can only constitute the button point with output line corresponding key scan line combination.Number of keys of the present invention is for N IO scanning mouthful, can constitute the button of N * (N-1)/2, increased the quantity of button greatly, reduced production cost.
Description of drawings
Fig. 1 is key scan line of the present invention and output line circuit diagram thereof;
Fig. 2 is a sweep signal output waveform figure of the present invention;
Fig. 3 is the keyboard scanning circuit figure of 4 IO mouths in the preferred embodiment of the present invention.
Embodiment
Further specify technical scheme of the present invention below in conjunction with accompanying drawing and by specific embodiment.
As shown in Figure 1, sweep signal DO (0) is through twice anti-phase back output KIO (0) of two reversers.Output KIO (0) while of key scan line is as the incoming line and the output line of button cross matrix.The output KIO (0) of key scan line imports a NAND gate through behind the reverser with sweep signal DO (0), and its output EI (0) is as the judgement signal of actuation of keys.That reverser away from sweep signal DO in each key scan line is to be made of a undersized PMOS pipe and a large-sized NMOS pipe, and the output of this reverser constitutes output KIO.
As shown in Figure 2, sweep signal DO is the signal that internal circuit produces, and is low level pulse, exports square wave in order.And the output low level pulse of two adjacent sweep signals has certain time interval, handles can for like this sequence circuit of back and bringing great convenience, and can avoid the generation of race hazard.Obtain after oppositely through twice because the output KIO of key scan line is sweep signal DO, so its waveform is identical with the waveform of sweep signal DO.
When the output KIO (0) of key scan line does not link to each other with the output of other key scan line, by the circuit of Fig. 1 as can be known its output EI (0) keep high level always, can the output low level pulse.
As shown in Figure 3, the keyboard scanning circuit with 4 IO mouths is that example specifies scanning circuit of the present invention and method.4 tunnel sweep signal DO (0)-DO (3) is respectively through exporting KIO (0)-KIO (3) in the key scan line circuit 10 behind two reversers.Output KIO (0)-KIO (3) constitutes cross matrix as incoming line and output line simultaneously, and has formed 6 buttons of 1 to 6 on input and output cross matrix 11.Output KIO (0) is through importing a NAND gate with sweep signal DO (0) behind the reverser, and its output EI (0) is as the judgement signal of actuation of keys, and 4 IO scanning mouths have just constituted output EI (0)-EI (3).EI when button is not pressed (0)-EI (3) output keeps high level.
Be pressed to be the concrete scanning process of example explanation with button 1 below.When button 1 is pressed, KIO (0) links to each other with KIO (1), because the pulse of low level pulse ratio DO (1) output low level of DO (0) output early, the pulse of output KIO (1) output low level of the time ratio key scan line of output KIO (0) the output low level pulse of key scan line also early behind the process reverser.When the output KIO (0) of key scan line output low level pulse, this moment, the output KIO (1) of key scan line exported high level, because KIO (0) output low level is drop-down by big NMOS pipe, and KIO (1) exports high level by drawing on the little PMOS pipe, and pull-down capability is better than the ability of drawing, and finally they are drawn as near low level, through after once anti-phase, become high level, and DO this moment (1) is output as high level, so EI (1) is output as low level.Then when DO (1) output low level, same principle, EI (0) exports a low level.The internal logic decision circuitry just knows have key to press according to these two low level signals, and knows when have key to press, and the inner lock storage circuit will latch one group of code.Learning on EI (1) and EI (0) corresponding scanning line KIO (1) and the KIO (0) has button to press, and promptly button 1 is pressed.
Use 4 IO scanning mouths can only constitute 4 buttons for prior art, and the present invention can constitute 6 buttons.If 12 IO scanning mouthful, 36 buttons of multipotency structure of prior art adopt the present invention can construct 66 buttons, and number of keys increases greatly.
What deserves to be explained is, the replacement scheme of a lot of modification to be arranged, for example: export anti-phasely, increase the key scan number of pin, use some equivalent Symbol instead and replace, all belong to equivalent of the present invention based on principle of the present invention.Every key scan pin is two-way; promptly do output usefulness, do input usefulness again, each key scan pin all has sweep signal output; meet top computing formula by bond number and key scan pin, all should be considered as content disclosed in this invention and protection scope of the present invention.

Claims (2)

1. key scan method, it is characterized in that, described key scan method is applied in the keyboard scanning circuit, described keyboard scanning circuit, comprise input and output cross matrix (11), button output line unit (12) and key scan line circuit (10), every key scan line in this key scan line circuit (10) all comprises the reverser of two serial connections, and each sweep signal DO exports KIO through two corresponding reverser outputs as each key scan line; The output signal of described key scan line circuit (10) is as the input signal of input and output cross matrix (11), the output signal of the input signal of described key scan line circuit (10) and input and output cross matrix (11) is jointly as the input signal of button output line unit (12), every button output line in the described button output line unit (12) comprises the NAND gate of a reverser and one two input, each key scan line output KIO through reverser and corresponding sweep signal DO together as the input of NAND gate, the output EI of described NAND gate said method comprising the steps of as the judgement signal of actuation of keys:
1) sweep signal of output low level pulse, two adjacent low level pulses have a time interval;
2) the output level saltus step situation of monitoring button output line unit, when button output line circuit (12) has monitored two output generation level saltus steps, be judged as an actuation of keys and taken place, button is these two input, output line corresponding key that output connects.
2. key scan method according to claim 1 is characterized in that, the reverser away from sweep signal DO in described each key scan line is to be made of a undersized PMOS pipe and a large-sized NMOS pipe.
CN2009101350285A 2006-11-01 2006-11-01 Method for scanning keyboard scanning circuit Ceased CN101552611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101350285A CN101552611B (en) 2006-11-01 2006-11-01 Method for scanning keyboard scanning circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101350285A CN101552611B (en) 2006-11-01 2006-11-01 Method for scanning keyboard scanning circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100634322A Division CN100546202C (en) 2006-11-01 2006-11-01 Keyboard scanning circuit

Publications (2)

Publication Number Publication Date
CN101552611A CN101552611A (en) 2009-10-07
CN101552611B true CN101552611B (en) 2011-06-01

Family

ID=41156633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101350285A Ceased CN101552611B (en) 2006-11-01 2006-11-01 Method for scanning keyboard scanning circuit

Country Status (1)

Country Link
CN (1) CN101552611B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541267B (en) * 2010-12-31 2014-07-16 联芯科技有限公司 Matrix keyboard circuit, scanning method and device, processor and handheld terminal
CN102508556A (en) * 2011-10-31 2012-06-20 深圳市元征软件开发有限公司 Realization method for scanning keyboard
CN109698705A (en) * 2019-01-09 2019-04-30 上海中基国威电子股份有限公司 A kind of multi-thread key judges system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1074545A (en) * 1992-10-28 1993-07-21 肖彦博 The key-code input method of electronic equipment and device
CN2264940Y (en) * 1996-01-08 1997-10-15 刘春一 Keyboard-type electronic burglar alarm controller
US5790054A (en) * 1996-07-26 1998-08-04 United Microelectronics Corp. Apparatus and method for scanning a key matrix
CN1349308A (en) * 2000-10-12 2002-05-15 佳生科技股份有限公司 Keyboard and its test method
CN1665137A (en) * 2004-03-01 2005-09-07 达方电子股份有限公司 Language family switchable keyboard and method for making same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1074545A (en) * 1992-10-28 1993-07-21 肖彦博 The key-code input method of electronic equipment and device
CN2264940Y (en) * 1996-01-08 1997-10-15 刘春一 Keyboard-type electronic burglar alarm controller
US5790054A (en) * 1996-07-26 1998-08-04 United Microelectronics Corp. Apparatus and method for scanning a key matrix
CN1349308A (en) * 2000-10-12 2002-05-15 佳生科技股份有限公司 Keyboard and its test method
CN1665137A (en) * 2004-03-01 2005-09-07 达方电子股份有限公司 Language family switchable keyboard and method for making same

Also Published As

Publication number Publication date
CN101552611A (en) 2009-10-07

Similar Documents

Publication Publication Date Title
CN100546202C (en) Keyboard scanning circuit
CN1770637B (en) Method and system for high performance key detection with key debounce
CN101552611B (en) Method for scanning keyboard scanning circuit
CN109815619B (en) Method for converting synchronous circuit into asynchronous circuit
CN201984777U (en) LED (light-emitting diode) digital tube driving circuit
CN102819418B (en) FIFO data storage method and device of ultrafine particle gated clock
CN105468164B (en) Matrix keyboard scanner uni coding circuit
JPH07193492A (en) Synchronous binary counter
CN101145146A (en) USB interface drive device based on FPGA technology
CN102033568A (en) Multifunctional signal generator and realization method thereof
CN114974105B (en) Low-power-consumption pixel scanning circuit and method applied to micro display chip
CN103065672A (en) Asynchronous static random access memory based on internet protocol (IP) of synchronous static random access memory
CN201364568Y (en) Electronic whiteboard system adopting multifunctional digital keyboard
CN100498863C (en) Variable length coding method and circuit thereof
CN203800923U (en) Circuit suitable for chip test
CN205490496U (en) Matrix type keyboard operation discernment and coding circuit
CN108491091B (en) A kind of independent keyboard state recognition and coding method
CN105680873B (en) Independent keyboard scanning encoding circuit
CN105471439B (en) Independent keyboard scanner uni coding circuit
CN205353947U (en) Stand alone type keyboard scan and coding circuit
CN203800920U (en) Signal conversion circuit applied to fuse circuit
CN203085182U (en) Asynchronous static random access memory based on IP (Internet Protocol) of synchronous static random access memory
CN203800922U (en) Function switching circuit suitable for chip test
CN105677053A (en) Stand-alone keyboard operation identifying and coding circuit
CN205334379U (en) Stand alone type keyboard state recognition and coding circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110601

Termination date: 20151101

EXPY Termination of patent right or utility model
C35 Partial or whole invalidation of patent or utility model
IW01 Full invalidation of patent right

Decision date of declaring invalidation: 20151218

Decision number of declaring invalidation: 27664

Granted publication date: 20110601