CN104035571A - Keyboard capable of detecting contact force and method applied to keyboard for detecting contact force - Google Patents
Keyboard capable of detecting contact force and method applied to keyboard for detecting contact force Download PDFInfo
- Publication number
- CN104035571A CN104035571A CN201410209478.5A CN201410209478A CN104035571A CN 104035571 A CN104035571 A CN 104035571A CN 201410209478 A CN201410209478 A CN 201410209478A CN 104035571 A CN104035571 A CN 104035571A
- Authority
- CN
- China
- Prior art keywords
- force
- switch unit
- controller
- switch
- key
- 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.)
- Pending
Links
Landscapes
- Push-Button Switches (AREA)
Abstract
本发明关于可侦测接触力的键盘及应用于键盘侦测接触力的方法,该键盘包含复数个按键、开关模组、底板及控制器。开关模组包含第一开关单元及第二开关单元,第一开关单元设于复数个按键下方,第二开关单元设于第一开关单元下方。底板设于开关模组下方,用以支撑该开关模组。控制器耦接于复数个按键与开关模组,用以初始化复数个按键于初始状态,侦测复数个按键,以及当复数个按键中一按键被施加力时,根据第一开关单元及第二开关单元的状态,确定该力的值。本发明利用控制器根据第一开关单元及第二开关单元的状态确定施加在按键的力的值。本发明可侦测施加在按键的力的值,可改善现有技术对于一使用者而言不是很便利的缺点。
The invention relates to a keyboard capable of detecting contact force and a method for detecting contact force applied to the keyboard. The keyboard includes a plurality of keys, a switch module, a bottom plate and a controller. The switch module includes a first switch unit and a second switch unit, the first switch unit is arranged under the plurality of keys, and the second switch unit is arranged under the first switch unit. The bottom plate is arranged under the switch module to support the switch module. The controller is coupled to the plurality of keys and the switch module, and is used for initializing the plurality of keys to an initial state, detecting the plurality of keys, and when a force is applied to one of the plurality of keys, according to the first switch unit and the second The state of the switching unit determines the value of this force. The present invention uses the controller to determine the value of the force applied to the key according to the states of the first switch unit and the second switch unit. The present invention can detect the value of the force applied to the key, which can improve the disadvantage of the prior art that is not very convenient for a user.
Description
技术领域technical field
本发明涉及一种可侦测接触力的键盘及应用于键盘侦测接触力的方法,尤其指一种利用控制器依序开关单元的状态确定施加在按键的力的值的键盘及方法。The invention relates to a keyboard capable of detecting contact force and a method for detecting contact force applied to the keyboard, in particular to a keyboard and method for determining the value of force applied to a key by using a controller in accordance with the state of a switch unit.
背景技术Background technique
现有技术所提供的键盘上的任一按键,其操作仅会对应开启(ON)与关闭(OFF),亦即当使用者的手指施以作用力在键盘上的一按键时,如果施加在键盘上的该按键的该作用力大于临界值,则该按键的操作是对应开启,导致键盘上的控制器将会传送该按键的代码至主机。然后,主机即可根据该按键的代码,执行相对应的操作,例如使用者在文件执行文书编辑时,主机即可根据该按键的代码,传送对应于该按键的英文字母至使用者所编辑的该文件内。Any button on the keyboard provided by the prior art can only be operated corresponding to ON and OFF, that is, when the user's finger exerts force on a button on the keyboard, if the If the force of the key on the keyboard is greater than the critical value, the operation of the key is correspondingly opened, causing the controller on the keyboard to transmit the code of the key to the host. Then, the host computer can perform corresponding operations according to the code of the button. For example, when the user executes document editing in a document, the host computer can send the English letter corresponding to the button to the edited file according to the code of the button. within this file.
然而因为现有技术所提供的键盘上的任一按键,其操作仅会对应开启与关闭,所以当使用者在玩电脑游戏时,如果电脑游戏内的物件需要连续不断地发射武器,则使用者的手指必须连续不断地按压至少一相对应的按键以连续不断地发射武器。如此,现有技术所提供的键盘对于使用者而言并不是很便利。However, because any button on the keyboard provided by the prior art can only be opened and closed correspondingly, so when the user is playing a computer game, if the objects in the computer game need to continuously launch weapons, the user The finger must continuously press at least one corresponding key to continuously fire the weapon. Thus, the keyboard provided by the prior art is not very convenient for users.
发明内容Contents of the invention
为了解决上述问题,本发明提出一种利用控制器依序开关单元的状态确定施加在键盘的作用力的值的键盘以及方法。In order to solve the above problems, the present invention proposes a keyboard and a method for determining the value of the force applied to the keyboard according to the state of the switch unit by the controller.
为了达到上述目的,本发明提出一种可侦测接触力的键盘,该键盘包含至少一按键、开关模组、底板和控制器。开关模组包含第一开关单元及第二开关单元,该第一开关单元设置于该按键的下方,该第二开关单元设置于该第一开关单元的下方;底板设置于该开关模组的下方,该底板用于支撑该开关模组;控制器耦接于该按键与该开关模组,该控制器用于初始化该按键于初始状态、侦测该按键以及当该按键的其中之一被施加作用力时,该控制器根据该第一开关单元及该第二开关单元的状态确定该作用力的值。In order to achieve the above object, the present invention provides a keyboard capable of detecting contact force, the keyboard includes at least one key, a switch module, a bottom plate and a controller. The switch module includes a first switch unit and a second switch unit, the first switch unit is arranged under the button, the second switch unit is arranged under the first switch unit; the bottom plate is arranged under the switch module , the bottom plate is used to support the switch module; the controller is coupled to the button and the switch module, and the controller is used to initialize the button to an initial state, detect the button and when one of the buttons is applied When force is applied, the controller determines the value of the force according to the states of the first switch unit and the second switch unit.
作为可选的技术方案,该按键中的每一按键包含支撑单元和薄膜开关层,支撑单元用于支撑该按键的键帽的上下运动;薄膜开关层设置于该第一开关单元之上。As an optional technical solution, each of the keys includes a support unit and a membrane switch layer, the support unit is used to support the keycap of the key to move up and down; the membrane switch layer is arranged on the first switch unit.
作为可选的技术方案,该第一开关单元的侦测上限小于该第二开关单元的侦测上限。As an optional technical solution, the upper limit of detection of the first switch unit is smaller than the upper limit of detection of the second switch unit.
作为可选的技术方案,该控制器依序控制该第一开关单元和该第二开关单元以侦测该作用力;或者,该控制器依序控制该第二开关单元和该第一开关单元以侦测该作用力。As an optional technical solution, the controller sequentially controls the first switch unit and the second switch unit to detect the force; or, the controller sequentially controls the second switch unit and the first switch unit to detect this force.
作为可选的技术方案,该控制器还用于传送该作用力的值和该按键的代码至主机。As an optional technical solution, the controller is also used to transmit the value of the applied force and the code of the key to the host.
本发明的可侦测接触力的键盘,利用控制器依序根据第一开关单元及第二开关单元的状态,确定施加在其中一按键的作用力的值,或依序根据该第二开关单元及该第一开关单元的状态,确定施加在该按键的作用力的值。本发明所提供的键盘可侦测施加在该按键的作用力的值,可改善现有技术对于一使用者而言不是很便利的缺点。In the touch force detectable keyboard of the present invention, the controller is used to determine the value of the force applied to one of the keys according to the states of the first switch unit and the second switch unit in sequence, or to determine the value of the force applied to one of the keys according to the state of the second switch unit in sequence. and the state of the first switch unit to determine the value of the force applied to the key. The keyboard provided by the present invention can detect the value of the force applied to the key, which can improve the disadvantage that the prior art is not very convenient for a user.
此外,本发明提出一种应用于键盘侦测接触力的方法,该键盘包含至少一按键、开关模组、底板及控制器,其中该开关模组包含第一开关单元及第二开关单元,该第一开关单元设置于该按键的下方,该第二开关单元设置于该第一开关单元的下方;控制器耦接于该按键与该开关模组,该方法包含该控制器初始化该按键于初始状态;该控制器侦测该按键;当该按键中的其中之一被施加作用力时,该控制器根据该第一开关单元及该第二开关单元的状态确定该作用力的值。In addition, the present invention proposes a method for detecting contact force applied to a keyboard, the keyboard includes at least one key, a switch module, a base plate and a controller, wherein the switch module includes a first switch unit and a second switch unit, the The first switch unit is disposed below the key, and the second switch unit is disposed below the first switch unit; the controller is coupled to the key and the switch module, and the method includes the controller initializing the key at an initial state; the controller detects the button; when one of the buttons is applied with force, the controller determines the value of the force according to the states of the first switch unit and the second switch unit.
作为可选的技术方案,当该按键的其中之一被施加该作用力时,该控制器根据该第一开关单元及该第二开关单元的状态确定该作用力的值包含当该第一开关单元关闭时,该控制器确定该作用力为第一力。As an optional technical solution, when the force is applied to one of the keys, the controller determines the value of the force according to the states of the first switch unit and the second switch unit, including when the first switch When the unit is closed, the controller determines the applied force as the first force.
作为可选的技术方案,该方法还包含该控制器传送该第一力和该按键的代码至主机。As an optional technical solution, the method further includes the controller sending the first force and the key code to the host.
作为可选的技术方案,当该按键的其中之一被施加该作用力时,该控制器根据该第一开关单元及该第二开关单元的状态确定该作用力的值包含当该第一开关单元开启时,该控制器侦测该第二开关单元是否开启;该控制器根据第一侦测结果执行第一相对应的动作。As an optional technical solution, when the force is applied to one of the keys, the controller determines the value of the force according to the states of the first switch unit and the second switch unit, including when the first switch When the unit is turned on, the controller detects whether the second switch unit is turned on; the controller executes a first corresponding action according to the first detection result.
作为可选的技术方案,该控制器根据该第一侦测结果执行该第一相对应的动作包含当该第二开关单元关闭时,该控制器确定该作用力为第二力,其中该第二力大于该第一力。As an optional technical solution, the controller performing the first corresponding action according to the first detection result includes when the second switch unit is closed, the controller determines that the acting force is a second force, wherein the first The second force is greater than the first force.
作为可选的技术方案,该方法包含该控制器传送该第二力和该按键的代码至主机。As an optional technical solution, the method includes the controller sending the second force and the key code to the host.
作为可选的技术方案,该控制器根据该第一侦测结果,执行该第一相对应的动作包含当该第二开关单元开启时,该控制器确定该作用力为第三力,其中该第三力大于该第二力。As an optional technical solution, the controller performing the first corresponding action according to the first detection result includes determining the acting force as a third force when the second switch unit is turned on, wherein the The third force is greater than the second force.
作为可选的技术方案,该方法还包含该控制器传送该第三力和该按键的代码至主机。As an optional technical solution, the method further includes the controller sending the third force and the key code to the host.
作为可选的技术方案,当该按键的其中之一被施加该作用力时,该控制器根据该第一开关单元及该第二开关单元的状态确定该作用力的值包含当该第二开关单元开启时,该控制器确定该作用力为第三力。As an optional technical solution, when the force is applied to one of the keys, the controller determines the value of the force according to the states of the first switch unit and the second switch unit, including when the second switch When the unit is turned on, the controller determines the force as the third force.
作为可选的技术方案,该方法还包含该控制器传送该第三力和该按键的代码至主机。As an optional technical solution, the method further includes the controller sending the third force and the key code to the host.
作为可选的技术方案,当该按键的其中之一被施加该作用力时,该控制器根据该第一开关单元及该第二开关单元的状态确定该作用力的值包含当该第二开关单元关闭时,该控制器侦测该第一开关单元是否开启;该控制器根据第二侦测结果执行第二相对应的动作。As an optional technical solution, when the force is applied to one of the keys, the controller determines the value of the force according to the states of the first switch unit and the second switch unit, including when the second switch When the unit is turned off, the controller detects whether the first switch unit is turned on; the controller executes a second corresponding action according to the second detection result.
作为可选的技术方案,该控制器根据该第二侦测结果执行该第二相对应的动作包含当该第一开关单元开启时,该控制器确定该作用力为第二力,其中该第二力小于该第三力。As an optional technical solution, the controller performing the second corresponding action according to the second detection result includes when the first switch unit is turned on, the controller determines that the acting force is a second force, wherein the first The second force is smaller than the third force.
作为可选的技术方案,该方法还包含该控制器传送该第二力和该按键的代码至主机。As an optional technical solution, the method further includes the controller sending the second force and the key code to the host.
作为可选的技术方案,该控制器根据该第二侦测结果执行该第二相对应的动作包含当该第一开关单元关闭时,该控制器确定该作用力为第一力,其中该第一力小于该第二力。As an optional technical solution, the controller performing the second corresponding action according to the second detection result includes when the first switch unit is closed, the controller determines that the acting force is a first force, wherein the second The first force is less than the second force.
作为可选的技术方案,该方法还包含该控制器传送该第一力和该按键的代码至主机。As an optional technical solution, the method further includes the controller sending the first force and the key code to the host.
本发明的应用于键盘侦测接触力的方法,利用控制器依序根据第一开关单元及第二开关单元的状态,确定施加在其中一按键的作用力的值,或依序根据该第二开关单元及该第一开关单元的状态,确定施加在该按键的作用力的值。因此,因为本发明所提供的方法可侦测施加在该按键的作用力的值,所以本发明可改善现有技术对于使用者而言不是很便利的缺点。In the method for detecting contact force applied to a keyboard of the present invention, the controller is used to determine the value of the force applied to one of the keys according to the states of the first switch unit and the second switch unit in sequence, or to determine the value of the force applied to one of the keys according to the state of the second switch unit in sequence The state of the switch unit and the first switch unit determines the value of the force applied to the key. Therefore, because the method provided by the present invention can detect the value of the force applied to the key, the present invention can improve the shortcomings of the prior art that are not very convenient for users.
以下结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.
附图说明Description of drawings
图1为本发明的可侦测接触力的键盘的一实施例的的俯视图;FIG. 1 is a top view of an embodiment of a keyboard capable of detecting contact force of the present invention;
图2为本发明的可侦测接触力的键盘的一实施例的横切面的示意图;2 is a schematic diagram of a cross-section of an embodiment of a keyboard capable of detecting contact force of the present invention;
图3为本发明的可侦测接触力的键盘的另一实施例的横切面的示意图;3 is a schematic diagram of a cross-section of another embodiment of a keyboard capable of detecting contact force of the present invention;
图4A和图4B为本发明的应用于键盘侦测接触力的方法的一实施例的流程图;4A and 4B are flowcharts of an embodiment of a method for detecting contact force applied to a keyboard of the present invention;
图5A和图5B为本发明的应用于键盘侦测接触力的方法的另一实施例的流程图。5A and 5B are flowcharts of another embodiment of the method for detecting contact force applied to a keyboard of the present invention.
具体实施方式Detailed ways
请参照图1和图2,图1是本发明的可侦测接触力的键盘100一实施例的上视示意图,图2是键盘100的横切面的示意图。键盘100包含复数个按键102(如图1所示)、开关模组104(如图2所示)、底板106(如图2所示)及控制器108(如图1所示),为方便说明,图2中仅绘示复数个按键102中的其中一个按键1022。如图2所示,按键1022包含键帽10222、支撑单元10224及薄膜开关层10226。支撑单元10224用以支撑按键1022的键帽10222的上下运动。开关模组104包含第一开关单元1042及第二开关单元1044,其中薄膜开关层10226设置于第一开关单元1042之上,第二开关单元1044设置于第一开关单元1042的下方。但本发明并不受限于开关模组104仅包含第一开关单元1042及第二开关单元1044,亦即开关模组104可包含超过二个以上的开关单元。底板106设置于开关模组104的下方,且底板106用以支撑开关模组104。亦即如图2所示,复数个按键102中的每一按键是共用开关模组104。另外,因为复数个按键102中的每一按键的结构相同,所以本发明仅利用按键1022做说明。如图1和图2所示,控制器108耦接于复数个按键102与开关模组104,且控制器108用以初始化复数个按键102于初始状态(亦即复数个按键102中的每一按键处于没有被按压的状态),侦测复数个按键102,以及当按键1022被施加一力时,根据第一开关单元1042及第二开关单元1044的状态,确定施加在按键1022的力的值,其中第一开关单元1042的侦测上限小于第二开关单元1044的侦测上限。但在本发明的另一实施例中,第一开关单元1042的侦测上限等于第二开关单元1044的侦测上限,或第一开关单元1042的侦测上限大于第二开关单元1044的侦测上限。Please refer to FIG. 1 and FIG. 2 , FIG. 1 is a schematic top view of an embodiment of a keyboard 100 capable of detecting contact force of the present invention, and FIG. 2 is a schematic diagram of a cross-section of the keyboard 100 . The keyboard 100 includes a plurality of keys 102 (as shown in FIG. 1 ), a switch module 104 (as shown in FIG. 2 ), a bottom plate 106 (as shown in FIG. 2 ) and a controller 108 (as shown in FIG. 1 ), for convenience Note, FIG. 2 only shows one button 1022 among the plurality of buttons 102 . As shown in FIG. 2 , the button 1022 includes a keycap 10222 , a supporting unit 10224 and a membrane switch layer 10226 . The supporting unit 10224 is used for supporting the keycap 10222 of the button 1022 to move up and down. The switch module 104 includes a first switch unit 1042 and a second switch unit 1044 , wherein the membrane switch layer 10226 is disposed on the first switch unit 1042 , and the second switch unit 1044 is disposed below the first switch unit 1042 . However, the present invention is not limited to the switch module 104 including only the first switch unit 1042 and the second switch unit 1044 , that is, the switch module 104 may include more than two switch units. The bottom plate 106 is disposed under the switch module 104 , and the bottom plate 106 is used to support the switch module 104 . That is, as shown in FIG. 2 , each of the plurality of keys 102 is a shared switch module 104 . In addition, since each of the plurality of keys 102 has the same structure, the present invention only utilizes the key 1022 for illustration. As shown in FIG. 1 and FIG. 2, the controller 108 is coupled to the plurality of buttons 102 and the switch module 104, and the controller 108 is used to initialize the plurality of buttons 102 to an initial state (that is, each of the plurality of buttons 102 The button is not pressed), detect a plurality of buttons 102, and when a force is applied to the button 1022, determine the value of the force applied to the button 1022 according to the state of the first switch unit 1042 and the second switch unit 1044 , wherein the detection upper limit of the first switch unit 1042 is smaller than the detection upper limit of the second switch unit 1044 . But in another embodiment of the present invention, the detection upper limit of the first switch unit 1042 is equal to the detection upper limit of the second switch unit 1044, or the detection upper limit of the first switch unit 1042 is greater than the detection limit of the second switch unit 1044 upper limit.
如图2所示,当按键1022被施加作用力时,控制器108可依序根据第二开关单元1044及第一开关单元1042的状态(开启与关闭),确定施加在按键1022的力的值。例如当第二开关单元1044开启时,因为第二开关单元1044被施加在按键1022的力开启且如图2所示第一开关单元1042和薄膜开关层10226是位于第二开关单元1044之上,所以第一开关单元1042和薄膜开关层10226亦被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的力为第三力,亦即第三力可同时开启薄膜开关层10226、第一开关单元1042和第二开关单元1044;例如当第二开关单元1044关闭时,控制器108侦测第一开关单元1042是否开启,如果第二开关单元1044关闭且第一开关单元1042开启,则意味着薄膜开关层10226亦被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的力为第二力,亦即第二力可同时开启薄膜开关层10226和第一开关单元1042,其中因为第二力只能同时开启薄膜开关层10226和第一开关单元1042,所以第二力小于上述第三力;例如当第二开关单元1044关闭时,控制器108侦测第一开关单元1042是否开启,如果第一开关单元1042和第二开关单元1044都关闭,则意味着施加在按键1022的作用力仅能开启薄膜开关层10226,从而控制器108确定施加在按键1022的作用力为第一力,其中因为第一力仅能开启薄膜开关层10226,所以第一力小于上述第二力。As shown in FIG. 2, when a force is applied to the key 1022, the controller 108 can determine the value of the force applied to the key 1022 according to the states (on and off) of the second switch unit 1044 and the first switch unit 1042 in sequence. . For example, when the second switch unit 1044 is turned on, because the second switch unit 1044 is turned on by the force applied to the button 1022 and the first switch unit 1042 and the membrane switch layer 10226 are located on the second switch unit 1044 as shown in FIG. Therefore, the first switch unit 1042 and the membrane switch layer 10226 are also opened by the force applied to the key 1022, so that the controller 108 determines that the force applied to the key 1022 is the third force, that is, the third force can simultaneously open the membrane switch layer 10226 , the first switch unit 1042 and the second switch unit 1044; for example, when the second switch unit 1044 is closed, the controller 108 detects whether the first switch unit 1042 is opened, if the second switch unit 1044 is closed and the first switch unit 1042 is opened , it means that the membrane switch layer 10226 is also opened by the force applied to the key 1022, so that the controller 108 determines that the force applied to the key 1022 is the second force, that is, the second force can simultaneously open the membrane switch layer 10226 and the first Switch unit 1042, wherein because the second force can only open the membrane switch layer 10226 and the first switch unit 1042 at the same time, so the second force is smaller than the above-mentioned third force; for example, when the second switch unit 1044 is closed, the controller 108 detects the first Whether the first switch unit 1042 is turned on, if both the first switch unit 1042 and the second switch unit 1044 are turned off, it means that the force applied to the key 1022 can only open the membrane switch layer 10226, so that the controller 108 determines the force applied to the key 1022 The active force is the first force, wherein because the first force can only open the membrane switch layer 10226, the first force is smaller than the above-mentioned second force.
需要说明的是,本发明中控制器108确定施加在按键1022上的作用力的值,并非确定该作用力的具体数值,而是确定该作用力属于哪一范围内,实际操作中,可事先确定三个力的数值范围:第一数值范围、第二数值范围以及第三数值范围,三个数值范围可无交集,其中第一数值范围对应第一力,第二数值范围对应第二力,第三数值范围对应第三力。当施加在按键1022上的作用力落入第一数值范围时,则确定该作用力为第一力,同样的,当施加在按键1022上的作用力落入第二数值范围,则确定该作用力为第二力;当施加在按键1022上的作用力落入第三数值范围,则确定该作用力为第三力。It should be noted that in the present invention, the controller 108 determines the value of the force applied to the key 1022, not the specific value of the force, but the range within which the force falls. In actual operation, it can be determined in advance Determine the numerical ranges of the three forces: the first numerical range, the second numerical range, and the third numerical range. The three numerical ranges may not overlap, wherein the first numerical range corresponds to the first force, and the second numerical range corresponds to the second force. The third value range corresponds to the third force. When the force applied to the button 1022 falls within the first value range, the force is determined to be the first force. Similarly, when the force applied to the button 1022 falls within the second value range, the force is determined to be the first force. The force is the second force; when the force applied on the button 1022 falls within the third value range, then it is determined that the force is the third force.
另外,如图2所示,当按键1022被施加作用力时,控制器108亦可依序根据第一开关单元1042及第二开关单元1044的状态(开启与关闭),确定施加在按键1022的力的值。例如当按键1022被施加作用力且第一开关单元1042关闭时,意味着施加在按键1022的力仅能开启薄膜开关层10226,从而控制器108确定施加在按键1022的力为第一力;例如当第一开关单元1042开启时,控制器108侦测第二开关单元1044是否开启,如果第二开关单元1044关闭且第一开关单元1042开启,则意味着薄膜开关层10226和第一开关单元1042同时被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的作用力为第二力,其中因为第二力可同时开启薄膜开关层10226和第一开关单元1042,所以第二力大于上述第一力;例如当第一开关单元1042开启时,控制器108侦测第二开关单元1044是否开启,如果第一开关单元1042和第二开关单元1044皆开启时,因为第二开关单元1044被施加在按键1022的作用力开启且如图2所示第一开关单元1042和薄膜开关层10226是位于第二开关单元1044之上,所以薄膜开关层10226、第一开关单元1042和第二开关单元1044同时被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的作用力为第三力,其中因为第三力可同时开启薄膜开关层10226、第一开关单元1042和第二开关单元1044,所以第三力大于上述第二力。In addition, as shown in FIG. 2, when a force is applied to the key 1022, the controller 108 can also determine the force applied to the key 1022 according to the states (on and off) of the first switch unit 1042 and the second switch unit 1044 in sequence. force value. For example, when a force is applied to the button 1022 and the first switch unit 1042 is closed, it means that the force applied to the button 1022 can only open the membrane switch layer 10226, so that the controller 108 determines that the force applied to the button 1022 is the first force; for example When the first switch unit 1042 is turned on, the controller 108 detects whether the second switch unit 1044 is turned on. If the second switch unit 1044 is turned off and the first switch unit 1042 is turned on, it means that the membrane switch layer 10226 and the first switch unit 1042 At the same time, the active force applied to the key 1022 is turned on, so that the controller 108 determines that the active force applied to the key 1022 is the second force, wherein because the second force can open the membrane switch layer 10226 and the first switch unit 1042 at the same time, the second The force is greater than the above-mentioned first force; for example, when the first switch unit 1042 is turned on, the controller 108 detects whether the second switch unit 1044 is turned on, if both the first switch unit 1042 and the second switch unit 1044 are turned on, because the second switch The unit 1044 is turned on by the force applied to the button 1022 and as shown in FIG. The two switch units 1044 are turned on by the force applied to the button 1022 at the same time, so that the controller 108 determines that the force applied to the button 1022 is the third force, wherein the membrane switch layer 10226 and the first switch unit 1042 can be turned on at the same time because of the third force and the second switch unit 1044, so the third force is greater than the above-mentioned second force.
另外,控制器108可根据连结键盘100的主机的设定,确定是否传送施加在按键1022的作用力和按键1022的代码至主机。例如如果登录主机的使用者是小孩,则只要当控制器108确定施加在按键1022的作用力为第一力时,控制器108即传送第一力与按键1022的代码至主机(当然,当控制器108确定施加在按键1022的作用力为第二力时,控制器108亦会传送第二力与按键1022的代码至主机;当控制器108确定施加在按键1022的作用力为第三力时,控制器108亦会传送第三力与按键1022的代码至主机);如果登录主机的使用者是大人,则当控制器108确定施加在按键1022的力为第三力时,控制器108才传送第三力与按键1022的代码至主机。In addition, the controller 108 can determine whether to transmit the force applied to the key 1022 and the code of the key 1022 to the host according to the settings of the host connected to the keyboard 100 . For example, if the user logging into the host is a child, as long as the controller 108 determines that the force applied to the button 1022 is the first force, the controller 108 will send the first force and the code of the button 1022 to the host (of course, when the control When the controller 108 determines that the force applied to the button 1022 is the second force, the controller 108 will also send the second force and the code of the button 1022 to the host; when the controller 108 determines that the force applied to the button 1022 is the third force , the controller 108 will also send the third force and the code of the button 1022 to the host); if the user logging into the host is an adult, when the controller 108 determines that the force applied to the button 1022 is the third force, the controller 108 will Send the third force and the code of the button 1022 to the host.
请参照图3,图3是本发明的可侦测接触力的键盘300的另一实施例的横切面的示意图。如图3所示,键盘300和键盘100的差别在于键盘300的复数个按键中至少一按键3022包含键帽30222、支撑单元30224、薄膜开关层30226、第一开关单元30228及第二开关单元30230,亦即,实际操作中,键盘300的复数个按键中并不是每一按键都包含第一开关单元及第二开关单元,使用者可根据需要自行确定。另外,本发明并不受限于按键3022仅包含第一开关单元30228及第二开关单元30230,亦即按键3022可包含超过二个以上的开关单元。支撑单元30224用以支撑按键3022的键帽30222的上下运动,薄膜开关层30226设置于支撑单元30224的下方,第一开关单元30228设置于薄膜开关层30226之下,第二开关单元30230设置于第一开关单元30228的下方。底板106设置于键盘300的复数个按键的下方,且底板106用以支撑键盘300的复数个按键。另外,本实施例中,键盘300的复数个按键都包含第一开关单元及第二开关单元,因为键盘300的复数个按键中的每一按键的结构相同,所以本发明仅利用按键3022做说明。控制器108耦接于键盘300的复数个按键、至少一开关单元及至少一第二开关单元,控制器108用以初始化键盘300的复数个按键于初始状态(亦即键盘300的复数个按键中的每一按键处于没有被按压的状态),侦测键盘300的复数个按键,以及当按键3022被施加作用力时,根据第一开关单元30228及第二开关单元30230的状态,确定施加在按键3022的力的值,其中第一开关单元30228的侦测上限小于第二开关单元30230的侦测上限。但在本发明的另一实施例中,第一开关单元30228的侦测上限等于第二开关单元30230的侦测上限,或第一开关单元30228的侦测上限大于第二开关单元30230的侦测上限。Please refer to FIG. 3 . FIG. 3 is a schematic cross-sectional view of another embodiment of a touch force detectable keyboard 300 of the present invention. As shown in FIG. 3 , the difference between the keyboard 300 and the keyboard 100 is that at least one key 3022 among the plurality of keys of the keyboard 300 includes a keycap 30222 , a support unit 30224 , a membrane switch layer 30226 , a first switch unit 30228 and a second switch unit 30230 , that is, in actual operation, not every key among the plurality of keys of the keyboard 300 includes the first switch unit and the second switch unit, and the user can determine it according to the needs. In addition, the present invention is not limited to the button 3022 including only the first switch unit 30228 and the second switch unit 30230 , that is, the button 3022 may include more than two switch units. The support unit 30224 is used to support the up and down movement of the keycap 30222 of the button 3022, the membrane switch layer 30226 is arranged under the support unit 30224, the first switch unit 30228 is arranged under the membrane switch layer 30226, and the second switch unit 30230 is arranged under the second membrane switch layer 30226. A switch unit 30228 below. The bottom plate 106 is disposed under the plurality of keys of the keyboard 300 , and the bottom plate 106 is used to support the plurality of keys of the keyboard 300 . In addition, in this embodiment, the plurality of keys of the keyboard 300 all include the first switch unit and the second switch unit, because the structure of each key in the plurality of keys of the keyboard 300 is the same, so the present invention only uses the key 3022 for illustration . The controller 108 is coupled to the plurality of keys of the keyboard 300, at least one switch unit and at least one second switch unit. Each key of the key is not pressed), detect the plurality of keys of the keyboard 300, and when the key 3022 is applied force, according to the state of the first switch unit 30228 and the second switch unit 30230, determine the state of the key applied to the key 3022, wherein the detection upper limit of the first switch unit 30228 is smaller than the detection upper limit of the second switch unit 30230. But in another embodiment of the present invention, the detection upper limit of the first switch unit 30228 is equal to the detection upper limit of the second switch unit 30230, or the detection upper limit of the first switch unit 30228 is greater than the detection limit of the second switch unit 30230 upper limit.
如图3所示,当按键3022被施加作用力时,控制器108可依序根据第二开关单元30230及第一开关单元30228的状态(开启与关闭),确定施加在按键3022的作用力的值。例如当第二开关单元30230开启时,因为第二开关单元30230被施加在按键3022的作用力开启且如图3所示第一开关单元30228和薄膜开关层30226是位于第二开关单元30230之上,所以第一开关单元30228和薄膜开关层30226亦被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第三力,亦即第三力可同时开启薄膜开关层30226、第一开关单元30228和第二开关单元30230;例如当第二开关单元30230关闭时,控制器108侦测第一开关单元30228是否开启,如果第二开关单元30230关闭且第一开关单元30228开启,则意味着薄膜开关层30226亦被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的力为第二力,亦即第二力可同时开启薄膜开关层30226和第一开关单元30228,其中因为第二力只能同时开启薄膜开关层30226和第一开关单元30228,所以第二力小于上述第三力;例如当第二开关单元30230关闭时,控制器108侦测第一开关单元30228是否开启,如果第一开关单元30228和第二开关单元30230都关闭,则意味着施加在按键3022的力仅能开启薄膜开关层30226,从而控制器108确定施加在按键3022的作用力为第一力,其中因为第一力仅能开启薄膜开关层30226,所以第一力小于上述第二力。As shown in FIG. 3, when a force is applied to the key 3022, the controller 108 can determine the force applied to the key 3022 according to the states (on and off) of the second switch unit 30230 and the first switch unit 30228 in sequence. value. For example, when the second switch unit 30230 is turned on, because the second switch unit 30230 is turned on by the force applied to the button 3022 and the first switch unit 30228 and the membrane switch layer 30226 are located on the second switch unit 30230 as shown in FIG. , so the first switch unit 30228 and the membrane switch layer 30226 are also opened by the force applied to the key 3022, so that the controller 108 determines that the force applied to the key 3022 is the third force, that is, the third force can simultaneously open the membrane switch Layer 30226, first switch unit 30228 and second switch unit 30230; for example, when the second switch unit 30230 is turned off, the controller 108 detects whether the first switch unit 30228 is turned on, if the second switch unit 30230 is turned off and the first switch unit 30228 is turned on, which means that the membrane switch layer 30226 is also opened by the force applied to the key 3022, so that the controller 108 determines that the force applied to the key 3022 is the second force, that is, the second force can simultaneously open the membrane switch layer 30226 and The first switch unit 30228, wherein because the second force can only open the membrane switch layer 30226 and the first switch unit 30228 at the same time, the second force is smaller than the above-mentioned third force; for example, when the second switch unit 30230 is closed, the controller 108 detects Detect whether the first switch unit 30228 is open, if both the first switch unit 30228 and the second switch unit 30230 are closed, it means that the force applied to the key 3022 can only open the membrane switch layer 30226, so the controller 108 determines that the force applied to the key 3022 The active force is the first force, wherein because the first force can only open the membrane switch layer 30226, the first force is smaller than the above second force.
另外,如图3所示,当按键3022被施加作用力时,控制器108亦可依序根据第一开关单元30228及第二开关单元30230的状态(开启与关闭),确定施加在按键3022的力的值。例如当按键3022被施加作用力且第一开关单元30228关闭时,意味着施加在按键3022的力仅能开启薄膜开关层30226,从而控制器108确定施加在按键3022的作用力为第一力;例如当第一开关单元30228开启时,控制器108侦测第二开关单元30230是否开启,如果第二开关单元30230关闭且第一开关单元30228开启,则意味着薄膜开关层30226和第一开关单元30228同时被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第二力,其中因为第二力可同时开启薄膜开关层30226和第一开关单元30228,所以第二力大于上述第一力;例如当第一开关单元30228开启时,控制器108侦测第二开关单元30230是否开启,如果第一开关单元30228和第二开关单元30230皆开启时,因为第二开关单元30230被施加在按键3022的作用力开启且如图3所示第一开关单元30228和薄膜开关层30226是位于第二开关单元30230之上,所以薄膜开关层30226、第一开关单元30228和第二开关单元30230同时被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第三力,其中因为第三力可同时开启薄膜开关层30226、第一开关单元30228和第二开关单元30230,所以第三力大于上述第二力。In addition, as shown in FIG. 3 , when the key 3022 is applied with force, the controller 108 can also determine the force applied to the key 3022 according to the states (on and off) of the first switch unit 30228 and the second switch unit 30230 in sequence. force value. For example, when a force is applied to the key 3022 and the first switch unit 30228 is closed, it means that the force applied to the key 3022 can only open the membrane switch layer 30226, so that the controller 108 determines that the force applied to the key 3022 is the first force; For example, when the first switch unit 30228 is turned on, the controller 108 detects whether the second switch unit 30230 is turned on. If the second switch unit 30230 is turned off and the first switch unit 30228 is turned on, it means that the membrane switch layer 30226 and the first switch unit 30228 is turned on by the force applied to the key 3022 at the same time, so that the controller 108 determines that the force applied to the key 3022 is the second force, wherein because the second force can simultaneously open the membrane switch layer 30226 and the first switch unit 30228, so the second force The second force is greater than the above-mentioned first force; for example, when the first switch unit 30228 is turned on, the controller 108 detects whether the second switch unit 30230 is turned on, if both the first switch unit 30228 and the second switch unit 30230 are turned on, because the second The switch unit 30230 is turned on by the force applied to the button 3022 and as shown in FIG. The second switch unit 30230 is turned on by the force applied to the button 3022 at the same time, so the controller 108 determines that the force applied to the button 3022 is the third force, wherein the membrane switch layer 30226 and the first switch unit can be turned on at the same time because of the third force 30228 and the second switch unit 30230, so the third force is greater than the above second force.
另外,键盘300的按键3022的其余操作原理皆和按键1022相同,在此不再赘述。In addition, the rest of the operating principles of the key 3022 of the keyboard 300 are the same as those of the key 1022 , and will not be repeated here.
请参照图1、图2、图3、图4A和图4B,图4A和图4B是本发明的应用于键盘侦测接触力的方法的一实施例的流程图。图4A和图4B的方法是利用图1、图2的显示键盘100说明,详细步骤如下:Please refer to FIG. 1 , FIG. 2 , FIG. 3 , FIG. 4A and FIG. 4B , and FIG. 4A and FIG. 4B are flowcharts of an embodiment of a method for detecting contact force applied to a keyboard of the present invention. The method of Fig. 4A and Fig. 4B utilizes the display keyboard 100 illustration of Fig. 1, Fig. 2, and detailed steps are as follows:
步骤400:开始;Step 400: start;
步骤402:控制器108初始化键盘的复数个按键于初始状态;Step 402: the controller 108 initializes a plurality of keys of the keyboard to an initial state;
步骤404:控制器108侦测复数个按键;Step 404: the controller 108 detects a plurality of keys;
步骤406:当复数个按键中的其中一按键被施加作用力时,控制器108侦测第一开关单元是否开启;如果是,进行步骤408;如果否,跳至步骤422;Step 406: When a force is applied to one of the plurality of buttons, the controller 108 detects whether the first switch unit is turned on; if yes, go to step 408; if not, go to step 422;
步骤408:控制器108侦测第二开关单元是否开启;如果是,进行步骤410;如果否,跳至步骤416;Step 408: The controller 108 detects whether the second switch unit is turned on; if yes, go to step 410; if not, go to step 416;
步骤410:控制器108确定施加于按键的作用力为第三力;Step 410: the controller 108 determines that the force applied to the key is a third force;
步骤412:控制器108确定是否传送第三力和按键的代码至主机;如果是,进行步骤414;如果否,跳至步骤404;Step 412: The controller 108 determines whether to transmit the code of the third force and the button to the host; if yes, go to step 414; if not, go to step 404;
步骤414:控制器108传送第三力和按键的代码至主机,跳至步骤404;Step 414: the controller 108 transmits the code of the third force and the button to the host, and skips to step 404;
步骤416:控制器108确定施加于按键的作用力为第二力;Step 416: the controller 108 determines that the force applied to the key is the second force;
步骤418:控制器108确定是否传送第二力和按键的代码至主机;如果是,进行步骤420;如果否,跳至步骤404;Step 418: The controller 108 determines whether to transmit the second force and the code of the button to the host; if yes, proceed to step 420; if no, skip to step 404;
步骤420:控制器108传送第二力和按键的代码至主机,跳至步骤404;Step 420: the controller 108 transmits the code of the second force and the key to the host, and skips to step 404;
步骤422:控制器108确定施加于按键的作用力为第一力;Step 422: the controller 108 determines that the force applied to the key is the first force;
步骤424:控制器108确定是否传送第一力和按键的代码至主机;如果是,进行步骤426;如果否,跳至步骤404;Step 424: The controller 108 determines whether to transmit the first force and the code of the key to the host; if yes, proceed to step 426; if no, skip to step 404;
步骤426:控制器108传送第一力和按键的代码至主机,跳至步骤404。Step 426 : The controller 108 transmits the first force and the code of the key to the host, and skips to step 404 .
以图2为例,图4A和图4B的实施例是当按键1022被施加力时,控制器108可依序根据第一开关单元1042及第二开关单元1044的状态(开启与关闭),确定施加在按键1022的作用力的值。在步骤402中,控制器108初始化复数个按键102于初始状态(亦即复数个按键102中的每一按键处于没有被按压的状态)。在步骤422中,如图2所示,当按键1022被施加作用力且第一开关单元1042关闭时,意味着施加在按键1022的作用力仅能开启薄膜开关层10226,从而控制器108确定施加在按键1022的力为第一力。在步骤408中,如图2所示,当第一开关单元1042开启时,控制器108侦测第二开关单元1044是否开启。在步骤416中,如图2所示,当第二开关单元1044关闭且第一开关单元1042开启时,意味着薄膜开关层10226和第一开关单元1042同时被施加在按键1022的作用力开启,所以控制器108确定施加在按键1022的力为第二力,其中因为第二力可同时开启薄膜开关层10226和第一开关单元1042,所以第二力大于上述第一力。在步骤408中,如图2所示,当第一开关单元1042开启时,控制器108侦测第二开关单元1044是否开启。在步骤410中,如图2所示,当第一开关单元1042和第二开关单元1044皆开启时,因为第二开关单元1044被施加在按键1022的作用力开启且如图2所示第一开关单元1042和薄膜开关层10226是位于第二开关单元1044之上,所以薄膜开关层10226、第一开关单元1042和第二开关单元1044同时被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的作用力为第三力,其中因为第三力可同时开启薄膜开关层10226、第一开关单元1042和第二开关单元1044,所以第三力大于上述第二力。另外,在步骤412、步骤418、步骤424中,控制器108可根据连结键盘100的主机的设定,决定是否传送施加在按键1022的作用力和按键1022的代码至主机。在步骤414、步骤420、步骤426中,如果登录主机的使用者是小孩,则只要当控制器108确定施加在按键1022的作用力为第一力时,控制器108即传送第一力与按键1022的代码至主机(当然,当控制器108确定施加在按键1022的作用力为第二力时,控制器108亦会传送第二力与按键1022的代码至主机;当控制器108确定施加在按键1022的作用力为第三力时,控制器108亦会传送第三力与按键1022的代码至主机);如果登录主机的使用者是大人,则当控制器108确定施加在按键1022的作用力为第三力时,控制器108才传送第三力与按键1022的代码至主机。Taking Fig. 2 as an example, in the embodiment of Fig. 4A and Fig. 4B, when the key 1022 is exerted force, the controller 108 can determine the The value of the force applied to the button 1022. In step 402 , the controller 108 initializes the plurality of keys 102 to an initial state (that is, each of the plurality of keys 102 is not pressed). In step 422, as shown in FIG. 2, when the key 1022 is applied with force and the first switch unit 1042 is closed, it means that the force applied to the key 1022 can only open the membrane switch layer 10226, so the controller 108 determines to apply The force on key 1022 is the first force. In step 408 , as shown in FIG. 2 , when the first switch unit 1042 is turned on, the controller 108 detects whether the second switch unit 1044 is turned on. In step 416, as shown in FIG. 2, when the second switch unit 1044 is turned off and the first switch unit 1042 is turned on, it means that the membrane switch layer 10226 and the first switch unit 1042 are simultaneously turned on by the force applied to the key 1022, Therefore, the controller 108 determines that the force applied to the button 1022 is the second force, wherein the second force is greater than the first force because the second force can simultaneously open the membrane switch layer 10226 and the first switch unit 1042 . In step 408 , as shown in FIG. 2 , when the first switch unit 1042 is turned on, the controller 108 detects whether the second switch unit 1044 is turned on. In step 410, as shown in FIG. 2, when both the first switch unit 1042 and the second switch unit 1044 are turned on, because the second switch unit 1044 is turned on by the force applied to the button 1022 and the first switch unit 1044 is turned on as shown in FIG. The switch unit 1042 and the membrane switch layer 10226 are located on the second switch unit 1044, so the membrane switch layer 10226, the first switch unit 1042 and the second switch unit 1044 are simultaneously turned on by the force applied to the button 1022, so that the controller 108 It is determined that the force applied to the button 1022 is the third force, wherein the third force is greater than the above-mentioned second force because the third force can simultaneously open the membrane switch layer 10226 , the first switch unit 1042 and the second switch unit 1044 . In addition, in step 412 , step 418 , and step 424 , the controller 108 may determine whether to transmit the force applied to the key 1022 and the code of the key 1022 to the host according to the settings of the host connected to the keyboard 100 . In step 414, step 420, and step 426, if the user logging into the host computer is a child, as long as the controller 108 determines that the force applied to the key 1022 is the first force, the controller 108 will transmit the first force and the key. 1022 code to the host (of course, when the controller 108 determines that the force applied to the button 1022 is the second force, the controller 108 will also send the second force and the code of the button 1022 to the host; When the active force of the button 1022 is the third force, the controller 108 will also send the third force and the code of the button 1022 to the host); When the force is the third force, the controller 108 transmits the third force and the code of the button 1022 to the host.
以图3为例,图4A和图4B的实施例是当按键3022被施加作用力时,控制器108可依序根据第一开关单元30228及第二开关单元30230的状态(开启与关闭),确定施加在按键3022的作用力的值。在步骤422中,如图3所示,当按键3022被施加作用力且第一开关单元30228关闭时,意味着施加在按键3022的作用力仅能开启薄膜开关层30226,从而控制器108确定施加在按键3022的作用力为第一力。在步骤408中,如图3所示,当第一开关单元30228开启时,控制器108侦测第二开关单元30230是否开启。在步骤416中,如图3所示,当第二开关单元30230关闭且第一开关单元30228开启时,意味着薄膜开关层30226和第一开关单元30228同时被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第二力,其中因为第二力可同时开启薄膜开关层30226和第一开关单元30228,所以第二力大于上述第一力。在步骤408中,如图3所示,当第一开关单元30228开启时,控制器108侦测第二开关单元30230是否开启。在步骤410中,如图3所示,当第一开关单元30228和第二开关单元30230皆开启时,因为第二开关单元30230被施加在按键3022的作用力开启且如图3所示第一开关单元30228和薄膜开关层30226是位于第二开关单元30230之上,所以薄膜开关层30226、第一开关单元30228和第二开关单元30230同时被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第三力,其中因为第三力可同时开启薄膜开关层30226、第一开关单元30228和第二开关单元30230,所以第三力大于上述第二力。另外,键盘300的按键3022的其余操作方法皆和按键1022相同,在此不再赘述。Taking Fig. 3 as an example, in the embodiment of Fig. 4A and Fig. 4B, when the button 3022 is applied with force, the controller 108 can sequentially according to the states (on and off) of the first switch unit 30228 and the second switch unit 30230, The value of the force applied to the key 3022 is determined. In step 422, as shown in FIG. 3, when the key 3022 is applied with force and the first switch unit 30228 is closed, it means that the force applied to the key 3022 can only open the membrane switch layer 30226, so the controller 108 determines to apply The force acting on the button 3022 is the first force. In step 408 , as shown in FIG. 3 , when the first switch unit 30228 is turned on, the controller 108 detects whether the second switch unit 30230 is turned on. In step 416, as shown in FIG. 3, when the second switch unit 30230 is turned off and the first switch unit 30228 is turned on, it means that the membrane switch layer 30226 and the first switch unit 30228 are simultaneously turned on by the force applied to the button 3022, Therefore, the controller 108 determines that the force applied to the button 3022 is the second force, wherein the second force is greater than the first force because the second force can simultaneously open the membrane switch layer 30226 and the first switch unit 30228 . In step 408 , as shown in FIG. 3 , when the first switch unit 30228 is turned on, the controller 108 detects whether the second switch unit 30230 is turned on. In step 410, as shown in FIG. 3, when both the first switch unit 30228 and the second switch unit 30230 are turned on, because the second switch unit 30230 is turned on by the force applied to the button 3022 and the first switch unit 30230 is turned on as shown in FIG. The switch unit 30228 and the membrane switch layer 30226 are located on the second switch unit 30230, so the membrane switch layer 30226, the first switch unit 30228 and the second switch unit 30230 are simultaneously turned on by the force applied to the button 3022, so that the controller 108 It is determined that the force applied to the button 3022 is the third force, wherein the third force is greater than the second force because the third force can simultaneously open the membrane switch layer 30226 , the first switch unit 30228 and the second switch unit 30230 . In addition, the remaining operation methods of the key 3022 of the keyboard 300 are the same as those of the key 1022 , and will not be repeated here.
请参照图1、图2、图3、图5A和图5B,图5A和图5B是本发明的应用于键盘侦测接触力的方法的另一实施例的流程图。图5A和图5B的方法是利用图1、图2的显示键盘100说明,详细步骤如下:Please refer to FIG. 1 , FIG. 2 , FIG. 3 , FIG. 5A and FIG. 5B . FIG. 5A and FIG. 5B are flowcharts of another embodiment of the method for detecting contact force applied to a keyboard of the present invention. The method of Fig. 5A and Fig. 5B utilizes the display keyboard 100 illustration of Fig. 1, Fig. 2, and detailed steps are as follows:
步骤500:开始;Step 500: start;
步骤502:控制器108初始化键盘的复数个按键于初始状态;Step 502: the controller 108 initializes a plurality of keys of the keyboard to an initial state;
步骤504:控制器108侦测复数个按键;Step 504: the controller 108 detects a plurality of keys;
步骤506:当复数个按键中的其中一按键被施加作用力时,控制器108侦测第二开关单元是否开启;如果是,进行步骤508;如果否,跳至步骤514;Step 506: When a force is applied to one of the plurality of buttons, the controller 108 detects whether the second switch unit is turned on; if yes, go to step 508; if not, go to step 514;
步骤508:控制器108确定施加于按键的作用力为第三力;Step 508: the controller 108 determines that the force applied to the key is the third force;
步骤510:控制器108决定是否传送第三力和按键的代码至主机;如果是,进行步骤512;如果否,跳至步骤504;Step 510: The controller 108 decides whether to transmit the third force and the key code to the host; if yes, go to step 512; if not, go to step 504;
步骤512:控制器108传送第三力和按键的代码至主机,跳至步骤504;Step 512: The controller 108 transmits the code of the third force and the button to the host, and skips to step 504;
步骤514:控制器108侦测第一开关单元是否开启;如果是,进行步骤516;如果否,跳至步骤522;Step 514: The controller 108 detects whether the first switch unit is turned on; if yes, go to step 516; if not, go to step 522;
步骤516:控制器108确定施加于按键的作用力为第二力;Step 516: the controller 108 determines that the force applied to the key is the second force;
步骤518:控制器108决定是否传送第二力和按键的代码至主机;如果是,进行步骤520;如果否,跳至步骤504;Step 518: The controller 108 decides whether to transmit the second force and the key code to the host; if yes, go to step 520; if not, go to step 504;
步骤520:控制器108传送第二力和按键的代码至主机,跳至步骤504;Step 520: the controller 108 transmits the second force and the code of the key to the host, and skips to step 504;
步骤522:控制器108确定施加于按键的作用力为第一力;Step 522: the controller 108 determines that the force applied to the key is the first force;
步骤524:控制器108决定是否传送第一力和按键的代码至主机;如果是,进行步骤526;如果否,跳至步骤504;Step 524: The controller 108 decides whether to transmit the first force and the code of the button to the host; if yes, go to step 526; if not, go to step 504;
步骤526:控制器108传送第一力和按键的代码至主机,跳至步骤504。Step 526 : The controller 108 transmits the first force and the code of the key to the host, and skips to step 504 .
以图2为例,图5A和图5B的实施例和图4A和图4B的实施例的差别在于当按键1022被施加作用力时,控制器108可依序根据第二开关单元1044及第一开关单元1042的状态(开启与关闭),确定施加在按键1022的作用力的值。在步骤508中,当第二开关单元1044开启时,因为第二开关单元1044被施加在按键1022的作用力开启且如图2所示第一开关单元1042和薄膜开关层10226是位于第二开关单元1044之上,所以第一开关单元1042和薄膜开关层10226亦被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的作用力为第三力,亦即第三力可同时开启薄膜开关层10226、第一开关单元1042和第二开关单元1044。在步骤514中,当第二开关单元1044关闭时,控制器108侦测第一开关单元1042是否开启。在步骤516中,当第二开关单元1044关闭且第一开关单元1042开启时,意味着薄膜开关层10226亦被施加在按键1022的作用力开启,从而控制器108确定施加在按键1022的作用力为第二力,亦即第二力可同时开启薄膜开关层10226和第一开关单元1042,其中因为第二力只能同时开启薄膜开关层10226和第一开关单元1042,所以第二力小于上述第三力。在步骤514中,当第二开关单元1044关闭时,控制器108侦测第一开关单元1042是否开启。在步骤522中,当第一开关单元1042和第二开关单元1044都关闭时,意味着施加在按键1022的作用力仅能开启薄膜开关层10226,导致控制器108确定施加在按键1022的作用力为第一力,其中因为第一力仅能开启薄膜开关层10226,所以第一力小于上述第二力。另外,图5A和图5B的实施例的其余操作原理皆和图4A和图4B的实施例相同,在此不再赘述。Taking FIG. 2 as an example, the difference between the embodiment of FIG. 5A and FIG. 5B and the embodiment of FIG. 4A and FIG. The state of the switch unit 1042 (on or off) determines the value of the force applied to the key 1022 . In step 508, when the second switch unit 1044 is turned on, because the second switch unit 1044 is turned on by the force applied to the button 1022 and as shown in FIG. unit 1044, so the first switch unit 1042 and membrane switch layer 10226 are also turned on by the force applied to the key 1022, so that the controller 108 determines that the force applied to the key 1022 is the third force, that is, the third force can be The membrane switch layer 10226 , the first switch unit 1042 and the second switch unit 1044 are simultaneously turned on. In step 514, when the second switch unit 1044 is turned off, the controller 108 detects whether the first switch unit 1042 is turned on. In step 516, when the second switch unit 1044 is turned off and the first switch unit 1042 is turned on, it means that the membrane switch layer 10226 is also turned on by the force applied to the key 1022, so that the controller 108 determines the force applied to the key 1022 is the second force, that is, the second force can open the membrane switch layer 10226 and the first switch unit 1042 at the same time, wherein because the second force can only open the membrane switch layer 10226 and the first switch unit 1042 at the same time, the second force is smaller than the above-mentioned third force. In step 514, when the second switch unit 1044 is turned off, the controller 108 detects whether the first switch unit 1042 is turned on. In step 522, when both the first switch unit 1042 and the second switch unit 1044 are closed, it means that the force applied to the key 1022 can only open the membrane switch layer 10226, causing the controller 108 to determine the force applied to the key 1022 is the first force, wherein because the first force can only open the membrane switch layer 10226, the first force is smaller than the above-mentioned second force. In addition, the rest of the operating principles of the embodiment of FIG. 5A and FIG. 5B are the same as those of the embodiment of FIG. 4A and FIG. 4B , and will not be repeated here.
以图3为例,图5A和图5B的实施例和图4A和图4B的实施例的差别在于当按键3022被施加作用力时,控制器108可依序根据第二开关单元30230及第一开关单元30228的状态(开启与关闭),确定施加在按键3022的作用力的值。在步骤508中,当第二开关单元30230开启时,因为第二开关单元30230被施加在按键3022的作用力开启且如图3所示第一开关单元30228和薄膜开关层30226是位于第二开关单元30230之上,所以第一开关单元30228和薄膜开关层30226亦被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第三力,亦即第三力可同时开启薄膜开关层30226、第一开关单元30228和第二开关单元30230。在步骤514中,当第二开关单元30230关闭时,控制器108侦测第一开关单元30228是否开启。在步骤516中,当第二开关单元30230关闭且第一开关单元30228开启时,意味着薄膜开关层30226亦被施加在按键3022的作用力开启,从而控制器108确定施加在按键3022的作用力为第二力,亦即第二力可同时开启薄膜开关层30226和第一开关单元30228,其中因为第二力只能同时开启薄膜开关层30226和第一开关单元30228,所以第二力小于上述第三力。在步骤514中,当第二开关单元30230关闭时,控制器108侦测第一开关单元30228是否开启。在步骤522中,当第一开关单元30228和第二开关单元30230都关闭时,意味着施加在按键3022的作用力仅能开启薄膜开关层30226,导致控制器108确定施加在按键3022的作用力为第一力,其中因为第一力仅能开启薄膜开关层30226,所以第一力小于上述第二力。另外,键盘300的按键3022的其余操作方法皆和按键1022相同,在此不再赘述。Taking FIG. 3 as an example, the difference between the embodiment of FIG. 5A and FIG. 5B and the embodiment of FIG. 4A and FIG. The state of the switch unit 30228 (on or off) determines the value of the force applied to the key 3022 . In step 508, when the second switch unit 30230 is turned on, because the second switch unit 30230 is turned on by the force applied to the button 3022 and the first switch unit 30228 and the membrane switch layer 30226 are located on the second switch as shown in FIG. unit 30230, so the first switch unit 30228 and membrane switch layer 30226 are also turned on by the force applied to the button 3022, so that the controller 108 determines that the force applied to the button 3022 is the third force, that is, the third force can be The membrane switch layer 30226, the first switch unit 30228 and the second switch unit 30230 are turned on simultaneously. In step 514, when the second switch unit 30230 is turned off, the controller 108 detects whether the first switch unit 30228 is turned on. In step 516, when the second switch unit 30230 is turned off and the first switch unit 30228 is turned on, it means that the membrane switch layer 30226 is also turned on by the force applied to the key 3022, so that the controller 108 determines the force applied to the key 3022 is the second force, that is, the second force can open the membrane switch layer 30226 and the first switch unit 30228 at the same time, wherein because the second force can only open the membrane switch layer 30226 and the first switch unit 30228 at the same time, the second force is smaller than the above-mentioned third force. In step 514, when the second switch unit 30230 is turned off, the controller 108 detects whether the first switch unit 30228 is turned on. In step 522, when both the first switch unit 30228 and the second switch unit 30230 are closed, it means that the force applied to the key 3022 can only open the membrane switch layer 30226, causing the controller 108 to determine the force applied to the key 3022 is the first force, wherein because the first force can only open the membrane switch layer 30226, the first force is smaller than the above-mentioned second force. In addition, the remaining operation methods of the key 3022 of the keyboard 300 are the same as those of the key 1022 , and will not be repeated here.
综上所述,本发明所提供的一种可侦测接触力的键盘及应用于键盘侦测接触力的方法是利用控制器依序根据第一开关单元及第二开关单元的状态,确定施加在按键的作用力的值,或依序根据第二开关单元及第一开关单元的状态,确定施加在按键的作用力的值。因此,因为本发明所提供的键盘可侦测施加在按键的力的值,所以本发明可改善现有技术对于使用者而言不是很便利的缺点。In summary, the present invention provides a keyboard capable of detecting contact force and a method for detecting contact force applied to the keyboard is to use the controller to determine the state of the first switch unit and the second switch unit in sequence. The value of the active force applied to the key, or the value of the active force applied to the key is determined according to the states of the second switch unit and the first switch unit in sequence. Therefore, because the keyboard provided by the present invention can detect the value of the force applied to the keys, the present invention can improve the disadvantages of the prior art that are not very convenient for users.
当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes All changes and modifications should belong to the scope of protection of the appended claims of the present invention.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410209478.5A CN104035571A (en) | 2014-05-19 | 2014-05-19 | Keyboard capable of detecting contact force and method applied to keyboard for detecting contact force |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410209478.5A CN104035571A (en) | 2014-05-19 | 2014-05-19 | Keyboard capable of detecting contact force and method applied to keyboard for detecting contact force |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104035571A true CN104035571A (en) | 2014-09-10 |
Family
ID=51466370
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410209478.5A Pending CN104035571A (en) | 2014-05-19 | 2014-05-19 | Keyboard capable of detecting contact force and method applied to keyboard for detecting contact force |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104035571A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9666390B2 (en) | 2015-02-25 | 2017-05-30 | Dong Z. Kim | Keyboard containing keys having sequential switching capacities |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004311383A (en) * | 2003-04-09 | 2004-11-04 | Erebus:Kk | Switch unit and device using the same |
| CN101315841A (en) * | 2007-05-29 | 2008-12-03 | 达方电子股份有限公司 | Key using membrane switch circuit and manufacturing method thereof |
| CN102375546A (en) * | 2010-08-11 | 2012-03-14 | 致伸科技股份有限公司 | Two-section pressure sensing keyboard |
-
2014
- 2014-05-19 CN CN201410209478.5A patent/CN104035571A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004311383A (en) * | 2003-04-09 | 2004-11-04 | Erebus:Kk | Switch unit and device using the same |
| CN101315841A (en) * | 2007-05-29 | 2008-12-03 | 达方电子股份有限公司 | Key using membrane switch circuit and manufacturing method thereof |
| CN102375546A (en) * | 2010-08-11 | 2012-03-14 | 致伸科技股份有限公司 | Two-section pressure sensing keyboard |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9666390B2 (en) | 2015-02-25 | 2017-05-30 | Dong Z. Kim | Keyboard containing keys having sequential switching capacities |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9454239B2 (en) | Enabling touch events on a touch sensitive mechanical keyboard | |
| US11036307B2 (en) | Touch sensitive mechanical keyboard | |
| US11119582B2 (en) | Actuation lock for a touch sensitive input device | |
| US9041652B2 (en) | Fusion keyboard | |
| CN204695233U (en) | A kind of keyboard with mouse function | |
| JP2013101465A (en) | Information processing device, information processing method, and computer program | |
| US8593405B2 (en) | Electronic device and method for executing commands in the same | |
| CN103246382A (en) | Control method and electronic equipment | |
| US20220398001A1 (en) | Keyboard | |
| US10684700B2 (en) | Keyboard threshold change apparatus and keyboard | |
| CN107577353A (en) | Keyboard | |
| CN104035571A (en) | Keyboard capable of detecting contact force and method applied to keyboard for detecting contact force | |
| CN107885337B (en) | Information input method and device based on fingering identification | |
| CN104898852B (en) | Keyboard device with touch function | |
| KR101236630B1 (en) | Method of providing tactile feedback and electronic device | |
| TW201535240A (en) | Keyboard device with touch function | |
| TWI545465B (en) | Keyboard capable of detecting a touch force and method of detecting a touch force applied to a keyboard | |
| WO2016188203A1 (en) | Character input method and apparatus, and computer storage medium | |
| CN102915124B (en) | For the method that the touch command of touch control keyboard inputs | |
| US20150113397A1 (en) | Input device and system with macro recording function and method of using the same | |
| KR101925065B1 (en) | Keyboard for smart devices | |
| CN208111329U (en) | A kind of key and its keyboard | |
| KR101117117B1 (en) | Input device of info-communication equipment | |
| KR20150102359A (en) | Apparatus for setting up input using pressure-detectable user interface, and Method thereof | |
| CN210984579U (en) | Key with multi-trigger function |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140910 |
|
| WD01 | Invention patent application deemed withdrawn after publication |