

























技术领域technical field
本申请涉及交互设备技术领域,具体而言,涉及一种按键系统及交互装置。The present application relates to the technical field of interactive devices, and in particular, to a key system and an interactive device.
背景技术Background technique
按键是一种非常常见的交互输入设备,对于使用频率较高的按键输入装置(如键盘),按键的敲击手感对用户来说非常重要。例如,机械键盘就因其独特的敲击段落感,深受用户的喜爱。A key is a very common interactive input device. For a key input device (such as a keyboard) that is frequently used, the touch feeling of the key is very important to the user. For example, mechanical keyboards are very popular among users because of their unique sense of striking paragraphs.
在一些交互输入设备的按键设计方案中,通过控制电磁元件按照向按键施加不同方向的力,可以使得按键在一次按压过程中能向用户的手指施加不同的反馈力度,从而使按压过程产生有层次的敲击段落感。In some key design schemes of interactive input devices, by controlling the electromagnetic elements to apply forces in different directions to the keys, the keys can apply different feedback forces to the user's fingers during one pressing process, so that the pressing process can be layered. The sense of percussion paragraph.
但是现有技术中缺少一种能有效地控制可控力按键并识别键值的按键系统。However, the prior art lacks a key system that can effectively control the force-controllable keys and identify key values.
发明内容SUMMARY OF THE INVENTION
为解决现有技术中的至少一个问题,本申请提供一种控制可控力按键的按键系统及交互装置。In order to solve at least one problem in the prior art, the present application provides a button system and an interactive device for controlling a controllable force button.
本申请的目的之一在于提供一种按键系统,包括第一按压检测组件、按键功能组件、力控组件及磁力组件;One of the objectives of the present application is to provide a key system, including a first press detection component, a key function component, a force control component and a magnetic force component;
所述第一按压检测组件与所述力控组件连接,用于检测至少一部分按键的按压状态并发送给所述力控组件;The first pressing detection component is connected with the force control component, and is used for detecting the pressing state of at least a part of the keys and sending the pressure control component to the force control component;
所述力控组件分别与所述按键功能组件、所述磁力组件及所述第一按压检测组件连接,所述力控组件构造成根据所述第一按压检测组件检测到的按压状态控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力,并将所述按压状态传递给所述按键功能组件;The force control component is respectively connected with the button function component, the magnetic force component and the first pressing detection component, and the force control component is configured to control the pressing state detected by the first pressing detection component. The magnetic component applies a force along the pressing direction of the key or a force away from the pressing direction of the key to the key, and transmits the pressed state to the key function component;
所述按键功能组件构造成根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件连接的其他设备。The key function component is configured to send the key value corresponding to the key to other devices connected to the key function component according to the received pressing state.
在一些可能的实现方式中,所力控组件和所述按键功能组件的串行通信接口连接;所述力控组件将检测到的所述按压状态通过串行通信方式发送给所述按键功能组件。In some possible implementations, the force control component is connected with the serial communication interface of the button function component; the force control component sends the detected pressing state to the button function component through serial communication .
在一些可能的实现方式中,所述按键系统包括多个所述力控组件;In some possible implementations, the button system includes a plurality of the force control components;
多个所述力控组件的串行通信接口通过通信总线与所述按键功能组件的通信口连接;或多个所述力控组件的串行通信接口分别通过独立的通信线与所述按键功能组件连接。The serial communication interfaces of a plurality of the force control components are connected with the communication ports of the button function components through a communication bus; or the serial communication interfaces of a plurality of the force control components are respectively connected to the button function through independent communication lines. Component connection.
在一些可能的实现方式中,所述按键功能组件包括多个第一IO接口,所述力控组件包括与分别与所述多个第一IO接口对应的多个第二IO接口,所述多个第一IO接口通过IO通信线分别与所述多个第二IO接口连接;所述按键功能组件通过所述IO通信线从所述力控组件获取所述按压状态。In some possible implementations, the button function component includes a plurality of first IO interfaces, the force control component includes a plurality of second IO interfaces corresponding to the plurality of first IO interfaces respectively, and the plurality of first IO interfaces respectively. The first IO interfaces are respectively connected to the plurality of second IO interfaces through IO communication lines; the button function component obtains the pressing state from the force control component through the IO communication lines.
在一些可能的实现方式中,所述力控组件还包括多个第三IO接口,所述多个第三IO接口通过一扫描电路连接与所多个述第一按压检测组件连接,所述多个第三IO接口通过扫描的方式获取所述第一按压检测组件采集的按压状态;In some possible implementations, the force control assembly further includes a plurality of third IO interfaces, the plurality of third IO interfaces are connected to the plurality of the first pressing detection assemblies through a scanning circuit connection, and the plurality of A third IO interface acquires the pressing state collected by the first pressing detection component by scanning;
所述按键功能组件通过扫描的方式从所述按键功能组件获取所述按压状态;The button function component acquires the pressing state from the button function component by scanning;
所述按键功能组件的扫描时钟域与所述力控组件的扫描时钟域相对独立。The scan clock domain of the key function component is relatively independent from the scan clock domain of the force control component.
在一些可能的实现方式中,所述力控组件包括寄存部件,所述寄存部件用于记录通过所述多个第三IO接口扫描获得的所述按压状态,并在所述按键功能组件的扫描过程中间记录的所述按压状态传递给所述按键功能组件。In some possible implementations, the force control component includes a registering component, and the registering component is configured to record the pressing state obtained by scanning the plurality of third IO interfaces, and perform the scanning of the key function component The pressing state recorded in the middle of the process is transmitted to the key function component.
在一些可能的实现方式中,所述按键系统还包括第二按压检测组件,所述第二按压检测组件用于检测至少一部分按键的按压状态;In some possible implementations, the key system further includes a second press detection component, the second press detection component is configured to detect the pressing state of at least a part of the keys;
所述按键功能组件包括还包括第四IO接口,所述第四IO接口与所述第二按压检测组件连接,所述按键功能组件通过所述第四IO接口获取由所述第二按压检测组件采集的按压状态。The key function component includes and further includes a fourth IO interface, the fourth IO interface is connected to the second press detection component, and the key function component obtains information from the second press detection component through the fourth IO interface. Captured compression states.
在一些可能的实现方式中,所述磁力组件包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件及所述电磁线圈连接;In some possible implementations, the magnetic force component includes an electromagnetic coil and a switch circuit composed of a plurality of switch elements, and the switch circuit is respectively connected to the force control component and the electromagnetic coil;
所述力控组件配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。The force control assembly is configured to control the switching elements in the switching circuit to be closed or open according to a preset sequence in a working state, so as to deliver currents of different directions and/or different magnitudes to the electromagnetic coil, The electromagnetic coil is made to apply different directions and/or different magnitudes of force to the key along the pressing of the key.
在一些可能的实现方式中,所述按键系统还包括电能检测组件;所述电能检测组件用于在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号用于断开所述磁力组件的供能线路。In some possible implementations, the key system further includes a power detection component; the power detection component is configured to generate a disconnection signal when it is detected that the power consumed by the key system is greater than a preset threshold, the disconnection signal A power supply line for disconnecting the magnetic assembly.
本申请实施例提供一种按键系统及交互装置,通过由力控组件根据检测到的按键的按压状态控制磁力组件向按键施加的力,并将按键状态发送给用于进行键值识别和与其他设备通信的键盘功能组件,从而可以实现对可控力按键的力度控制和键值识别。The embodiments of the present application provide a key system and an interactive device, through which the force control component controls the force applied by the magnetic force component to the key according to the detected pressing state of the key, and sends the key state to the key for identifying the key value and communicating with other keys. The keyboard function component for device communication, so that the force control and key value recognition of the controllable force keys can be realized.
本申请的另一目的在于提供一种按键系统,包括按压检测组件、按键功能组件、力控组件及磁力组件;Another object of the present application is to provide a key system, including a press detection component, a key function component, a force control component and a magnetic force component;
所述按压检测组件与所述力控组件连接,用于检测按键的按压状态并发送给所述力控组件;The pressing detection component is connected with the force control component, and is used for detecting the pressing state of the button and sending it to the force control component;
所述力控组件分别与磁力组件及所述按压检测组件连接,所述力控组件构造成根据所述按压检测组件检测到的按压状态控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力;The force control component is respectively connected with the magnetic force component and the press detection component, and the force control component is configured to control the magnetic force component to apply a press along the button to the button according to the pressing state detected by the press detection component directional force or exert a force away from the direction of the key press;
所述按键功能组件与所述按压检测组件连接,所述按键功能组件用于根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件连接的其他设备。The key function component is connected to the press detection component, and the key function component is configured to send the key value corresponding to the key to other devices connected to the key function component according to the received press state.
在一些可能的实现方式中,所述按键包括至少两段按压行程,所述按压检测组件包括行程检测单元;In some possible implementations, the key includes at least two press strokes, and the press detection component includes a stroke detection unit;
所述行程检测单元构造成检测所述按键的按压状态,所述按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段;The stroke detection unit is configured to detect a pressed state of the key, the pressed state including the key being pressed from a first stroke section to a second stroke section or released from the second stroke section to the first stroke section ;
所述按键功能组件和所述力控组件分别与所述行程检测单元连接,获取所述行程检测单元采集的按压状态。The key function assembly and the force control assembly are respectively connected with the stroke detection unit, and the pressing state collected by the stroke detection unit is acquired.
在一些可能的实现方式中,所述按键功能组件通过一扫描电路与多个所述行程检测单元连接;所述力控组件均基于由所述按键功能组件输出的扫描信号获取多个所述行程检测单元采集的按压状态。In some possible implementations, the key function assembly is connected to a plurality of the stroke detection units through a scanning circuit; the force control assembly acquires a plurality of the strokes based on the scanning signal output by the key function assembly The pressing state collected by the detection unit.
在一些可能的实现方式中,所述按键包括至少两段按压行程,所述按压检测组件包括行程检测单元和导通检测单元;In some possible implementations, the button includes at least two pressing strokes, and the pressing detection component includes a stroke detection unit and a continuity detection unit;
所述行程检测单元构造成检测所述按键的第一按压状态,所述第一按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段;所述力控组件与所述行程检测单元连接,获取所述行程检测单元采集的所述第一按压状态;The stroke detection unit is configured to detect a first pressing state of the key, the first pressing state including the key being pressed from a first stroke section to a second stroke section or released from the second stroke section to a first stroke segment; the force control assembly is connected to the stroke detection unit to obtain the first pressing state collected by the stroke detection unit;
所述导通检测单元构造成检测所述按键的第二按压状态,所述第二按压状态包括所述按键被按压至一导通触发点,所述导通触发点位于所述按键的按压行程中远离按压起点的一端;所述按键功能组件与所述导通检测单元连接,获取所述导通检测单元采集的第二按压状态。The conduction detection unit is configured to detect the second pressing state of the button, the second pressing state includes that the button is pressed to a conduction trigger point, and the conduction trigger point is located in the pressing stroke of the button The end of the middle distance away from the pressing starting point; the key function component is connected to the continuity detection unit, and the second pressing state collected by the continuity detection unit is acquired.
在一些可能的实现方式中,所述力控组件通过扫描检测的方式从多个所述行程检测单元获取所述第一按压状态,所述按键功能组件通过扫描检测的方式从多个所述导通检测单元获取所述第二按压状态;其中,所述力控组件和所述按键功能组件扫描时钟域相对独立。In some possible implementations, the force control component acquires the first pressing state from a plurality of the stroke detection units by scanning detection, and the key function component obtains the first pressing state from a plurality of the guides by scanning detection. The second pressing state is acquired through the detection unit; wherein, the scanning clock domains of the force control component and the key function component are relatively independent.
在一些可能的实现方式中,所述按键功能组件和所述力控组件通过通信线连接;所述力控组件通过所述通信线从所述力控组件获取控制策略数据;In some possible implementations, the button function component and the force control component are connected through a communication line; the force control component obtains control strategy data from the force control component through the communication line;
所述力控组件在检测到所述按压状态发生变化时,根据所述控制策略数据中的预设时序控制所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。When the force control component detects that the pressing state changes, it controls the electromagnetic coil to apply different directional forces and/or different pressing forces along the button to the button according to the preset time sequence in the control strategy data. size of force.
本申请实施例提供一种按键系统及交互装置,通过将力控组件和按键功能组件均与按压检测组件连接,使得力控组件和键盘功能组件都能从按压检测组件获取到按键状态,并根据按键状态分别执行力度控制和键值识别动作,从而提供了一种可以实现对可控力按键的力度控制和键值识别的按键系统。The embodiments of the present application provide a key system and an interaction device. By connecting the force control component and the key function component with the press detection component, both the force control component and the keyboard function component can obtain the key state from the press detection component, and according to the The key state performs force control and key value recognition actions respectively, thereby providing a key system that can realize the force control and key value recognition of controllable force keys.
本申请的另一目的在于提供一种按键系统,包括按压检测组件、力控组件及磁力组件;Another object of the present application is to provide a key system, including a press detection component, a force control component and a magnetic force component;
所述按压检测组件与所述力控组件连接,用于检测按键的按压状态并发送给所述力控组件,所述按键的按压行程包括至少两个行程段;The pressing detection component is connected with the force control component, and is used for detecting the pressing state of the button and sending it to the force control component, and the pressing stroke of the button includes at least two stroke sections;
所述力控组件与所述按压检测组件连接,所述力控组件构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后进入休眠状态;其中,所述力控组件处于工作状态时的电能消耗大于处于休眠状态时的电能消耗;The force control assembly is connected to the pressing detection assembly, and the force control assembly is configured to enter a working state when the pressed state is that the button is pressed from the first stroke section to the second stroke section, and when the pressing state is the button is pressed from the first stroke section to the second stroke section The state is that the key is released from the second stroke section to the first stroke section and then enters a dormant state; wherein, the power consumption of the force control component when it is in a working state is greater than that when it is in a dormant state;
所述磁力组件与所述力控组件连接,所述力控组件用于在所述工作状态下控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The magnetic force component is connected with the force control component, and the force control component is used to control the magnetic force component to apply a force along the button pressing direction to the key or apply a force away from the key pressing in the working state directional force.
在一些可能的实现方式中,所述按键系统还包括按键功能组件;In some possible implementations, the button system further includes a button function component;
所述按键功能组件构造成检测所述按键的按压状态,并根据所述按压状态将所述按键对应的键值发送给与所述按键功能组件通信连接的其他设备。The key function component is configured to detect the pressing state of the key, and send the key value corresponding to the key to other devices communicatively connected to the key function component according to the pressing state.
在一些可能的实现方式中,所述力控组件和所述按键功能组件分别与所述按键连接,相对独立地获取所述按键的按压状态。In some possible implementations, the force control component and the button function component are respectively connected to the button, and obtain the pressing state of the button relatively independently.
在一些可能的实现方式中,所述按键功能组件还与所述力控组件连接,所述按键功能组件还用于将所述按压状态发送给所述力控组件。In some possible implementations, the button function component is further connected to the force control component, and the button function component is further configured to send the pressing state to the force control component.
在一些可能的实现方式中,所述磁力组件构造成在所述力控组件处于休眠状态时,向所述按键施加固定的背离所述按键按压方向力,或者不向所述按键施加力。In some possible implementations, the magnetic assembly is configured to apply a fixed force away from the pressing direction of the key to the key when the force control assembly is in a dormant state, or to apply no force to the key.
本申请实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体电能需求。The embodiments of the present application provide a button system and an interactive device, by setting the force control assembly to a working state when it is detected that the button is pressed from the first stroke section to the second stroke section, and when it is detected that the button is released from the second stroke section When the first stroke segment is reached, the force control assembly is set to a dormant state, so that the force control assembly does not need to be kept in a working state all the time, thereby reducing the overall power demand of the button system or the interactive device using the button system.
本申请的另一目的在于提供一种交互装置,所述交互装置包括按键及本申请提供的按键系统。Another object of the present application is to provide an interactive device, the interactive device includes a button and the button system provided by the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例提供的按键系统的示意图之一;1 is one of the schematic diagrams of a button system provided by an embodiment of the present application;
图2为本申请实施例提供的按键行程的示意图;2 is a schematic diagram of a key stroke provided by an embodiment of the present application;
图3-图22为本申请实施例提供的按键系统的其他多种示意图;3-22 are other various schematic diagrams of the button system provided by the embodiments of the present application;
图23及图24为本申请实施例提供的按键系统的控制流程示意图。FIG. 23 and FIG. 24 are schematic diagrams of a control flow of a button system provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
在本申请的描述中,需要说明的是,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In the description of the present application, it should be noted that the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
在本申请的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "arrangement", "installation", "connection" and "connection" should be interpreted in a broad sense, for example, it may be a fixed connection, It can also be a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or the internal communication between the two components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific situations.
第一实施例first embodiment
请参照图1,图1为本实施例提供的一种按键系统的示意图,该案件系统可以包括第一按压检测组件130、按键功能组件140、力控组件110及磁力组件120。Please refer to FIG. 1 , which is a schematic diagram of a key system provided in this embodiment. The case system may include a first
所述第一按压检测组件130与需要检测的按键对应设置,所述第一按压检测组件130与所述力控组件110连接,用于检测至少一部分按键的按压状态并发送给所述力控组件110。在本实施例中,所述至少一部分按键可以是多个按键中的一个按键或者多个按键中的部分按键。The first
在一种可能的实现方式中,该按键的按压行程包括至少两个行程段。所述按压行程为所述按键从未被按压到被按压至无法继续移动的最大移动距离。例如,请参照图2,所述按键的最大的按压行程为D,该按压行程可以至少被划分为第一行程段d1和第二行程段d2。In a possible implementation manner, the pressing stroke of the key includes at least two stroke segments. The pressing stroke is the maximum moving distance of the key from being pressed to the point where it cannot continue to move. For example, referring to FIG. 2 , the maximum pressing stroke of the button is D, and the pressing stroke can be at least divided into a first stroke section d1 and a second stroke section d2.
在本实施例中,所述第一按压检测组件130可以检测所述按键的按压状态,并将按压状态通知给力控组件110。例如,当所述第一按压检测组件130检测到所述按键处于第一行程段时,可以产生第一信号并发送给所述力控组件110;当所述第一按压检测组件130检测到所述按键处于第二行程段时,可以产生第二信号并发送给所述力控组件110。In this embodiment, the first
其中,所述第一信号或所述第二信号可以为数字信号,也可以为模拟电平信号,或者所述第一信号和所述第二信号中的一个也可以通过所述第一按压检测组件130不发出任何来表示。Wherein, the first signal or the second signal may be a digital signal or an analog level signal, or one of the first signal and the second signal may also be detected by the first
在一些实现方式中,所述第一行程段d1可以具有一定的长度。在这种实现方式中,可以认为所述按键在被按下一定距离后,从第一行程段进入了第二行程段。In some implementations, the first travel segment d1 may have a certain length. In this implementation manner, it can be considered that the button enters the second stroke section from the first stroke section after being pressed for a certain distance.
在另一些实现方式中,所述第一行程段d1可以仅为一个点或者仅具有非常短的长度。在这种实现方式中,可以认为所述按键只要被按动就从第一行程段进入了第二行程段。In other implementations, the first travel segment d1 may be only one point or only have a very short length. In this implementation, it can be considered that the button enters the second stroke section from the first stroke section as long as it is pressed.
所述力控组件110分别与所述按键功能组件140、所述磁力组件120及所述第一按压检测组件130连接,所述力控组件110构造成根据所述第一按压检测组件130检测到的按压状态控制所述磁力组件120向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力,并将所述按压状态传递给所述按键功能组件140。The
所述按键功能组件140构造成根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件140连接的其他设备。例如,在本实施例提供的按键系统应用在键盘上时,所述按键功能组件140可以和电脑主机连接,将识别到的键值发送给电脑主机。The
基于上述设计,本实施例提供的按键系统可以根据检测到的按键的按压状态控制磁力组件120向按键施加的力,并将按键状态发送给用于进行键值识别和与其他设备通信的键盘功能组件,从而可以实现对可控力按键的力度控制和键值识别。Based on the above design, the key system provided in this embodiment can control the force applied by the
在本实施例提供对可控力按键进行控制的案件系统中,可以使用现有已经具有一定功能的按键功能芯片作为所述按键功能组件140,该按键功能芯片已有的功能均可以维持,只需要有所述力控组件110将按键状态传递给按键功能芯片即可。In the case system provided in this embodiment for controlling the controllable force button, an existing button function chip with certain functions can be used as the
也就是说,一方面,采用本实施例提供的方案,在使用现有的按键功能组件140的基础上将一般按键的控制系统改造为对可控力按键进行控制的案件系统,从而可以在一定程度上解决可控力按键系统的生产制作成本。另一方面,在本实施例提供的方案中,按键功能组件140和力控组件110在功能上相对解耦,为按键系统的硬件和软件维护提供了更高的便利性和灵活性。That is to say, on the one hand, using the solution provided in this embodiment, on the basis of using the existing
在一种可能的实现方式中,所力控组件110和所述按键功能组件140的串行通信接口连接。所述力控组件110将检测到的所述按压状态通过串行通信方式发送给所述按键功能组件140。In a possible implementation manner, the
例如,所述力控组件110可以通过扫描检测的方式获得多个所述第一按压检测采集的按压状态,然后将这些按压状态转换为数字串行信号,并通过串行通信接口发送给所述按键功能组件140。For example, the
可选地,在本实施例中,所述按键系统包括多个所述力控组件110。Optionally, in this embodiment, the button system includes a plurality of the
请参照图3a,多个所述力控组件110的串行通信接口可以通过通信总线与所述按键功能组件140的通信口连接。请参照图3b,多个所述力控组件110的串行通信接口分别通过独立的通信线与所述按键功能组件140连接。Referring to FIG. 3 a , the serial communication interfaces of a plurality of the
基于上述设计,在本实施例提供的方案中,使用串行通信线接口的方式实现所述力控组件110和所述按键功能组件140之间按键状态的传递,可以减少所述力控组件110和所述按键功能组件140之间硬件通信线路的布线难度和不限成本。Based on the above design, in the solution provided in this embodiment, the transmission of the button state between the
在一些可能的实现方式中,所述按键功能组件140还可以通过所述串行通信线接口从所述力控组件110获取控制策略数据。所述力控组件110在检测到所述按压状态发生变化时,根据所述控制策略数据中的预设时序控制所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。In some possible implementations, the
换句话说,在本实施例中,所述力控组件110对可控力按键的力度控制策略是可以设置的,可以通过外部设备(如电脑主机)配置个性化的力度控制策略,并通过按键功能组件140下发到力控组件110,从而使力控组件110实现多样化的力度控制,从而更符合用户的个性化需求。In other words, in this embodiment, the force control strategy of the
在另一种可能的实现方式中,请参见图4,所述按键功能组件140包括多个第一IO接口,所述力控组件110包括与分别与所述多个第一IO接口对应的多个第二IO接口,所述多个第一IO接口通过IO通信线分别与所述多个第二IO接口连接;所述按键功能组件140通过所述IO通信线从所述力控组件110获取所述按压状态。In another possible implementation manner, referring to FIG. 4 , the
基于上述设计,在本实施例提供的按键系统中,可以使用所述按键功能组件140已有的按键扫描功能,将既按键功能组件140的扫描IO口直接与所述力控组件110连接,不需要对按键功能组件140的扫描功能进行大幅调整,即可提供一种能对按键力度进行控制又能对键值进行识别的键盘系统。Based on the above design, in the button system provided in this embodiment, the existing button scanning function of the
可选地,在本实施例中,所述力控组件110还包括多个第三IO接口,所述多个第三IO接口通过一扫描电路连接与所多个述第一按压检测组件130连接,所述多个第三IO接口通过扫描的方式获取所述第一按压检测组件130采集的按压状态。Optionally, in this embodiment, the
所述按键功能组件140通过扫描的方式从所述按键功能组件140获取所述按压状态。所述按键功能组件140的扫描时钟域与所述力控组件110的扫描时钟域相对独立。The
换句话说,所述力控组件110可以独立地执行扫描获取所述按压状态的动作,然后通过所述第二IO接口获取到所述按键功能组件140的扫描信号时,将以获取到的所述按压状态传递给所述按键功能组件140即可。In other words, the
通过这种方式,所述力控组件110和所述按键功能组件140的扫描动作可以在不同时钟域中执行,从而使所述力控组件110和按键功能组件140进一步解耦,减少了所述力控组件110和所述按键功能组件140之间的同步需求。In this way, the scanning actions of the
进一步地,所述力控组件110包括寄存部件,所述寄存部件用于记录通过所述多个第三IO接口扫描获得的所述按压状态,并在所述按键功能组件140的扫描过程中间记录的所述按压状态传递给所述按键功能组件140。其中,所述寄存部件可以有多个寄存器组成,或者由其他暂态存储元件或非易失性存储元件组成。Further, the
在一种可能的实现方式中,请参照图5,所述按键系统还包括第二按压检测组件170,所述第二按压检测组件170用于检测至少一部分按键的按压状态。In a possible implementation manner, please refer to FIG. 5 , the key system further includes a second
所述按键功能组件140包括还包括第四IO接口,所述第四IO接口与所述第二按压检测组件170连接,所述按键功能组件140通过所述第四IO接口获取由所述第二按压检测组件170采集的按压状态。The
换句话说,在本实施例中,所述按键系统管理的多个按键中,一部分按键可以由所述力控芯片进行按键状态的检测,并将按键状态发送给所述按键功能组件140。对于这部分按键,可以由所述力控芯片根据所述按键状态控制相应的磁力组件120向按键施加不同的力。In other words, in this embodiment, among the plurality of buttons managed by the button system, a part of the buttons can be detected by the force control chip, and the button status can be sent to the
而还有一部分按键可以直接由键盘功能组件直接检测按键状态,这部分按键可以不是可控力按键。And there are some keys that can be directly detected by the keyboard function component, and these keys may not be controllable keys.
例如,对于键盘上使用频率较高或对用户手感影响较大的按键,可以设置成可控力按键。相应地设置第一按压检测组件130,由所述力控芯片进行按键状态的检测和力控动作,并将按键状态传递给键盘功能组件。For example, keys on the keyboard that are frequently used or have a great influence on the user's feel can be set as controllable force keys. Correspondingly, a first
而对于键盘上使用频率不高或对用户手感影响不大的按键,可以不用设置为可控力按键,由所述按键功能芯片通过既有的扫描连接方式直接检测这部分按键的按压状态。For the keys on the keyboard that are not frequently used or have little effect on the user's hand feel, they may not be set as controllable force keys, and the key function chip directly detects the pressing state of these keys through the existing scanning connection method.
基于上述设计,可以使按键系统设计更加灵活,对从而能够对按键系统硬件的制造成本和软件控制成本也更灵活地控制。Based on the above design, the design of the key system can be made more flexible, so that the manufacturing cost of the key system hardware and the software control cost can be controlled more flexibly.
在本实施例中,所述磁力组件120包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件110及所述电磁线圈连接。In this embodiment, the
所述力控组件110配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键按压不同方向力和/或不同大小的力。The
请参照图6,在一些可能的实现方式中,所述按键系统还可以包括电能检测组件150。所述电能检测组件150用于在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号用于断开所述磁力组件120的供能线路。Referring to FIG. 6 , in some possible implementations, the key system may further include a
其中,所述电能检测组件150可以直接控制一电能限制开关160,如图6所示。通过控制该电能限制开关160可以切断或恢复所述磁力组件120的供能线路。请参照图7,所述电能检测组件150也可以和所述按键功能组件140连接,所述按键功能组件140再与一电能限制开关160连接,所述电能检测组件150在检测到消耗的电能大于预设阈值时产生断开信号发送给按键功能组件140,再由所述按键功能组件140控制所述电能限制开关160断开。The
在一些可能的实现方式中,所述第一按压检测组件130用于检测所述按键处于所述第一行程段还是第二行程段的部分包括:用于发出检测光线的发光元件及用于接收所述检测光线的感光元件。In some possible implementations, the part of the first
所述按键从第一行程段被按压至第二行程段时及从所述第二行程段释放至所述第一行程段时,对所述检测光线在所述发光元件和所述感光元件之间的传递路径的遮挡程度不同。所述感光元件基于对所述检测光线的接收状态检测所述按键的按压状态。When the button is pressed from the first stroke section to the second stroke section and released from the second stroke section to the first stroke section, the detection light is detected between the light-emitting element and the photosensitive element. The degree of occlusion of the transfer path between them is different. The photosensitive element detects the pressing state of the key based on the receiving state of the detection light.
请参照图8a和图8b,本实施例提供了所述按键系统的两种可能的详细电路示意图。Referring to FIG. 8a and FIG. 8b, this embodiment provides two possible detailed circuit diagrams of the key system.
如图8a和图8b所示,所述第一按压检测组件可以包括发光元件D11和感光元件S11组成。As shown in FIG. 8 a and FIG. 8 b , the first pressing detection component may include a light-emitting element D11 and a light-sensing element S11 .
若所述按键处于第一行程段,发光元件D11的发出的检测光线可以被感光元件S11接收;若所述按键处于第二行程段,阻挡了发光元件D11与感光元件S11之间的光线传递路径,发光元件D11的发出的检测光线无法被感光元件S11。通过线路Y1可以检测感光元件S11的导通状态,从而获知所述按键位于哪个行程段。If the button is in the first travel section, the detection light emitted by the light-emitting element D11 can be received by the photosensitive element S11; if the button is in the second travel section, the light transmission path between the light-emitting element D11 and the photosensitive element S11 is blocked. , the detection light emitted by the light-emitting element D11 cannot be detected by the light-emitting element S11. The conduction state of the photosensitive element S11 can be detected through the line Y1, so as to know which travel segment the key is located in.
为了节省电流,在本实施例中还可以增加开关元件Q46,通过控制线路X1的信号输出,可以采用扫描方式控制发光元件D12间歇性发出光线来监控所述按键的按压状态。当然也可以取消Q46,长期维持发光元件D11和感光元件S11的供电。In order to save current, a switch element Q46 can also be added in this embodiment. Through the signal output of the control circuit X1, the light-emitting element D12 can be controlled in a scanning manner to emit light intermittently to monitor the pressing state of the key. Of course, Q46 can also be eliminated, and the power supply of the light-emitting element D11 and the light-emitting element S11 can be maintained for a long time.
所述磁力组件可以包括由开关元件Q42、Q43、Q44及Q45组成的开关电路即电磁线圈K12。开关元件Q42、Q43、Q44及Q45可以为金属-氧化层-半导体场效晶体管(Metal-Oxide-Semiconductor Field-Effect Transistor,MOSFET)或三极管。开关电路分别与力控组件和电磁线圈连接。力控组件通过控制四个开关元件不同导通或断开组合,控制电磁线圈的电流大小和方向,从而使电磁线圈向按键施加不同大小或不同方向的力。The magnetic component may include a switching circuit composed of switching elements Q42, Q43, Q44 and Q45, namely an electromagnetic coil K12. The switching elements Q42, Q43, Q44 and Q45 can be metal-oxide-semiconductor field-effect transistors (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET) or triodes. The switch circuit is respectively connected with the force control component and the electromagnetic coil. The force control component controls the magnitude and direction of the current of the electromagnetic coil by controlling different on or off combinations of the four switch elements, so that the electromagnetic coil exerts forces of different magnitudes or directions on the keys.
所述电能检测组件可以设置于磁力组件的供能线路上,所述电能检测组件与所述按键功能组件连接,所述按键功能组件还与所述磁力组件供能线路上的开关Q41的控制端连接。所述按键功能组件在所述电能检测组件检测到所述按键系统的电能消耗超过阈值时,断开所述磁力组件的供电。The power detection component can be arranged on the power supply line of the magnetic component, the power detection component is connected with the key function component, and the key function component is also connected with the control end of the switch Q41 on the power supply line of the magnetic component. connect. The key function component disconnects the power supply of the magnetic component when the power detection component detects that the power consumption of the key system exceeds a threshold.
由所述力控组件与从感光元件S11获取按键的按压状态。如图8a所示,按键功能组件和力控组件之间可以通过串行通信线连接,按键功能组件通过该串行通信线从力控组件获得按键状态。如图8b所示,按键功能组件和力控组件之间可以通过多根IO扫描线连接,按键功能组件采用扫描检测的方式通过该IO扫描线从力控组件获得按键状态。The pressing state of the button is obtained from the force control component and the photosensitive element S11. As shown in Figure 8a, the button function component and the force control component may be connected through a serial communication line, and the button function component obtains the button state from the force control component through the serial communication line. As shown in Figure 8b, the button function component and the force control component can be connected through multiple IO scan lines, and the button function component obtains the button state from the force control component through the IO scan line by scanning detection.
本实施例还提供一种交互设备,该交互设备可以包括按键及本实施例提供的按键系统。在本实施例中,所述交互设备可以为键盘、集成有按键的电子设备或按键开关等。This embodiment also provides an interaction device, and the interaction device may include buttons and the button system provided in this embodiment. In this embodiment, the interactive device may be a keyboard, an electronic device integrated with keys, a key switch, or the like.
综上所述,本申请实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体能耗。To sum up, the embodiments of the present application provide a button system and an interactive device, by setting the force control assembly to a working state when it is detected that the button is pressed from the first stroke section to the second stroke section, and when it is detected that the button is pressed from the first stroke section to the second stroke section When the second stroke segment is released to the first stroke segment, the force control assembly is set to a dormant state, so that the force control assembly does not need to be kept in a working state all the time, and the overall energy consumption of the button system or the interactive device using the button system can be reduced.
第二实施例Second Embodiment
请参照图9,图9为本实施例提供的一种按键系统的示意图,该按键系统可以包括按压检测组件230、按键功能组件240、力控组件210及磁力组件220。Please refer to FIG. 9 , which is a schematic diagram of a key system provided in this embodiment. The key system may include a
所述按压检测组件230与所述力控组件210连接,用于检测按键的按压状态并发送给所述力控组件210。可选地,所述按压状态可以包括按键被按下,或按键被按压到一定程度。The
所述力控组件210分别与磁力组件220及所述按压检测组件230连接,所述力控组件210构造成根据所述按压检测组件230检测到的按压状态控制所述磁力组件220向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The
所述按键功能组件240与所述按压检测组件230连接,所述按键功能组件240用于根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件240连接的其他设备。例如,在本实施例提供的按键系统应用在键盘上时,所述按键功能组件240可以和电脑主机连接,将识别到的键值发送给电脑主机。The
换句话说,在本实施例中,所述力控组件210和按键功能组件240均与所述按压检测组件230连接,因此所述力控组件210和所述按键功能组件240均可以从所述按压检测组件230获取到按键的按压状态。In other words, in this embodiment, both the
基于上述设计,一方面,本实施例提供了一种可以同时实现对可控力按键的力度控制和键值识别工作。另一方面,在本实施例提供的按键系统中,所述按键功能组件240获取所述按键状态的动作可以不依赖于所述力控组件210,在所述力控组件210出现故障的情况下,所述按键功能组件240仍然可以正常地进行键值识别,从而提高了整个按键系统的容错能力和可靠性。Based on the above design, on the one hand, this embodiment provides a method that can simultaneously realize the force control and the key value recognition of the controllable force button. On the other hand, in the button system provided in this embodiment, the action of the
在一些可能的实现方式中,所述按压检测组件230与需要检测的按键对应设置,该按键的按压行程包括至少两个行程段。请参照图10,所述按压检测组件230可以包括行程检测单元231,所述行程检测单元231用于检测的按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段。In some possible implementations, the
进一步地,所述按键功能组件240通过一扫描电路与多个所述行程检测单元231连接。所述力控组件210均基于由所述按键功能组件240输出的扫描信号获取多个所述行程检测单元231采集的按压状态。Further, the
例如,请参照图11,所述按键功能组件240通过行列扫描检测的方式获取键盘阵列中各按键的按压状态,所述按键功能组件240针对某个行发出按键行扫描,该行扫描信号会被传输至扫描电路的某个行。当该行上某个按键被下时接通产生列检测信号,其对应的列扫描线会将列检测信号传递给按键功能组件240及力控组件210。通过这种方式,可以保证扫描信号的同步响应,避免力控组件210和键盘功能组件信号扫描检测发生冲突。For example, referring to FIG. 11 , the
在另一些可能实现方式中,请参照图12,所述按键包括至少两段按压行程,所述按压检测组件230包括行程检测单元231和导通检测单元232。In other possible implementations, please refer to FIG. 12 , the button includes at least two pressing strokes, and the
所述行程检测单元231构造成检测所述按键的第一按压状态,所述第一按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段。所述力控组件210与所述行程检测单元231连接,获取所述行程检测单元231采集的所述第一按压状态。The
所述导通检测单元232构造成检测所述按键的第二按压状态,所述第二按压状态包括所述按键被按压至一导通触发点,所述导通触发点位于所述按键的按压行程中远离按压起点的一端。所述按键功能组件240与所述导通检测单元232连接,获取所述导通检测单元232采集的第二按压状态。The
换句话说,在这种实现方式中,所述力控组件210和所述按键功能组件240可以根据不同的按压状态进行不同的逻辑操作处理。例如,所述力控组件210可以在所述按键被按下一定距离开始进行磁力控制,而所述按键功能组件240需要在所述按键被完全按下时获取按键的键值发送给其他设备。In other words, in this implementation manner, the
进一步地,在上述实现方式中,所述力控组件210通过扫描检测的方式从多个所述行程检测单元231获取所述第一按压状态,所述按键功能组件240通过扫描检测的方式从多个所述导通检测单元232获取所述第二按压状态。其中,所述力控组件210和所述按键功能组件240扫描时钟域相对独立。Further, in the above implementation manner, the
换句话说,由于在这种实现方式中,所述力控组件210和所述按键功能组件240检测的案件状态不是相同的,因此可以不用特别考虑扫描检测同步性的问题,因此所述力控组件210和所述按键功能组件240的扫描动作可以是相互独立,是基于不同的时钟信号的。In other words, in this implementation manner, the state of the case detected by the
在一些可能的实现方式中,请参照图13,所述按键功能组件240和所述力控组件210通过通信线连接;所述力控组件210通过所述通信线从所述力控组件210获取控制策略数据。所述力控组件210在检测到所述按压状态发生变化时,根据所述控制策略数据中的预设时序控制所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。In some possible implementations, please refer to FIG. 13 , the
换句话说,在本实施例中,所述力控组件210对可控力按键的力度控制策略是可以设置的,可以通过外部设备(如电脑主机)配置个性化的力度控制策略,并通过按键功能组件240下发到力控组件210,从而使力控组件210实现多样化的力度控制,从而更符合用户的个性化需求。In other words, in this embodiment, the force control strategy of the
在一些可能的实现方式中,所述行程检测单元231包括:用于发出检测光线的发光元件及用于接收所述检测光线的感光元件。In some possible implementations, the
所述按键从第一行程段被按压至第二行程段时及从所述第二行程段释放至所述第一行程段时,对所述检测光线在所述发光元件和所述感光元件之间的传递路径的遮挡程度不同。所述感光元件基于对所述检测光线的接收状态检测所述按键的按压状态。When the button is pressed from the first stroke section to the second stroke section and released from the second stroke section to the first stroke section, the detection light is detected between the light-emitting element and the photosensitive element. The degree of occlusion of the transfer path between them is different. The photosensitive element detects the pressing state of the key based on the receiving state of the detection light.
在本实施例中,所述磁力组件220包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件210及所述电磁线圈连接。In this embodiment, the
所述力控组件210配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键按压不同方向力和/或不同大小的力。The
在一些可能的实现方式中,请参照图14,所述按键系统还可以包括电能检测组件250。所述电能检测组件250用于在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号用于断开所述磁力组件220的供能线路。In some possible implementations, please refer to FIG. 14 , the key system may further include a
其中,所述电能检测组件250可以直接控制一电能限制开关260,如图6所示。通过控制该电能限制开关260可以切断或恢复所述磁力组件220的供能线路。请参照图15,所述电能检测组件250也可以和所述按键功能组件240连接,所述按键功能组件240再与一电能限制开关260连接,所述电能检测组件250在检测到消耗的电能大于预设阈值时产生断开信号发送给按键功能组件240,再由所述按键功能组件240控制所述电能限制开关260断开。Wherein, the
请参照图16,图16为本实施例提供的按键系统的一种可能的详细电路示意图。Please refer to FIG. 16 , FIG. 16 is a possible detailed circuit schematic diagram of the key system provided in this embodiment.
如图16所示,所述按压检测组件可以包括发光元件D11和感光元件S11组成。As shown in FIG. 16 , the pressing detection component may include a light-emitting element D11 and a light-sensing element S11.
若所述按键处于第一行程段,发光元件D11的发出的检测光线可以被感光元件S11接收;若所述按键处于第二行程段,阻挡了发光元件D11与感光元件S11之间的光线传递路径,发光元件D11的发出的检测光线无法被感光元件S11。通过线路Y1可以检测感光元件S11的导通状态,从而获知所述按键位于哪个行程段。所述按键功能组件和所述力控组件均与从感光元件S11获取按键的按压状态。If the button is in the first travel section, the detection light emitted by the light-emitting element D11 can be received by the photosensitive element S11; if the button is in the second travel section, the light transmission path between the light-emitting element D11 and the photosensitive element S11 is blocked. , the detection light emitted by the light-emitting element D11 cannot be detected by the light-emitting element S11. The conduction state of the photosensitive element S11 can be detected through the line Y1, so as to know which travel segment the key is located in. Both the button function component and the force control component acquire the pressing state of the button from the photosensitive element S11.
为了节省电流,在本实施例中还可以增加开关元件Q46,通过控制线路X1的信号输出,可以采用扫描方式控制发光元件D12间歇性发出光线来监控所述按键的按压状态。当然也可以取消Q46,长期维持发光元件D11和感光元件S11的供电。In order to save current, a switch element Q46 can also be added in this embodiment. Through the signal output of the control circuit X1, the light-emitting element D12 can be controlled in a scanning manner to emit light intermittently to monitor the pressing state of the key. Of course, Q46 can also be eliminated, and the power supply of the light-emitting element D11 and the light-emitting element S11 can be maintained for a long time.
所述磁力组件可以包括由开关元件Q42、Q43、Q44及Q45组成的开关电路即电磁线圈K12。开关元件Q42、Q43、Q44及Q45可以为金属-氧化层-半导体场效晶体管(Metal-Oxide-Semiconductor Field-Effect Transistor,MOSFET)或三极管。开关电路分别与力控组件和电磁线圈连接。力控组件通过控制四个开关元件不同导通或断开组合,控制电磁线圈的电流大小和方向,从而使电磁线圈向按键施加不同大小或不同方向的力。The magnetic component may include a switching circuit composed of switching elements Q42, Q43, Q44 and Q45, namely an electromagnetic coil K12. The switching elements Q42, Q43, Q44 and Q45 can be metal-oxide-semiconductor field-effect transistors (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET) or triodes. The switch circuit is respectively connected with the force control component and the electromagnetic coil. The force control component controls the magnitude and direction of the current of the electromagnetic coil by controlling different on or off combinations of the four switch elements, so that the electromagnetic coil exerts forces of different magnitudes or directions on the keys.
所述电能检测组件可以设置于磁力组件的供能线路上,所述电能检测组件与所述按键功能组件连接,所述按键功能组件还与所述磁力组件供能线路上的开关Q41的控制端连接。所述按键功能组件在所述电能检测组件检测到所述按键系统的电能消耗超过阈值时,断开所述磁力组件的供电。The power detection component can be arranged on the power supply line of the magnetic component, the power detection component is connected with the key function component, and the key function component is also connected with the control end of the switch Q41 on the power supply line of the magnetic component. connect. The key function component disconnects the power supply of the magnetic component when the power detection component detects that the power consumption of the key system exceeds a threshold.
本实施例还提供一种交互设备,该交互设备可以包括按键及本实施例提供的按键系统。在本实施例中,所述交互设备可以为键盘、集成有按键的电子设备或按键开关等。This embodiment also provides an interaction device, and the interaction device may include buttons and the button system provided in this embodiment. In this embodiment, the interactive device may be a keyboard, an electronic device integrated with keys, a key switch, or the like.
综上所述,本申请实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体能耗。To sum up, the embodiments of the present application provide a button system and an interactive device, by setting the force control assembly to a working state when it is detected that the button is pressed from the first stroke section to the second stroke section, and when it is detected that the button is pressed from the first stroke section to the second stroke section When the second stroke segment is released to the first stroke segment, the force control assembly is set to a dormant state, so that the force control assembly does not need to be kept in a working state all the time, and the overall energy consumption of the button system or the interactive device using the button system can be reduced.
第三实施例Third Embodiment
请参照图17,图17为本实施例提供的一种按键系统的示意图,该按键系统可以包括按压检测组件330、力控组件310及磁力组件320。Please refer to FIG. 17 . FIG. 17 is a schematic diagram of a key system provided in this embodiment. The key system may include a
所述按压检测组件330与需要检测的按键对应设置,该按键的按压行程包括至少两个行程段。所述按压行程为所述按键从未被按压到被按压至无法继续移动的最大移动距离。The
在本实施例中,所述按压检测组件330可以检测所述按键的按压状态,并将按压状态通知给力控组件310。例如,当所述按压检测组件330检测到所述按键处于第一行程段时,可以产生第一信号并发送给所述力控组件310;当所述按压检测组件330检测到所述按键处于第二行程段时,可以产生第二信号并发送给所述力控组件310。In this embodiment, the
在本实施例中,所述力控组件310可以具有包括工作状态和休眠状态在内的至少两种不同的状态。其中,所述力控组件310处于工作状态时的电能消耗大于处于休眠状态时的电能消耗。In this embodiment, the
所述力控组件310可以在外部信号的触发下在休眠状态和工作状态之间转换。例如,所述力控组件310可以具有一休眠唤醒接口311,该休眠唤醒接口311可以是集成芯片上自带的休眠唤醒接口311,也可以是一专门的休眠唤醒电路或者休眠唤醒模块。该休眠唤醒接口311可以接收表征所述按键的按压状态的信号,从而将所述力控组件310设置为工作状态或休眠状态。The
所述力控组件310与所述按压检测组件330连接,所述力控组件310构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后进入休眠状态。The
所述力控组件310还与所述磁力组件320连接,所述力控组件310配置成在所述工作状态下控制所述磁力组件320向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The
换句话说,在本实施例提供的方案中,当所述按键没有被按下或被按下较小距离时(即,处于第一行程段时),所述力控组件310处于休眠状态;当所述按键被按下较大距离时(即,处于第二行程段时),所述力控组件310处于工作状态,并可以控制所述磁力组件320进行较为复杂的磁力施加动作。In other words, in the solution provided in this embodiment, when the button is not pressed or pressed for a small distance (ie, in the first stroke segment), the
基于上述设计,在本实施例提供的按键系统中,可以仅在按键被按压到一定程度后才唤醒力控组件310进行磁力控制,从而使得力控组件310不用一直保持在能耗较高的工作状态,可以减少按键系统的整体电能需求。Based on the above design, in the key system provided in this embodiment, the
可选地,在一种可能的实现方式中,所述力控组件310构造成在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段时,立即进入休眠状态。Optionally, in a possible implementation manner, the
在另一些可能的实现方式中,所述力控组件310构造成在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后,延时一定时间然后再进入休眠状态。如此,在某些按键在被频繁按下释放时,可以避免所述力控组件310频繁地在休眠状态和工作状态之间切换。In some other possible implementation manners, the
请参照图18,在本实施中,所述按键系统还可以包括按键功能组件340,所述按键功能组件340构造成检测所述按键的按压状态,并根据所述按压状态将所述按键对应的键值发送给与所述按键功能组件340通信连接的其他设备。例如,在本实施例提供的按键系统应用在键盘上时,所述按键功能组件340可以和电脑主机连接,将识别到的键值发送给电脑主机。Referring to FIG. 18 , in the present embodiment, the button system may further include a
在一种可能的实现方式中,如图18所示,所述力控组件310和所述按键功能组件340分别与所述按压检测组件330连接,相对独立地获取所述按键的按压状态。In a possible implementation manner, as shown in FIG. 18 , the
可选地,在一种情况下,所述力控组件310和所述按键功能组件340可以根据同一种按压状态进行不同的逻辑操作处理。Optionally, in one case, the
例如,所述力控组件310和所述按键功能组件340均通过所述按压状态检测组件检测所述按键是位于第一行程段还是位于第二行程段。其中,所述力控组件310构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段时进入休眠状态;而所述按键功能组件340在检测到所述按压状态为所述按键从第一行程段被按压至第二行程段时将所述按键对应的键值发送给与所述按键功能组件340通信连接的其他设备,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段时不发送该按键的键值。For example, both the
在另一种情况下,所述力控组件310和所述按键功能组件340可以根据不同的按压状态进行不同的逻辑操作处理。In another case, the
例如,请参照图19,所述按压检测组件330也可以包括行程检测单元331和导通检测单元332。所述力控组件310与所述行程检测单元331连接,所述力控组件310获取的按压状态可以为由所述行程检测单元331检测的所述按键是位于第一行程段还是位于第二行程段;而所述按键功能组件340与所述导通检测单元332连接,所述按键功能组件340获取的按压状态可以为由所述导通检测单元332检测的所述按键是否被完全按下。换句话说,所述力控组件310可以在所述按键被按下一定距离后被唤醒,并开始进行磁力控制,而所述按键功能组件340需要在所述按键被完全按下后获取按键的键值发送给其他设备。For example, referring to FIG. 19 , the
在另一种可能的实现方式中,请参见图20,所述按键功能组件340也可以分别与所述按压检测组件330和所述力控组件310连接,所述按键功能组件340还用于将从所述按压检测组件330获取到的所述按压状态发送给所述力控组件310。In another possible implementation, referring to FIG. 20 , the
例如,所述按键功能组件340通过所述按压检测组件330获取到所述按键位于第二行程段时,然后所述按键功能组件340在发送相应键值的同时还通过通信线路向所述力控组件310发送信息,使所述力控组件310也获知所述按键位于第二行程段,从而所述力控组件310进入工作状态并进行磁力控制。For example, when the
基于上述设计,在本实施例提供的按键系统中,所述力控组件310的控制动作与所述按键功能组件340的识别动作是相对分离的,即在所述力控组件310出现问题时,也不会影响到所述按键功能组件340的功能。如此,提高的整个按键系统的工作可靠性和容错能力。Based on the above design, in the button system provided in this embodiment, the control action of the
在一些可能的实现方式中,所述磁力组件320构造成在所述力控组件310处于休眠状态时可以不向所述按键施加力。换句话说,当所述按键处于第一行程段时,所述磁力组件320不会像按键施加磁力。在这种情况下,可以由按键自身机械结构中的弹簧或者簧片结构向所述按键施加背离所述按键按压方向的力。In some possible implementations, the
在另一些可能的实现方式中,所述磁力组件320构造成在所述力控组件310处于休眠状态时向所述按键施加固定的背离所述按键按压方向力。换句话说,当所述按键处于第一行程段时,所述磁力组件320向所述按键施加固定的背离所述按键按压方向力。在这种情况下,在所述按键处于所述第一行程段时,只需要向按键施加固定的磁力,因此不需要所述力控组件310的参与,所述力控组件310可以保持休眠状态;而在所述按键处于第二行程段时,由于需要进行较为复杂磁力控制,所以可以唤醒所述力控组件310进行磁力控制逻辑的处理。In some other possible implementations, the
在本实施例中,所述磁力组件320包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件310及所述电磁线圈连接。In this embodiment, the
所述力控组件310配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键按压不同方向力和/或不同大小的力。The
请参照图21,在一些可能的实现方式中,所述按键系统还可以包括电能检测组件350;所述电能检测组件350用于在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号用于断开所述磁力组件320的供能线路。Referring to FIG. 21, in some possible implementations, the key system may further include a
其中,所述电能检测组件350可以直接控制一电能限制开关360,如图6所示。通过控制该电能限制开关360可以切断或恢复所述磁力组件320的供能线路。请参照图22,所述电能检测组件350也可以和所述按键功能组件340连接,所述按键功能组件340再与一电能限制开关360连接,所述电能检测组件350在检测到消耗的电能大于预设阈值时产生断开信号发送给按键功能组件340,再由所述按键功能组件340控制所述电能限制开关360断开。The
在一些可能的实现方式中,所述按压检测组件330用于检测所述按键处于所述第一行程段还是第二行程段的部分包括:用于发出检测光线的发光元件及用于接收所述检测光线的感光元件。In some possible implementations, the part of the
所述按键从第一行程段被按压至第二行程段时及从所述第二行程段释放至所述第一行程段时,对所述检测光线在所述发光元件和所述感光元件之间的传递路径的遮挡程度不同。所述感光元件基于对所述检测光线的接收状态检测所述按键的按压状态。When the button is pressed from the first stroke section to the second stroke section and released from the second stroke section to the first stroke section, the detection light is detected between the light-emitting element and the photosensitive element. The degree of occlusion of the transfer path between them is different. The photosensitive element detects the pressing state of the key based on the receiving state of the detection light.
本实施例还提供一种交互设备,该交互设备可以包括按键及本实施例提供的按键系统。在本实施例中,所述交互设备可以为键盘、集成有按键的电子设备或按键开关等。This embodiment also provides an interaction device, and the interaction device may include buttons and the button system provided in this embodiment. In this embodiment, the interactive device may be a keyboard, an electronic device integrated with keys, a key switch, or the like.
综上所述,本申请实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体能耗。To sum up, the embodiments of the present application provide a button system and an interactive device, by setting the force control assembly to a working state when it is detected that the button is pressed from the first stroke section to the second stroke section, and when it is detected that the button is pressed from the first stroke section to the second stroke section When the second stroke segment is released to the first stroke segment, the force control assembly is set to a dormant state, so that the force control assembly does not need to be kept in a working state all the time, and the overall energy consumption of the button system or the interactive device using the button system can be reduced.
第四实施例Fourth Embodiment
本实施例还提供一种应用于上述按键系统的控制方法,请参见图23,图23为按键按下过程中,一个扫描周期的处理流程示意图。This embodiment also provides a control method applied to the above-mentioned button system. Please refer to FIG. 23 . FIG. 23 is a schematic diagram of the processing flow of one scan cycle in the process of button pressing.
步骤S111,本周期中检测到当前按键按下。Step S111, the current key press is detected in this cycle.
在本实施例中,所述检测到按键被按下即为检测到按键从所述第一行程段被按压至所述第二行程段。In this embodiment, the detection of the key being pressed is the detection of the key being pressed from the first stroke section to the second stroke section.
步骤S112,检测是否启用向上施加作用力功能。Step S112, it is detected whether the function of applying upward force is enabled.
在本实施例中,所述向上施加作用力即为向背离所述按键按压的方向施加作用力。In this embodiment, the upward application of the force is to apply the force in a direction away from the pressing of the key.
若启用向上施加作用力功能,则进入步骤S130;If the function of applying upward force is enabled, go to step S130;
若未启用向上施加作用力功能,则进入步骤S140。If the function of applying force upward is not enabled, go to step S140.
步骤S113,检测向上施加作用力的保持时间是否达到。In step S113, it is detected whether the holding time of the upwardly applied force is reached.
若未达到,进入步骤S114;If not, go to step S114;
若达到,则进入步骤S115。If so, go to step S115.
步骤S114,控制所述磁力组件在本次扫描周期中施加向上的作用力。Step S114, controlling the magnetic component to apply an upward force in this scanning cycle.
步骤S115,检测是否启用向下施加作用力功能。In step S115, it is detected whether the function of applying downward force is enabled.
在本实施例中,所述向上施加作用力即为向沿所述按键按压的方向施加作用力。In this embodiment, the upward application of the force is to apply the force in the direction of pressing the key.
若启用向下施加作用力功能,则进入步骤S116;If the function of applying a force downward is enabled, go to step S116;
若未启用向下施加作用力功能,则进入步骤S118。If the function of applying downward force is not enabled, go to step S118.
步骤S116,检测向下施加作用力的保持时间是否达到。In step S116, it is detected whether the holding time of the downwardly applied force is reached.
若未达到,进入步骤S117;If not, go to step S117;
若达到,则进入步骤S118。If so, go to step S118.
步骤S117,控制所述磁力组件在本次扫描周期中施加向下的作用力。Step S117, controlling the magnetic component to apply a downward force in this scanning cycle.
步骤S118,检测是否启用在按下状态完成后保留向上施加作用力功能。In step S118, it is detected whether the function of retaining the upward force application after the pressing state is completed is enabled.
若启用,则进入步骤S119;If enabled, go to step S119;
若未启用,则进入步骤S121。If not enabled, go to step S121.
步骤S119,检测保留向上施加作用力的保持时间是否达到。In step S119, it is detected whether the holding time for retaining the upwardly applied force is reached.
若未达到,进入步骤S120;If not, go to step S120;
若达到,则进入步骤S121。If so, go to step S121.
步骤S120,控制所述磁力组件在本次扫描周期中施加向上的作用力。Step S120, controlling the magnetic component to apply an upward force in this scanning cycle.
步骤S121,控制所述磁力组件取消作用力。Step S121, controlling the magnetic component to cancel the acting force.
请参见图24,图24为按键释放过程中,一个扫描周期的处理流程示意图。Please refer to FIG. 24. FIG. 24 is a schematic diagram of the processing flow of one scan cycle during the key release process.
步骤S210,本周期中检测到当前按键释放。In step S210, the current key release is detected in this cycle.
步骤S220,检测向上施加作用力的保持时间是否达到。In step S220, it is detected whether the holding time of the upwardly applied force is reached.
若未达到,进入步骤S221;If not, go to step S221;
若达到,则进入步骤S222。If so, go to step S222.
步骤S221,控制所述磁力组件在本次扫描周期中施加向上的作用力。Step S221, controlling the magnetic component to apply an upward force in this scanning cycle.
步骤S222,控制所述磁力组件取消作用力。Step S222, controlling the magnetic component to cancel the acting force.
综上所述,本申请实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体能耗。To sum up, the embodiments of the present application provide a button system and an interactive device, by setting the force control assembly to a working state when it is detected that the button is pressed from the first stroke section to the second stroke section, and when it is detected that the button is pressed from the first stroke section to the second stroke section When the second stroke segment is released to the first stroke segment, the force control assembly is set to a dormant state, so that the force control assembly does not need to be kept in a working state all the time, and the overall energy consumption of the button system or the interactive device using the button system can be reduced.
以上所述,仅为本申请的各种实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only various embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, All should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010408266.5ACN111596750A (en) | 2020-05-14 | 2020-05-14 | Key system and interaction device |
| PCT/CN2021/092808WO2021228043A1 (en) | 2020-05-14 | 2021-05-10 | Press button system and interactive device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010408266.5ACN111596750A (en) | 2020-05-14 | 2020-05-14 | Key system and interaction device |
| Publication Number | Publication Date |
|---|---|
| CN111596750Atrue CN111596750A (en) | 2020-08-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010408266.5APendingCN111596750A (en) | 2020-05-14 | 2020-05-14 | Key system and interaction device |
| Country | Link |
|---|---|
| CN (1) | CN111596750A (en) |
| WO (1) | WO2021228043A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021228043A1 (en)* | 2020-05-14 | 2021-11-18 | 东莞璟阳电子科技有限公司 | Press button system and interactive device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7667623B2 (en)* | 2004-11-25 | 2010-02-23 | Samsung Electronics Co., Ltd. | Key input apparatus using magnetic force, operating method thereof, and computer-readable recording medium storing computer programs for performing the method |
| CN103649893A (en)* | 2011-06-24 | 2014-03-19 | 陶奇菲尔公司 | Keyboard overlay for optimal touch typing on a proximity-based touch screen |
| CN107239165A (en)* | 2017-05-26 | 2017-10-10 | 珠海市魅族科技有限公司 | Key device and terminal installation |
| CN107533413A (en)* | 2015-04-28 | 2018-01-02 | 微软技术许可有限责任公司 | Input equipment tactile and pressure-sensing |
| CN108885481A (en)* | 2016-08-30 | 2018-11-23 | 苹果公司 | Sensor components for electronic devices |
| CN109036924A (en)* | 2018-08-14 | 2018-12-18 | 东莞璟阳电子科技有限公司 | Controllable magnetic force button control system |
| US20190192963A1 (en)* | 2014-04-21 | 2019-06-27 | Steelseries Aps | Programmable actuation force input for an accessory and methods thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111596750A (en)* | 2020-05-14 | 2020-08-28 | 东莞璟阳电子科技有限公司 | Key system and interaction device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7667623B2 (en)* | 2004-11-25 | 2010-02-23 | Samsung Electronics Co., Ltd. | Key input apparatus using magnetic force, operating method thereof, and computer-readable recording medium storing computer programs for performing the method |
| CN103649893A (en)* | 2011-06-24 | 2014-03-19 | 陶奇菲尔公司 | Keyboard overlay for optimal touch typing on a proximity-based touch screen |
| US20190192963A1 (en)* | 2014-04-21 | 2019-06-27 | Steelseries Aps | Programmable actuation force input for an accessory and methods thereof |
| CN107533413A (en)* | 2015-04-28 | 2018-01-02 | 微软技术许可有限责任公司 | Input equipment tactile and pressure-sensing |
| CN108885481A (en)* | 2016-08-30 | 2018-11-23 | 苹果公司 | Sensor components for electronic devices |
| CN107239165A (en)* | 2017-05-26 | 2017-10-10 | 珠海市魅族科技有限公司 | Key device and terminal installation |
| CN109036924A (en)* | 2018-08-14 | 2018-12-18 | 东莞璟阳电子科技有限公司 | Controllable magnetic force button control system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021228043A1 (en)* | 2020-05-14 | 2021-11-18 | 东莞璟阳电子科技有限公司 | Press button system and interactive device |
| Publication number | Publication date |
|---|---|
| WO2021228043A1 (en) | 2021-11-18 |
| Publication | Publication Date | Title |
|---|---|---|
| US8700829B2 (en) | Systems and methods for implementing a multi-function mode for pressure sensitive sensors and keyboards | |
| US20160266673A1 (en) | Touch rejection for communication between a touch screen device and an active stylus | |
| US8780048B2 (en) | Membrane keyboard scan circuit, scan method and keyboard having the same | |
| CN106776385B (en) | Log log information transmission method and device and terminal | |
| EP2871552B1 (en) | Information processing terminal | |
| CN107111413B (en) | Electrostatic pen | |
| CN103019424A (en) | Feedback method of virtual input device and electronic device thereof | |
| WO2017049839A1 (en) | Touch display module, touch input unit, and touch input method | |
| CN111596750A (en) | Key system and interaction device | |
| CN109032423A (en) | Touch device and method for driving same | |
| US10620820B2 (en) | Electronic devices having touch-sensing module and method for generating displayed image | |
| CN105812860B (en) | A kind of intelligent remote controller, key control method and system | |
| CN110444156A (en) | Display device and its driver | |
| CN114138697B (en) | Signal transmission system, signal transmission method, signal transmission device and medium | |
| CN102421010A (en) | Software debugging system and method compatible to video graphics array (VGA) port input | |
| US6980135B2 (en) | Logic circuit using hardware to process keyboard scanning | |
| CN103558975A (en) | Input system | |
| CN101101502A (en) | Network control device and method for starting network chip | |
| JP2008059190A (en) | Keyboard device and wireless tag reader device | |
| CN103678079A (en) | Matrix test method, system and voltage clock control method | |
| CN102207807A (en) | Circuit for determining position of press contact point, touch panel module and method for detecting press contact point | |
| CN101772763A (en) | Microcomputer system | |
| US7454534B2 (en) | Input circuit shared by multi signal sources | |
| US20170142245A1 (en) | Electronic apparatus with shareable input devices and input device sharing method thereof | |
| US8248149B2 (en) | Apparatus and methods for registering inputs from a user |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication | Application publication date:20200828 |