CN1412650A - Keyboard control circuit of universal serial bus interface - Google Patents
Keyboard control circuit of universal serial bus interface Download PDFInfo
- Publication number
- CN1412650A CN1412650A CN 02152717 CN02152717A CN1412650A CN 1412650 A CN1412650 A CN 1412650A CN 02152717 CN02152717 CN 02152717 CN 02152717 A CN02152717 A CN 02152717A CN 1412650 A CN1412650 A CN 1412650A
- Authority
- CN
- China
- Prior art keywords
- keyboard
- signal
- control circuit
- circuit
- scan input
- 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.)
- Granted
Links
- 239000011159 matrix material Substances 0.000 claims abstract description 22
- 238000013507 mapping Methods 0.000 claims abstract description 19
- 230000001960 triggered effect Effects 0.000 claims abstract description 8
- 238000001914 filtration Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 239000000872 buffer Substances 0.000 claims description 7
- 241001269238 Data Species 0.000 claims description 3
- 230000003321 amplification Effects 0.000 claims description 3
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 2
- 230000015572 biosynthetic process Effects 0.000 claims 1
- 230000006870 function Effects 0.000 description 18
- 238000013461 design Methods 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The keyboard control circuit is applicable to notebook computer with several keyboard keys, it includes: mapping device for storing several key codes correspondent to keyboard keys; shift register for producing several keyboard saccding output signals and reference signals according to starting signal and clock signal; keyboard matrix circuit for receiving these keyboard scanning output signals and providing several keyboard scanning input signals; address generator for generating address signal according to the reference signal and triggered keyboard scanning input signal; comparison selector for selecting and outputing key code correspondent to address signal from mapping device and interface conversino circuit for converting the key code outputted by comparison selector unit into a differential signal meeting general serial bus specification.
Description
Technical field
The present invention relates to the field of integrated circuit (IC) design, particularly a kind of keyboard control circuit that is applicable to notebook computer and has USB (universal serial bus).
Background technology
The progress of the arriving of digital Age, especially personal computer has improved human work efficiency, and the fast development of notebook computer is more human work or in life bringing great convenience.Generally speaking, the bridge that the peripheral input-output unit person of being to use of computer system and computing machine are linked up, the user is when using a computer, utilize the peripheral input media of computing machine will instruct the input computing machine, the work that instruct computer need be carried out, computing machine will be carried out relative program according to instruction after the instruction of receiving the user.In the peripheral input media of present computing machine, keyboard (keyboard) is the most basic device.Many buttons are arranged on the keyboard, all corresponding key set code of each button, key set code may be represented a character or a function.The keyboard that general desktop PC is used has a slice keyboard control chip, and when the user pressed a certain button, keyboard control chip can offer main frame with the form of digital signal with the pairing key set code of this button.
For notebook computer, miniature keyboard on its body (keypad) does not contain aforesaid keyboard control chip, and relevant keyboard control function is by the responsible execution of distinctive embedded controller in the notebook computer (embedded controller).Embedded controller is actually a powerful microprocessor, except keyboard control function, also undertake other work, for example: each system and the management of assembly electricity usage, the control of screen panel brightness, other functions such as function of built-in keyboard scan in the reading of the dump energy of battery, the notebook computer.Yet, compare with general logical circuit, the cost of embedded controller is much higher more than logical circuit, and the Basic Input or Output System (BIOS) that embedded controller must be by computer system (Basic Input/Output System BIOS) could successfully carry out keyboard control function.Therefore, the manufacturer of notebook computer must be to manufacturer's payment patent royalties that BIOS is provided, to obtain the mandate of the program code that uses BIOS.Obtain after the mandate, manufacturer also must the design software program and cooperates BIOS just can reach the purpose of Keyboard Control.In addition, when the miniature keyboard of changing other pattern is gone up in design, must rewrite software program again to meet new key arrangement mode and function.
Though can consider with the function that embedded controller is taken on be incorporated into notebook computer chipset in reduce the cost of notebook computer, but for the miniature keyboard of the different types of arranging in pairs or groups to possess the dirigibility in the design, keyboard control function simply logical circuit cooperates the nonvolatile memory of minute quantity to replace, and so also can save the expenditure of relevant patent royalties.In addition, (Universal Serial Bus, interface USB) to be being easy to be compatible with different suppliers' chipset, and because the USB interface signal number is few, make circuit layout and mechanism design be difficult for being restricted to adopt USB (universal serial bus).
Summary of the invention
The object of the present invention is to provide a kind of keyboard control circuit, it has USB (universal serial bus), be applicable to the miniature keyboard on the notebook computer body, can replace embedded controller reducing manufacturing cost, and the keyboard of the different types that is easy to arrange in pairs or groups is to possess the dirigibility in the design.
To achieve these goals, the invention provides a kind of keyboard control circuit of USB (universal serial bus), be applicable to notebook computer, comprising mapping device, shift register, keyboard matrix circuit, address generator, comparison selected cell and interface conversion circuit with a plurality of keyboards.Mapping device is in order to store several key set codes, and wherein each key set code is separately corresponding to a keyboard of notebook computer.Shift register according to start signal and clock signal to produce reference signal and several keyboard scanning output signals.Keyboard matrix circuit connects shift register to receive these keyboard scanning output signals, in order to several keyboard scan input signals to be provided, wherein keyboard scanning output signals and keyboard scan input signal can correspond to keyboard, when one of them keyboard was pressed, keyboard matrix circuit triggered corresponding keyboard scan input signal.Address generator is connected to shift register and keyboard matrix circuit, in order to receiving reference signal and these keyboard scan input signals, and produces address signal according to reference signal and triggered keyboard scanning input signal.Relatively selected cell is connected to address generator and mapping device, in order to the receiver address signal, and from mapping device choose those key set codes corresponding to the key set code of this address signal of receiving.Interface conversion circuit is connected in the comparison selected cell, and from comparing the key set code of selected cell output, (Universal SerialBus, USB) differential wave of specification is right so that meet USB (universal serial bus) in order to conversion.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below especially exemplified by a preferred embodiment, and conjunction with figs. is described in detail below:
Fig. 1 is the circuit block diagram of the preferred embodiment of the present invention; And
Fig. 2 is the sequential chart of the signal of the preferred embodiment of the present invention.
Embodiment
Below, describe embodiments of the invention in detail with reference to accompanying drawing.
According to the present invention, with reference to preferred embodiment shown in Figure 1, the keyboard control circuit 100 that is applicable to notebook computer and has USB (universal serial bus) (USB) interface comprises: shift register 102, keyboard matrix circuit 104, filtering circuit 106, buffer circuit 108, address generator 110, relatively selected cell 112, mapping device 114 and interface conversion circuit 116.For convenience of explanation, in a preferred embodiment, it can reach 128 by bond number the miniature keyboard (keypad) that keyboard matrix circuit 104 is supported, promptly keyboard be arranged in vertical direction be 16 the row, horizontal direction be 8 row (16 * 8).Shift register 102 produces m (m=16) keyboard scanning output signals SO_0~SO_15 and reference signal Xo according to start signal IN and clock signal C K.As shown in Figure 2, shift register 102 per 16 clock signal C K can receive a start signal IN, and when receiving the IN signal, shift register 102 triggers keyboard scanning output signals SO_0 earlier and produces a negative pulse, in this simultaneously, exports a reference signal Xo.Then in the next CK signal period, shift register 102 triggers keyboard scanning output signals SO_1 and produces negative pulse, in this way, trigger other keyboard scanning output signals in order, up to triggering last keyboard scanning output signals SO_15 according to clock signal C K.In the next CK signal period, shift register 102 is received start signal IN once more then, so trigger the SO_0 signal again and export reference signal Xo simultaneously, so periodically carries out above-mentioned process.In other words, during receiving that this start signal and next start signal arrive, shift register 102 triggers SO_0~SO_15 signal in turn, and the triggering phase place of each SO_0~SO_15 signal is neither identical.
Continuation is with reference to figure 1, and keyboard matrix circuit 104 connects shift register 102 to receive keyboard scanning output signals SO_0~SO_15, is used to provide n (n=8) keyboard scan input signal SI_0~SI_7.As previously mentioned, this paper is arranged as example with 16 * 8 keyboard, therefore keyboard matrix circuit 104 can be made of 16 line roads and 8 column line, these column line produce keyboard scan input signal SI_0~SI_7 respectively, the line road then receives keyboard scanning output signals SO_0~SO_15 respectively, and these line roads and column line form 16 * 8 contacts, and each contact corresponds to all keyboards on the miniature keyboard.Therefore keyboard scanning output signals SO_0~SO_15 and keyboard scan input signal SI_0~SI_7 can be corresponding to each keyboards on the miniature keyboard, one of them is pressed and when causing that its corresponding contact becomes conducting state, keyboard matrix circuit 104 triggers corresponding keyboard scan input signal when these keyboards.For instance, when the keyboard of the 2nd row, the 3rd row on the miniature keyboard is pressed, therefore the contact that the 2nd column line on the keyboard matrix circuit 104, the 3rd line road form will become conducting state, because the line road can be received the SO_0~SO_15 signal by shift register 102 periodic triggers in regular turn, fast, as shown in Figure 2, the SI_1 signal that connects the 2nd column line this moment can be triggered and produce a negative pulse, and other keyboard scan input signal then can not react to some extent.
After keyboard is pressed and unclamps, can make keyboard scan input signal I_0~SI_7 produce noise because of spring, as shown in Figure 1, keyboard control circuit 100 preferably includes the filtering circuit 106 that connects keyboard matrix circuit 104, in order to the noise of filtering keyboard scan input signal SI_0~SI_7, the SI_0 of filtering~SI_7 signal offers buffer circuit 108 via signal wire FL0~FL7 again.Buffer circuit 108 is connected between filtering circuit 106 and the address generator 110, and in order to the SI_0~SI_7 signal that amplifies filtering, the SI_0 of amplification filtering~SI_7 signal offers address generator 110 via signal wire BL0~BL7 again.Address generator 110 receives reference signal Xo and receives the keyboard scan input signal SI_0~SI_7 of amplification filtering from buffering circuit 108 from shift register 102.114 of mapping devices are in order to storing a plurality of key set codes, and these key set codes are separately corresponding to each keyboard of notebook computer.Because the various keyboards that notebook computer manufacturer of every family is produced, position and the arrangement mode of each keyboard on keyboard is all inequality, so on keyboard matrix circuit 104, the pairing keyboard of each contact also can be along with the difference of product difference to some extent.Therefore, the contact on the stored keyboard matrix circuit 104 of mapping device 114 is also must change along with different keyboards with corresponding relation between the key set code.Mapping device 114 can be a kind of nonvolatile memory (Non-volatile Memory), EEPROM (Electrically Erasable Programmable Read Only Memo) (Electrically Erasable Programmable Read-OnlyMemory for example, EEPROM), corresponding relation on the keyboard matrix circuit 104 between each contact and the key set code can be by writing and wipe and sequencing, and is stored in the mapping device 114.So, can be according to the position and the arrangement mode of its keyboard of miniature keyboard that different vendor produced, plan, store the position of each contact on the keyboard matrix circuit 104 and the corresponding relation between the key set code in advance, make the keyboard that each tame notebook computer manufacturer is produced, can be suitable for keyboard control circuit 100, improve the compatibility between the different product.
In sum, the simple logical circuit of keyboard control circuit 100 usefulness of the present invention cooperates the nonvolatile memory of minute quantity to reach keyboard control function, so not only can replace the original embedded controller of notebook computer, also can save the expenditure of relevant patent royalties.Moreover, owing to adopt USB interface to reduce the interface signal number, make circuit layout and mechanism design free more, more because USB interface makes keyboard control circuit 100 be compatible with different suppliers' chipset easily.
Though the present invention does above-mentioned disclosure by a specific embodiment; but its technology contents only of the present invention for convenience of explanation; and be not with narrow sense of the present invention be defined in this embodiment; those skilled in the art; without departing from the spirit and scope of the present invention; when can doing trickle change and retouching, so protection scope of the present invention is as the criterion when the content with accompanying claims defined.
The invention is not restricted to the foregoing description, without departing from the present invention, can carry out various changes and modifications.
Claims (10)
1. the keyboard control circuit of a USB (universal serial bus) is applicable to the notebook computer with a plurality of keyboards, and this keyboard control circuit comprises at least:
Mapping device, in order to store a plurality of key set codes, wherein these key set codes are separately corresponding to these keyboards of this notebook computer;
Shift register is used for producing a plurality of keyboard scanning output signals and a reference signal according to an initial signal and a clock signal;
Keyboard matrix circuit, connect this shift register to receive these keyboard scanning output signals, in order to a plurality of keyboard scan input signals to be provided, wherein these keyboard scanning output signals and these keyboard scan input signals are corresponding to these keyboards, when one of them was pressed when these keyboards, this keyboard matrix circuit triggered this corresponding keyboard scan input signal;
Address generator is connected to this shift register and this keyboard matrix circuit, in order to receiving this reference signal and these keyboard scan input signals, and produces an address signal according to this reference signal and this keyboard scan input signal of being triggered;
Relatively selected cell is connected to this address generator and this mapping device, in order to receiving this address signal, chooses and export these key set codes key set code corresponding to this address signal from this mapping device; And
Interface conversion circuit is connected in this comparison selected cell, and this key set code of exporting from this comparison selected cell in order to conversion is that to meet a differential wave of universal serial bus specification right.
2. keyboard control circuit as claimed in claim 1, wherein, described relatively selected cell comprises a plurality of state buffers at least, in order to store a plurality of status datas, described relatively selected cell chooses described corresponding key sign indicating number from described mapping device according to described address signal and these status datas.
3. keyboard control circuit as claimed in claim 1, wherein, also comprise a filtering circuit at least, be connected to described keyboard matrix circuit, in order to the noise of the described a plurality of keyboard scan input signals of filtering, a plurality of keyboard scan input signals with described filtering offer described address generator again.
4. keyboard control circuit as claimed in claim 2, wherein, also comprise a buffer circuit at least, be connected between described filtering circuit and the described address generator, in order to amplifying a plurality of keyboard scan input signals of described filtering, and a plurality of keyboard scan input signals of described amplification filtering are offered described address generator.
5. keyboard control circuit as claimed in claim 1, wherein, described shift register trigger described a plurality of keyboard scanning output signals in turn, and the triggering phase place of described a plurality of keyboard scanning output signals is all inequality during receiving that described start signal and next start signal arrive.
6. keyboard control circuit as claimed in claim 1, wherein, described keyboard matrix circuit comprises a plurality of lines road and a plurality of column line at least, these column line produce described a plurality of keyboard scan input signal respectively, these line roads receive described a plurality of keyboard scanning output signals respectively, and these line roads and a plurality of contacts of these column line formation corresponding to described a plurality of keyboards.
7. keyboard control circuit as claimed in claim 6, wherein, one of them is pressed and causes when corresponding described contact becomes conducting state at described a plurality of keyboards, triggers corresponding described keyboard scan input signal.
8. keyboard control circuit as claimed in claim 1, wherein, described mapping device is a nonvolatile memory.
9. keyboard control circuit as claimed in claim 1, wherein, described mapping device is an EEPROM (Electrically Erasable Programmable Read Only Memo).
10. keyboard control circuit as claimed in claim 1 wherein, is done further processing with described USB differential wave to a bridge-type logic chip that sends in the described notebook computer with described key set code by described interface conversion circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021527172A CN1192300C (en) | 2002-11-20 | 2002-11-20 | Keyboard control circuit of universal serial bus interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021527172A CN1192300C (en) | 2002-11-20 | 2002-11-20 | Keyboard control circuit of universal serial bus interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1412650A true CN1412650A (en) | 2003-04-23 |
| CN1192300C CN1192300C (en) | 2005-03-09 |
Family
ID=4752180
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB021527172A Expired - Lifetime CN1192300C (en) | 2002-11-20 | 2002-11-20 | Keyboard control circuit of universal serial bus interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1192300C (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2391654A (en) * | 2002-06-15 | 2004-02-11 | Samsung Electronics Co Ltd | Portable information device |
| CN100392570C (en) * | 2005-02-01 | 2008-06-04 | 艾默生网络能源系统有限公司 | a keyboard circuit |
| CN108388353A (en) * | 2016-01-05 | 2018-08-10 | 湖南工业大学 | A kind of independent keyboard operation identification and coding method |
| CN108388181A (en) * | 2018-03-22 | 2018-08-10 | 杭州米芯微电子有限公司 | Key scan apparatus and system |
| CN108509055A (en) * | 2016-01-05 | 2018-09-07 | 湖南工业大学 | A kind of independent keyboard Scan orientation method |
| CN108536306A (en) * | 2016-01-05 | 2018-09-14 | 湖南工业大学 | A kind of matrix keyboard scanner uni coding method |
| CN108563338A (en) * | 2016-01-05 | 2018-09-21 | 湖南工业大学 | A kind of independent keyboard scan method |
| CN108572739A (en) * | 2016-01-05 | 2018-09-25 | 湖南工业大学 | A Matrix Keyboard Scanning Encoding Method |
| CN108649962A (en) * | 2016-01-05 | 2018-10-12 | 湖南工业大学 | A kind of independent keyboard scanning encoding method |
| CN108809322A (en) * | 2016-01-05 | 2018-11-13 | 湖南工业大学 | A kind of independent keyboard scanner uni coding method |
-
2002
- 2002-11-20 CN CNB021527172A patent/CN1192300C/en not_active Expired - Lifetime
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2391654A (en) * | 2002-06-15 | 2004-02-11 | Samsung Electronics Co Ltd | Portable information device |
| GB2391654B (en) * | 2002-06-15 | 2004-08-11 | Samsung Electronics Co Ltd | Portable information device |
| US7155544B2 (en) | 2002-06-15 | 2006-12-26 | Samsung Electronics Co., Ltd. | Portable information device capable of processing input data from external device and method thereof |
| CN100392570C (en) * | 2005-02-01 | 2008-06-04 | 艾默生网络能源系统有限公司 | a keyboard circuit |
| CN108563338A (en) * | 2016-01-05 | 2018-09-21 | 湖南工业大学 | A kind of independent keyboard scan method |
| CN108509055A (en) * | 2016-01-05 | 2018-09-07 | 湖南工业大学 | A kind of independent keyboard Scan orientation method |
| CN108536306A (en) * | 2016-01-05 | 2018-09-14 | 湖南工业大学 | A kind of matrix keyboard scanner uni coding method |
| CN108388353A (en) * | 2016-01-05 | 2018-08-10 | 湖南工业大学 | A kind of independent keyboard operation identification and coding method |
| CN108572739A (en) * | 2016-01-05 | 2018-09-25 | 湖南工业大学 | A Matrix Keyboard Scanning Encoding Method |
| CN108649962A (en) * | 2016-01-05 | 2018-10-12 | 湖南工业大学 | A kind of independent keyboard scanning encoding method |
| CN108809322A (en) * | 2016-01-05 | 2018-11-13 | 湖南工业大学 | A kind of independent keyboard scanner uni coding method |
| CN108563338B (en) * | 2016-01-05 | 2021-05-25 | 湖南工业大学 | An independent keyboard scanning method |
| CN108809322B (en) * | 2016-01-05 | 2022-01-21 | 湖南工业大学 | Independent keyboard scanning and coding method |
| CN108649962B (en) * | 2016-01-05 | 2022-01-21 | 湖南工业大学 | Independent keyboard scanning coding method |
| CN108388181A (en) * | 2018-03-22 | 2018-08-10 | 杭州米芯微电子有限公司 | Key scan apparatus and system |
| CN108388181B (en) * | 2018-03-22 | 2019-11-05 | 杭州米芯微电子有限公司 | Key scan apparatus and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1192300C (en) | 2005-03-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7250898B2 (en) | Universal keyboard | |
| CN1179533C (en) | Character recognition system and method for mobile radio communication terminal | |
| US7813774B2 (en) | Contact, motion and position sensing circuitry providing data entry associated with keypad and touchpad | |
| US5812117A (en) | Method for inputting information using a selectable soft keyboard | |
| CN1192300C (en) | Keyboard control circuit of universal serial bus interface | |
| WO2002098049A2 (en) | System and method of pen-based data input into a computing device | |
| US20070120819A1 (en) | Method and system for accessing data stored in an electronic device | |
| AU2002326972A1 (en) | Universal keyboard | |
| KR100498051B1 (en) | Portable digital apparatus capable of processing input data from external device and method thereof | |
| EP0159336A1 (en) | Tactile function key | |
| CN1159641C (en) | Keyboard instruction fetch device for notebook computer | |
| JPS5821739B2 (en) | electronic equipment | |
| US6859150B2 (en) | Apparatus for reading keyboard-commands of a portable computer | |
| US20110199309A1 (en) | Input Device | |
| CN1142471C (en) | Method and apparatus for operation by hand written alphabets and symbols | |
| CN2327004Y (en) | Keyboard capable of self defining | |
| CN101635572A (en) | Notebook computer and keyboard controller thereof | |
| CN2499895Y (en) | Touch screen type cipher input device | |
| KR20070031736A (en) | Mobile communication terminal having input screen switching function and input screen switching method using same | |
| CN2685969Y (en) | One-key input portable electronic device applied to one-key operating system | |
| CN2499894Y (en) | Touch screen type cipher input device | |
| CN201188219Y (en) | Card reading device integrating touch key control and control chip module thereof | |
| CN2881776Y (en) | Character input device | |
| CA2610874A1 (en) | Universal keyboard | |
| CN101114198A (en) | Keyboard with six keys and input method thereof |
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 | ||
| CX01 | Expiry of patent term |
Granted publication date: 20050309 |
|
| CX01 | Expiry of patent term |