WO2021228043A1 - Press button system and interactive device - Google Patents

Press button system and interactive device Download PDF

Info

Publication number
WO2021228043A1
WO2021228043A1 PCT/CN2021/092808 CN2021092808W WO2021228043A1 WO 2021228043 A1 WO2021228043 A1 WO 2021228043A1 CN 2021092808 W CN2021092808 W CN 2021092808W WO 2021228043 A1 WO2021228043 A1 WO 2021228043A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
pressing
button
key
force control
Prior art date
Application number
PCT/CN2021/092808
Other languages
French (fr)
Chinese (zh)
Inventor
杨晓锋
Original Assignee
东莞璟阳电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 东莞璟阳电子科技有限公司 filed Critical 东莞璟阳电子科技有限公司
Publication of WO2021228043A1 publication Critical patent/WO2021228043A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3271Power saving in keyboard
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/702Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches
    • H01H13/705Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches characterised by construction, mounting or arrangement of operating parts, e.g. push-buttons or keys
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/702Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches
    • H01H13/705Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches characterised by construction, mounting or arrangement of operating parts, e.g. push-buttons or keys
    • H01H13/7065Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches characterised by construction, mounting or arrangement of operating parts, e.g. push-buttons or keys characterised by the mechanism between keys and layered keyboards
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/84Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard characterised by ergonomic functions, e.g. for miniature keyboards; characterised by operational sensory functions, e.g. sound feedback
    • H01H13/85Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard characterised by ergonomic functions, e.g. for miniature keyboards; characterised by operational sensory functions, e.g. sound feedback characterised by tactile feedback features

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

Provided are a press button system and an interactive device. The press button system comprises a pressure detection assembly, a press button functional assembly, a force-control assembly, a magnetic force assembly, etc. By means of the cooperation between the pressure detection assembly, the press button functional assembly, the force-control assembly, the magnetic force assembly, a press button system and an interactive device that can control the force and identify a button value for a force-control press button can be provided.

Description

按键系统及交互装置Button system and interactive device
相关申请的交叉引用Cross-references to related applications
本公开要求于2020年05月14日提交中国专利局的申请号为202010408266.5、名称为“按键系统及交互装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 14, 2020, with an application number of 202010408266.5 and titled "Key System and Interactive Device", the entire content of which is incorporated into this disclosure by reference.
技术领域Technical field
本公开涉及交互设备技术领域,具体而言,涉及一种按键系统及交互装置。The present disclosure relates to the technical field of interactive equipment, and in particular to a key system and an interactive device.
背景技术Background technique
按键是一种非常常见的交互输入设备,对于使用频率较高的按键输入装置(如键盘),按键的敲击手感对用户来说非常重要。例如,机械键盘就因其独特的敲击段落感,深受用户的喜爱。The key is a very common interactive input device. For a frequently used key input device (such as a keyboard), the touch of the key is very important to the user. For example, mechanical keyboards are deeply loved by users because of their unique sense of percussive paragraphs.
在一些交互输入设备的按键设计方案中,通过控制电磁元件按照向按键施加不同方向的力,可以使得按键在一次按压过程中能向用户的手指施加不同的反馈力度,从而使按压过程产生有层次的敲击段落感。In the key design schemes of some interactive input devices, by controlling the electromagnetic elements to apply forces in different directions to the keys, the keys can be applied to the user's fingers with different feedback forces during a single press, so that the pressing process is hierarchical A sense of percussion paragraphs.
但是现有技术中缺少一种能有效地控制可控力按键并识别键值的按键系统。However, the prior art lacks a key system that can effectively control the controllable force keys and recognize key values.
发明内容Summary of the invention
为解决现有技术中的至少一个问题,本公开提供一种控制可控力按键的按键系统及交互装置。In order to solve at least one problem in the prior art, the present disclosure provides a button system and an interactive device for controlling a controllable force button.
本公开的目的之一在于提供一种按键系统,包括第一按压检测组件、按键功能组件、力控组件及磁力组件;One of the objectives of the present disclosure is to provide a button system, including a first pressing detection component, a button function component, a force control component, and a magnetic component;
所述第一按压检测组件与所述力控组件连接,配置成检测至少一部分按键的按压状态并发送给所述力控组件;The first pressing detection component is connected to the force control component, and is configured to detect the pressing state of at least a part of the keys and send it to the force control component;
所述力控组件分别与所述按键功能组件、所述磁力组件及所述第一按压检测组件连接,所述力控组件构造成根据所述第一按压检测组件检测到的按压状态控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力,并将所述按压状态传递给所述按键功能组件;The force control component is respectively connected with the button function component, the magnetic component and the first pressing detection component, and the force control component is configured to control the pressing state according to the pressing state detected by the first pressing detection component. The magnetic component applies a force along the button pressing direction or a force away from the button pressing direction to the button, and transmits the pressing state to the button 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 to the serial communication interface of the key function component; the force control component sends the detected pressing state to the key function component through serial communication .
在一些可能的实现方式中,所述按键系统包括多个所述力控组件;In some possible implementation manners, 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 to the communication ports of the key function components through a communication bus; or the serial communication interfaces of a plurality of the force control components are connected to the key function through independent communication lines. Component connection.
在一些可能的实现方式中,所述按键功能组件包括多个第一IO接口,所述力控组件包括与分别与所述多个第一IO接口对应的多个第二IO接口,所述多个第一IO接口通过IO通信线分别与所述多个第二IO接口连接;所述按键功能组件通过所述IO通信线从所述力控组件获取所述按压状态。In some possible implementations, the button function component includes multiple first IO interfaces, the force control component includes multiple second IO interfaces corresponding to the multiple first IO interfaces, and the multiple The first IO interfaces are respectively connected to the plurality of second IO interfaces through an IO communication line; the key function component obtains the pressing state from the force control component through the IO communication line.
在一些可能的实现方式中,所述力控组件还包括多个第三IO接口,所述多个第三IO接口通过一扫描电路连接与所多个述第一按压检测组件连接,所述多个第三IO接口通过扫描的方式获取所述第一按压检测组件采集的按压状态;In some possible implementations, the force control component further includes a plurality of third IO interfaces, and the plurality of third IO interfaces are connected to the plurality of first pressing detection components through a scanning circuit connection, and the multiple A third IO interface acquires the pressing state collected by the first pressing detection component by scanning;
所述按键功能组件通过扫描的方式从所述按键功能组件获取所述按压状态;The key function component acquires the pressing state from the key function component by scanning;
所述按键功能组件的扫描时钟域与所述力控组件的扫描时钟域相对独立。The scan clock domain of the key function component is relatively independent of the scan clock domain of the force control component.
在一些可能的实现方式中,所述力控组件包括寄存部件,所述寄存部件配置成记录通过所述多个第三IO接口扫描获得的所述按压状态,并在所述按键功能组件的扫描过程中间记录的所述按压状态传递给所述按键功能组件。In some possible implementations, the force control component includes a registering component configured to record the pressing state obtained through scanning of the plurality of third IO interfaces, and to record the pressing state in the scanning of the key function component The pressing state recorded during the process is transferred to the key function component.
在一些可能的实现方式中,所述按键系统还包括第二按压检测组件,所述第二按压检测组件配置成检测至少一部分按键的按压状态;In some possible implementation manners, the button system further includes a second pressing detection component configured to detect the pressing state of at least a part of the buttons;
所述按键功能组件包括还包括第四IO接口,所述第四IO接口与所述第二按压检测组件连接,所述按键功能组件通过所述第四IO接口获取由所述第二按压检测组件采集的按压状态。The key function component 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. The collected pressing state.
在一些可能的实现方式中,所述磁力组件包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件及所述电磁线圈连接;In some possible implementation manners, the magnetic component includes an electromagnetic coil and a switching circuit composed of a plurality of switching elements, and the switching circuit is respectively connected to the force control component and the electromagnetic coil;
所述力控组件配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。The force control component 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 forces of different directions and/or different magnitudes along the pressing of the key to the key.
在一些可能的实现方式中,所述按键系统还包括电能检测组件;所述电能检测组件配置成在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号配置成断开所述磁力组件的供能线路。In some possible implementations, the button system further includes a power detection component; the power detection component is configured to generate a disconnection signal when it detects that the power consumption of the button system is greater than a preset threshold, the disconnection signal It is configured to disconnect the power supply line of the magnetic component.
本公开实施例提供一种按键系统及交互装置,通过由力控组件根据检测到的按键的按压状态控制磁力组件向按键施加的力,并将按键状态发送给配置成进行键值识别和与其他设备通信的键盘功能组件,从而可以实现对可控力按键的力度控制和键值识别。The embodiments of the present disclosure provide a button system and an interactive device. The force control component controls the force applied by the magnetic component to the button according to the detected pressing state of the button, and sends the button state to the device configured to perform key value recognition and other interactions. The keyboard function component of device communication can realize the force control and key value recognition of the controllable force keys.
本公开的另一目的在于提供一种按键系统,包括按压检测组件、按键功能组件、力控组件及磁力组件;Another object of the present disclosure is to provide a button system, including a pressing detection component, a button function component, a force control component, and a magnetic component;
所述按压检测组件与所述力控组件连接,配置成检测按键的按压状态并发送给所述力控组件;The pressing detection component is connected to the force control component, and is configured to detect the pressing state of the button and send it to the force control component;
所述力控组件分别与磁力组件及所述按压检测组件连接,所述力控组件构造成根据所述按压检测组件检测到的按压状态控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力;The force control component is respectively connected with the magnetic component and the pressing detection component, and the force control component is configured to control the magnetic component to apply the pressing along the key to the key according to the pressing state detected by the pressing detection component. Directional force or force applied away from the button pressing direction;
所述按键功能组件与所述按压检测组件连接,所述按键功能组件配置成根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件连接的其他设备。The key function component is connected to the pressing 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 pressing state.
在一些可能的实现方式中,所述按键包括至少两段按压行程,所述按压检测组件包括行程检测单元;In some possible implementation manners, the button includes at least two pressing strokes, and the pressing detection component includes a stroke detection unit;
所述行程检测单元构造成检测所述按键的按压状态,所述按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段;The stroke detection unit is configured to detect a pressing state of the key, the 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 section ;
所述按键功能组件和所述力控组件分别与所述行程检测单元连接,获取所述行程检测单元采集的按压状态。The key function component and the force control component are respectively connected with the stroke detection unit to obtain the pressing state collected by the stroke detection unit.
在一些可能的实现方式中,所述按键功能组件通过一扫描电路与多个所述行程检测单元连接;所述力控组件均基于由所述按键功能组件输出的扫描信号获取多个所述行程检测单元采集的按压状态。In some possible implementation manners, the key function component is connected to a plurality of the stroke detection units through a scanning circuit; the force control component obtains a plurality of the strokes based on the scan signal output by the key function component The pressing state collected by the detection unit.
在一些可能的实现方式中,所述按键包括至少两段按压行程,所述按压检测组件包括行程检测单元和导通检测单元;In some possible implementation manners, the button includes at least two pressing strokes, and the pressing detection component includes a stroke detection unit and a conduction 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 The first stroke segment; the force control component 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 a second pressing state of the key, and the second pressing state includes the key being pressed to a conduction trigger point, and the conduction trigger point is located in the pressing stroke of the key The key function component is connected to the conduction detection unit to obtain the second pressing state collected by the conduction detection unit.
在一些可能的实现方式中,所述力控组件通过扫描检测的方式从多个所述行程检测单元获取所述第一按压状态,所述按键功能组件通过扫描检测的方式从多个所述导通检测单元获取所述第二按压状态;其中,所述力控组件和所述按键功能组件扫描时钟域相对独立。In some possible implementations, the force control component acquires the first pressing state from a plurality of stroke detection units by scanning detection, and the key function component acquires the first pressing state from a plurality of guides by scanning detection. The second pressing state is acquired by a detection unit; wherein the scanning clock domain 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 a change in the pressing state, it controls the electromagnetic coil to apply different forces and/or different directions along the pressing of the button to the button according to the preset timing in the control strategy data. The size of the force.
本公开实施例提供一种按键系统及交互装置,通过将力控组件和按键功能组件均与按压检测组件连接,使得力控组件和键盘功能组件都能从按压检测组件获取到按键状态,并根据按键状态分别执行力度控制和键值识别动作,从而提供了一种可以实现对可控力按键的力度控制和键值识别的按键系统。The embodiments of the present disclosure provide a key system and an interactive device. By connecting the force control component and the key function component to the press detection component, the force control component and the keyboard function component can obtain the key state from the press detection component, and according to The key states respectively perform force control and key value recognition actions, thereby providing a key system that can realize the force control and key value recognition of the controllable force keys.
本公开的另一目的在于提供一种按键系统,包括按压检测组件、力控组件及磁力组件;Another object of the present disclosure is to provide a button system, including a pressing detection component, a force control component, and a magnetic component;
所述按压检测组件与所述力控组件连接,配置成检测按键的按压状态并发送给所述力控组件,所述按键的按压行程包括至少两个行程段;The pressing detection component is connected to the force control component and is configured to detect the pressing state of the button and send it to the force control component, and the pressing stroke of the button includes at least two stroke segments;
所述力控组件与所述按压检测组件连接,所述力控组件构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后进入休眠状态;其中,所述力控组件处于工作状态时的电能消耗大于处于休眠状态时的电能消耗;The force control component is connected to the pressing detection component, and the force control component is configured to enter the working state when the pressing state is that the key is pressed from the first stroke section to the second stroke section, and The state is that the button enters the dormant state after being released from the second stroke section to the first stroke section; wherein the power consumption when the force control component is in the working state is greater than the power consumption when in the dormant state;
所述磁力组件与所述力控组件连接,所述力控组件配置成在所述工作状态下控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The magnetic component is connected to the force control component, and the force control component is configured to control the magnetic component to apply a force along the button pressing direction to the button or apply a force away from the button in the working state Directional force.
在一些可能的实现方式中,所述按键系统还包括按键功能组件;In some possible implementation manners, the button system further includes a button function component;
所述按键功能组件构造成检测所述按键的按压状态,并根据所述按压状态将所述按键对应的键值发送给与所述按键功能组件通信连接的其他设备。The key function component is configured to detect the pressed state of the key, and send the key value corresponding to the key to other devices communicatively connected with the key function component according to the pressed state.
在一些可能的实现方式中,所述力控组件和所述按键功能组件分别与所述按键连接,相对独立地获取所述按键的按压状态。In some possible implementations, the force control component and the button function component are respectively connected to the button, and the pressing state of the button is obtained relatively independently.
在一些可能的实现方式中,所述按键功能组件还与所述力控组件连接,所述按键功能组件还配置成将所述按压状态发送给所述力控组件。In some possible implementation manners, 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 implementation manners, the magnetic component is configured to apply a fixed force away from the pressing direction of the button to the button when the force control component is in a dormant state, or not to apply a force to the button.
本公开实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体电能需求。The embodiments of the present disclosure provide a button system and an interactive device, by setting the force control component to a working state when it is detected that the button is pressed from a first stroke section to a second stroke section, and when it is detected that the button is released from the second stroke section The force control component is set to the dormant state at the first stroke section, so that the force control component does not need to be kept in the working state all the time, and the overall power demand of the key system or the interactive device using the key system can be reduced.
本公开的另一目的在于提供一种交互装置,所述交互装置包括按键及本公开提供的按键系统。Another object of the present disclosure is to provide an interactive device, which includes a button and the button system provided in the present disclosure.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show certain embodiments of the present disclosure, and therefore do not It should be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative work.
图1为本公开实施例提供的按键系统的示意图之一;FIG. 1 is one of the schematic diagrams of a key system provided by an embodiment of the disclosure;
图2为本公开实施例提供的按键行程的示意图;FIG. 2 is a schematic diagram of a key stroke provided by an embodiment of the disclosure;
图3-图22为本公开实施例提供的按键系统的其他多种示意图;3-22 are other schematic diagrams of the button system provided by the embodiments of the disclosure;
图23及图24为本公开实施例提供的按键系统的控制流程示意图。FIG. 23 and FIG. 24 are schematic diagrams of the control flow of the button system provided by the embodiments of the disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments These are a part of the embodiments of the present disclosure, but not all of the embodiments. The components of the embodiments of the present disclosure generally described and illustrated in the drawings herein may be arranged and designed in various different configurations.
因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed present disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once a certain item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
在本公开的描述中,需要说明的是,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In the description of the present disclosure, it should be noted that the terms “first”, “second”, “third”, etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
在本公开的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连 接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本公开中的具体含义。In the description of the present disclosure, it should also be noted that, unless otherwise clearly defined and defined, the terms “setup”, “installation”, “connected”, and “connected” should be interpreted broadly. For example, they may be fixed connections. It can also be detachably connected or integrally connected; it can be mechanically connected or electrically connected; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication between two components. For those of ordinary skill in the art, the specific meanings of the above-mentioned terms in the present disclosure can be understood in specific situations.
第一实施例The first embodiment
请参照图1,图1为本实施例提供的一种按键系统的示意图,该案件系统可以包括第一按压检测组件130、按键功能组件140、力控组件110及磁力组件120。Please refer to FIG. 1, which is a schematic diagram of a key system provided by this embodiment. The case system may include a first pressing detection component 130, a key function component 140, a force control component 110, and a magnetic component 120.
所述第一按压检测组件130与需要检测的按键对应设置,所述第一按压检测组件130与所述力控组件110连接,配置成检测至少一部分按键的按压状态并发送给所述力控组件110。在本实施例中,所述至少一部分按键可以是多个按键中的一个按键或者多个按键中的部分按键。The first pressing detection component 130 is provided corresponding to the key to be detected, and the first pressing detection component 130 is connected to the force control component 110 and is configured to detect the pressing state of at least a part of the keys and send it to the force control component 110. In this embodiment, the at least a part of the keys may be one of the plurality of keys or a part of the plurality of keys.
在一种可能的实现方式中,该按键的按压行程包括至少两个行程段。所述按压行程为所述按键从未被按压到被按压至无法继续移动的最大移动距离。例如,请参照图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 that the button has never been pressed until it is 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 segment d1 and a second stroke segment d2.
在本实施例中,所述第一按压检测组件130可以检测所述按键的按压状态,并将按压状态通知给力控组件110。例如,当所述第一按压检测组件130检测到所述按键处于第一行程段时,可以产生第一信号并发送给所述力控组件110;当所述第一按压检测组件130检测到所述按键处于第二行程段时,可以产生第二信号并发送给所述力控组件110。In this embodiment, the first pressing detection component 130 may detect the pressing state of the button, and notify the force control component 110 of the pressing state. For example, when the first pressing detection component 130 detects that the button is in the first stroke segment, a first signal may be generated and sent to the force control component 110; when the first pressing detection component 130 detects all the keys When the button is in the second stroke segment, a second signal can be generated and sent to the force control component 110.
其中,所述第一信号或所述第二信号可以为数字信号,也可以为模拟电平信号,或者所述第一信号和所述第二信号中的一个也可以通过所述第一按压检测组件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 press The component 130 does not send out anything to indicate.
在一些实现方式中,所述第一行程段d1可以具有一定的长度。在这种实现方式中,可以认为所述按键在被按下一定距离后,从第一行程段进入了第二行程段。In some implementations, the first stroke section d1 may have a certain length. In this implementation manner, it can be considered that the key has entered the second travel segment from the first travel segment after being pressed for a certain distance.
在另一些实现方式中,所述第一行程段d1可以仅为一个点或者仅具有非常短的长度。在这种实现方式中,可以认为所述按键只要被按动就从第一行程段进入了第二行程段。In other implementations, the first stroke d1 may be only one point or only a very short length. In this implementation manner, it can be considered that as long as the button is pressed, it enters the second travel segment from the first travel segment.
所述力控组件110分别与所述按键功能组件140、所述磁力组件120及所述第一按压检测组件130连接,所述力控组件110构造成根据所述第一按压检测组件130检测到的按压状态控制所述磁力组件120向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力,并将所述按压状态传递给所述按键功能组件140。The force control component 110 is respectively connected with the button function component 140, the magnetic component 120 and the first pressing detection component 130, and the force control component 110 is configured to detect according to the first pressing detection component 130 The pressing state controls the magnetic component 120 to apply a force along the button pressing direction or a force away from the button pressing direction to the button, and transmit the pressing state to the button function component 140.
所述按键功能组件140构造成根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件140连接的其他设备。例如,在本实施例提供的按键系统应用在键盘上时,所述按键功能组件140可以和电脑主机连接,将识别到的键值发送给电脑主机。The key function component 140 is configured to send the key value corresponding to the key to other devices connected to the key function component 140 according to the received pressing state. For example, when the key system provided in this embodiment is applied to a keyboard, the key function component 140 can be connected to a computer host, and the identified key value can be sent to the computer host.
基于上述设计,本实施例提供的按键系统可以根据检测到的按键的按压状态控制磁力组件120向按键施加的力,并将按键状态发送给配置成进行键值识别和与其他设备通信的键盘功能组件,从而可以实现对可控力按键的力度控制和键值识别。Based on the above design, the button system provided in this embodiment can control the force applied by the magnetic component 120 to the button according to the detected button pressing state, and send the button state to the keyboard function configured to perform key value recognition and communicate with other devices. Components, which can realize the force control and key value recognition of the controllable force keys.
在本实施例提供对可控力按键进行控制的案件系统中,可以使用现有已经具有一定功能的按键功能芯片作为所述按键功能组件140,该按键功能芯片已有的功能均可以维持,只需要有所述力控组件110将按键状态传递给按键功能芯片即可。In the case system for controlling the controllable force keys provided by this embodiment, an existing key function chip that already has a certain function can be used as the key function component 140, and the existing functions of the key function chip can be maintained. It is only required that the force control component 110 transmits the button state to the button function chip.
也就是说,一方面,采用本实施例提供的方案,在使用现有的按键功能组件140的基础上将一般按键的控制系统改造为对可控力按键进行控制的案件系统,从而可以在一定程度上解决可控力按键系统的生产制作成本。另一方面,在本实施例提供的方案中,按键功能组件140和力控组件110在功能上相对解耦,为按键系统的硬件和软件维护提供了更高的便利性和灵活性。That is to say, on the one hand, the solution provided by this embodiment is used to transform a general button control system into a case system that controls a controllable force button on the basis of using the existing button function component 140, so that it can be To a certain extent, the production cost of the controllable force button system is solved. On the other hand, in the solution provided by this embodiment, the key function component 140 and the force control component 110 are relatively functionally decoupled, which provides higher convenience and flexibility for the hardware and software maintenance of the key system.
在一种可能的实现方式中,所力控组件110和所述按键功能组件140的串行通信接口连接。所述力控组件110将检测到的所述按压状态通过串行通信方式发送给所述按键功能组件140。In a possible implementation manner, the force control component 110 is connected with the serial communication interface of the key function component 140. The force control component 110 sends the detected pressing state to the key function component 140 through serial communication.
例如,所述力控组件110可以通过扫描检测的方式获得多个所述第一按压检测采集的按压状态,然后将这些按压状态转换为数字串行信号,并通过串行通信接口发送给所述按键功能组件140。For example, the force control component 110 may obtain a plurality of pressing states collected by the first pressing detection by scanning detection, and then convert these pressing states into digital serial signals, and send them to the serial communication interface. Button function component 140.
可选地,在本实施例中,所述按键系统包括多个所述力控组件110。Optionally, in this embodiment, the button system includes a plurality of the force control components 110.
请参照图3a,多个所述力控组件110的串行通信接口可以通过通信总线与所述按键功能组件140的通信口连接。请参照图3b,多个所述力控组件110的串行通信接口分别通过独立的通信线与所述按键功能组件140连接。Referring to FIG. 3a, a plurality of serial communication interfaces of the force control component 110 can be connected to the communication port of the key function component 140 through a communication bus. Referring to FIG. 3b, the serial communication interfaces of the multiple force control components 110 are respectively connected to the key function component 140 through independent communication lines.
基于上述设计,在本实施例提供的方案中,使用串行通信线接口的方式实现所述力控组件110和所述按键功能组件140之间按键状态的传递,可以减少所述力控组件110和所述按键功能组件140之间硬件通信线路的布线难度和不限成本。Based on the above design, in the solution provided in this embodiment, a serial communication line interface is used to realize the transfer of the button state between the force control component 110 and the button function component 140, which can reduce the force control component 110. The wiring difficulty and cost of the hardware communication line between the key function component 140 and the key function component 140 are not limited.
在一些可能的实现方式中,所述按键功能组件140还可以通过所述串行通信线接口从所述力控组件110获取控制策略数据。所述力控组件110在检测到所述按压状态发生变化时,根据所述控制策略数据中的预设时序控制所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。In some possible implementations, the key function component 140 may also obtain control strategy data from the force control component 110 through the serial communication line interface. When the force control component 110 detects a change in the pressing state, it controls the electromagnetic coil to apply force and/or force in different directions along the pressing of the button to the button according to the preset timing in the control strategy data. Different sizes of force.
换句话说,在本实施例中,所述力控组件110对可控力按键的力度控制策略是可以设置的,可以通过外部设备(如电脑主机)配置个性化的力度控制策略,并通过按键功能组件140下发到力控组件110,从而使力控组件110实现多样化的力度控制,从而更符合用户的个性化需求。In other words, in this embodiment, the force control component 110’s force control strategy for the controllable force button can be set, and a personalized force control strategy can be configured through an external device (such as a computer host), and through the button The functional component 140 is delivered to the force control component 110, so that the force control component 110 realizes diversified force control, which is more in line with the individual needs of the user.
在另一种可能的实现方式中,请参见图4,所述按键功能组件140包括多个第一IO接口,所述力控组件110包括与分别与所述多个第一IO接口对应的多个第二IO接口,所述多个第一IO接口通过IO通信线分别与所述多个第二IO接口连接;所述按键功能组件140通过所述IO通信线从所述力控组件110获取所述按压状态。In another possible implementation manner, referring to FIG. 4, the button function component 140 includes a plurality of first IO interfaces, and the force control component 110 includes a plurality of first IO interfaces corresponding to the plurality of first IO interfaces. A second IO interface, the plurality of first IO interfaces are respectively connected to the plurality of second IO interfaces through an IO communication line; the key function component 140 is obtained from the force control component 110 through the IO communication line The pressed state.
基于上述设计,在本实施例提供的按键系统中,可以使用所述按键功能组件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 button function component 140 can be used to directly connect the scanning IO port of the button function component 140 to the force control component 110. It is necessary to greatly adjust the scanning function of the key function component 140 to provide a keyboard system that can control the strength of the keys and recognize the key values.
可选地,在本实施例中,所述力控组件110还包括多个第三IO接口,所述多个第三IO接口通过一扫描电路连接与所多个述第一按压检测组件130连接,所述多个第三IO接口通过扫描的方式获取所述第一按压检测组件130采集的按压状态。Optionally, in this embodiment, the force control component 110 further includes a plurality of third IO interfaces, and the plurality of third IO interfaces are connected to the plurality of first pressing detection components 130 through a scanning circuit. The plurality of third IO interfaces acquire the pressing state collected by the first pressing detection component 130 in a scanning manner.
所述按键功能组件140通过扫描的方式从所述按键功能组件140获取所述按压状态。所述按键功能组件140的扫描时钟域与所述力控组件110的扫描时钟域相对独立。The key function component 140 acquires the pressing state from the key function component 140 by scanning. The scan clock domain of the key function component 140 and the scan clock domain of the force control component 110 are relatively independent.
换句话说,所述力控组件110可以独立地执行扫描获取所述按压状态的动作,然后通过所述第二IO接口获取到所述按键功能组件140的扫描信号时,将以获取到的所述按压状态传递给所述按键功能组件140即可。In other words, the force control component 110 can independently perform the action of scanning to obtain the pressing state, and then obtain the scanning signal of the key function component 140 through the second IO interface. It is sufficient that the pressing state is transmitted to the key function component 140.
通过这种方式,所述力控组件110和所述按键功能组件140的扫描动作可以在不同时钟域中执行,从而使所述力控组件110和按键功能组件140进一步解耦,减少了所述力控组件110和所述按键功能组件140之间的同步需求。In this way, the scanning actions of the force control component 110 and the key function component 140 can be executed in different clock domains, thereby further decoupling the force control component 110 and the key function component 140, reducing the There is a synchronization requirement between the force control component 110 and the button function component 140.
可选地,所述力控组件110包括寄存部件,所述寄存部件配置成记录通过所述多个第三IO接口扫描获得的所述按压状态,并在所述按键功能组件140的扫描过程中间记录的所述按压状态传递给所述按键功能组件140。其中,所述寄存部件可以有多个寄存器组成,或者由其他暂态存储元件或非易失性存储元件组成。Optionally, the force control component 110 includes a registering component configured to record the pressing state obtained through scanning of the plurality of third IO interfaces, and in the middle of the scanning process of the key function component 140 The recorded pressing state is transmitted to the key function component 140. Wherein, the register component may consist of multiple registers, or consist of other transient storage elements or non-volatile storage elements.
在一种可能的实现方式中,请参照图5,所述按键系统还包括第二按压检测组件170,所述第二按压检测组件170配置成检测至少一部分按键的按压状态。In a possible implementation manner, referring to FIG. 5, the button system further includes a second pressing detection component 170 configured to detect the pressing state of at least a part of the buttons.
所述按键功能组件140包括还包括第四IO接口,所述第四IO接口与所述第二按压检测组件170连接,所述按键功能组件140通过所述第四IO接口获取由所述第二按压检测组件170采集的按压状态。The key function component 140 further includes a fourth IO interface, the fourth IO interface is connected to the second press detection component 170, and the key function component 140 obtains the information from the second press detection component 170 through the fourth IO interface. The pressing state collected by the pressing detection component 170.
换句话说,在本实施例中,所述按键系统管理的多个按键中,一部分按键可以由所述力控芯片进行按键状态的检测,并将按键状态发送给所述按键功能组件140。对于这部分按键,可以由所述力控芯片根据所述按键状态控制相应的磁力组件120向按键施加不同的力。In other words, in this embodiment, among the multiple keys managed by the key system, some keys can be detected by the force control chip for key status, and the key status can be sent to the key function component 140. For this part of the keys, the force control chip can control the corresponding magnetic component 120 to apply different forces to the keys according to the state of the keys.
而还有一部分按键可以直接由键盘功能组件直接检测按键状态,这部分按键可以不是可控力按键。And there are some keys that can be directly detected by the keyboard function components, and this part of the keys may not be controllable keys.
例如,对于键盘上使用频率较高或对用户手感影响较大的按键,可以设置成可控力按键。相应地设置第一按压检测组件130,由所述力控芯片进行按键状态的检测和力控动作,并将按键状态传递给键盘功能组件。For example, the keys on the keyboard that are used frequently or have a greater impact on the user's hand feeling can be set as controllable keys. Correspondingly, the first pressing detection component 130 is provided, and the force control chip detects the key state and the force control action, and transmits the key state to the keyboard function component.
而对于键盘上使用频率不高或对用户手感影响不大的按键,可以不用设置为可控力按键,由所述按键功能芯片通过既有的扫描连接方式直接检测这部分按键的按压状态。As for the keys on the keyboard that are not frequently used or have little effect on the user's hand feeling, they do not need to be set as controllable 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 button system can be made more flexible, and the manufacturing cost and software control cost of the button system hardware can be controlled more flexibly.
在本实施例中,所述磁力组件120包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件110及所述电磁线圈连接。In this embodiment, the magnetic component 120 includes an electromagnetic coil and a switching circuit composed of a plurality of switching elements, and the switching circuit is respectively connected to the force control component 110 and the electromagnetic coil.
所述力控组件110配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键按压不同方向力和/或不同大小的力。The force control component 110 is configured to control the switching elements in the switching circuit to be turned on or off according to a preset timing in the working state, so as to deliver currents of different directions and/or different sizes to the electromagnetic coil , Enabling the electromagnetic coil to apply forces of different directions and/or different magnitudes of pressing along the key to the key.
请参照图6,在一些可能的实现方式中,所述按键系统还可以包括电能检测组件150。所述电能检测组件150配置成在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号配置成断开所述磁力组件120的供能线路。Please refer to FIG. 6, in some possible implementation manners, the button system may further include a power detection component 150. The power detection component 150 is configured to generate a disconnection signal when it is detected that the power consumption of the key system is greater than a preset threshold, and the disconnection signal is configured to disconnect the power supply line of the magnetic component 120.
其中,所述电能检测组件150可以直接控制一电能限制开关160,如图6所示。通过控制该电能限制开关160可以切断或恢复所述磁力组件120的供能线路。请参照图7,所述电能检测组件150也可以和所述按键功能组件140连接,所述按键功能组件140再与一电能限制开关160连接,所述电能检测组件150在检测到消耗的电能大于预设阈值时产生断开信号发送给按键功能组件140,再由所述按键功能组件140控制所述电能限制开关160断开。Wherein, the electric energy detection component 150 can directly control an electric energy limit switch 160, as shown in FIG. 6. By controlling the electric energy limit switch 160, the power supply circuit of the magnetic component 120 can be cut off or restored. Referring to FIG. 7, the power detection component 150 can also be connected to the key function component 140, and the key function component 140 is then connected to a power limit switch 160. The power detection component 150 detects that the power consumption is greater than When the threshold is preset, a disconnection signal is generated and sent to the key function component 140, and then the key function component 140 controls the power limit switch 160 to be turned off.
在一些可能的实现方式中,所述第一按压检测组件130配置成检测所述按键处于所述第一行程段还是第二行程段的部分包括:配置成发出检测光线的发光元件及配置成接收所述检测光线的感光元件。In some possible implementations, the part of the first press detection component 130 configured to detect whether the button is in the first stroke section or the second stroke section includes: a light emitting element configured to emit detection light and a light emitting element configured to receive The photosensitive element for detecting light.
所述按键从第一行程段被按压至第二行程段时及从所述第二行程段释放至所述第一行程段时,对所述检测光线在所述发光元件和所述感光元件之间的传递路径的遮挡程度不同。所述感光元件基于对所述检测光线的接收状态检测所述按键的按压状态。When the button is pressed from the first stroke section to the second stroke section and when the button is 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 transmission path is different. The photosensitive element detects the pressing state of the key based on the receiving state of the detection light.
请参照图8a和图8b,本实施例提供了所述按键系统的两种可能的详细电路示意图。Please refer 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. 8a and FIG. 8b, the first pressing detection assembly may include a light-emitting element D11 and a photosensitive element S11.
若所述按键处于第一行程段,发光元件D11的发出的检测光线可以被感光元件S11接收;若所述按键处于第二行程段,阻挡了发光元件D11与感光元件S11之间的光线传递路径,发光元件D11的发出的检测光线无法被感光元件S11。通过线路Y1可以检测感光元件S11的导通状态,从而获知所述按键位于哪个行程段。If the button is in the first stroke 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 stroke 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-receiving element S11. The conduction state of the photosensitive element S11 can be detected through the line Y1, so as to know in which stroke section the button is located.
为了节省电流,在本实施例中还可以增加开关元件Q46,通过控制线路X1的信号输出,可以采用扫描方式控制发光元件D12间歇性发出光线来监控所述按键的按压状态。当然也可以取消Q46,长期维持发光元件D11和感光元件S11的供电。In order to save current, a switch element Q46 can be added in this embodiment. By controlling the signal output of the line X1, the light emitting element D12 can be controlled to emit light intermittently in a scanning manner to monitor the pressing state of the button. Of course, Q46 can also be eliminated, and the power supply of the light-emitting element D11 and the photosensitive 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, that is, an electromagnetic coil K12. The switching elements Q42, Q43, Q44, and Q45 may be Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) or triode. The switch circuit is respectively connected with the force control component and the electromagnetic coil. The force control component controls the different on or off combinations of the four switching elements to control the magnitude and direction of the current of the electromagnetic coil, so that the electromagnetic coil applies forces of different sizes or directions to the keys.
所述电能检测组件可以设置于磁力组件的供能线路上,所述电能检测组件与所述按键功能组件连接,所述按键功能组件还与所述磁力组件供能线路上的开关Q41的控制端连接。所述按键功能组件在所述电能检测组件检测到所述按键系统的电能消耗超过阈值时,断开所述磁力组件的供电。The power detection component may be arranged on the power supply line of the magnetic component, the power detection component is connected to the key function component, and the key function component is also connected to the control terminal 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 value.
由所述力控组件与从感光元件S11获取按键的按压状态。如图8a所示,按键功能组件和力控组件之间可以通过串行通信线连接,按键功能组件通过该串行通信线从力控组件获得按键状态。如图8b所示,按键功能组件和力控组件之间可以通过多根IO扫描线连接,按键功能组件采用扫描检测的方式通过该IO扫描线从力控组件获得按键状态。The pressing state of the button is obtained by the force control component and the photosensitive element S11. As shown in Figure 8a, the key function component and the force control component can be connected through a serial communication line, and the key function component obtains the key state from the force control component through the serial communication line. As shown in Figure 8b, the key function component and the force control component can be connected through multiple IO scan lines, and the key function component uses the scanning detection method to obtain the key state from the force control component through the IO scan line.
本实施例还提供一种交互设备,该交互设备可以包括按键及本实施例提供的按键系统。在本实施例中,所述交互设备可以为键盘、集成有按键的电子设备或按键开关等。This embodiment also provides an interactive device, which may include a button and the button system provided in this embodiment. In this embodiment, the interactive device may be a keyboard, an electronic device integrated with keys, or a key switch.
综上所述,本公开实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体能耗。To sum up, the embodiments of the present disclosure provide a button system and an interactive device, by setting the force control component to the 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 When the second stroke segment is released to the first stroke segment, the force control component is set to a dormant state, so that the force control component does not need to be kept in a working state all the time, and the overall energy consumption of the key system or the interactive device using the key 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 by this embodiment. The key system may include a pressing detection component 230, a key function component 240, a force control component 210, and a magnetic component 220.
所述按压检测组件230与所述力控组件210连接,配置成检测按键的按压状态并发送给所述力控组件210。可选地,所述按压状态可以包括按键被按下,或按键被按压到一定程度。The pressing detection component 230 is connected to the force control component 210 and is configured to detect the pressing state of the button and send it to the force control component 210. Optionally, the pressing state may include the key being pressed, or the key being pressed to a certain degree.
所述力控组件210分别与磁力组件220及所述按压检测组件230连接,所述力控组件210构造成根据所述按压检测组件230检测到的按压状态控制所述磁力组件220向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The force control component 210 is respectively connected to the magnetic component 220 and the pressing detection component 230, and the force control component 210 is configured to control the magnetic component 220 to the button according to the pressing state detected by the pressing detection component 230. Applying a force along the key pressing direction or applying a force away from the key pressing direction.
所述按键功能组件240与所述按压检测组件230连接,所述按键功能组件240配置成根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件240连接的其他设备。例如,在本实施例提供的按键系统应用在键盘上时,所述按键功能组件240可以和电脑主机连接,将识别到的键值发送给电脑主机。The key function component 240 is connected to the press detection component 230, and the key function component 240 is configured to send the key value corresponding to the key to the other connected to the key function component 240 according to the received pressing state. equipment. For example, when the key system provided in this embodiment is applied to a keyboard, the key function component 240 can be connected to the computer host, and the identified key value can be sent to the computer host.
换句话说,在本实施例中,所述力控组件210和按键功能组件240均与所述按压检测组件230连接,因此所述力控组件210和所述按键功能组件240均可以从所述按压检测组件230获取到按键的按压状态。In other words, in this embodiment, the force control component 210 and the key function component 240 are both connected to the press detection component 230, so both the force control component 210 and the key function component 240 can be downloaded from the The pressing detection component 230 obtains the pressing state of the button.
基于上述设计,一方面,本实施例提供了一种可以同时实现对可控力按键的力度控制和键值识别工作。另一方面,在本实施例提供的按键系统中,所述按键功能组件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 of the controllable force key and the key value recognition work. On the other hand, in the button system provided in this embodiment, the action of the button function component 240 to obtain the button state may not depend on the force control component 210, and when the force control component 210 fails The key function component 240 can still perform key value recognition normally, thereby improving the fault tolerance and reliability of the entire key system.
在一些可能的实现方式中,所述按压检测组件230与需要检测的按键对应设置,该按键的按压行程包括至少两个行程段。请参照图10,所述按压检测组件230可以包括行程检测单元231,所述行程检测单元231配置成检测的按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段。In some possible implementations, the pressing detection component 230 is arranged corresponding to the key to be detected, and the pressing stroke of the key includes at least two stroke segments. 10, the pressing detection component 230 may include a stroke detection unit 231, and the stroke detection unit 231 is configured to detect a pressing state including the button being pressed from the first stroke section to the second stroke section or from the The second stroke is released to the first stroke.
可选地,所述按键功能组件240通过一扫描电路与多个所述行程检测单元231连接。所述力控组件210均基于由所述按键功能组件240输出的扫描信号获取多个所述行程检测单元231采集的按压状态。Optionally, the key function component 240 is connected to a plurality of the stroke detection units 231 through a scanning circuit. The force control component 210 obtains a plurality of pressing states collected by the stroke detection unit 231 based on the scan signal output by the key function component 240.
例如,请参照图11,所述按键功能组件240通过行列扫描检测的方式获取键盘阵列中各按键的按压状态,所述按键功能组件240针对某个行发出按键行扫描,该行扫描信号会被传输至扫描电路的某个行。当该行上某个按键被下时接通产生列检测信号,其对应的列扫描线会将列检测信号传递给按键功能组件240及力控组件210。通过这种方式,可以保证扫描信号的同步响应,避免力控组件210和键盘功能组件信号扫描检测发生冲突。For example, referring to FIG. 11, the key function component 240 obtains the pressing state of each key in the keyboard array by means of row and column scanning detection. The key function component 240 sends out a key row scan for a certain row, and the row scan signal will be Transmitted to a certain line of the scanning circuit. When a key on the row is pressed down, the column detection signal is generated, and the corresponding column scan line transmits the column detection signal to the key function component 240 and the force control component 210. In this way, the synchronization response of the scanning signal can be guaranteed, and the conflict between the force control component 210 and the keyboard function component signal scanning detection can be avoided.
在另一些可能实现方式中,请参照图12,所述按键包括至少两段按压行程,所述按压检测组件230包括行程检测单元231和导通检测单元232。In other possible implementation manners, referring to FIG. 12, the button includes at least two pressing strokes, and the pressing detection component 230 includes a stroke detection unit 231 and a conduction detection unit 232.
所述行程检测单元231构造成检测所述按键的第一按压状态,所述第一按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段。所述力控组件210与所述行程检测单元231连接,获取所述行程检测单元231采集的所述第一按压状态。The stroke detection unit 231 is configured to detect a first pressing state of the key, the first pressing state including the key being pressed from a first stroke to a second stroke or released from the second stroke To the first segment. The force control component 210 is connected to the stroke detection unit 231 to obtain the first pressing state collected by the stroke detection unit 231.
所述导通检测单元232构造成检测所述按键的第二按压状态,所述第二按压状态包括所述按键被按压至一导通触发点,所述导通触发点位于所述按键的按压行程中远离按压起点的一端。所述按键功能组件240与所述导通检测单元232连接,获取所述导通检测单元232采集的第二按压状态。The conduction detection unit 232 is configured to detect a second pressing state of the key, and the second pressing state includes the key being pressed to a conduction trigger point, and the conduction trigger point is located when the key is pressed. The end of the stroke away from the starting point of the compression. The key function component 240 is connected to the conduction detection unit 232 to obtain the second pressing state collected by the conduction detection unit 232.
换句话说,在这种实现方式中,所述力控组件210和所述按键功能组件240可以根据不同的按压状态进行不同的逻辑操作处理。例如,所述力控组件210可以在所述按键被按下一定距离开始进行磁力控制,而所述按键功能组件240需要在所述按键被完全按下时获取按键的键值发送给其他设备。In other words, in this implementation manner, the force control component 210 and the key function component 240 can perform different logical operation processing according to different pressing states. For example, the force control component 210 may start to perform magnetic control when the key is pressed for a certain distance, and the key function component 240 needs to obtain the key value of the key and send it to other devices when the key is fully pressed.
可选地,在上述实现方式中,所述力控组件210通过扫描检测的方式从多个所述行程检测单元231获取所述第一按压状态,所述按键功能组件240通过扫描检测的方式从多个所述导通检测单元232获取所述第二按压状态。其中,所述力控组件210和所述按键功能组件240扫描时钟域相对独立。Optionally, in the foregoing implementation manner, the force control component 210 acquires the first pressing state from the plurality of stroke detection units 231 through scanning detection, and the key function component 240 acquires the first pressing state from multiple stroke detection units 231 through scanning detection. A plurality of the conduction detection units 232 acquire the second pressing state. The scanning clock domain of the force control component 210 and the key function component 240 are relatively independent.
换句话说,由于在这种实现方式中,所述力控组件210和所述按键功能组件240检测的案件状态不是相同的,因此可以不用特别考虑扫描检测同步性的问题,因此所述力控组件210和所述按键功能组件240的扫描动作可以是相互独立,是基于不同的时钟信号的。In other words, because in this implementation manner, the state of the case detected by the force control component 210 and the key function component 240 is not the same, so there is no need to specifically consider the problem of synchronization of scanning detection, so the force control The scanning actions of the component 210 and the key function component 240 may be independent of each other and are based on different clock signals.
在一些可能的实现方式中,请参照图13,所述按键功能组件240和所述力控组件210通过通信线连 接;所述力控组件210通过所述通信线从所述力控组件210获取控制策略数据。所述力控组件210在检测到所述按压状态发生变化时,根据所述控制策略数据中的预设时序控制所述电磁线圈向所述按键施加沿所述按键的按压不同方向力和/或不同大小的力。In some possible implementations, please refer to FIG. 13, the button function component 240 and the force control component 210 are connected through a communication line; the force control component 210 is obtained from the force control component 210 through the communication line Control strategy data. When the force control component 210 detects a change in the pressing state, it controls the electromagnetic coil to apply force to the button in different directions along the pressing of the button and/or according to the preset timing in the control strategy data. Different sizes of force.
换句话说,在本实施例中,所述力控组件210对可控力按键的力度控制策略是可以设置的,可以通过外部设备(如电脑主机)配置个性化的力度控制策略,并通过按键功能组件240下发到力控组件210,从而使力控组件210实现多样化的力度控制,从而更符合用户的个性化需求。In other words, in this embodiment, the force control component 210’s force control strategy for the controllable force button can be set, and a personalized force control strategy can be configured through an external device (such as a computer host), and through the button The functional component 240 is delivered to the force control component 210, so that the force control component 210 can achieve diversified force control, thereby more in line with the individual needs of the user.
在一些可能的实现方式中,所述行程检测单元231包括:配置成发出检测光线的发光元件及配置成接收所述检测光线的感光元件。In some possible implementations, the stroke detection unit 231 includes a light-emitting element configured to emit detection light and a photosensitive element configured to receive the detection light.
所述按键从第一行程段被按压至第二行程段时及从所述第二行程段释放至所述第一行程段时,对所述检测光线在所述发光元件和所述感光元件之间的传递路径的遮挡程度不同。所述感光元件基于对所述检测光线的接收状态检测所述按键的按压状态。When the button is pressed from the first stroke section to the second stroke section and when the button is 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 transmission path 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 magnetic component 220 includes an electromagnetic coil and a switching circuit composed of a plurality of switching elements, and the switching circuit is respectively connected to the force control component 210 and the electromagnetic coil.
所述力控组件210配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键按压不同方向力和/或不同大小的力。The force control component 210 is configured to control the switching elements in the switching circuit to be turned on or off according to a preset timing in the working state, so as to deliver currents of different directions and/or different magnitudes to the electromagnetic coil , Enabling the electromagnetic coil to apply forces of different directions and/or different magnitudes of pressing along the key to the key.
在一些可能的实现方式中,请参照图14,所述按键系统还可以包括电能检测组件250。所述电能检测组件250配置成在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号配置成断开所述磁力组件220的供能线路。In some possible implementation manners, referring to FIG. 14, the button system may further include a power detection component 250. The power detection component 250 is configured to generate a disconnection signal when it is detected that the power consumption of the key system is greater than a preset threshold, and the disconnection signal is configured to disconnect the power supply line of the magnetic component 220.
其中,所述电能检测组件250可以直接控制一电能限制开关260,如图6所示。通过控制该电能限制开关260可以切断或恢复所述磁力组件220的供能线路。请参照图15,所述电能检测组件250也可以和所述按键功能组件240连接,所述按键功能组件240再与一电能限制开关260连接,所述电能检测组件250在检测到消耗的电能大于预设阈值时产生断开信号发送给按键功能组件240,再由所述按键功能组件240控制所述电能限制开关260断开。Wherein, the electric energy detection component 250 can directly control an electric energy limit switch 260, as shown in FIG. 6. By controlling the electric energy limit switch 260, the power supply circuit of the magnetic component 220 can be cut off or restored. Referring to FIG. 15, the power detection component 250 can also be connected to the key function component 240, and the key function component 240 is then connected to a power limit switch 260. The power detection component 250 detects that the power consumption is greater than When the threshold is preset, a disconnect signal is generated and sent to the key function component 240, and then the key function component 240 controls the power limit switch 260 to be turned off.
请参照图16,图16为本实施例提供的按键系统的一种可能的详细电路示意图。Please refer to FIG. 16. FIG. 16 is a schematic diagram of a possible detailed circuit of the key system provided by this embodiment.
如图16所示,所述按压检测组件可以包括发光元件D11和感光元件S11组成。As shown in FIG. 16, the pressing detection assembly may include a light-emitting element D11 and a photosensitive element S11.
若所述按键处于第一行程段,发光元件D11的发出的检测光线可以被感光元件S11接收;若所述按键处于第二行程段,阻挡了发光元件D11与感光元件S11之间的光线传递路径,发光元件D11的发出的检测光线无法被感光元件S11。通过线路Y1可以检测感光元件S11的导通状态,从而获知所述按键位于哪个行程段。所述按键功能组件和所述力控组件均与从感光元件S11获取按键的按压状态。If the button is in the first stroke 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 stroke 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-receiving element S11. The conduction state of the photosensitive element S11 can be detected through the line Y1, so as to know in which stroke section the button is located. Both the key function component and the force control component obtain the pressed state of the key from the photosensitive element S11.
为了节省电流,在本实施例中还可以增加开关元件Q46,通过控制线路X1的信号输出,可以采用扫描方式控制发光元件D12间歇性发出光线来监控所述按键的按压状态。当然也可以取消Q46,长期维持发光元件D11和感光元件S11的供电。In order to save current, a switch element Q46 can be added in this embodiment. By controlling the signal output of the line X1, the light emitting element D12 can be controlled to emit light intermittently in a scanning manner to monitor the pressing state of the button. Of course, Q46 can also be eliminated, and the power supply of the light-emitting element D11 and the photosensitive 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, that is, an electromagnetic coil K12. The switching elements Q42, Q43, Q44, and Q45 may be Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) or triode. The switch circuit is respectively connected with the force control component and the electromagnetic coil. The force control component controls the different on or off combinations of the four switching elements to control the magnitude and direction of the current of the electromagnetic coil, so that the electromagnetic coil applies forces of different sizes or directions to the keys.
所述电能检测组件可以设置于磁力组件的供能线路上,所述电能检测组件与所述按键功能组件连接,所述按键功能组件还与所述磁力组件供能线路上的开关Q41的控制端连接。所述按键功能组件在所述电能检测组件检测到所述按键系统的电能消耗超过阈值时,断开所述磁力组件的供电。The power detection component may be arranged on the power supply line of the magnetic component, the power detection component is connected to the key function component, and the key function component is also connected to the control terminal 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 value.
本实施例还提供一种交互设备,该交互设备可以包括按键及本实施例提供的按键系统。在本实施例中,所述交互设备可以为键盘、集成有按键的电子设备或按键开关等。This embodiment also provides an interactive device, which may include a button and the button system provided in this embodiment. In this embodiment, the interactive device may be a keyboard, an electronic device integrated with keys, or a key switch.
综上所述,本公开实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统 的交互装置的整体能耗。To sum up, the embodiments of the present disclosure provide a button system and an interactive device, by setting the force control component to the 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 When the second stroke segment is released to the first stroke segment, the force control component is set to a dormant state, so that the force control component does not need to be kept in a working state all the time, and the overall energy consumption of the key system or the interactive device using the key system can be reduced.
第三实施例The third embodiment
请参照图17,图17为本实施例提供的一种按键系统的示意图,该按键系统可以包括按压检测组件330、力控组件310及磁力组件320。Please refer to FIG. 17, which is a schematic diagram of a key system provided by this embodiment. The key system may include a pressing detection component 330, a force control component 310, and a magnetic component 320.
所述按压检测组件330与需要检测的按键对应设置,该按键的按压行程包括至少两个行程段。所述按压行程为所述按键从未被按压到被按压至无法继续移动的最大移动距离。The pressing detection component 330 is arranged corresponding to the key to be detected, and the pressing stroke of the key includes at least two stroke segments. The pressing stroke is the maximum moving distance that the button has never been pressed until it is pressed to the point where it cannot continue to move.
在本实施例中,所述按压检测组件330可以检测所述按键的按压状态,并将按压状态通知给力控组件310。例如,当所述按压检测组件330检测到所述按键处于第一行程段时,可以产生第一信号并发送给所述力控组件310;当所述按压检测组件330检测到所述按键处于第二行程段时,可以产生第二信号并发送给所述力控组件310。In this embodiment, the pressing detection component 330 can detect the pressing state of the button, and notify the force control component 310 of the pressing state. For example, when the press detection component 330 detects that the button is in the first stroke segment, it can generate a first signal and send it to the force control component 310; when the press detection component 330 detects that the button is in the first stroke In the second stroke section, a second signal can be generated and sent to the force control component 310.
在本实施例中,所述力控组件310可以具有包括工作状态和休眠状态在内的至少两种不同的状态。其中,所述力控组件310处于工作状态时的电能消耗大于处于休眠状态时的电能消耗。In this embodiment, the force control component 310 may have at least two different states including a working state and a sleep state. Wherein, the power consumption when the force control component 310 is in the working state is greater than the power consumption when in the dormant state.
所述力控组件310可以在外部信号的触发下在休眠状态和工作状态之间转换。例如,所述力控组件310可以具有一休眠唤醒接口311,该休眠唤醒接口311可以是集成芯片上自带的休眠唤醒接口311,也可以是一专门的休眠唤醒电路或者休眠唤醒模块。该休眠唤醒接口311可以接收表征所述按键的按压状态的信号,从而将所述力控组件310设置为工作状态或休眠状态。The force control component 310 can switch between a sleep state and a working state under the trigger of an external signal. For example, the force control component 310 may have a sleep wake-up interface 311. The sleep wake-up interface 311 may be a built-in sleep wake-up interface 311 on the integrated chip, or a special sleep wake-up circuit or a sleep wake-up module. The sleep wakeup interface 311 can receive a signal that characterizes the pressing state of the button, so as to set the force control component 310 to a working state or a sleep state.
所述力控组件310与所述按压检测组件330连接,所述力控组件310构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后进入休眠状态。The force control component 310 is connected to the pressing detection component 330, and the force control component 310 is configured to enter the working state when the pressing state is that the button is pressed from the first stroke section to the second stroke section, and The pressing state is that the button enters a dormant state after being released from the second stroke section to the first stroke section.
所述力控组件310还与所述磁力组件320连接,所述力控组件310配置成在所述工作状态下控制所述磁力组件320向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The force control component 310 is also connected to the magnetic component 320, and the force control component 310 is configured to control the magnetic component 320 to apply a force along the button pressing direction to the button or to apply a force in the working state. Deviate from the button pressing direction force.
换句话说,在本实施例提供的方案中,当所述按键没有被按下或被按下较小距离时(即,处于第一行程段时),所述力控组件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 (that is, in the first stroke section), the force control component 310 is in a dormant state; When the button is pressed for a relatively long distance (that is, in the second stroke section), the force control component 310 is in a working state and can control the magnetic component 320 to perform a more complicated magnetic force application action.
基于上述设计,在本实施例提供的按键系统中,可以仅在按键被按压到一定程度后才唤醒力控组件310进行磁力控制,从而使得力控组件310不用一直保持在能耗较高的工作状态,可以减少按键系统的整体电能需求。Based on the above design, in the key system provided in this embodiment, the force control component 310 can be awakened for magnetic control only after the key is pressed to a certain extent, so that the force control component 310 does not have to be kept in a high energy consumption work. State, can reduce the overall power demand of the button system.
可选地,在一种可能的实现方式中,所述力控组件310构造成在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段时,立即进入休眠状态。Optionally, in a possible implementation manner, the force control component 310 is configured to enter sleep immediately when the pressing state is that the button is released from the second stroke section to the first stroke section state.
在另一些可能的实现方式中,所述力控组件310构造成在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后,延时一定时间然后再进入休眠状态。如此,在某些按键在被频繁按下释放时,可以避免所述力控组件310频繁地在休眠状态和工作状态之间切换。In other possible implementation manners, the force control component 310 is configured to delay a certain period of time and then enter after the button is released from the second stroke section to the first stroke section in the pressed state. Sleep state. In this way, when certain keys are frequently pressed and released, the force control component 310 can be prevented from frequently switching between the sleep state and the working state.
请参照图18,在本实施中,所述按键系统还可以包括按键功能组件340,所述按键功能组件340构造成检测所述按键的按压状态,并根据所述按压状态将所述按键对应的键值发送给与所述按键功能组件340通信连接的其他设备。例如,在本实施例提供的按键系统应用在键盘上时,所述按键功能组件340可以和电脑主机连接,将识别到的键值发送给电脑主机。18, in this embodiment, the button system may further include a button function component 340, the button function component 340 is configured to detect the pressing state of the button, and according to the pressing state of the button corresponding to The key value is sent to other devices communicatively connected with the key function component 340. For example, when the key system provided in this embodiment is applied to a keyboard, the key function component 340 can be connected to the computer host and send the identified key value to the computer host.
在一种可能的实现方式中,如图18所示,所述力控组件310和所述按键功能组件340分别与所述按压检测组件330连接,相对独立地获取所述按键的按压状态。In a possible implementation, as shown in FIG. 18, the force control component 310 and the key function component 340 are respectively connected to the pressing detection component 330 to obtain the pressing state of the key relatively independently.
可选地,在一种情况下,所述力控组件310和所述按键功能组件340可以根据同一种按压状态进行不同的逻辑操作处理。Optionally, in one case, the force control component 310 and the key function component 340 may perform different logical operation processing according to the same pressing state.
例如,所述力控组件310和所述按键功能组件340均通过所述按压状态检测组件检测所述按键是位于第一行程段还是位于第二行程段。其中,所述力控组件310构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段时进入休眠状态;而所述按键功能组件340在检测到所述按压状态为所述按键从第一行程段被按压至第二行程段时将所述按键对应的键值发送给与所述按键功能组件340通信连接的其他设备,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段时不发送该按键的键值。For example, the force control component 310 and the button function component 340 both detect whether the button is located in the first stroke segment or the second stroke segment through the pressing state detection component. Wherein, the force control component 310 is configured to enter a working state when the pressing state is that the button is pressed from a first stroke section to a second stroke section, and when the pressing state is that the button moves from the second stroke section When the stroke section is released to the first stroke section, it enters the dormant state; and the button function component 340 will press the button when it detects that the pressing state is that the button is pressed from the first stroke section to the second stroke section. The corresponding key value is sent to other devices communicatively connected with the key function component 340, and the key of the key is not sent when the pressing state is that the key is released from the second travel segment to the first travel segment value.
在另一种情况下,所述力控组件310和所述按键功能组件340可以根据不同的按压状态进行不同的逻辑操作处理。In another case, the force control component 310 and the key function component 340 can perform different logical operation processing according to different pressing states.
例如,请参照图19,所述按压检测组件330也可以包括行程检测单元331和导通检测单元332。所述力控组件310与所述行程检测单元331连接,所述力控组件310获取的按压状态可以为由所述行程检测单元331检测的所述按键是位于第一行程段还是位于第二行程段;而所述按键功能组件340与所述导通检测单元332连接,所述按键功能组件340获取的按压状态可以为由所述导通检测单元332检测的所述按键是否被完全按下。换句话说,所述力控组件310可以在所述按键被按下一定距离后被唤醒,并开始进行磁力控制,而所述按键功能组件340需要在所述按键被完全按下后获取按键的键值发送给其他设备。For example, referring to FIG. 19, the pressing detection component 330 may also include a stroke detection unit 331 and a conduction detection unit 332. The force control component 310 is connected to the stroke detection unit 331, and the pressing state acquired by the force control component 310 may be whether the button is located in the first stroke segment or the second stroke detected by the stroke detection unit 331 Section; and the key function component 340 is connected to the conduction detection unit 332, the pressing state acquired by the key function component 340 may be whether the key is fully pressed detected by the conduction detection unit 332. In other words, the force control component 310 can be awakened after the key is pressed for a certain distance and start to perform magnetic control, and the key function component 340 needs to obtain the key information after the key is fully pressed. The key value is sent to other devices.
在另一种可能的实现方式中,请参见图20,所述按键功能组件340也可以分别与所述按压检测组件330和所述力控组件310连接,所述按键功能组件340还配置成将从所述按压检测组件330获取到的所述按压状态发送给所述力控组件310。In another possible implementation manner, referring to FIG. 20, the key function component 340 may also be connected to the press detection component 330 and the force control component 310, respectively, and the key function component 340 is also configured to The pressing state acquired from the pressing detection component 330 is sent to the force control component 310.
例如,所述按键功能组件340通过所述按压检测组件330获取到所述按键位于第二行程段时,然后所述按键功能组件340在发送相应键值的同时还通过通信线路向所述力控组件310发送信息,使所述力控组件310也获知所述按键位于第二行程段,从而所述力控组件310进入工作状态并进行磁力控制。For example, the key function component 340 obtains through the press detection component 330 when the key is located in the second stroke segment, and then the key function component 340 sends the corresponding key value to the force control via the communication line. The component 310 sends information so that the force control component 310 also learns that the button is located in the second stroke section, so that the force control component 310 enters the working state and performs magnetic control.
基于上述设计,在本实施例提供的按键系统中,所述力控组件310的控制动作与所述按键功能组件340的识别动作是相对分离的,即在所述力控组件310出现问题时,也不会影响到所述按键功能组件340的功能。如此,提高的整个按键系统的工作可靠性和容错能力。Based on the above design, in the button system provided by this embodiment, the control action of the force control component 310 and the recognition action of the button function component 340 are relatively separated, that is, when a problem occurs in the force control component 310, The function of the key function component 340 will not be affected. In this way, the working reliability and fault tolerance of the entire key system are improved.
在一些可能的实现方式中,所述磁力组件320构造成在所述力控组件310处于休眠状态时可以不向所述按键施加力。换句话说,当所述按键处于第一行程段时,所述磁力组件320不会像按键施加磁力。在这种情况下,可以由按键自身机械结构中的弹簧或者簧片结构向所述按键施加背离所述按键按压方向的力。In some possible implementations, the magnetic component 320 is configured to not apply force to the button when the force control component 310 is in a dormant state. In other words, when the key is in the first stroke segment, the magnetic component 320 does not apply magnetic force like a key. In this case, a spring or a reed structure in the mechanical structure of the key may apply a force away from the direction in which the key is pressed to the key.
在另一些可能的实现方式中,所述磁力组件320构造成在所述力控组件310处于休眠状态时向所述按键施加固定的背离所述按键按压方向力。换句话说,当所述按键处于第一行程段时,所述磁力组件320向所述按键施加固定的背离所述按键按压方向力。在这种情况下,在所述按键处于所述第一行程段时,只需要向按键施加固定的磁力,因此不需要所述力控组件310的参与,所述力控组件310可以保持休眠状态;而在所述按键处于第二行程段时,由于需要进行较为复杂磁力控制,所以可以唤醒所述力控组件310进行磁力控制逻辑的处理。In other possible implementation manners, the magnetic component 320 is configured to apply a fixed force away from the button pressing direction to the button when the force control component 310 is in a sleep state. In other words, when the key is in the first stroke segment, the magnetic component 320 applies a fixed force away from the pressing direction of the key to the key. In this case, when the button is in the first stroke segment, only a fixed magnetic force needs to be applied to the button, so the participation of the force control component 310 is not required, and the force control component 310 can remain in a dormant state ; And when the button is in the second stroke segment, because more complex magnetic control is required, the force control component 310 can be awakened to perform magnetic control logic processing.
在本实施例中,所述磁力组件320包括电磁线圈及由多个开关元件组成的开关电路,所述开关电路分别与所述力控组件310及所述电磁线圈连接。In this embodiment, the magnetic component 320 includes an electromagnetic coil and a switching circuit composed of a plurality of switching elements, and the switching circuit is respectively connected to the force control component 310 and the electromagnetic coil.
所述力控组件310配置成在工作状态下按照预设时序控制所述开关电路中的所述多个开关元件闭合或断开,以向所述电磁线圈输送不同方向和/或不同大小的电流,使所述电磁线圈向所述按键施加沿所述按键按压不同方向力和/或不同大小的力。The force control component 310 is configured to control the switching elements in the switching circuit to be turned on or off according to a preset timing in the working state, so as to deliver currents of different directions and/or different magnitudes to the electromagnetic coil , Enabling the electromagnetic coil to apply forces of different directions and/or different magnitudes of pressing along the key to the key.
请参照图21,在一些可能的实现方式中,所述按键系统还可以包括电能检测组件350;所述电能检测组件350配置成在检测到所述按键系统消耗的电能大于预设阈值时产生断开信号,所述断开信号配置成断开所述磁力组件320的供能线路。Please refer to FIG. 21. In some possible implementations, the button system may further include an electric energy detecting component 350; the electric energy detecting component 350 is configured to generate an interrupt when it detects that the electric energy consumed by the button system is greater than a preset threshold. The opening signal is configured to disconnect the power supply line of the magnetic component 320.
其中,所述电能检测组件350可以直接控制一电能限制开关360,如图6所示。通过控制该电能限制开关360可以切断或恢复所述磁力组件320的供能线路。请参照图22,所述电能检测组件350也可以和所述按键功能组件340连接,所述按键功能组件340再与一电能限制开关360连接,所述电能检测组件350在检测到消耗的电能大于预设阈值时产生断开信号发送给按键功能组件340,再由所述按键功能组件340控制所述电能限制开关360断开。Wherein, the electric energy detection component 350 can directly control an electric energy limit switch 360, as shown in FIG. 6. By controlling the electric energy limit switch 360, the power supply circuit of the magnetic component 320 can be cut off or restored. 22, the power detection component 350 can also be connected to the key function component 340, and the key function component 340 is then connected to a power limit switch 360. The power detection component 350 detects that the power consumption is greater than When the threshold is preset, a disconnect signal is generated and sent to the key function component 340, and then the key function component 340 controls the power limit switch 360 to be turned off.
在一些可能的实现方式中,所述按压检测组件330配置成检测所述按键处于所述第一行程段还是第二行程段的部分包括:配置成发出检测光线的发光元件及配置成接收所述检测光线的感光元件。In some possible implementations, the part of the press detection component 330 configured to detect whether the button is in the first stroke section or the second stroke section includes: a light emitting element configured to emit detection light and a light emitting element configured to receive the A photosensitive element that detects light.
所述按键从第一行程段被按压至第二行程段时及从所述第二行程段释放至所述第一行程段时,对所述检测光线在所述发光元件和所述感光元件之间的传递路径的遮挡程度不同。所述感光元件基于对所述检测光线的接收状态检测所述按键的按压状态。When the button is pressed from the first stroke section to the second stroke section and when the button is 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 transmission path 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 interactive device, which may include a button and the button system provided in this embodiment. In this embodiment, the interactive device may be a keyboard, an electronic device integrated with keys, or a key switch.
综上所述,本公开实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统的交互装置的整体能耗。To sum up, the embodiments of the present disclosure provide a button system and an interactive device, by setting the force control component to the 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 When the second stroke segment is released to the first stroke segment, the force control component is set to a dormant state, so that the force control component does not need to be kept in a working state all the time, and the overall energy consumption of the key system or the interactive device using the key system can be reduced.
第四实施例Fourth embodiment
本实施例还提供一种应用于上述按键系统的控制方法,请参见图23,图23为按键按下过程中,一个扫描周期的处理流程示意图。This embodiment also provides a control method applied to the above-mentioned key system. Please refer to FIG. 23. FIG. 23 is a schematic diagram of the processing flow of one scan cycle during the key pressing process.
步骤S111,本周期中检测到当前按键按下。In step S111, the current key press is detected in this cycle.
在本实施例中,所述检测到按键被按下即为检测到按键从所述第一行程段被按压至所述第二行程段。In this embodiment, the detection of the button being pressed is the detection of the button being pressed from the first stroke section to the second stroke section.
步骤S112,检测是否启用向上施加作用力功能。In step S112, it is detected whether the function of applying upward force is enabled.
在本实施例中,所述向上施加作用力即为向背离所述按键按压的方向施加作用力。In this embodiment, the upward application of a force is to apply a force away from the direction in which the button is pressed.
若启用向上施加作用力功能,则进入步骤S130;If the function of applying upward force is enabled, go to step S130;
若未启用向上施加作用力功能,则进入步骤S140。If the function of applying upward force is not activated, step S140 is entered.
步骤S113,检测向上施加作用力的保持时间是否达到。In step S113, it is detected whether the holding time of the upward force is reached.
若未达到,进入步骤S114;If it is not reached, go to step S114;
若达到,则进入步骤S115。If it reaches, it proceeds to step S115.
步骤S114,控制所述磁力组件在本次扫描周期中施加向上的作用力。Step S114, controlling the magnetic component to exert an upward force in the current scanning period.
步骤S115,检测是否启用向下施加作用力功能。In step S115, it is detected whether the function of applying downward force is enabled.
在本实施例中,所述向上施加作用力即为向沿所述按键按压的方向施加作用力。In this embodiment, the upward application of a force is to apply a force along the direction in which the button is pressed.
若启用向下施加作用力功能,则进入步骤S116;If the function of applying downward force is enabled, go to step S116;
若未启用向下施加作用力功能,则进入步骤S118。If the function of applying downward force is not activated, step S118 is entered.
步骤S116,检测向下施加作用力的保持时间是否达到。In step S116, it is detected whether the holding time of the downward applied force is reached.
若未达到,进入步骤S117;If it is not reached, go to step S117;
若达到,则进入步骤S118。If it reaches, go to step S118.
步骤S117,控制所述磁力组件在本次扫描周期中施加向下的作用力。Step S117, controlling the magnetic component to apply a downward force in the current scanning period.
步骤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 it is not activated, go to step S121.
步骤S119,检测保留向上施加作用力的保持时间是否达到。In step S119, it is detected whether the retention time of the upward force applied is reached.
若未达到,进入步骤S120;If it is not reached, go to step S120;
若达到,则进入步骤S121。If it reaches, it proceeds to step S121.
步骤S120,控制所述磁力组件在本次扫描周期中施加向上的作用力。Step S120, controlling the magnetic component to exert an upward force in the current scanning period.
步骤S121,控制所述磁力组件取消作用力。Step S121, controlling the magnetic component to cancel the applied force.
请参见图24,图24为按键释放过程中,一个扫描周期的处理流程示意图。Please refer to Figure 24, which is a schematic diagram of the processing flow of one scan cycle during the key release process.
步骤S210,本周期中检测到当前按键释放。In step S210, it is detected that the current button is released in this cycle.
步骤S220,检测向上施加作用力的保持时间是否达到。In step S220, it is detected whether the holding time of the upward force is reached.
若未达到,进入步骤S221;If it is not reached, go to step S221;
若达到,则进入步骤S222。If it reaches, go to step S222.
步骤S221,控制所述磁力组件在本次扫描周期中施加向上的作用力。Step S221, controlling the magnetic component to exert an upward force in the current scanning period.
步骤S222,控制所述磁力组件取消作用力。Step S222, controlling the magnetic component to cancel the applied force.
综上所述,本公开实施例提供一种按键系统及交互装置,通过在检测到按键从第一行程段被按压至第二行程段时将力控组件设置为工作状态,在检测到按键从第二行程段释放至第一行程段时将力控组件设置为休眠状态,从而可以使力控组件不用一直保持在工作状态,能够减少按键系统或使用该按键系统 的交互装置的整体能耗。To sum up, the embodiments of the present disclosure provide a button system and an interactive device, by setting the force control component to the 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 When the second stroke segment is released to the first stroke segment, the force control component is set to a dormant state, so that the force control component does not need to be kept in a working state all the time, and the overall energy consumption of the key system or the interactive device using the key system can be reduced.
以上所述,仅为本公开的各种实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。The above are only the various embodiments of the present disclosure, but the protection scope of the present disclosure 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 disclosure. All should be covered within the protection scope of this disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (17)

  1. 一种按键系统,其特征在于,包括第一按压检测组件、按键功能组件、力控组件及磁力组件;A key system is characterized by comprising a first pressing detection component, a key function component, a force control component, and a magnetic component;
    所述第一按压检测组件与所述力控组件连接,配置成检测至少一部分按键的按压状态并发送给所述力控组件;The first pressing detection component is connected to the force control component, and is configured to detect the pressing state of at least a part of the keys and send it to the force control component;
    所述力控组件分别与所述按键功能组件、所述磁力组件及所述第一按压检测组件连接,所述力控组件构造成根据所述第一按压检测组件检测到的按压状态控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向的力,并将所述按压状态传递给所述按键功能组件;The force control component is respectively connected with the button function component, the magnetic component and the first pressing detection component, and the force control component is configured to control the pressing state according to the pressing state detected by the first pressing detection component. The magnetic component applies a force along the button pressing direction or a force away from the button pressing direction to the button, and transmits the pressing state to the button 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.
  2. 根据权利要求1所述的按键系统,其特征在于,所力控组件和所述按键功能组件的串行通信接口连接;所述力控组件将检测到的所述按压状态通过串行通信方式发送给所述按键功能组件。The button system according to claim 1, wherein the force control component is connected to the serial communication interface of the button function component; the force control component sends the detected pressing state through serial communication Give the button function components.
  3. 根据权利要求2所述的按键系统,其特征在于,所述按键系统包括多个所述力控组件;The button system according to claim 2, wherein the button system comprises a plurality of the force control components;
    多个所述力控组件的串行通信接口通过通信总线与所述按键功能组件的通信口连接;或多个所述力控组件的串行通信接口分别通过独立的通信线与所述按键功能组件连接。The serial communication interfaces of a plurality of the force control components are connected to the communication ports of the key function components through a communication bus; or the serial communication interfaces of a plurality of the force control components are connected to the key function through independent communication lines. Component connection.
  4. 根据权利要求1所述的按键系统,其特征在于,所述按键功能组件包括多个第一IO接口,所述力控组件包括与分别与所述多个第一IO接口对应的多个第二IO接口,所述多个第一IO接口通过IO通信线分别与所述多个第二IO接口连接;所述按键功能组件通过所述IO通信线从所述力控组件获取所述按压状态。The button system according to claim 1, wherein the button function component includes a plurality of first IO interfaces, and the force control component includes a plurality of second IO interfaces corresponding to the plurality of first IO interfaces. An IO interface, the multiple first IO interfaces are respectively connected to the multiple second IO interfaces through an IO communication line; the key function component obtains the pressing state from the force control component through the IO communication line.
  5. 根据权利要求4所述的按键系统,其特征在于,所述力控组件还包括多个第三IO接口,所述多个第三IO接口通过一扫描电路连接与所多个述第一按压检测组件连接,所述多个第三IO接口通过扫描的方式获取所述第一按压检测组件采集的按压状态;The button system according to claim 4, wherein the force control component further comprises a plurality of third IO interfaces, and the plurality of third IO interfaces are connected to the plurality of first pressing detections through a scanning circuit. Component connection, the plurality of third IO interfaces acquire the pressing state collected by the first pressing detection component by scanning;
    所述按键功能组件通过扫描的方式从所述按键功能组件获取所述按压状态;The key function component acquires the pressing state from the key function component by scanning;
    所述按键功能组件的扫描时钟域与所述力控组件的扫描时钟域相对独立。The scan clock domain of the key function component is relatively independent of the scan clock domain of the force control component.
  6. 根据权利要求5所述的按键系统,其特征在于,所述力控组件包括寄存部件,所述寄存部件配置成记录通过所述多个第三IO接口扫描获得的所述按压状态,并在所述按键功能组件的扫描过程中间记录的所述按压状态传递给所述按键功能组件。The button system according to claim 5, wherein the force control component comprises a registering component, and the registering component is configured to record the pressing state obtained through scanning of the plurality of third IO interfaces, and to store the The pressing state recorded during the scanning process of the key function component is transmitted to the key function component.
  7. 根据权利要求4所述的按键系统,其特征在于,所述按键系统还包括第二按压检测组件,所述第二按压检测组件配置成检测至少一部分按键的按压状态;4. The button system according to claim 4, wherein the button system further comprises a second pressing detection component configured to detect the pressing state of at least a part of the buttons;
    所述按键功能组件包括还包括第四IO接口,所述第四IO接口与所述第二按压检测组件连接,所述按键功能组件通过所述第四IO接口获取由所述第二按压检测组件采集的按压状态。The key function component 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. The collected pressing state.
  8. 一种按键系统,其特征在于,包括按压检测组件、按键功能组件、力控组件及磁力组件;A key system, characterized in that it comprises a pressing detection component, a key function component, a force control component and a magnetic component;
    所述按压检测组件与所述力控组件连接,配置成检测按键的按压状态并发送给所述力控组件;The pressing detection component is connected to the force control component, and is configured to detect the pressing state of the button and send it to the force control component;
    所述力控组件分别与磁力组件及所述按压检测组件连接,所述力控组件构造成根据所述按压检测组件检测到的按压状态控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力;The force control component is respectively connected with the magnetic component and the pressing detection component, and the force control component is configured to control the magnetic component to apply the pressing along the key to the key according to the pressing state detected by the pressing detection component. Directional force or force applied away from the button pressing direction;
    所述按键功能组件与所述按压检测组件连接,所述按键功能组件配置成根据接收到的所述按压状态将所述按键对应的键值发送给与该按键功能组件连接的其他设备。The key function component is connected to the pressing 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 pressing state.
  9. 根据权利要求8所述的按键系统,其特征在于,所述按键包括至少两段按压行程,所述按压检测组件包括行程检测单元;8. The button system according to claim 8, wherein the button includes at least two pressing strokes, and the pressing detection component includes a stroke detection unit;
    所述行程检测单元构造成检测所述按键的按压状态,所述按压状态包括所述按键从第一行程段被按压至第二行程段或从所述第二行程段被释放至第一行程段;The stroke detection unit is configured to detect a pressing state of the key, the 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 section ;
    所述按键功能组件和所述力控组件分别与所述行程检测单元连接,获取所述行程检测单元采集的按压状态。The key function component and the force control component are respectively connected with the stroke detection unit to obtain the pressing state collected by the stroke detection unit.
  10. 根据权利要求9所述的按键系统,其特征在于,所述按键功能组件通过一扫描电路与多个所述行 程检测单元连接;所述力控组件均基于所述按键功能组件输出的扫描信号获取多个所述行程检测单元采集的按压状态。The button system according to claim 9, wherein the button function component is connected to a plurality of the stroke detection units through a scanning circuit; the force control component is obtained based on the scanning signal output by the button function component A plurality of pressing states collected by the stroke detection unit.
  11. 根据权利要求8所述的按键系统,其特征在于,所述按键包括至少两段按压行程,所述按压检测组件包括行程检测单元和导通检测单元;8. The button system according to claim 8, wherein the button includes at least two pressing strokes, and the pressing detection component includes a stroke detection unit and a conduction 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 The first stroke segment; the force control component 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 a second pressing state of the key, and the second pressing state includes the key being pressed to a conduction trigger point, and the conduction trigger point is located in the pressing stroke of the key The key function component is connected to the conduction detection unit to obtain the second pressing state collected by the conduction detection unit.
  12. 根据权利要求11所述的按键系统,其特征在于,所述力控组件通过扫描检测的方式从多个所述行程检测单元获取所述第一按压状态,所述按键功能组件通过扫描检测的方式从多个所述导通检测单元获取所述第二按压状态;其中,所述力控组件和所述按键功能组件扫描时钟域相对独立。The key system according to claim 11, wherein 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 acquires the first pressing state by scanning detection. The second pressing state is acquired from a plurality of the conduction detection units; wherein the scanning clock domain of the force control component and the key function component are relatively independent.
  13. 一种按键系统,其特征在于,包括按压检测组件、力控组件及磁力组件;A key system, characterized in that it comprises a pressing detection component, a force control component and a magnetic component;
    所述按压检测组件与所述力控组件连接,配置成检测按键的按压状态并发送给所述力控组件,所述按键的按压行程包括至少两个行程段;The pressing detection component is connected to the force control component and is configured to detect the pressing state of the button and send it to the force control component, and the pressing stroke of the button includes at least two stroke segments;
    所述力控组件与所述按压检测组件连接,所述力控组件构造成在所述按压状态为所述按键从第一行程段被按压至第二行程段时进入工作状态,在所述按压状态为所述按键从所述第二行程段释放至所述第一行程段后进入休眠状态;其中,所述力控组件处于工作状态时的电能消耗大于处于休眠状态时的电能消耗;The force control component is connected to the pressing detection component, and the force control component is configured to enter the working state when the pressing state is that the key is pressed from the first stroke section to the second stroke section, and The state is that the button enters the dormant state after being released from the second stroke section to the first stroke section; wherein the power consumption when the force control component is in the working state is greater than the power consumption when in the dormant state;
    所述磁力组件与所述力控组件连接,所述力控组件配置成在所述工作状态下控制所述磁力组件向所述按键施加沿所述按键按压方向的力或施加背离所述按键按压方向力。The magnetic component is connected to the force control component, and the force control component is configured to control the magnetic component to apply a force along the button pressing direction to the button or apply a force away from the button in the working state Directional force.
  14. 根据权利要求13所述的按键系统,其特征在于,所述按键系统还包括按键功能组件;The button system according to claim 13, wherein the button system further comprises a button function component;
    所述按键功能组件构造成检测所述按键的按压状态,并根据所述按压状态将所述按键对应的键值发送给与所述按键功能组件通信连接的其他设备。The key function component is configured to detect the pressed state of the key, and send the key value corresponding to the key to other devices communicatively connected with the key function component according to the pressed state.
  15. 根据权利要求14所述的按键系统,其特征在于,所述力控组件和所述按键功能组件分别与所述按压检测组件连接,相对独立地获取所述按键的按压状态。The button system according to claim 14, wherein the force control component and the button function component are respectively connected to the pressing detection component, and the pressing state of the button is obtained relatively independently.
  16. 根据权利要求14所述的按键系统,其特征在于,所述按键功能组件分别与所述按压检测组件和所述力控组件连接,所述按键功能组件还配置成将从所述按压检测组件获取到的所述按压状态发送给所述力控组件。The button system according to claim 14, wherein the button function component is respectively connected to the pressing detection component and the force control component, and the button function component is further configured to obtain from the pressing detection component The obtained pressing state is sent to the force control component.
  17. 一种交互装置,其特征在于,所述交互装置包括按键及权利要求1-16任意一项所述的按键系统。An interactive device, characterized in that the interactive device comprises a button and the button system according to any one of claims 1-16.
PCT/CN2021/092808 2020-05-14 2021-05-10 Press button system and interactive device WO2021228043A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010408266.5 2020-05-14
CN202010408266.5A CN111596750A (en) 2020-05-14 2020-05-14 Key system and interaction device

Publications (1)

Publication Number Publication Date
WO2021228043A1 true WO2021228043A1 (en) 2021-11-18

Family

ID=72188959

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/092808 WO2021228043A1 (en) 2020-05-14 2021-05-10 Press button system and interactive device

Country Status (2)

Country Link
CN (1) CN111596750A (en)
WO (1) WO2021228043A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596750A (en) * 2020-05-14 2020-08-28 东莞璟阳电子科技有限公司 Key system and interaction device

Citations (4)

* Cited by examiner, † Cited by third party
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
CN109036924A (en) * 2018-08-14 2018-12-18 东莞璟阳电子科技有限公司 A kind of controllable magnetic button control system
CN111596750A (en) * 2020-05-14 2020-08-28 东莞璟阳电子科技有限公司 Key system and interaction device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10022622B2 (en) * 2014-04-21 2018-07-17 Steelseries Aps Programmable actuation inputs of an accessory and methods thereof
CN107533413A (en) * 2015-04-28 2018-01-02 微软技术许可有限责任公司 Input equipment tactile and pressure-sensing
US9870033B1 (en) * 2016-08-30 2018-01-16 Apple Inc. Sensor assemblies for electronic devices
CN107239165A (en) * 2017-05-26 2017-10-10 珠海市魅族科技有限公司 Key device and terminal installation

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN109036924A (en) * 2018-08-14 2018-12-18 东莞璟阳电子科技有限公司 A kind of controllable magnetic button control system
CN111596750A (en) * 2020-05-14 2020-08-28 东莞璟阳电子科技有限公司 Key system and interaction device

Also Published As

Publication number Publication date
CN111596750A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
US20130067126A1 (en) Systems and methods for implementing a multi-function mode for pressure sensitive sensors and keyboards
US20150234499A1 (en) Wireless control system, touch-sensitive module and manufacturing method of same
US20060007023A1 (en) Method and apparatus for scanning a key or button matrix
WO2021228043A1 (en) Press button system and interactive device
CN103384184A (en) Transmitter circuit and method for controlling operation thereof
US6691201B1 (en) Dual mode USB-PS/2 device
CN109564557B (en) Single-wire communication method and equipment
US20170083120A1 (en) Wireless stylus
CN107112991B (en) Piezoelectric sensor, apparatus and method utilizing piezoelectric channels
CN110444156A (en) Display device and its driver
JPH08511363A (en) Inductively coupled keyboard
CN105812860B (en) A kind of intelligent remote controller, key control method and system
WO2017049839A1 (en) Touch display module, touch input unit, and touch input method
TWI664567B (en) Touch device and method of driving touch device
CN102421010A (en) Software debugging system and method compatible to video graphics array (VGA) port input
US20140253452A1 (en) Wireless keyboard
EP1876512B1 (en) Network control apparatus and method for enabling network chip
CN109326929A (en) The method and human-computer interaction device of usb connecting port component and its detection
TWI731650B (en) Stylus, touch electronic device and touch system
CN101673353A (en) Ic chip, information processing device, information processing system, and programs
JP2008059190A (en) Keyboard device and radio tag reader device
JP2008129836A (en) Processing device
CN101772763A (en) Microcomputer system
CN208672757U (en) A kind of circuit increasing chip detection number of keys
CN106959792B (en) Touch control detection device with fingerprint identification function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21805139

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21805139

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21805139

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.07.2023)