CN1815417A - Keyboard circuit - Google Patents

Keyboard circuit Download PDF

Info

Publication number
CN1815417A
CN1815417A CN 200510033209 CN200510033209A CN1815417A CN 1815417 A CN1815417 A CN 1815417A CN 200510033209 CN200510033209 CN 200510033209 CN 200510033209 A CN200510033209 A CN 200510033209A CN 1815417 A CN1815417 A CN 1815417A
Authority
CN
China
Prior art keywords
keyboard
identification code
circuit
polar body
chip
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
Application number
CN 200510033209
Other languages
Chinese (zh)
Other versions
CN100543655C (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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CNB2005100332099A priority Critical patent/CN100543655C/en
Publication of CN1815417A publication Critical patent/CN1815417A/en
Application granted granted Critical
Publication of CN100543655C publication Critical patent/CN100543655C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

A keyboard circuit includes a chip, a key button circuit and a circuit for generating ID code. The chip possesses at least an input pin connected to the key button circuit to read signal of key code sensed by the key button circuit. Through setting up certain quantitative binary polar bodies and connection relation of the binary polar bodies, the circuit for generating ID code sets up ID code of keyboard. The chip stores multiple keyboard drivers, and at least one pin of the chip for reading ID code is connected to the circuit for generating ID code. Using the pin of the chip for reading ID code set by the generation circuit. Data of keyboard type is obtained by decoding the said ID code. Based on the selected ID code, corresponding keyboard driver is activated. Advantages are: keyboards in different types can use chip in identical type so as to reduce cost for producing keyboard, and raise production efficiency and quality.

Description

Keyboard circuit
[technical field]
The present invention relates to a kind of keyboard circuit, but the keyboard circuit of particularly a kind of identification key disc-type and selection keyboard driver.
[background technology]
Keyboard is a kind of digital input unit, is widely used in electronic equipments such as personal computer, graphoscope, DVD, electronic cash register, and it will be converted to digital signal by key input signal by built-in keyboard driver, thereby realize its input function.It is various because of brand and type, and is very difficult in identification.
Known way is, driver with same type keyboard during manufacturing is burned onto in the chip of same model, and the driver of dissimilar keyboards is burned onto in the different model chip, simultaneously, in order to discern easily, also keyboard model data is burned onto in its chip in the lump.
But, when the keyboard of multiple different brands of foundry and type, then need carry out different burning processing respectively to the chip of various brands and type keyboard respectively, and must be to the use of classifying of different chips, except the continuous change because of the chip production flow process cause production efficiency and reduce production costs improve, also different and be difficult for causing element assembling inconvenience from identification in appearance because of the model of each chip, be prone to the situation of artificial careless mistake wrong plug, influence the quality and the production efficiency of keyboard.
[summary of the invention]
Based on foregoing, describe with some embodiment at this, these embodiment provide a kind of keyboard circuit, but described keyboard circuit identification key dish model and selection also activate the keyboard driver of described type keyboard correspondence, reaching the chip that dissimilar keyboards uses same model, thereby reduced the keyboard production cost.
Simultaneously, a kind of keyboard circuit method of work also is provided, by a keyboard identification code circuit with identification key dish model, select and activate the corresponding keyboard driver of the type keyboard, be easy to the identifying keyboard type and dissimilar keyboard uses the purpose of the chip of same model to reach, thereby improved keyboard production efficiency.
The objective of the invention is to realize: a kind of keyboard circuit is provided by following scheme, it comprises a chip, a key circuit and an identification code generative circuit, wherein said chip has at least one input pin, to be connected to the key signal that described key circuit is used to read the key circuit sensing; Described identification code generative circuit by some is set diode and the annexation of diode to set the keyboard identification code; And described chip-stored has a plurality of keyboard drivers, and have at least one yard pin of reading and be connected to described identification code generative circuit, read the identification code that the identification code generative circuit is set by the described yard pin of reading, described identification code is carried out decoding processing obtain keyboard model data, and select and activate corresponding keyboard driver according to described identification code.
A kind of keyboard circuit method of work is provided, and it comprises the steps: that (a) reads the keyboard identification code of identification code generative circuit; (b) the decoding identification code obtains keyboard model data; (c) select and activate the keyboard driver of described identification code correspondence.
The advantage of described technical scheme is: dissimilar keyboards use the chip of same model, thereby have reduced the keyboard production cost, promoted production efficiency and quality.
[description of drawings]
Fig. 1 is the first embodiment synoptic diagram of keyboard circuit.
Fig. 2 is the second embodiment synoptic diagram of keyboard circuit.
Fig. 3 is the keyboard circuit synoptic diagram that adopts first kind of identification code generative circuit structure among Fig. 1.
Fig. 4 is the keyboard circuit synoptic diagram that adopts second kind of identification code generative circuit structure among Fig. 1.
Fig. 5 is the keyboard circuit synoptic diagram that adopts the third identification code generative circuit structure among Fig. 1.
Fig. 6 is the method for work of keyboard circuit.
[embodiment]
Seeing also Fig. 1, is the first embodiment synoptic diagram of keyboard circuit, and it comprises an identification code generative circuit 10, a chip 20 and a key circuit 30.
Wherein said chip 20 comprises an at least one storer 201 and a controller 202 that is electrically connected with storer 201, and has a plurality of input pin I1~I4, an a plurality of yard pin R1~R4, a power pins RX and control pin CX of reading.
The described input pin I1~I4 that waits is connected in the described key circuit 30 jointly, be used for the key signal that key circuit 30 produces is transferred to controller 202, wherein the quantity of input pin is not exceeded with the quantity among Fig. 1, and decide on keyboard type, keyboard is many more, and corresponding input pin is also many more.
Described grade is read yard pin R1~R4 and is connected with identification code generative circuit 10, be used to read the identification code that identification code generative circuit 10 generates and give controller 202, and its quantity does not exceed with the quantity among Fig. 1, and its quantity is by identification code length and quantity decision.
Described power pins RX links to each other with a described identification code generative circuit 10 and a power end Vcc, so that the power supply input to be provided.
Described control pin CX is connected with described identification code generative circuit 10, and it can control identification code generative circuit 10 by the height that changes output voltage.
Store a shared driver 2011 and an a plurality of specific drivers 2012 in the described storer 201, described common drive program 2011 is shared by dissimilar keyboards, and each specific drivers 2012 only is suitable for the keyboard of a certain particular type, one complete keyboard driver is made of a described common drive program 2011 and a specific drivers 2012, wherein specific drivers 2012 quantity that store in the storer 201 are by chip 20 supported keyboard type decisions, be that chip 20 supported keyboard types are many more, the specific drivers 2012 that stores in the storer 201 is also many more.
Have at least one identification code table 2021 in the described controller 202, described identification code table 2021 has defined the keyboard special driver 2012 of the keyboard model data and the described type keyboard correspondence of each identification code correspondence.Controller 202 can read the identification code that identification code generative circuit 10 generates by reading yard pin R1~R4, carry out decoding processing according to 2021 pairs of identification codes of described identification code table and obtain described keyboard model data, also can select and activate the common drive program 2011 in the storer 201 and the specific drivers 2012 of described type keyboard correspondence.
Described identification code generative circuit 10 is used to generate the keyboard identification code, by in the diode of reading to be provided with between yard pin R1~R4 and the power pins RX predetermined quantity and described diode with read yard annexation of pin R1~R4 with setting identification code generative circuit 10, its concrete structure can be referring to Fig. 3 to Fig. 5, wherein Fig. 3 reads the situation that yard output terminal of pin R1~R4 all is connected to diode 101, Fig. 4 reads a yard pin R1, R2, the output terminal of R4 is connected to diode 101, and reading the situation that yard output terminal of pin R3 does not connect diode 101, Fig. 5 reads the situation that yard pin R1~R4 does not all connect diode 101.
Seeing also Fig. 2, is the second embodiment synoptic diagram of keyboard circuit, reads yard pin and the shared same pin I1 of its input pin~I4 with Fig. 1 difference is described chip 20, and it can read keyboard identification code and key signal.
See also Fig. 3, it is the keyboard circuit synoptic diagram that adopts first kind of identification code generative circuit structure among Fig. 1, described identification code generative circuit 10 comprises a plurality of diodes 101, one first triode 102 and one second triode 103, the anode of described diode 101 with read a yard pin R1~R4 and be connected, its negative electrode is connected with power pins RX, the collection of the base stage of described first triode 102 and described second triode 103 is connected to power pins RX extremely jointly, and the equal ground connection of its emitter-base bandgap grading, the collection utmost point of described first triode 102 is connected with key circuit 30, and the base stage of described second triode 103 is connected with the control pin C6 of controller 202.
See also Fig. 4 and Fig. 5, wherein Fig. 4 is the keyboard circuit synoptic diagram that adopts second kind of identification code generative circuit structure among Fig. 1, and Fig. 5 is the keyboard circuit synoptic diagram that adopts the third identification code generative circuit structure among Fig. 1.Fig. 4 and Fig. 3 difference are describedly to read that yard output terminal of pin R3 does not connect diode 101 and opening circuit expression, and Fig. 5 and Fig. 3 difference are describedly to read that a yard pin R1~R4 does not all connect diode 101 and with the expression of opening circuit.
Enumerated several structure examples of identification code generative circuit 10 above, it also can do corresponding conversion according to the difference of keyboard type, does not enumerate one by one at this.
In sum, diode 101 quantity and the annexation of identification code generative circuit 10 are determined by keyboard type, dissimilar keyboard correspondences the diode 101 and the annexation thereof of varying number, the diode 101 of varying number and annexation thereof constitute different identification code generative circuits 10, thereby generate different keyboard identification codes, when reading a yard pin output terminal and being connected to diode 101 with 0 expression, with 1 expression, then the identification code that generates of the identification code generative circuit among Fig. 3 to Fig. 5 10 is respectively 0000,0010 and 1111 when reading a yard pin output terminal and not connecing diode 101.
Seeing also Fig. 6, is the method for work of keyboard circuit, and it may further comprise the steps: step 301: after 10 settings of identification code generative circuit were finished, the KBPO energising entered the keyboard originate mode.Step 302: with input pin I1~I4, read a yard pin R1~R4 and all be preset as noble potential, the voltage of control pin CX is set to noble potential earlier, diode the 101, the 23 polar body 103 conductings and the one or three polar body 102 ends, this moment, key circuit 30 was in disabled status, controller 202 reads in the identification code that identification code generative circuit 10 generates in regular turn with tandem moor, it is example by with 1 expression with Fig. 3 with 0 expression in diode 101 conductings, and the identification code that controller 202 reads in is 0000.Step 303: controller 202 carries out decoding processing according to its identification code table 2021 with the identification code that reads, obtain keyboard model data and show by display device, the common drive program 2011 of storer 201 stored and a specific drivers 2012 of described identification code correspondence are selected and activated to controller 202 according to its identification code table 2021 simultaneously.Step 304: the control pin CX of controller 202 is set to electronegative potential, this moment the two or three, polar body 103 ended and 102 conductings of first triode, key circuit 30 is in serviceable condition, be that keyboard is in mode of operation, controller 202 receives the key signal that key circuit 30 produces by input pin I1~I4.

Claims (20)

1. keyboard circuit comprises:
One key circuit, the input of sensing user button is to generate the key signal;
It is characterized in that, also comprise an identification code generative circuit, be used to generate the keyboard identification code; And
One chip, described chip-stored has a common drive program and a plurality of specific drivers, and have at least one yard pin of reading and be connected to described identification code generative circuit to read the keyboard identification code, described keyboard identification code is carried out decoding processing obtain keyboard model data, select and activate the common drive program and the specific drivers of described keyboard identification code correspondence.
2. keyboard circuit as claimed in claim 1 is characterized in that, described chip comprises at least one controller and at least one storer, and wherein said controller is connected with described storer.
3. keyboard circuit as claimed in claim 2, it is characterized in that, store a common drive program and a plurality of specific drivers in the described storer, described common drive program is applicable to all kinds keyboard, and described specific drivers is applicable to one type keyboard, and corresponding one by one with described keyboard identification code.
4. keyboard circuit as claimed in claim 2 is characterized in that, has an identification code table in the described controller, and described identification code has defined the keyboard type and the keyboard driver of each identification code correspondence.
5. keyboard circuit as claimed in claim 1 is characterized in that, described chip also has a control pin and a power pins that is connected with a power end.
6. as claim 1 or 5 described keyboard circuits, it is characterized in that, described identification code generative circuit comprises one the 1 polar body and one the 23 polar body, described the one or three polar body and the equal ground connection of the two or three polar body emitter-base bandgap grading, the base stage of described the one or three polar body and the collection of described the two or three polar body are connected to power pins extremely jointly, the collection utmost point of described the one or three polar body is connected with key circuit, and the base stage of described the two or three polar body is connected with the control pin.
7. keyboard circuit as claimed in claim 6 is characterized in that described identification code generative circuit also comprises the diode of some, and the quantity of wherein said diode is less than or equal to the described quantity of reading yard pin.
8. keyboard circuit as claimed in claim 7 is characterized in that, the anode of described diode is connected with the described yard pin of reading respectively, and its negative electrode is connected with power pins.
9. keyboard circuit as claimed in claim 6 is characterized in that, the described yard pin of reading is not connected with described power pins and keeps off state.
10. a keyboard method of work is characterized in that, said method comprising the steps of:
Read the keyboard identification code that keyboard identification code generative circuit generates;
Decoding keyboard identification code obtains keyboard model data; And
Select and activate the keyboard driver of described type keyboard correspondence.
11. keyboard method of work as claimed in claim 10 is characterized in that, comprises that also key circuit is set to the step of mode of operation.
12. a keyboard circuit comprises:
One key circuit, the input of sensing user button is to generate the key signal;
One chip has at least one input pin, and described input pin is connected to described key circuit to read the key signal that key circuit generates;
It is characterized in that, also comprise an identification code generative circuit, be used to generate the keyboard identification code;
Described chip-stored has a plurality of keyboard drivers, its input pin is connected with the identification code generative circuit to read the keyboard identification code, described chip can carry out decoding processing to described keyboard identification code and obtain keyboard model data, also can select and activate the keyboard driver of described keyboard identification code correspondence.
13. keyboard circuit as claimed in claim 12 is characterized in that, described chip comprises at least one controller and at least one storer, and wherein said controller is connected with described storer.
14. keyboard circuit as claimed in claim 13, it is characterized in that, store a specific drivers and a plurality of specific drivers in the described storer, described specific drivers is applicable to all kinds keyboard, and described specific drivers is applicable to one type keyboard, and corresponding one by one with described keyboard identification code.
15. keyboard circuit as claimed in claim 13 is characterized in that, has an identification code table in the described controller, described identification code has defined the keyboard type and the keyboard driver of each identification code correspondence.
16. keyboard circuit as claimed in claim 12 is characterized in that, described chip also has a control pin and a power pins that is connected with a power end.
17. as claim 12 or 16 described keyboard circuits, it is characterized in that, described identification code generative circuit comprises one the 1 polar body and one the 23 polar body, described the one or three polar body and the equal ground connection of the two or three polar body emitter-base bandgap grading, the base stage of described the one or three polar body and the collection of described the two or three polar body are connected to power pins extremely jointly, the collection utmost point of described the one or three polar body is connected with key circuit, and the base stage of described the two or three polar body is connected with the control pin.
18. keyboard circuit as claimed in claim 17 is characterized in that, described identification code generative circuit also comprises the diode of some, and the quantity of wherein said diode is less than or equal to the described quantity of reading yard pin.
19. keyboard circuit as claimed in claim 18 is characterized in that, the anode of described diode is connected with the described yard pin of reading respectively, and its negative electrode is connected with power pins.
20. keyboard circuit as claimed in claim 17 is characterized in that, the described yard pin of reading is not connected with described power pins and keeps off state.
CNB2005100332099A 2005-02-04 2005-02-04 Keyboard circuit Expired - Fee Related CN100543655C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100332099A CN100543655C (en) 2005-02-04 2005-02-04 Keyboard circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100332099A CN100543655C (en) 2005-02-04 2005-02-04 Keyboard circuit

Publications (2)

Publication Number Publication Date
CN1815417A true CN1815417A (en) 2006-08-09
CN100543655C CN100543655C (en) 2009-09-23

Family

ID=36907645

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100332099A Expired - Fee Related CN100543655C (en) 2005-02-04 2005-02-04 Keyboard circuit

Country Status (1)

Country Link
CN (1) CN100543655C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332206A (en) * 2010-07-13 2012-01-25 凌通科技股份有限公司 Code selecting system for remote control chip emitting codes
CN110413131A (en) * 2018-04-27 2019-11-05 群光电子(苏州)有限公司 Computer system and key board unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1109290C (en) * 1999-12-14 2003-05-21 达方电子股份有限公司 Key scanning circuit
CN1287246C (en) * 2001-08-01 2006-11-29 英华达股份有限公司 Keyboard identification device of portable information processing system and its method
CN2662338Y (en) * 2003-10-21 2004-12-08 欧缔科技股份有限公司 Numeral keyboard with indicator input apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332206A (en) * 2010-07-13 2012-01-25 凌通科技股份有限公司 Code selecting system for remote control chip emitting codes
CN102332206B (en) * 2010-07-13 2013-07-24 凌通科技股份有限公司 Code selecting system for remote control chip emitting codes
CN110413131A (en) * 2018-04-27 2019-11-05 群光电子(苏州)有限公司 Computer system and key board unit

Also Published As

Publication number Publication date
CN100543655C (en) 2009-09-23

Similar Documents

Publication Publication Date Title
US20110316725A1 (en) Scanning circuit and method for keyboard
CN109830447B (en) Semiconductor wafer chip sorting method, semiconductor product packaging method and semiconductor product packaging system
CN101359038B (en) Electronic load device capable of simulating LED characteristic and simulation method thereof
EP1265248A3 (en) Addressing a cross-point diode memory array
CN101702299A (en) System and method for identifying LCD module
CN1815417A (en) Keyboard circuit
CN1427348A (en) Semiconductor buffer capacity regulating method, electronic system and semiconductor device
CN101031976A (en) Power efficient memory and cards
CN200990054Y (en) Main board protection circuit
US7439868B2 (en) Drive circuit for driving indicator in computer system
CN102063868A (en) Electronic device with backlight control and control method thereof
CN1959595A (en) Reset circuit of computer system
CN107138435B (en) Sorting system and sorting method for power semiconductor devices
US20100020019A1 (en) Notebook computer and keyboard controller thereof
CN1801154A (en) Method for creating library file
CN2798238Y (en) Digital tube driving circuit
CN212379544U (en) Short circuit detection circuit of display module
CN105334424A (en) Method and device for detecting wiring correctness of control cabinet of distributed control system
CN101063874A (en) Material distributing system and method
TWI275982B (en) Keyboard circuit
CN101968822B (en) Printed circuit board wiring system and character direction adjustment method
CN205847663U (en) Light emitting module controls device
CN106648122A (en) Keyboard device
CN1173479C (en) Multiple selecting structure and method for keyboard controller
CN1103463C (en) Programmable working voltage converter for cpu and relevant chips

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090923

Termination date: 20140204