CN116166131A - Key control method of mechanical keyboard and mechanical keyboard - Google Patents

Key control method of mechanical keyboard and mechanical keyboard Download PDF

Info

Publication number
CN116166131A
CN116166131A CN202310215650.7A CN202310215650A CN116166131A CN 116166131 A CN116166131 A CN 116166131A CN 202310215650 A CN202310215650 A CN 202310215650A CN 116166131 A CN116166131 A CN 116166131A
Authority
CN
China
Prior art keywords
key
pressure
base
mechanical keyboard
knocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310215650.7A
Other languages
Chinese (zh)
Other versions
CN116166131B (en
Inventor
沈冰亮
郑联
岳椿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hongxinyu Electronic Technology Co ltd
Original Assignee
Shenzhen Hongxinyu Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hongxinyu Electronic Technology Co ltd filed Critical Shenzhen Hongxinyu Electronic Technology Co ltd
Priority to CN202310215650.7A priority Critical patent/CN116166131B/en
Publication of CN116166131A publication Critical patent/CN116166131A/en
Application granted granted Critical
Publication of CN116166131B publication Critical patent/CN116166131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Abstract

The invention provides a key control method of a mechanical keyboard and the mechanical keyboard, wherein a key shaft, a spring, a base, a first driving mechanism, a limiting piece, a second driving mechanism and a pressure sensor are arranged, standard knocking pressure of each key is configured for the mechanical keyboard, the mechanical keyboard is configured into a fixed key stroke mode or a dynamic key stroke mode, when the mechanical keyboard is configured into the fixed key stroke mode, the mechanical keyboard is controlled to enter the key stroke configuration mode, in the key stroke configuration mode, the knocking pressure of each key is detected in real time through the pressure sensor, the second driving mechanism of the key is controlled to drive the limiting piece to move upwards or downwards according to the difference value of the knocking pressure and the standard knocking pressure of the corresponding key so as to increase or decrease the key stroke of the key, and the key stroke of the mechanical keyboard can be adaptively adjusted according to the use habit of a user, so that the use habit of the keyboard meets the individual requirements of the user.

Description

Key control method of mechanical keyboard and mechanical keyboard
Technical Field
The invention relates to the technical field of mechanical keyboards, in particular to a key control method of a mechanical keyboard and the mechanical keyboard.
Background
As an external device of a computer, a mechanical keyboard is one of input devices which are indispensable to life and office of people, and particularly for a practitioner such as a composer, a lawyer, a programmer, etc. who needs to input a large amount of characters through a computer in daily life, or a practitioner such as a modeler, a plotter, a game player, etc. who needs to perform a large amount of quick input through a keyboard, the mechanical keyboard has a very strong dependency, and the ease of use of the mechanical keyboard also has a very great influence on their working efficiency. The key size, key position, key number, key distance, key stroke and the like are all important indexes for evaluating the usability of a mechanical keyboard, and the key stroke is a key factor affecting the use experience of the mechanical keyboard. Some mechanical keyboards designed for portability, lightness, thinness and beauty, such as a mechanical keyboard integrated on a light notebook computer, or a mechanical keyboard integrated on a leather sheath of a tablet computer, are easy to generate uncomfortable feeling when the finger tip is used as a part sensitive to a human body to receive strong recoil force for a long time due to the fact that the thinner body of the mechanical keyboard can only provide a small key stroke arrangement space and the mechanical keyboard is small in key stroke, and the user is easy to generate fatigue feeling if the user deliberately controls the striking force to reduce the recoil force. In most cases, the mechanical keyboard used by an indoor office or household computer has no portability requirement, the mechanical keyboard used under the condition has a large volume and enough key space for providing reasonable key stroke, but the designed key stroke is too long to cause soft and weak touch feeling, fatigue feeling can be generated when the keyboard is used for a long time, and the rebound time process can be caused when the keyboard is long, so that the input efficiency is reduced. The key stroke of the existing mechanical keyboard is fixed whether portable or not, however, different users have different key stroke requirements on the mechanical keyboard due to different personal habits and working properties, and whether the key stroke of the mechanical keyboard meets the personal use requirement is difficult to determine without long-time use, so that the difficulty of selecting a proper mechanical keyboard on the market is very high, and the mechanical keyboard meeting the use requirement can be found after a lot of mechanical keyboards are purchased for a long time.
Disclosure of Invention
Based on the above problems, the invention provides a key control method of a mechanical keyboard and the mechanical keyboard, which can adaptively adjust the key stroke of the mechanical keyboard according to the use habit of a user, so that the use of the keyboard meets the personalized requirements of the user.
In view of the above, a first aspect of the present invention provides a key control method of a mechanical keyboard including a key shaft provided in each key, a spring provided at a bottom of the key shaft, a base provided at a bottom of the spring, a first driving mechanism connected to the base for controlling upward or downward movement of the base, a stopper provided below the base, and a second driving mechanism connected to each stopper for controlling upward or downward movement of the stopper, a pressure sensor being provided between the base and the spring, the key control method comprising:
configuring a standard tap pressure for each key of the mechanical keyboard so that when the key is tapped with the standard tap pressure for input, a key shaft of the key contacts a base of the key, and the pressure applied by the key shaft to the base is approximately equal to the standard tap pressure;
Receiving configuration operation input by a user, and configuring the mechanical keyboard into a fixed key stroke mode or a dynamic key stroke mode;
when the mechanical keyboard is configured into the fixed key stroke mode, controlling the mechanical keyboard to enter a key stroke configuration mode;
detecting the knocking pressure of each key in real time through the pressure sensor in the key range configuration mode;
controlling a second driving mechanism of the key to drive the limiting piece to move upwards or downwards according to the difference value between the knocking pressure and the standard knocking pressure of the corresponding key so as to increase or decrease the key stroke of the key;
receiving an operation of exiting a key stroke configuration mode input by a user so as to exit the key stroke configuration mode;
and locking the position of the limiting piece.
Further, in the key control method of a mechanical keyboard, the step of configuring the standard striking pressure of each key for the mechanical keyboard specifically includes:
determining the corresponding relation between each key and each finger in a standard input gesture in a first keyboard region of the mechanical keyboard, wherein the first keyboard region is a key region which can be touched by the finger in a state that the arm does not move in the standard input gesture in the mechanical keyboard;
Dividing keys in the first keyboard region into two key types, namely a reference key and a non-reference key, wherein the reference key is a key corresponding to the default placement position of the finger under the standard input gesture;
obtaining key distances between each key in the first keyboard area and a reference key of a corresponding finger;
and configuring standard knocking pressure of each key according to the corresponding relation between each key and the finger, the key type and the key distance between each key and the reference key.
Further, in the key control method of the mechanical keyboard, the standard input gesture is that thumbs of two hands are placed above the space key, and other fingers are placed on letter keys or symbol keys "ASDF", "JJKL" in sequence from a left finger little finger to a left index finger and from a right index finger to a right finger little finger; the reference key corresponding to the index finger of the left hand is a letter key "F", and the reference key corresponding to the index finger of the right hand is a letter key "J".
Further, in the above key control method of a mechanical keyboard, before the step of obtaining a key distance between each key in the first keyboard region and a reference key of a corresponding finger, the method further includes:
"ASDF", "JJKL; the key distance of nine reference keys, namely an equal letter key or a symbol key and a space key, is configured to be 0;
calculating a linear distance between the central coordinate of each key in the first keyboard region and the central coordinate of the reference key of the corresponding finger;
the straight line distance is configured as a key distance between the key and a reference key of the corresponding finger.
Further, in the key control method of a mechanical keyboard, the step of configuring the standard striking pressure of each key for the mechanical keyboard further includes:
the standard knocking pressure of each key of a second keyboard area of the mechanical keyboard is configured to be the same as the standard knocking pressure of an alphabetic key 'J', wherein the second keyboard area is other key areas except the first keyboard area on the mechanical keyboard.
Further, in the key control method of the mechanical keyboard, the standard high impact pressures of the reference keys corresponding to different fingers are thumb, middle finger, index finger, little finger and ring finger in the order from big to small.
Further, in the key control method of a mechanical keyboard, the standard hitting pressure of the reference key is greater than the standard hitting pressure of the non-reference key corresponding to the same finger.
Further, in the key control method of a mechanical keyboard, the step of configuring the standard striking pressure of each key for the mechanical keyboard specifically includes:
recording the pressure applied to the base by the spring detected by the pressure sensor when a key shaft of each key is contacted with the base after a user uses the keyboard to strike each key in a state that the mechanical keyboard is configured into the fixed key stroke mode;
and calculating the pressure of each key recorded in a period of time to obtain the standard knocking pressure of each key.
Further, in the key control method of a mechanical keyboard, the step of calculating the pressure of each key recorded in a period of time to obtain the standard striking pressure of each key specifically includes:
acquiring the knocking of any key in the period of timeNumber of strokes n and the pressure value F detected by the pressure sensor at each stroke i Wherein i is more than or equal to 1 and less than or equal to n;
calculating the maximum pressure difference of the keys:
ΔF max =max 1≤i≤n F i -min 1≤i≤n F i
calculating the average pressure difference of the keys:
Figure BDA0004114824830000031
determining a positive integer m smaller than n-1, using for each pressure value Fi of said key:
|F i+1 -F i |<m·ΔF avg or (b)
|F i-1 -F i |<m·ΔF avg
Acquiring the corresponding pressure value F falling into each pressure value F in the n pressure values of the key in the period of time i Vicinity (F) i -m·ΔF avg ,F i +m·ΔF avg ) Number of pressure values count within a range i
For the number of pressure values count i Normalization processing is carried out to obtain a standard knocking pressure calculation weight value:
Figure BDA0004114824830000041
calculating standard knocking pressure of the key:
Figure BDA0004114824830000042
further, in the key control method of a mechanical keyboard, the mechanical keyboard further includes a key shaft fixing portion disposed in each key, the key shaft, the spring, the pressure sensor and the base are disposed in the key shaft fixing portion, when the external pressure disappears after the key shaft moves downward in the key shaft fixing portion under the action of the external pressure, a plurality of limiting grooves are arranged on an inner wall of the key shaft fixing portion from top to bottom, and the step of controlling the second driving mechanism of the key to drive the limiting member to move upward or downward according to a difference value between the knocking pressure and the standard knocking pressure of the corresponding key to increase or decrease a key stroke of the key specifically includes:
monitoring pressure changes detected by the pressure sensor in the knocking process;
When the speed of the pressure change detected by the pressure sensor is greater than a preset threshold value, calculating the knocking pressure applied by the spring to the base when the key shaft is in contact with the base according to the current pressure change speed under the condition that the base position is unchanged;
calculating a compensation key stroke according to the calculated difference between the knocking pressure and the standard knocking pressure;
determining the height of a current limit groove fixed by the limit piece;
when the height of the current limit groove is not the smallest in the limit grooves, determining a target limit groove with the height lower than that of the current limit groove in the limit grooves, so that the distance between the target limit groove and the current limit groove is approximately equal to the compensation key stroke;
and controlling the second driving mechanism to drive the limiting piece to move to the target limiting groove at a first speed.
And controlling the first driving mechanism to drive the base to move towards the limiting piece at a second speed until the base contacts with the limiting piece, wherein the second speed is smaller than the first speed.
Further, in the key control method of a mechanical keyboard, after the step of receiving a configuration operation input by a user to configure the mechanical keyboard into a fixed key stroke mode or a dynamic key stroke mode, the method further includes:
Monitoring pressure changes detected by the pressure sensor during use of the mechanical keyboard when the mechanical keyboard is configured in a dynamic key stroke mode;
when the speed of the pressure change detected by the pressure sensor is greater than a preset threshold value, calculating the knocking pressure applied by the spring to the base when the key shaft is in contact with the base according to the current pressure change speed under the condition that the base position is unchanged;
calculating a compensation key stroke according to the calculated difference between the knocking pressure and the standard knocking pressure;
determining the height of a current limit groove fixed by the limit piece;
when the height of the current limit groove is not the smallest in the limit grooves, determining a target limit groove with the height lower than that of the current limit groove in the limit grooves, so that the distance between the target limit groove and the current limit groove is approximately equal to the compensation key stroke;
controlling the second driving mechanism to drive the limiting piece to move to the target limiting groove at a first speed;
controlling the first driving mechanism to drive the base to move towards the limiting piece at a second speed until the base contacts with the limiting piece, wherein the second speed is smaller than the first speed;
After the external pressure is eliminated, the first driving mechanism is controlled to drive the base to return to the initial position.
Further, in the key control method of a mechanical keyboard, the step of controlling the first driving mechanism to drive the base to move toward the limiting member at the second speed specifically includes:
monitoring a pressure change detected by the pressure sensor before the key shaft is in contact with the base;
calculating the average knocking pressure applied by the spring to the base before the key shaft is contacted with the base according to the current pressure change speed under the condition that the position of the base is unchanged;
when the pressure detected by the pressure sensor is equal to the average knocking pressure, the first driving mechanism is controlled to drive the base to move towards the limiting piece at a second speed, the second speed is used for enabling the pressure applied by the spring to the base to be approximately equal to the average knocking pressure in the process of moving the base towards the limiting piece.
Further, in the key control method of a mechanical keyboard, the process that the base moves towards the limiting member at the second speed is divided into an acceleration stage, a constant speed stage and a deceleration stage, the first driving mechanism drives the base to accelerate and decelerate by a preset acceleration motion so that the duration of the acceleration stage and the deceleration stage is far smaller than that of the constant speed stage, and the moving speed of the base at the constant speed stage is the second speed.
The second aspect of the present invention provides a mechanical keyboard, including a housing, a circuit board and a key, wherein the circuit board is disposed in the housing, the upper surface of the housing has through holes with the same number as the keys, the key includes a key body and a key cap, the key body is disposed in the housing and electrically connected to the circuit board, the key body includes a key shaft, a key shaft fixing portion, an elastic portion, a conductive portion and a key stroke adjusting portion, the conductive portion includes a first metal piece and a second metal piece respectively connected to the circuit board, the key shaft, the elastic portion and the conductive portion are disposed in the key shaft fixing portion, and when the key shaft moves downward in the key shaft fixing portion under the action of external pressure, the key shaft moves upward under the action of the elastic force of the spring, the key shaft comprises a first connecting piece for fixing a key cap, a second connecting piece for connecting with the elastic part, a switch piece for conducting or separating the first metal piece and the second metal piece according to the knocking state of the key shaft, the connecting piece of the key shaft extends from an opening on the upper surface of the key shaft fixing part to the outside of a through hole of a surface above the shell, the key cap is detachably connected to the key body through the connecting piece, the elastic part comprises a spring arranged at the bottom of the key shaft and a base arranged at the bottom of the spring for fixing the spring, the key stroke adjusting part comprises a pressure sensor arranged at the bottom of the spring and a first driving mechanism for controlling the base to move up and down, the mechanical keyboard further comprises a control unit connected with the pressure sensor and the first driving mechanism, the key stroke adjusting part further comprises a limiting mechanism connected with the control unit and used for switching between a locking state and an unlocking state under the control of the control unit, and a second driving mechanism used for controlling a limiting piece of the limiting mechanism to move up and down, wherein the limiting mechanism is arranged in the key shaft fixing part and located below the base, when the limiting mechanism is in the locking state, the limiting piece through which the limiting mechanism passes is fixed on the inner wall of the key shaft fixing part, the limiting mechanism is immovable relative to the key shaft fixing part, and when the limiting mechanism is in the unlocking state, the limiting mechanism moves up or down under the drive of the second driving mechanism so as to increase or decrease the key stroke of the button.
Further, in the mechanical keyboard, a plurality of limiting grooves are arranged on the inner wall of the key shaft fixing portion from top to bottom, and when the limiting mechanism is in the non-locking state, the limiting piece of the limiting mechanism moves to the inside of one of the plurality of limiting grooves under the control of the control unit.
The invention provides a key control method of a mechanical keyboard and the mechanical keyboard, wherein a key shaft, a spring, a base, a first driving mechanism, a limiting piece, a second driving mechanism and a pressure sensor are arranged, standard knocking pressure of each key is configured for the mechanical keyboard, the mechanical keyboard is configured into a fixed key stroke mode or a dynamic key stroke mode, when the mechanical keyboard is configured into the fixed key stroke mode, the mechanical keyboard is controlled to enter the key stroke configuration mode, in the key stroke configuration mode, the knocking pressure of each key is detected in real time through the pressure sensor, the second driving mechanism of the key is controlled to drive the limiting piece to move upwards or downwards according to the difference value of the knocking pressure and the standard knocking pressure of the corresponding key so as to increase or decrease the key stroke of the key, and the key stroke of the mechanical keyboard can be adaptively adjusted according to the use habit of a user, so that the use habit of the keyboard meets the individual requirements of the user.
Drawings
Fig. 1 is a flowchart of a key control method of a mechanical keyboard according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
In the description of the present invention, the term "plurality" means two or more, unless explicitly defined otherwise, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. The terms "coupled," "mounted," "secured," and the like are to be construed broadly, and may be fixedly coupled, detachably coupled, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of this specification, the terms "one embodiment," "some implementations," "particular embodiments," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
A key control method of a mechanical keyboard and a mechanical keyboard according to some embodiments of the present invention are described below with reference to the accompanying drawings.
As shown in fig. 1, a first aspect of the present invention provides a key control method of a mechanical keyboard, the mechanical keyboard including a key shaft disposed in each key, a spring disposed at a bottom of the key shaft, a base disposed at a bottom of the spring, a first driving mechanism connected to the base for controlling upward or downward movement of the base, a limiting member disposed below the base, and a second driving mechanism connected to each limiting member for controlling upward or downward movement of the limiting member, a pressure sensor being disposed between the base and the spring, the key control method comprising:
Configuring a standard tap pressure for each key of the mechanical keyboard so that when the key is tapped with the standard tap pressure for input, a key shaft of the key contacts a base of the key, and the pressure applied by the key shaft to the base is approximately equal to the standard tap pressure;
receiving configuration operation input by a user, and configuring the mechanical keyboard into a fixed key stroke mode or a dynamic key stroke mode;
when the mechanical keyboard is configured into the fixed key stroke mode, controlling the mechanical keyboard to enter a key stroke configuration mode;
detecting the knocking pressure of each key in real time through the pressure sensor in the key range configuration mode;
controlling a second driving mechanism of the key to drive the limiting piece to move upwards or downwards according to the difference value between the knocking pressure and the standard knocking pressure of the corresponding key so as to increase or decrease the key stroke of the key;
receiving an operation of exiting a key stroke configuration mode input by a user so as to exit the key stroke configuration mode;
and locking the position of the limiting piece.
Further, in the key control method of a mechanical keyboard, the step of configuring the standard striking pressure of each key for the mechanical keyboard specifically includes:
Determining the corresponding relation between each key and each finger in a standard input gesture in a first keyboard region of the mechanical keyboard, wherein the first keyboard region is a key region which can be touched by the finger in a state that the arm does not move in the standard input gesture in the mechanical keyboard;
dividing keys in the first keyboard region into two key types, namely a reference key and a non-reference key, wherein the reference key is a key corresponding to the default placement position of the finger under the standard input gesture;
obtaining key distances between each key in the first keyboard area and a reference key of a corresponding finger;
and configuring standard knocking pressure of each key according to the corresponding relation between each key and the finger, the key type and the key distance between each key and the reference key.
Further, in the key control method of the mechanical keyboard, the standard input gesture is that thumbs of two hands are placed above the space key, and other fingers are placed on letter keys or symbol keys "ASDF", "JJKL" in sequence from a left finger little finger to a left index finger and from a right index finger to a right finger little finger; the reference key corresponding to the index finger of the left hand is a letter key "F", and the reference key corresponding to the index finger of the right hand is a letter key "J".
Further, in the above key control method of a mechanical keyboard, before the step of obtaining a key distance between each key in the first keyboard region and a reference key of a corresponding finger, the method further includes:
"ASDF", "JJKL; the key distance of nine reference keys, namely an equal letter key or a symbol key and a space key, is configured to be 0;
calculating a linear distance between the central coordinate of each key in the first keyboard region and the central coordinate of the reference key of the corresponding finger;
the straight line distance is configured as a key distance between the key and a reference key of the corresponding finger.
Further, in the key control method of a mechanical keyboard, the step of configuring the standard striking pressure of each key for the mechanical keyboard further includes:
the standard knocking pressure of each key of a second keyboard area of the mechanical keyboard is configured to be the same as the standard knocking pressure of an alphabetic key 'J', wherein the second keyboard area is other key areas except the first keyboard area on the mechanical keyboard.
Further, in the key control method of the mechanical keyboard, the standard high impact pressures of the reference keys corresponding to different fingers are thumb, middle finger, index finger, little finger and ring finger in the order from big to small.
Further, in the key control method of a mechanical keyboard, the standard hitting pressure of the reference key is greater than the standard hitting pressure of the non-reference key corresponding to the same finger.
Further, in the key control method of a mechanical keyboard, the step of configuring the standard striking pressure of each key for the mechanical keyboard specifically includes:
recording the pressure applied to the base by the spring detected by the pressure sensor when a key shaft of each key is contacted with the base after a user uses the keyboard to strike each key in a state that the mechanical keyboard is configured into the fixed key stroke mode;
and calculating the pressure of each key recorded in a period of time to obtain the standard knocking pressure of each key.
Further, in the key control method of a mechanical keyboard, the step of calculating the pressure of each key recorded in a period of time to obtain the standard striking pressure of each key specifically includes:
acquiring the number of times n of knocking any key in the period of time and the pressure value F detected by the pressure sensor during each knocking i Wherein i is more than or equal to 1 and less than or equal to n;
calculating the maximum pressure difference of the keys:
ΔF max =max 1≤i≤n F i -min 1≤i≤n F i
Calculating the average pressure difference of the keys:
Figure BDA0004114824830000091
determining a positive integer m smaller than n-1, using for each pressure value F of said key i All satisfy the following:
|F i+1 -F i |<m·ΔF avg or (b)
|F i-1 -F i |<m·ΔF avg
Acquiring the corresponding pressure value F falling into each pressure value F in the n pressure values of the key in the period of time i Vicinity (F) i -m·ΔF avg ,F i +m·ΔF avg ) Number of pressure values count within a range i
For the number of pressure values count i Normalization processing is carried out to obtain a standard knocking pressure calculation weight value:
Figure BDA0004114824830000101
calculating standard knocking pressure of the key:
Figure BDA0004114824830000102
further, in the key control method of a mechanical keyboard, the mechanical keyboard further includes a key shaft fixing portion disposed in each key, the key shaft, the spring, the pressure sensor and the base are disposed in the key shaft fixing portion, when the external pressure disappears after the key shaft moves downward in the key shaft fixing portion under the action of the external pressure, a plurality of limiting grooves are arranged on an inner wall of the key shaft fixing portion from top to bottom, and the step of controlling the second driving mechanism of the key to drive the limiting member to move upward or downward according to a difference value between the knocking pressure and the standard knocking pressure of the corresponding key to increase or decrease a key stroke of the key specifically includes:
Monitoring pressure changes detected by the pressure sensor in the knocking process;
when the speed of the pressure change detected by the pressure sensor is greater than a preset threshold value, calculating the knocking pressure applied by the spring to the base when the key shaft is in contact with the base according to the current pressure change speed under the condition that the base position is unchanged;
calculating a compensation key stroke according to the calculated difference between the knocking pressure and the standard knocking pressure;
determining the height of a current limit groove fixed by the limit piece;
when the height of the current limit groove is not the smallest in the limit grooves, determining a target limit groove with the height lower than that of the current limit groove in the limit grooves, so that the distance between the target limit groove and the current limit groove is approximately equal to the compensation key stroke;
and controlling the second driving mechanism to drive the limiting piece to move to the target limiting groove at a first speed.
And controlling the first driving mechanism to drive the base to move towards the limiting piece at a second speed until the base contacts with the limiting piece, wherein the second speed is smaller than the first speed.
Further, in the key control method of a mechanical keyboard, after the step of receiving a configuration operation input by a user to configure the mechanical keyboard into a fixed key stroke mode or a dynamic key stroke mode, the method further includes:
monitoring pressure changes detected by the pressure sensor during use of the mechanical keyboard when the mechanical keyboard is configured in a dynamic key stroke mode;
when the speed of the pressure change detected by the pressure sensor is greater than a preset threshold value, calculating the knocking pressure applied by the spring to the base when the key shaft is in contact with the base according to the current pressure change speed under the condition that the base position is unchanged;
calculating a compensation key stroke according to the calculated difference between the knocking pressure and the standard knocking pressure;
determining the height of a current limit groove fixed by the limit piece;
when the height of the current limit groove is not the smallest in the limit grooves, determining a target limit groove with the height lower than that of the current limit groove in the limit grooves, so that the distance between the target limit groove and the current limit groove is approximately equal to the compensation key stroke;
Controlling the second driving mechanism to drive the limiting piece to move to the target limiting groove at a first speed;
controlling the first driving mechanism to drive the base to move towards the limiting piece at a second speed until the base contacts with the limiting piece, wherein the second speed is smaller than the first speed;
after the external pressure is eliminated, the first driving mechanism is controlled to drive the base to return to the initial position.
Further, in the key control method of a mechanical keyboard, the step of controlling the first driving mechanism to drive the base to move toward the limiting member at the second speed specifically includes:
monitoring a pressure change detected by the pressure sensor before the key shaft is in contact with the base;
calculating the average knocking pressure applied by the spring to the base before the key shaft is contacted with the base according to the current pressure change speed under the condition that the position of the base is unchanged;
when the pressure detected by the pressure sensor is equal to the average knocking pressure, the first driving mechanism is controlled to drive the base to move towards the limiting piece at a second speed, the second speed is used for enabling the pressure applied by the spring to the base to be approximately equal to the average knocking pressure in the process of moving the base towards the limiting piece.
Further, in the key control method of a mechanical keyboard, the process that the base moves towards the limiting member at the second speed is divided into an acceleration stage, a constant speed stage and a deceleration stage, the first driving mechanism drives the base to accelerate and decelerate by a preset acceleration motion so that the duration of the acceleration stage and the deceleration stage is far smaller than that of the constant speed stage, and the moving speed of the base at the constant speed stage is the second speed.
The second aspect of the present invention provides a mechanical keyboard, including a housing, a circuit board and a key, wherein the circuit board is disposed in the housing, the upper surface of the housing has through holes with the same number as the keys, the key includes a key body and a key cap, the key body is disposed in the housing and electrically connected to the circuit board, the key body includes a key shaft, a key shaft fixing portion, an elastic portion, a conductive portion and a key stroke adjusting portion, the conductive portion includes a first metal piece and a second metal piece respectively connected to the circuit board, the key shaft, the elastic portion and the conductive portion are disposed in the key shaft fixing portion, and when the key shaft moves downward in the key shaft fixing portion under the action of external pressure, the key shaft moves upward under the action of the elastic force of the spring, the key shaft comprises a first connecting piece for fixing a key cap, a second connecting piece for connecting with the elastic part, a switch piece for conducting or separating the first metal piece and the second metal piece according to the knocking state of the key shaft, the connecting piece of the key shaft extends from an opening on the upper surface of the key shaft fixing part to the outside of a through hole of a surface above the shell, the key cap is detachably connected to the key body through the connecting piece, the elastic part comprises a spring arranged at the bottom of the key shaft and a base arranged at the bottom of the spring for fixing the spring, the key stroke adjusting part comprises a pressure sensor arranged at the bottom of the spring and a first driving mechanism for controlling the base to move up and down, the mechanical keyboard further comprises a control unit connected with the pressure sensor and the first driving mechanism, the key stroke adjusting part further comprises a limiting mechanism connected with the control unit and used for switching between a locking state and an unlocking state under the control of the control unit, and a second driving mechanism used for controlling a limiting piece of the limiting mechanism to move up and down, wherein the limiting mechanism is arranged in the key shaft fixing part and located below the base, when the limiting mechanism is in the locking state, the limiting piece through which the limiting mechanism passes is fixed on the inner wall of the key shaft fixing part, the limiting mechanism is immovable relative to the key shaft fixing part, and when the limiting mechanism is in the unlocking state, the limiting mechanism moves up or down under the drive of the second driving mechanism so as to increase or decrease the key stroke of the button.
Further, in the mechanical keyboard, a plurality of limiting grooves are arranged on the inner wall of the key shaft fixing portion from top to bottom, and when the limiting mechanism is in the non-locking state, the limiting piece of the limiting mechanism moves to the inside of one of the plurality of limiting grooves under the control of the control unit.
It should be noted that in this document relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Embodiments in accordance with the present invention, as described above, are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (10)

1. The key control method of the mechanical keyboard is characterized in that the mechanical keyboard comprises a key shaft arranged in each key, a spring arranged at the bottom of the key shaft, a base arranged at the bottom of the spring, a first driving mechanism connected with the base and used for controlling the base to move upwards or downwards, a limiting piece arranged below the base and a second driving mechanism connected with each limiting piece and used for controlling the limiting piece to move upwards or downwards, a pressure sensor is arranged between the base and the spring, and the key control method comprises the following steps:
Configuring a standard tap pressure for each key of the mechanical keyboard so that when the key is tapped with the standard tap pressure for input, a key shaft of the key contacts a base of the key, and the pressure applied by the key shaft to the base is approximately equal to the standard tap pressure;
receiving configuration operation input by a user, and configuring the mechanical keyboard into a fixed key stroke mode or a dynamic key stroke mode;
when the mechanical keyboard is configured into the fixed key stroke mode, controlling the mechanical keyboard to enter a key stroke configuration mode;
detecting the knocking pressure of each key in real time through the pressure sensor in the key range configuration mode;
controlling a second driving mechanism of the key to drive the limiting piece to move upwards or downwards according to the difference value between the knocking pressure and the standard knocking pressure of the corresponding key so as to increase or decrease the key stroke of the key;
receiving an operation of exiting a key stroke configuration mode input by a user so as to exit the key stroke configuration mode;
and locking the position of the limiting piece.
2. The key control method of a mechanical keyboard according to claim 1, wherein the step of configuring the standard tap pressure of each key for the mechanical keyboard specifically comprises:
Determining the corresponding relation between each key and each finger in a standard input gesture in a first keyboard region of the mechanical keyboard, wherein the first keyboard region is a key region which can be touched by the finger in a state that the arm does not move in the standard input gesture in the mechanical keyboard;
dividing keys in the first keyboard region into two key types, namely a reference key and a non-reference key, wherein the reference key is a key corresponding to the default placement position of the finger under the standard input gesture;
obtaining key distances between each key in the first keyboard area and a reference key of a corresponding finger;
and configuring standard knocking pressure of each key according to the corresponding relation between each key and the finger, the key type and the key distance between each key and the reference key.
3. The key control method of a mechanical keyboard according to claim 2, wherein the step of configuring the standard tap pressure of each key for the mechanical keyboard specifically comprises:
recording the pressure applied to the base by the spring detected by the pressure sensor when a key shaft of each key is contacted with the base after a user uses the keyboard to strike each key in a state that the mechanical keyboard is configured into the fixed key stroke mode;
And calculating the pressure of each key recorded in a period of time to obtain the standard knocking pressure of each key.
4. A key control method of a mechanical keyboard according to claim 3, wherein the step of calculating the recorded pressure of each key for a period of time to obtain the standard striking pressure of each key specifically comprises:
acquiring the number of times n of knocking any key in the period of time and the pressure value F detected by the pressure sensor during each knocking i Wherein i is more than or equal to 1 and less than or equal to n;
calculating the maximum pressure difference of the keys:
ΔF max =max 1≤i≤n F i -min 1≤i≤n F i
calculating the average pressure difference of the keys:
Figure FDA0004114824820000021
determining a positive integer m smaller than n-1, using for each pressure value F of said key i All satisfy the following:
|F i+1 -F i |<m·ΔF avg or (b)
|F i-1 -F i |<m·ΔF avg
Acquiring the corresponding pressure value F falling into each pressure value F in the n pressure values of the key in the period of time i Vicinity (F) i -m·ΔF avg ,F i +m·ΔF avg ) Number of pressure values count within a range i
For the number of pressure values count i Normalization processing is carried out to obtain a standard knocking pressure calculation weight value:
Figure FDA0004114824820000022
calculating standard knocking pressure of the key:
Figure FDA0004114824820000023
5. the key control method of a mechanical keyboard according to claim 1, further comprising a key shaft fixing part provided in each key, wherein the key shaft, the spring, the pressure sensor and the base are provided in the key shaft fixing part, and the key shaft moves upward under the action of the spring when the external pressure is removed after moving downward in the key shaft fixing part under the action of the external pressure, and a plurality of limit grooves are arranged on an inner wall of the key shaft fixing part from top to bottom, and the step of controlling the second driving mechanism of the key to move upward or downward to increase or decrease the key stroke of the key according to the difference between the knocking pressure and the standard knocking pressure of the corresponding key specifically comprises:
Monitoring pressure changes detected by the pressure sensor in the knocking process;
when the speed of the pressure change detected by the pressure sensor is greater than a preset threshold value, calculating the knocking pressure applied by the spring to the base when the key shaft is in contact with the base according to the current pressure change speed under the condition that the base position is unchanged;
calculating a compensation key stroke according to the calculated difference between the knocking pressure and the standard knocking pressure;
determining the height of a current limit groove fixed by the limit piece;
when the height of the current limit groove is not the smallest in the limit grooves, determining a target limit groove with the height lower than that of the current limit groove in the limit grooves, so that the distance between the target limit groove and the current limit groove is approximately equal to the compensation key stroke;
and controlling the second driving mechanism to drive the limiting piece to move to the target limiting groove at a first speed.
And controlling the first driving mechanism to drive the base to move towards the limiting piece at a second speed until the base contacts with the limiting piece, wherein the second speed is smaller than the first speed.
6. The key control method of a mechanical keyboard according to claim 1, further comprising, after the step of receiving a configuration operation input by a user to configure the mechanical keyboard in a fixed key stroke mode or a dynamic key stroke mode:
monitoring pressure changes detected by the pressure sensor during use of the mechanical keyboard when the mechanical keyboard is configured in a dynamic key stroke mode;
when the speed of the pressure change detected by the pressure sensor is greater than a preset threshold value, calculating the knocking pressure applied by the spring to the base when the key shaft is in contact with the base according to the current pressure change speed under the condition that the base position is unchanged;
calculating a compensation key stroke according to the calculated difference between the knocking pressure and the standard knocking pressure;
determining the height of a current limit groove fixed by the limit piece;
when the height of the current limit groove is not the smallest in the limit grooves, determining a target limit groove with the height lower than that of the current limit groove in the limit grooves, so that the distance between the target limit groove and the current limit groove is approximately equal to the compensation key stroke;
Controlling the second driving mechanism to drive the limiting piece to move to the target limiting groove at a first speed;
controlling the first driving mechanism to drive the base to move towards the limiting piece at a second speed until the base contacts with the limiting piece, wherein the second speed is smaller than the first speed;
after the external pressure is eliminated, the first driving mechanism is controlled to drive the base to return to the initial position.
7. The method of controlling a key of a mechanical keyboard according to claim 6, wherein the step of controlling the first driving mechanism to drive the base to move toward the stopper at the second speed comprises:
monitoring a pressure change detected by the pressure sensor before the key shaft is in contact with the base;
calculating the average knocking pressure applied by the spring to the base before the key shaft is contacted with the base according to the current pressure change speed under the condition that the position of the base is unchanged;
when the pressure detected by the pressure sensor is equal to the average knocking pressure, the first driving mechanism is controlled to drive the base to move towards the limiting piece at a second speed, the second speed is used for enabling the pressure applied by the spring to the base to be approximately equal to the average knocking pressure in the process of moving the base towards the limiting piece.
8. The key control method of a mechanical keyboard according to claim 7, wherein the process of moving the base to the limiting member at the second speed is divided into an acceleration stage, a constant speed stage and a deceleration stage, the first driving mechanism drives the base to accelerate and decelerate with a preset acceleration motion so that the duration of the acceleration stage and the deceleration stage is much smaller than that of the constant speed stage, and the moving speed of the base in the constant speed stage is the second speed.
9. The mechanical keyboard is characterized by comprising a shell, a circuit board and keys, wherein the circuit board is arranged in the shell, the upper surface of the shell is provided with through holes with the same number as the keys, the keys comprise key bodies and key caps, the key bodies are arranged in the shell and are electrically connected with the circuit board, the key bodies comprise key shafts, key shaft fixing parts, elastic parts, conductive parts and key stroke adjusting parts, the conductive parts comprise a first metal part and a second metal part which are respectively connected with the circuit board, the key shafts, the elastic parts and the conductive parts are arranged in the key shaft fixing parts, after the key shafts downwards move in the key shaft fixing parts under the action of external pressure, the key shafts upwards move under the action of the elastic force of the springs when the external pressure disappears, the key shaft comprises a first connecting piece for fixing a key cap, a second connecting piece for connecting with the elastic part, a switch piece for conducting or separating the first metal piece and the second metal piece according to the knocking state of the key shaft, the connecting piece of the key shaft extends from an opening on the upper surface of the key shaft fixing part to the outside of a through hole of a surface above the shell, the key cap is detachably connected to the key body through the connecting piece, the elastic part comprises a spring arranged at the bottom of the key shaft and a base arranged at the bottom of the spring for fixing the spring, the key stroke adjusting part comprises a pressure sensor arranged at the bottom of the spring and a first driving mechanism for controlling the base to move up and down, the mechanical keyboard further comprises a control unit connected with the pressure sensor and the first driving mechanism, the key stroke adjusting part further comprises a limiting mechanism connected with the control unit and used for switching between a locking state and an unlocking state under the control of the control unit, and a second driving mechanism used for controlling a limiting piece of the limiting mechanism to move up and down, wherein the limiting mechanism is arranged in the key shaft fixing part and located below the base, when the limiting mechanism is in the locking state, the limiting piece through which the limiting mechanism passes is fixed on the inner wall of the key shaft fixing part, the limiting mechanism is immovable relative to the key shaft fixing part, and when the limiting mechanism is in the unlocking state, the limiting mechanism moves up or down under the drive of the second driving mechanism so as to increase or decrease the key stroke of the button.
10. The mechanical keyboard according to claim 9, wherein the inner wall of the key shaft fixing portion is provided with a plurality of limit grooves arranged from top to bottom, and when the limit mechanism is in an unlocked state, the limit member of the limit mechanism moves to the inside of one of the plurality of limit grooves under the control of the control unit.
CN202310215650.7A 2023-02-24 2023-02-24 Key control method of mechanical keyboard and mechanical keyboard Active CN116166131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310215650.7A CN116166131B (en) 2023-02-24 2023-02-24 Key control method of mechanical keyboard and mechanical keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310215650.7A CN116166131B (en) 2023-02-24 2023-02-24 Key control method of mechanical keyboard and mechanical keyboard

Publications (2)

Publication Number Publication Date
CN116166131A true CN116166131A (en) 2023-05-26
CN116166131B CN116166131B (en) 2023-11-28

Family

ID=86413217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310215650.7A Active CN116166131B (en) 2023-02-24 2023-02-24 Key control method of mechanical keyboard and mechanical keyboard

Country Status (1)

Country Link
CN (1) CN116166131B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409166A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Keyboard
US20100103127A1 (en) * 2007-02-23 2010-04-29 Taeun Park Virtual Keyboard Input System Using Pointing Apparatus In Digital Device
US20150061902A1 (en) * 2013-08-29 2015-03-05 Mark A. Casparian Systems And Methods For Implementing Spring Loaded Mechanical Key Switches With Variable Displacement Sensing
WO2016177330A1 (en) * 2015-05-04 2016-11-10 葛少龙 Keyboard with multilevel-key-travel key
CN108269710A (en) * 2017-12-12 2018-07-10 合肥龙图腾信息技术有限公司 A kind of mechanical keyboard that can adjust stroke
CN110223874A (en) * 2019-06-28 2019-09-10 朱虹斐 Stroke adjustable keyboard
CN110428990A (en) * 2019-07-12 2019-11-08 深圳市恒怡多精彩科技有限公司 Mechanical keyboard
CN110531862A (en) * 2019-09-16 2019-12-03 百度时代网络技术(北京)有限公司 A kind of input exchange method and device
CN115019754A (en) * 2017-12-20 2022-09-06 索纳斯有限公司 Keyboard sensor system and method
CN217521887U (en) * 2021-03-04 2022-09-30 王唯 Mechanical keyboard switch

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100103127A1 (en) * 2007-02-23 2010-04-29 Taeun Park Virtual Keyboard Input System Using Pointing Apparatus In Digital Device
CN101409166A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Keyboard
US20150061902A1 (en) * 2013-08-29 2015-03-05 Mark A. Casparian Systems And Methods For Implementing Spring Loaded Mechanical Key Switches With Variable Displacement Sensing
WO2016177330A1 (en) * 2015-05-04 2016-11-10 葛少龙 Keyboard with multilevel-key-travel key
CN108269710A (en) * 2017-12-12 2018-07-10 合肥龙图腾信息技术有限公司 A kind of mechanical keyboard that can adjust stroke
CN115019754A (en) * 2017-12-20 2022-09-06 索纳斯有限公司 Keyboard sensor system and method
CN110223874A (en) * 2019-06-28 2019-09-10 朱虹斐 Stroke adjustable keyboard
CN110428990A (en) * 2019-07-12 2019-11-08 深圳市恒怡多精彩科技有限公司 Mechanical keyboard
CN110531862A (en) * 2019-09-16 2019-12-03 百度时代网络技术(北京)有限公司 A kind of input exchange method and device
CN217521887U (en) * 2021-03-04 2022-09-30 王唯 Mechanical keyboard switch

Also Published As

Publication number Publication date
CN116166131B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
EP2724221B1 (en) Keyboard overlay for optimal touch typing on a proximity-based touch screen
CN114945417A (en) Controller with sensor-rich controls
JP5166008B2 (en) A device for entering text
JP4459725B2 (en) Input key and input device
EP3525078B1 (en) Key strike determination for pressure sensitive keyboard
JP5242384B2 (en) Mouse with improved input mechanism
US20090051659A1 (en) Computer Input Device
JP2003500771A (en) A data input device that records inputs in two dimensions
US10572018B2 (en) Keyswitch with adjustable tactile feedback
US20050167251A1 (en) Input key and input apparatus
US9075448B2 (en) Symbol encoding apparatus and method
US20090009368A1 (en) Input device, and mobile terminal having the same
SE530518C2 (en) Biomechanically low loading computer mouse
US11848166B2 (en) Keyboard with adjustable feedback
CN111886056A (en) Hand-held controller with touch-sensitive controls
EP1623407A2 (en) System and method for generating an analog signal in a hand-held computing device
CN116166131B (en) Key control method of mechanical keyboard and mechanical keyboard
GB2421218A (en) Computer input device
KR101904899B1 (en) Method and data input device for data entry in electrical form
JP5955912B2 (en) Pointing device and portable computer.
CN220627652U (en) Key device and keyboard
CN216561743U (en) Mouse capable of setting function
KR20010077030A (en) KNY mouse
KR100932357B1 (en) Pointing device and item selection method on display using same
CN113867478A (en) Electronic equipment assembly, keyboard and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant