[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1055358C - Keyboard scanning and auxiliary input detecter and method - Google Patents

Keyboard scanning and auxiliary input detecter and method Download PDF

Info

Publication number
CN1055358C
CN1055358C CN94101097A CN94101097A CN1055358C CN 1055358 C CN1055358 C CN 1055358C CN 94101097 A CN94101097 A CN 94101097A CN 94101097 A CN94101097 A CN 94101097A CN 1055358 C CN1055358 C CN 1055358C
Authority
CN
China
Prior art keywords
input
output end
key
keyboard
port
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.)
Expired - Lifetime
Application number
CN94101097A
Other languages
Chinese (zh)
Other versions
CN1105495A (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.)
United Microelectronics Corp
Original Assignee
United Microelectronics Corp
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 United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to CN94101097A priority Critical patent/CN1055358C/en
Publication of CN1105495A publication Critical patent/CN1105495A/en
Application granted granted Critical
Publication of CN1055358C publication Critical patent/CN1055358C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention relates to a device and a method for keyboard scanning and the detection of auxiliary input. Various functions can be selected by utilizing the mode of connecting or not connecting a resistor between the existing input/output ports under the conditions of neither adding the number of ports nor affecting the original function of keyboard scanning. Moreover, an additional input function can be detected at each time of depressing a key on a keyboard, namely that the additional input function can change between every two times of key pressing input, which makes the application of input functions wide.

Description

The device and method that keyboard scan and additional input detect
The invention relates to the device and method that a kind of keyboard scan and additional input detect.In each country, setting to the specification of telephone system all is not quite similar, consult table, the cited specification of table one is actual employed in telephone dialer circuit, selecting as shown in Table 2 of specification in the table one is wherein if in same telephone dialer circuit, can choose various specification, then must increase several input ports, so that can predict the state that function key is set.But because of the number (that is port number) of the encapsulation overhead of integrated circuit and its pin position (pin) has direct relation, consult table three, generally speaking, the more then packaging cost is higher in the pin position, therefore reduce the pin position of integrated circuit and don't have influence on original function, or keep integrated circuit original pin position and promote its function, be one of target that designing for manufacturing person lays siege to.
In the prior art, predict the technology of circuit about keyboard scan and additional input function, can be with reference to Taiwan patent " keyboard scan and select circuit " (case number 79206648), the method of being utilized is behind POWER-ON, make the interconnective state of resistance between oscillator starting of oscillation and each input/output end port of start detection electric circuit inspection, just enter normal mode of operation then.The utilization of this kind method between existing keyboard input/output end port to connect or not connect the mode of resistance, increase additional input function, though it can reach the purpose of saving integrated circuit pin position, but still have two big shortcomings at least: first, this kind keyboard scan and selection circuit are when POWER-ON, the connection status of detection port external resistance, but if the system power supply shakiness then possibly can't detect or detect mistake; The second, this kind keyboard scan and select circuit only can in a period of time behind the POWER-ON at the beginning, detect the additional input function, in remaining time, the state of additional input function then can't detect if change.
The objective of the invention is in order to improve the shortcoming in the above-mentioned prior art, and the installation method that provides a kind of keyboard scan and additional input to detect, can reach the effect that increases input control and needn't increase integrated circuit pin position, can when each button, stably predict the variation of additional input function, escapable cost expands range of application.
Method utilization of the present invention connects or does not connect the mode of resistance between existing input/output end port, not increasing port number and not influencing under the situation of original keyboard scan function, can choose various function, for example, and at a M *Can increase on the N matrix keyboard
Figure C9410109700051
Plant and select.Simultaneously, device and method in keyboard scan of the present invention and additional input detection is all to detect the additional input function at every turn by the button on the lower keyboard time automatically, that is the additional input function can change between each button input, and makes that the application of input function is more extensive.
Technical scheme of the present invention is: the method that a kind of keyboard scan and additional input detect, utilize existing input/output end port to detect between each row input/output end port and between each row input/output end port whether be connected to resistance, use the increase input function, this method comprises following step:
When (i) on keyboard, having key to be pressed, will be in order to pause in action a period of time of a key scanning circuit of keyboard scan;
(ii) in this section time out, to detecting whether having via the interconnective situation of resistance between input/output end port between each row input/output end port and at each row, and the current potential information that will detect gained inputs in the storing apparatus, use judge be expert between input/output end port and the row input/output end port between whether interconnect via resistance;
(iii) stop between port whether via the detection of the interconnective situation of resistance, and make this key scanning circuit continue keyboard scan.
The device that a kind of keyboard scan and additional input detect comprises:
Gate generator is in order to produce various control clock pulse signals;
The row input/output end port is in order to the signal of the column position that transmits the key on the keyboard scan;
The row input/output end port is in order to the signal of the line position that transmits the key on the keyboard scan;
Key scanning circuit, this key scanning circuit detect the ranks position of a key that is pressed on the keyboard respectively via these row input/output end ports and these row input/output end ports according to the clock pulse signal that is produced by this gate generator;
Whether additional input testing circuit, this additional input testing circuit detect having via resistance between these row input/output end ports and between these row input/output end ports via these row input/output end ports and these row input/output end ports respectively according to the control clock pulse signal that is produced by this gate generator interconnects;
A most storing apparatus reach resistance connection state information between the port that is obtained by this additional input Function detection electric circuit inspection in order to record via the ranks positional information that this key scanning circuit scans this key that is pressed that obtains.
In order to promote understanding of the present invention, it is as follows now to be described with reference to the accompanying drawings preferred embodiment of the present invention.
Fig. 1 a is one typical 4 *The plan view of 3 matrix keyboards;
Fig. 1 b is 4 shown in Fig. 1 a *One of the key scanning circuit of 3 matrix keyboards circuit diagram;
Fig. 1 c is a clock pulse figure of the action of the key scanning circuit shown in the control chart 1b;
Fig. 2 a is a kind of circuit diagram whether circuit that is connected is arranged between integrated circuit port that detects;
Fig. 2 b is a clock pulse figure of the action of the key scanning circuit shown in the control chart 2a;
Fig. 3 a is a circuit diagram of keyboard scan of the present invention and additional input checkout gear;
Fig. 3 b is the pulse diagram in a period of time of the action of the circuit shown in the control chart 3a.
Utilize the circuit shown in Fig. 1 b and Fig. 2 a that the method that relevant keyboard scan of the present invention and additional input detect is described earlier respectively below.
Consult Fig. 1 a to 1c, it is one known 4 *The key scanning circuit of 3 matrix keyboards, system is worked by four clock pulse signal S1 to S4 controls in regular turn repeatedly.When clock pulse S1 was high potential, row input/output end port R1 to R4 was all the high potential with high impedance at the beginning, and row input/output end port C1 to C3 then is more low-impedance electronegative potential.If there is any key to be pressed, then will there be a port can reduce to electronegative potential among the row input/output end port R1 to R4, and when the high potential of clock pulse S2 finishes, the current potential of row input/output end port R1 to R4 is pinned to latch element 10a to 10d respectively.And then when clock pulse S3 is high potential, change scanning mode, make row input/output end port R1 to R4 be more low-impedance electronegative potential, and row input/output end port C1 to C3 is the high potential of high impedance, and when the high potential of clock pulse S4 finishes, the current potential of row input/output end port C1 to C3 is pinned to latch element 20a to 20c respectively.The action that repeats above-mentioned mixed sweep keyboard more for several times has one to be fixed as electronegative potential if row latch among the element 10a to 10d, also has one to be fixed as electronegative potential among the element 20a to 20d and latch, and then just can use the ranks position of confirming the key that is pressed.
Consult Fig. 2 a and 2b again, Fig. 2 a is a kind of circuit that whether is connected to resistance between integrated circuit port that detects, and Fig. 2 b is the clock pulse figure of this circuit of control, wherein, Rm and Rn are two input/output end ports of integrated circuit, and S1 and S2 then are the clock pulse control signal.Its working method is for when clock pulse S1 is high potential, utilize NMOS that the current potential of Rm port is pulled to zero potential, then when clock pulse S2 is high potential, utilize PMOS that the current potential of Rn port is pulled to power supply potential, and when the high potential of clock pulse S2 finishes, utilize and latch the current potential pinning of element 30 the Rm port.At this moment, if be connected to resistance between Rm port and the Rn port, the current potential that then latchs element 30 is a high potential; But if non-resistance is connected, the current potential that then latchs element 30 will be electronegative potential.That is, just can declare to know between the Rm port Rn port whether be connected to resistance by the output potential that latchs element 30.Differentiate the setting of various different input functions again by the different conditions that between port, whether is connected to resistance.
Again because the touch switch of keyboard is mechanical, so when just pressing key, have unsettled spring, cause in the current potential instability that begins to latch in the element, that is can cause spring noise (bouncing noise), must wait the spring noise to disappear, and latch the current potential of element stable after, could confirm the position of the key that is pressed.The time that this section waited for and confirmed, generally speaking have tens of milliseconds at least.The present invention promptly makes full use of this section stand-by period, and in this section a bit of period of key scanning pause in action with keyboard in the time, replace the continuous state that the additional input testing circuit detects resistance between each input/output end port, so, then when each key is imported, all can detect the set condition of additional input function effectively simultaneously, and reach the purpose that expands input function.Must illustrate a bit that promptly this is a bit of in order to detect time of additional input function, can be arranged in arbitrary period of the time of this section wait.
The working method of keyboard scanning circuit of the present invention and additional input testing circuit once was described respectively in front.Next one preferred embodiment of relevant keyboard scan of the present invention and additional input checkout gear will be described.Consult Fig. 3 a, as shown in the figure.Keyboard scan of the present invention and additional input checkout gear comprise gate generator (not shown in the diagram), and this clock pulse generator is in order to produce various control clock pulse signals; Row input/output end port Rm and Rn are in order to the signal of the column position that transmits the key on the keyboard scan; Row input/output end port Ci and Cj are in order to the signal of the line position that transmits the key on the keyboard scan; Key scanning circuit 60; Additional input testing circuit 70; And most individual storing apparatus 40a~40c and 50a~50c, wherein, when each button is imported, all can produce control signal " SKIP " and use 60 work of operating key scanning circuit or 70 work of additional input testing circuit, that is when SKIP is logical zero, key scanning circuit 60 work are to confirm the position of enter key; And when SKIP was logical one, the then output of stop key scanning circuit 60, and with additional input testing circuit 70 work was used detection at resistance links to each other between each input/output end port on the keyboard state.
Consult Fig. 3 b again, the working method of circuit of the present invention is shown in the sequential chart of Fig. 3 b.SKIP is that logical zero makes key scanning circuit 60 work at ordinary times, so that detect the key-press status of keyboard.When meeting the button input, then key be pressed during in, the a bit of time of the work of Pause key scanning circuit 60, and in this short time, SKIP is a logical one, and make key scanning circuit 60 no any outputs, simultaneously, storing apparatus 40a, 40c, 50a and 50b also do not accept the signal of any input/output end port, but detect between row input/output end port Rm and Rn and whether have resistance to be connected between row input/output end port Ci and Cj and when the high potential of clock pulse S2 finishes with additional input testing circuit 70, resistance connection status testing result between row input/output end port Rm and Rn is recorded among the storing apparatus 40b, in addition when the high potential of clock pulse S4 finishes, resistance connection status testing result between row input/output end port Ci and Cj is recorded among the storing apparatus 50c, SKIP replys to logical zero immediately, continues the key scanning work of keyboard again.In addition, when the SKIP signal can have key to be pressed, promptly become logical one on keyboard, or when the key that relieving is pressed, become logical one again, perhaps can become logical one in the arbitrary moment in a key is depressed to a period of time of confirming this key position.
At last, must illustrate because when button is imported, one row input/output end port and delegation's input/output end port short circuit will be arranged, so can't reach the purpose that increases input function with going in the mode whether resistance is connected between input/output end port at the row input/output end port.Again, the storing apparatus that uses in an embodiment of the present invention can constitute by latching element.
Though the present invention is with preferred embodiment explanation as above, so it is not in order to limiting the present invention, and to protection scope of the present invention should with claim the person of being defined exceed.
Table one
The telephonic communication specification Kind
The A dialing speed select (Dial Rate Sl st) B continuous/disconnected than (C of Make/Break ' Ratio) suspends (Flash) E dial impulse (Dialing Pulse) of opening circuit of (Pause) D moment Ten pulses in 1 second or 20 pulses (10PPS or 20PPS) 1: 2 in 1 second or 2: 32 seconds~4 seconds 80ms~600ms normal or n+1 or 10-n
Push-button dialing Send pulse number
Normal n+1 10-n
    0     1     2     3     4     5     6     7     8     9     10       1      10     1        2      9     2        3      8     3        4      7     4        5      6     5        6      5     6        7      4     7        8      3     8        9      2     9        10     1
Table two
Specification Mode
The A dialing speed select B continuous/disconnectedly suspend the E dial impulse of opening circuit of D moment than C With an input port select 10PPS or 20PPS select 1: 2 or fix 3.6 seconds at 2: 3 with an input port when continuous/disconnected than=1: to select 100ms to work as in the time of 2 continuous/disconnected than=2: select 600ms to be fixed on normally in the time of 3
Table three
Port (Pin) Packing (Package) price (NT)
16 18 20 22 2.5 3.2 4.3 5.4

Claims (5)

1, the method for a kind of keyboard scan and additional input detection, utilize existing input/output end port to detect between each row input/output end port and between each row input/output end port whether be connected to resistance, use the increase input function, this method comprises following step:
When (i) on keyboard, having key to be pressed, will be in order to pause in action a period of time of a key scanning circuit of keyboard scan;
(ii) in this section time out, to detecting whether having via the interconnective situation of resistance between input/output end port between each row input/output end port and at each row, and the current potential information that will detect gained inputs in the storing apparatus, use judge be expert between input/output end port and the row input/output end port between whether interconnect via resistance;
(iii) stop port whether via the detection of the interconnective situation of resistance, and make this key scanning circuit continue keyboard scan.
2, the method for keyboard scan as claimed in claim 1 and additional input detection, it is characterized in that, there is key to be pressed from keyboard, to the position of in this storing apparatus, confirming this key that is pressed, the time that needs one section wait therebetween, and in order to whether can be the arbitrary period in the time of this section wait via interconnective this section period of resistance between detection port.
3, the method for keyboard scan as claimed in claim 1 and additional input detection, it is characterized in that, on keyboard, there is key to be pressed, continue of the scanning of this key scanning circuit to keyboard, and when decontroling this key that is pressed, stop the output of this key scanning circuit, begin simultaneously whether to interconnect between detection port via resistance.
4, the device of a kind of keyboard scan and additional input detection comprises:
Gate generator is in order to produce various control clock pulse signals;
The row input/output end port is in order to the signal of the column position that transmits the key on the keyboard scan;
The row input/output end port is in order to the signal of the line position that transmits the key on the keyboard scan;
Key scanning circuit, this key scanning circuit detect the ranks position of a key that is pressed on the keyboard respectively via these row input/output end ports and these row input/output end ports according to the clock pulse signal that is produced by this gate generator;
Whether additional input testing circuit, this additional input testing circuit detect having via resistance between these row input/output end ports and between these row input/output end ports via these row input/output end ports and these row input/output end ports respectively according to the control clock pulse signal that is produced by this gate generator interconnects;
A most storing apparatus reach resistance connection state information between the port that is obtained by this additional input Function detection electric circuit inspection in order to record via the ranks positional information that this key scanning circuit scans this key that is pressed that obtains.
5, the device of keyboard scan as claimed in claim 4 and additional input detection is characterized in that these storing apparatus are to be made of latch cicuit.
CN94101097A 1994-01-15 1994-01-15 Keyboard scanning and auxiliary input detecter and method Expired - Lifetime CN1055358C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN94101097A CN1055358C (en) 1994-01-15 1994-01-15 Keyboard scanning and auxiliary input detecter and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN94101097A CN1055358C (en) 1994-01-15 1994-01-15 Keyboard scanning and auxiliary input detecter and method

Publications (2)

Publication Number Publication Date
CN1105495A CN1105495A (en) 1995-07-19
CN1055358C true CN1055358C (en) 2000-08-09

Family

ID=5030036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN94101097A Expired - Lifetime CN1055358C (en) 1994-01-15 1994-01-15 Keyboard scanning and auxiliary input detecter and method

Country Status (1)

Country Link
CN (1) CN1055358C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737734B (en) * 2004-07-09 2010-06-16 Ipg电子504有限公司 Keyboard with increased number of keys for an electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1037042A (en) * 1988-04-04 1989-11-08 约翰弗兰克制造公司 Keyboard scanner apparatus and method
DE4111329C1 (en) * 1991-04-08 1992-12-24 S. Siedle & Soehne Telefon- Und Telegrafenwerke Stiftung & Co, 7743 Furtwangen, De Keyboard scanning appts. for detecting key depressions - identifies key from return line and from temporal location of pulse on line, using shift register and processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1037042A (en) * 1988-04-04 1989-11-08 约翰弗兰克制造公司 Keyboard scanner apparatus and method
DE4111329C1 (en) * 1991-04-08 1992-12-24 S. Siedle & Soehne Telefon- Und Telegrafenwerke Stiftung & Co, 7743 Furtwangen, De Keyboard scanning appts. for detecting key depressions - identifies key from return line and from temporal location of pulse on line, using shift register and processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737734B (en) * 2004-07-09 2010-06-16 Ipg电子504有限公司 Keyboard with increased number of keys for an electronic device

Also Published As

Publication number Publication date
CN1105495A (en) 1995-07-19

Similar Documents

Publication Publication Date Title
EP1505484B1 (en) Inputting method and inputting apparatus
US5793313A (en) Apparatus and method for scanning a key matrix
CN1055358C (en) Keyboard scanning and auxiliary input detecter and method
US5554985A (en) Method for scanning keypad architecutre employing power source and ground of digital electronic devices
JPH0437351A (en) Selection signal transmission circuit for telephone set
US5285495A (en) Push-button telephone dialing device with telephone hold function circuit
CN1055360C (en) Method and apparatus for detecting additional function of keyboard
US4288787A (en) Control keyboard with switches of mechanical constructions
US5543786A (en) Keyboard scanning circuit
EP0782312A2 (en) Analog self-test circuitry for a trunk interface
US4241333A (en) Key-operated arrangement for producing code characters
CN1143201C (en) Keyboard and device provided with the keyboard
CA1328935C (en) Keypad/dialler interface for telephone test set
US5031212A (en) Dialer circuit
CN2337721Y (en) Keyboard scanning and selecting device
JPH10255590A (en) Switch system and its data fetching method
EP1100069A1 (en) Keyboard having multi-bit key switches
KR20000005271U (en) Switch state detection circuit using keypad state scanning logic
US20040012492A1 (en) Apparatus and method for reducing electromigration
CN2574300Y (en) Protection circuit unit for power supply system
CN101257309A (en) Input device and control method
CN1060302C (en) Dial device with bidirectional interface
TH32037A (en) Keyboard for multimedia
JPS6365754A (en) Communication equipment incorporating telephone set
KR950002586B1 (en) Dialing key system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Expiration termination date: 20140115

Granted publication date: 20000809

CX01 Expiry of patent term