This application claims the benefit of Taiwan application Serial No. 103101784, filed Jan. 17, 2014, the subject matter of which is incorporated herein by reference.
1. Field of the Invention
The invention relates in general to a keyboard and control method thereof, and more particularly to a keyboard capable of adjusting key conducting strength and a control method thereof.
2. Description of the Related Art
Nowadays, keyboard has been widely used and become a most popular input device among computer peripherals. However, the quality of the keyboard may vary with the manufactures, and each key on the keyboard may have a different conducting strength. Therefore, in the respect of the conducting strength of a, how to make the keyboard have higher uniformity of quality and adjustable in response to user's needs has become a prominent task for the industries.
According to one embodiment of the present invention, a keyboard comprising a plurality of keys and a keyboard controller is disclosed. The keys comprise a first key. The keyboard controller generates a first sensing value corresponding to the first key when the first key is pressed by a first force. The first sensing value is related to the magnitude of the first force and is compensated by a first compensation value corresponding to the first key to generate a first adjusted sensing value. If the first adjusted sensing value is higher than or equal to a current threshold, the keyboard controller determines whether the first key is pressed and outputs a first key code corresponding to the first key accordingly.
According to another embodiment of the present invention, a keyboard control method comprising a sensing procedure is disclosed. The sensing procedure comprises following steps. A keyboard comprising a plurality of keys containing a first key is provided, wherein a first sensing value corresponding to the first key is generated when the first key is pressed by a first force. The first sensing value is related to the magnitude of the first force and is compensated by a first compensation value corresponding to thirst key to generate a first adjusted sensing value. If the first adjusted sensing value is higher than or equal to a current threshold, the keyboard determines that the first key is pressed, and outputs a first key code corresponding to the first key.
According to an alternate embodiment of the present invention, a keyboard capable of adjusting key conducting strength according to a user operation is disclosed. The keyboard comprises a plurality of keys and a keyboard controller. The keys comprise a first key. The keyboard controller generates a first sensing value corresponding to the first key when the first key is pressed by a first force, and compensates the first sensing value by a first compensation value corresponding to the first key to generate a first adjusted sensing value. The keyboard controls an actuation threshold of the first key through the adjustment of a current threshold. If the first adjusted sensing value is higher than the actuation threshold, then a first key code corresponding to the first key is outputted.
According to another alternate embodiment of the present invention, a keyboard comprising a first key, a first path, a second key, a second path, and a keyboard controller is disclosed. When the first key is pressed by a first force, the first path correspondingly transmits a first signal. When the second key is pressed by the first force, the second path correspondingly transmits a second signal. The keyboard controller stores a first compensation value, a second compensation value, an actuation threshold, a first key code and a second key code, and is capable of extracting a first signal value and a second signal value from the first signal and the second signal respectively. When the keyboard controller receives the first signal from the first path and the computation result of the first signal value and the first compensation value satisfies the actuation threshold, the keyboard controller outputs a first key code to a host in response to the first signal. When the keyboard controller receives the second signal from the second path and the computation result of the second signal value and the second compensation value satisfies the actuation threshold, the keyboard controller outputs a second key code to the host in response to the second signal.
The above and other aspects of the invention will become better understood with regard to the following detailed description of the preferred but non-limiting embodiment(s). The following description is made with reference to the accompanying drawings.
Referring to
In the present embodiment, through the adjustment of a current threshold, the keyboard 10 is capable of adjusting the conducting strength of the key 100 according to the user's needs to increase the adaptability, and flexibility and convenience of the keyboard 10. Moreover, the conducting strength of the keys on the keyboard 10 manufactured according to the embodiments of the present invention have higher uniformity. Details of the invention are disclosed below.
The present embodiment discloses two approaches of key design in which a sensing value related to the magnitude of a force is generated when the key 100 is pressed by a force. The first approach of key design is illustrated in
Referring to
As indicated in
To be more specifically, as indicated in
As indicated in the circuit diagram, the sub-contact points can respectively be realized by components such as resistors and switches.
Therefore, a smaller amount of sub-contact points are conducted, and accordingly a smaller amount of sub-switches are conducted. For example, the sub-switches S1-S3 are conducted. When the key “1” is pressed by a stronger force F2, the contact area is larger. Therefore, a larger amount of sub-switches with parallel-connection are conducted. For example, the sub-switches S1-Sn are connected. The equivalent circuit diagram of the key “1” of
Therefore, different forces can make the overall key “1” generate different resistances R11. When the force makes the corresponding adjusted sensing value higher than the current threshold, the keyboard outputs a key code corresponding to the key “1”.
The second approach of key design uses a piezoresistive material component in the key. Referring to
The reasons why the keys at different positions of the keyboard have different impedance values are disclosed below. Referring to
Similarly, as indicated in
Since the total length of the traces L0 and L1 is different from that of the traces L2 and L3, the impedance value of the key K—1 is also different from that of the key K_Q. Since the position of each key on the keyboard is different, the overall length of corresponding traces of each key is also different, and accordingly, when a key is conducted, the overall impedance value of the traces through which the current flows is also different. Suppose the voltage source provided to the key has the same voltage, that is, voltage Vcc. When the user presses different keys with the same force, the currents generated correspondingly will be different because the overall impedance value of each key is different, and the corresponding digit value outputted from the analog to digital converter 43 will also be different. That is, although the force applied on different keys is the same, different keys will generate different overall equivalent impedance values and different digit values.
Referring to
The micro-processor 44 can execute a calibration procedure on the keyboard 10 to correct the above situation that different keys correspond to different overall equivalent impedance values. The calibration procedure is exemplified below with the numerical values illustrated in Table 1.
Firstly, as indicated in Table 1 and Table 2, a predetermined calibration strength S1 of 70 grams (g) is respectively applied on a plurality of keys of the keyboard, wherein the current value of the predetermined calibration threshold TH1 is 0.7 A. The micro-processor 44 scans each key (sequentially creates current paths L0, L1, L2, L3, . . . as indicated in
Referring to
Through the calibration procedure, when each of the keys K—1, K_Q and K_W receives the predetermined calibration strength S1 of 70 g, the sum of the generated calibration sensing value (I measurement) plus the compensation value (I compensation) is equal to the threshold TH1 being 0.7 A. The compensation value can compensate the current difference caused by the difference between the different overall equivalent impedance values of different keys. Then, during normal operation of the keyboard, the difference between different impedance values of different keys can be compensated by the sum of the current sensing value (digit value) generated when a key is pressed plus the compensation value.
As indicated in Table 3, when each of the keys K—1, K_Q and K_W receives a strength S2 of 80 g higher than the predetermined calibration strength of 70 g, the measured current of each key is increased, such that the compensated digit value I_total of each key (that is, the compensated digit value I_total is equal to I measurement plus I compensation) is higher than the threshold TH1. Then, the micro-processor 44 determines that all the three keys K—1, K_Q and K_W are pressed.
As indicated in Table 4, when each of the keys K—1, K_Q and K_W receives a strength S3 of 60 g lower than the predetermined calibration strength of 70 g, the measured current of each of the keys is decreased, such that the compensated digit value I_total of each key (that is, the compensated digit value I_total is equal to I measurement plus I compensation) is lower than the threshold TH1. Then, the micro-processor 44 determines that none of the three keys K—1, K_Q and K_W is pressed.
If the user would like to adjust the magnitude of the conducting strength of a key, the adjustment can be achieved by changing the current threshold of the key. The user can input a threshold adjustment request through a keyboard driver or an application program. In response to the threshold adjustment request, the keyboard controller can increase or decrease the current threshold, and then determine whether a key is pressed according to the updated current threshold.
Refer to
Refer to
Refer to
Given that the architecture of
As indicated in Table 5, when the actuation threshold is increased to TH2 (0.8 A) according to a user's adjustment such that the sum of the first signal value I measurement 1 plus the first compensation value I_compensation 1 cannot satisfy the adjusted actuation threshold TH2 (0.8 A), the keyboard controller ignores the first signal and does not output the first key code “1” to the host.
As indicated in Table 4, when the first key is pressed by a second force (60 g), the first path correspondingly transmits a third signal. The second force is lower than the first force. The keyboard controller is capable of extracting a third signal value I measurement 1 (0.54 A) from the third signal. When the keyboard controller receives the third signal from the first path and uses the threshold TH1 (0.7 A) as the actuation threshold, and the sum of the third signal value (0.54 A) and the first compensation value (0.1 A) cannot satisfy the actuation threshold TH1 (0.7 A), the keyboard controller ignores the third signal and does not output the first key code “1” to the host.
As indicated in Table 6, when the actuation threshold is decreased to the threshold TH3 (0.6 A) according to a user's adjustment such that the sum of the third signal value (0.54 A) plus the first compensation value (0.1 A) satisfies the adjusted actuation threshold TH3 (0.6 A), the keyboard controller outputs the first key code “1” to the host in response to the third signal.
The variable resistor can be realized by a plurality of switch contact points disposed under the first key. When the first key is pressed by the first force, M units of the plurality of switch contact points are conducted. When the first key is pressed by the second force, N units of the plurality of switch contact points switch contact points are conducted, M is bigger than N. Thus, the first current value is higher than the third current value.
For example, as indicated in
In another embodiment, the keyboard can be divided into different groups, such that the keys in a particular region of the keyboard can have specific settings according to the user's special needs. For example, as indicated in
The above mentioned methods can also be used for the user to transmit a corresponding key code by lightly pressing a key. Firstly, all the keys on the keyboard 10 are corrected, and actuation thresholds corresponding to the four frequently used direction keys “↑”, “↓”, “←”, “→” are adjusted. For example, the actuation thresholds of the four keys can be set to a small values. Therefore, although the four keys are pressed by a weak force, the computation result of the digit values of the keys and the compensation values of the four keys still can satisfy the actuation threshold and corresponding key codes still can be outputted. Through such arrangement, the sensitivity of the four keys can be increased. Conversely, if the actuation thresholds of the four keys are set to a large value, the four keys must be pressed by a stronger force for the computation result of the digit values and the compensation values of the four keys to satisfy the actuation threshold. Under such circumstance, the user needs to press the four keys hardly for corresponding key codes to be outputted. Thus, the four keys have lower sensitivity.
The conducting strengths of other keys can be changed through the adjustment in corresponding actuation thresholds. The present embodiment allows the user to flexibly divide the keys on the keyboard into different groups according to the user's needs and to adjust corresponding actuation thresholds to set the conducting strengths of the keys. Through the above arrangements of the embodiments of the invention, the user can enjoy better experience of use when the user is typing or executing other application programs (such as computer games).
While the invention has been described by way of example and in terms of the preferred embodiment(s), it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
103101784 | Jan 2014 | TW | national |