Proximity detection method and proximity detection keyboard
By using electrodes and ground components on the keyboard for equivalent capacitance detection and gesture recognition, the problem of the existing keyboard's lack of proximity detection and gesture detection functions is solved, low-cost and efficient proximity detection and gesture detection are achieved, and the keyboard's performance is improved. Attractiveness and user experience.
Patent Information
- Application Number
- CN202010272919.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-04-09
AI Technical Summary
Existing keyboards lack attractive functions and are difficult to meet users' needs for proximity detection and gesture detection. At the same time, development costs and time are high.
By using multiple electrodes and ground components on the keyboard, combined with the steps of equivalent capacitance detection, electrode status value determination, proximity event determination and gesture event recognition, proximity detection and gesture detection functions are realized, and the response unit is used to provide feedback, such as lighting, Sound and vibration.
It realizes proximity detection and gesture detection functions with low cost and low mechanical complexity, which improves the attractiveness and user experience of the keyboard while reducing the design complexity of circuits and mechanisms.
Smart Images

Figure CN113076008B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a proximity detection method and a proximity detection keyboard, and in particular to a proximity detection method and a proximity detection keyboard using electrode capacitance. Background Art
[0002] In recent years, with the development of information technology and the prosperity of the entertainment industry, the requirements for the functions and specifications of keyboards (Keyboards or Keypads) have also been increasing. The existing standard keyboards (Standard Keyboard) and gaming keyboards (Gaming Keyboard) on the market are often difficult to be favored by consumers due to the lack of attractive functions.
[0003] Based on the above, there is an urgent need to develop a keyboard with attractive functions in the market today, such as a proximity detection keyboard, which can provide pre-detection of the user's palm, fingers, and wrist approaching, and further provide gesture detection function to meet the increasingly stringent needs of users, while having the benefit of saving development costs and time. Summary of the invention
[0004] The present invention provides a proximity detection method and a proximity detection keyboard, which realize the proximity detection function through the proximity capacitance generated by each electrode and the user, and the parasitic capacitance generated by each electrode and the corresponding grounding element. Furthermore, the gesture detection function is realized through the specific arrangement relationship between the electrodes.
[0005] According to one embodiment of the present invention, a proximity detection method is provided to detect whether a user is near a proximity detection keyboard. The proximity detection keyboard includes a plurality of electrodes and at least one grounding element. The at least one grounding element is arranged corresponding to the plurality of electrodes. The proximity detection method includes an equivalent capacitance detection step, an electrode state value determination step, a proximity event determination step, and a gesture event recognition step. The equivalent capacitance detection step is to detect the equivalent capacitance of each electrode, wherein each electrode generates a proximity capacitance with the user, and each electrode generates a parasitic capacitance with the corresponding grounding element. The equivalent capacitance of each electrode is defined based on the corresponding proximity capacitance and the corresponding parasitic capacitance; the electrodes are arranged according to a preset gesture event and correspond to a plurality of numbers respectively, the numbers are continuous integers, the proximity capacitance, parasitic capacitance, and equivalent capacitance are all time-related and are detected at a plurality of detection time points, and the detection time points have a preset time interval. The electrode state value determination step is to determine whether there is at least one electrode in the electrodes that is in a first state value at a detection time point, wherein the electrodes correspond to a plurality of pre-set capacitance thresholds, and each electrode is in a state value at each detection time point, and the state value is a first state value or a second state value. When the equivalent capacitance of one of the electrodes is greater than the corresponding capacitance threshold, it is determined to be in the first state value, and when the equivalent capacitance of one of the electrodes is less than or equal to the corresponding capacitance threshold, it is determined to be in the second state value. The proximity event determination step is to select the electrode with the largest number among the at least one electrode when there is at least one electrode in the electrodes that is in the first state value at a detection time point, and the largest number is the largest of the numbers corresponding to the at least one electrode, and determine whether the electrode with the previous number or the electrode with the next number corresponding to the largest number is in the first state value at the previous detection time point, so as to determine whether there is a proximity event. The step of identifying gesture events is to identify gesture events according to the electrode state value time series, wherein when the electrode with the largest number and the previous number is in the first state value at the previous detection time point, the electrode state value time series is the state value of the electrodes with the largest number and the previous multiple consecutive numbers at the previous multiple consecutive detection time points, and when the electrode with the largest number and the next number is in the first state value at the previous detection time point, the electrode state value time series is the state value of the electrodes with the largest number and the next multiple consecutive numbers at the previous multiple consecutive detection time points. In this way, the proximity detection function is realized.
[0006] According to the proximity detection method of the aforementioned embodiment, each electrode may be annular, and the proximity detection keyboard may further include a plurality of keys and a clearance shell portion, the clearance shell portion is made of a non-conductive material, and none of the keys is disposed in the clearance shell portion, and the electrodes are correspondingly disposed in the clearance shell portion. In the equivalent capacitance detection step, the equivalent capacitance of each electrode may be the corresponding proximity capacitance plus the corresponding parasitic capacitance.
[0007] According to the proximity detection method of the aforementioned embodiment, a proximity response driving step may be further included, which is to determine a proximity event and drive a response unit of the proximity detection keyboard when the electrode with the previous number and the electrode with the next number corresponding to the largest number are not in the first state value at the previous detection time point. The response unit includes at least one of an output terminal, a light emitting element, a sound element, and a vibration element.
[0008] The proximity detection method according to the aforementioned embodiment may further include a gesture response driving step, which drives a response unit of the proximity detection keyboard according to a gesture event. The response unit includes at least one of an output terminal, a light emitting element, a sound element, and a vibration element.
[0009] According to the proximity detection method of the aforementioned embodiment, the number of electrodes may be between two and thirty, and the area of each electrode may be between 1 cm 2 Up to 500cm 2 between.
[0010] According to the proximity detection method of the aforementioned embodiment, the capacitance threshold corresponding to each electrode may be between 1 pF and 1000 pF, and the distance between the user and at least one of the electrodes corresponding to the proximity event may be between 0.5 cm and 30 cm.
[0011] The proximity detection method of the aforementioned implementation method can help realize the proximity detection and gesture detection functions with lower cost and lower mechanism complexity.
[0012] According to another embodiment of the present invention, a proximity detection keyboard is provided, comprising a plurality of keys, a clearance housing portion, a plurality of electrodes, at least one grounding element, a processor and a non-volatile memory. The clearance housing portion is made of a non-conductive material, and none of the keys is disposed in the clearance housing portion. The electrodes are correspondingly disposed within the clearance housing portion. The at least one grounding element is disposed correspondingly to the electrodes. The processor is coupled to the keys, the electrodes and the grounding element. The non-volatile memory is coupled to the processor and comprises a proximity detection module. The processor determines whether there is a proximity event and a gesture event based on the proximity detection module, and the proximity detection module is used to perform an equivalent capacitance detection step, an electrode state value determination step, a proximity event determination step and a gesture event recognition step. The equivalent capacitance detection step is used to detect the equivalent capacitance of each electrode, wherein each electrode generates a proximity capacitance with the user, and each electrode generates a parasitic capacitance with the corresponding grounding element, and the equivalent capacitance of each electrode is defined according to the corresponding proximity capacitance and the corresponding parasitic capacitance; the electrodes are arranged according to a preset gesture event and correspond to a plurality of numbers respectively, the numbers are continuous integers, the proximity capacitance, parasitic capacitance and equivalent capacitance are all time-related and are detected at a plurality of detection time points, and the detection time points have a preset time interval. The electrode state value determination step is used to determine whether there is at least one electrode in the electrodes in a first state value at a detection time point, wherein the electrodes correspond to a plurality of preset capacitance thresholds respectively, and each electrode is in a state value at each detection time point, and the state value is a first state value or a second state value, and when the equivalent capacitance of one of the electrodes is greater than the corresponding capacitance threshold, it is determined to be in the first state value, and when the equivalent capacitance of one of the electrodes is less than or equal to the corresponding capacitance threshold, it is determined to be in the second state value. The proximity event determination step is used to select the electrode with the largest number among the at least one electrode when at least one electrode is in the first state value at a detection time point, and the largest number is the largest number among the numbers corresponding to the at least one electrode, and determine whether the electrode with the largest number or the electrode with the next number is in the first state value at the previous detection time point, so as to determine whether there is a proximity event. The gesture event recognition step is used to identify a gesture event according to the electrode state value time series, wherein when the electrode with the largest number is in the first state value at the previous detection time point, the electrode state value time series is the state values of the electrodes with the largest number and the previous multiple consecutive numbers at the previous multiple consecutive detection time points, and when the electrode with the largest number and the next number is in the first state value at the previous detection time point, the electrode state value time series is the state values of the electrodes with the largest number and the next multiple consecutive numbers at the previous multiple consecutive detection time points. In this way, the proximity detection function of the proximity detection keyboard is realized.
[0013] According to the proximity detection keyboard of the aforementioned embodiment, each electrode may be annular, the clearance housing portion includes a hand tray, each electrode is connected to the clearance housing portion or is located on a circuit board in the proximity detection keyboard, and the at least one grounding element is connected to the clearance housing portion or is located on a circuit board in the proximity detection keyboard. In the equivalent capacitance detection step of the proximity detection module, the equivalent capacitance of each electrode may be the corresponding proximity capacitance plus the corresponding parasitic capacitance.
[0014] According to the aforementioned embodiment, the proximity detection keyboard may further include a response unit, which is coupled to the processor. The processor outputs a response signal to the response unit according to the proximity detection module, so that the response unit operates accordingly. The response unit includes at least one of an output terminal, a light emitting element, a sound element, and a vibration element. The proximity detection module may be further used to perform a proximity response driving step, which is used to determine a proximity event and drive the response unit of the proximity detection keyboard when the electrode with the previous number corresponding to the maximum number and the electrode with the next number are not in the first state value at the previous detection time point.
[0015] The proximity detection keyboard according to the aforementioned embodiment may further include a response unit, which is coupled to the processor. The processor outputs a response signal to the response unit according to the proximity detection module, so that the response unit operates accordingly. The response unit includes at least one of an output terminal, a light emitting element, a sound element, and a vibration element. The proximity detection module may be further used to execute a gesture response driving step, which is used to drive the response unit of the proximity detection keyboard according to a gesture event.
[0016] According to the proximity detection keyboard of the aforementioned embodiment, the number of electrodes may be between two and thirty, and the area of each electrode may be between 1 cm 2 Up to 500cm 2 between.
[0017] According to the proximity detection keyboard of the aforementioned embodiment, the capacitance threshold corresponding to each electrode may be between 1 pF and 1000 pF, and the distance between the user and at least one of the electrodes corresponding to the proximity event may be between 0.5 cm and 30 cm.
[0018] The proximity detection keyboard of the aforementioned implementation helps to reduce the design complexity of the circuit and mechanism while ensuring effective proximity detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flow chart showing a proximity detection method according to a first embodiment of the present invention;
[0020] Figure 2 A flow chart showing a proximity detection method according to a second embodiment of the present invention;
[0021] Figure 3AA block diagram showing a proximity detection keyboard according to a third embodiment of the present invention;
[0022] Figure 3B A schematic diagram showing a proximity detection keyboard of a third embodiment;
[0023] Figure 3C A schematic diagram showing a proximity detection keyboard and a user according to a third embodiment; and
[0024] Figure 3D A schematic diagram showing the proximity capacitance and parasitic capacitance of electrodes in the third embodiment.
[0025] Description of reference numerals:
[0026] 100,200: Proximity detection method
[0027] 110,210: Equivalent capacitance detection steps
[0028] 220: Electrode status value determination steps
[0029] 140,240: Approaching event determination step
[0030] 150,250: Approaching response drive step
[0031] 270: Gesture event recognition steps
[0032] 290: Gesture response driving steps
[0033] 300: Proximity detection keyboard
[0034] 303: Clearance shell
[0035] 310: Processor
[0036] 320: Non-volatile memory
[0037] 322: Proximity detection module
[0038] 340: Button
[0039] 350: Electrode
[0040] 370: Grounding element
[0041] 380: Response Unit
[0042] 800: User
[0043] Cf: adjacent capacitance
[0044] Cp: parasitic capacitance
[0045] ae: area of electrode
[0046] de: distance between user and electrode DETAILED DESCRIPTION
[0047] The following will describe multiple embodiments of the present invention with reference to the accompanying drawings. For the purpose of clarity, many practical details will be described together in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is, in some embodiments of the present invention, these practical details are not necessary. In addition, in order to simplify the drawings, some conventional structures and elements will be shown in the drawings in a simple schematic manner; and repeated elements may be represented by the same number.
[0048] Figure 1 FIG. 1 is a flow chart showing a proximity detection method 100 according to a first embodiment of the present invention. Figure 3A A block diagram of a proximity detection keyboard 300 according to a third embodiment of the present invention is shown. Figure 3B A schematic diagram showing a proximity detection keyboard 300 of a third embodiment is shown, Figure 3C A schematic diagram showing a proximity detection keyboard 300 and a user 800 according to a third embodiment is shown. Figure 3D FIG. 4 is a schematic diagram showing the adjacent capacitance Cf and the parasitic capacitance Cp of the electrode 350 in the third embodiment. Figure 1 and FIG. 3A to FIG. 3D In the embodiment, the proximity detection method 100 is used to detect whether at least a part of the body of the user 800 (such as a palm, a finger, or a wrist) is close to the proximity detection keyboard 300. The proximity detection keyboard 300 includes a plurality of electrodes 350 and at least one grounding element 370. The at least one grounding element 370 is disposed corresponding to the plurality of electrodes 350. The proximity detection method 100 includes an equivalent capacitance detection step 110 and a proximity event determination step 140. Furthermore, the proximity detection keyboard described in the present invention may be an independent device including keys, or a matching device for inputting information to other devices (such as a desktop computer or a server), and the keys may be physical keys, screen keys, virtual keys, etc.
[0049] The equivalent capacitance detection step 110 is to detect the equivalent capacitance Ce (not shown) of each electrode 350, wherein each electrode 350 and the user 800 generate a proximity capacitance Cf, and each electrode 350 and the corresponding grounding element 370 generate a parasitic capacitance Cp. The equivalent capacitance Ce of each electrode 350 is defined based on the corresponding proximity capacitance Cf and the corresponding parasitic capacitance Cp.
[0050] The proximity event determination step 140 is to compare the equivalent capacitance Ce of at least one of the electrodes 350 with the corresponding capacitance threshold value Cth (not shown) to determine and identify whether there is a proximity event, wherein the electrodes 350 correspond to the pre-determined or predefined capacitance threshold value Cth. Thus, the present invention utilizes the capacitive touch / proximity sensing in self-capacitance technology, and can implant metal conductive materials as electrodes 350 in the size structure of existing standard keyboards or gaming keyboards, and set correspondingly to the grounding element 370, which helps to realize the proximity detection and gesture detection function when the palm, finger, and wrist of the user 800 are approaching with lower cost and lower mechanism complexity.
[0051] In addition, the proximity detection method 100 specifically further includes a proximity response driving step 150. After the proximity event determination step 140, that is, comparing the equivalent capacitance Ce of at least one of the electrodes 350 with the corresponding capacitance threshold Cth, for example, when the equivalent capacitance Ce of at least one of the electrodes 350 is greater than the corresponding capacitance threshold Cth, it is determined as a proximity event, and then the response unit 380 of the proximity detection keyboard 300 is driven in the proximity response driving step 150, so that the response unit 380 operates accordingly.
[0052] Furthermore, in the proximity detection method 100, the processor 310 of the proximity detection keyboard 300 is used to execute the capacitance detection step 110 and the proximity event determination step 140 based on the detection circuit of the electrode 350, and the processor 310 of the proximity detection keyboard 300 outputs a response signal to the response unit 380, driving the response unit 380 to execute the proximity response driving step 150.
[0053] Figure 2 The flowchart of the proximity detection method 200 of the second embodiment of the present invention is shown, and the proximity detection keyboard 300 of the third embodiment is used to assist in explaining the proximity detection method 200 of the second embodiment. Figure 2 and FIG. 3A to FIG. 3D In the embodiment, the proximity detection method 200 is used to detect whether the user 800 is close to the proximity detection keyboard 300 . The proximity detection method 200 includes an equivalent capacitance detection step 210 and a proximity event determination step 240 .
[0054] The equivalent capacitance detection step 210 detects the equivalent capacitance Ce of each electrode 350, wherein each electrode 350 and the user 800 generate a proximity capacitance Cf, and each electrode 350 and the corresponding grounding element 370 generate a parasitic capacitance Cp. The equivalent capacitance Ce of each electrode 350 is defined based on the corresponding proximity capacitance Cf and the corresponding parasitic capacitance Cp.
[0055] The proximity event determination step 240 compares the equivalent capacitance Ce of at least one of the electrodes 350 with the corresponding capacitance threshold Cth to determine and identify whether a proximity event exists, wherein the electrodes 350 respectively correspond to the preset capacitance threshold Cth.
[0056] In detail, Figure 3B In the embodiment, each electrode 350 may be annular (specifically, annular with a quadrilateral shape), the proximity detection keyboard 300 may further include a plurality of keys 340 and a clearance housing portion 303, the clearance housing portion 303 is made of a non-conductive material, and any of the keys 340 is not disposed in the clearance housing portion 303, and the electrodes 350 are correspondingly disposed in the clearance housing portion 303. In this way, the proximity detection function of the proximity detection keyboard 300 can be effectively realized while reducing the cost.
[0057] Furthermore, in Figure 3B In the embodiment, the clearance housing portion 303 may include a hand pallet set, each electrode 350 may be physically connected to the clearance housing portion 303 or located on a circuit board in the proximity detection keyboard 300, and the at least one grounding element 370 may be physically connected to the clearance housing portion 303 or located on the same or another circuit board in the proximity detection keyboard 300. Specifically, each electrode 350 is a copper wire loop and is embedded in the clearance housing portion 303 during the molding process of the clearance housing portion 303 made of a non-conductive material (specifically, a plastic material), and the grounding element 370 is a metal spray on a side of the clearance housing portion 303 that does not face the user 800, so there is a dielectric distance between each electrode 350 and the corresponding grounding element 370 located in the clearance housing portion 303 to generate a parasitic capacitance Cp. In other embodiments (not disclosed in the figures), the clear shell portion includes a border area around the key, and electrodes can be arranged in the said area, and each electrode can be annular (i.e. hollow), solid or grid-shaped, and its outer shape can be polygonal, circular, irregular or any other shape.
[0058] Depend on Figure 3DIt can be seen that in the equivalent capacitance detection step 210, the equivalent capacitance Ce of each electrode 350 is the corresponding proximity capacitance Cf plus the corresponding parasitic capacitance Cp. In this way, the capacitive self-sensing touch or proximity detection technology is used, and the metal conductive material of the electrode 350 has an appropriate sensing sensitivity, so that the hand (i.e., palm, finger or wrist) can be detected before it touches the proximity detection keyboard 300.
[0059] Furthermore, the parasitic capacitance Cp generated by any electrode 350 and the corresponding grounding element 370 is essentially a constant value. As the hand of the user 800 gradually approaches the electrode 350 from a distance, the proximity capacitance Cf generated by the electrode 350 and the user 800 gradually increases from approaching 0. The proximity capacitance Cf and the parasitic capacitance Cp are equivalently connected in parallel, that is, the equivalent capacitance Ce of the electrode 350 is the corresponding proximity capacitance Cf plus the corresponding parasitic capacitance Cp. Therefore, as the hand of the user 800 gradually approaches the electrode 350 from a distance, the equivalent capacitance Ce also gradually increases from the value of the parasitic capacitance Cp.
[0060] Depend on Figure 2 It can be seen that in the equivalent capacitance detection step 210, the electrodes 350 are arranged according to the preset gesture events and correspond to a plurality of numbers i respectively, the numbers i are continuous integers, the proximity capacitance Cf, the parasitic capacitance Cp and the equivalent capacitance Ce are all time-related and are detected at a plurality of detection time points T, and the detection time point T has a preset time interval. Thereby, it is beneficial for the proximity detection method 200 to provide a gesture detection function without adding additional or excessive circuit elements. Furthermore, when the proximity detection keyboard 300 is in sleep mode (Sleep Mode), the equivalent capacitance detection step 210 can be performed regularly and intermittently according to a preset cycle.
[0061] The proximity detection method 200 further includes an electrode state value determination step 220, which determines whether there is at least one electrode 350 in the electrodes 350 in the first state value s1 at a detection time point T, wherein each electrode 350 is in a state value D at each detection time point T. i (T), state value D i (T) is the first state value s1 (i.e. D i (T) = s1) or the second state value s2 (ie D i(T) = s2). When the equivalent capacitance Ce of one of the electrodes 350 is greater than the corresponding capacitance threshold Cth, it is determined to be in the first state value s1, and when the equivalent capacitance Ce of one of the electrodes 350 is less than or equal to the corresponding capacitance threshold Cth, it is determined to be in the second state value s2. In this way, the proximity of the user 800 to each electrode 350 can be effectively and in real time determined. For example, the first state value s1 can be set to 1, and the second state value s2 can be set to 0, but it is not limited thereto.
[0062] Specifically, when the electrode 350 is in the first state value s1, it is used to identify that the user 800 is close to the electrode 350, and when the electrode 350 is in the second state value s2, it is used to identify that the user 800 is not close to the electrode 350. The capacitance thresholds Cth corresponding to the electrodes 350 can be the same, and each capacitance threshold Cth can be dynamically adapted according to different environmental conditions, such as temperature, humidity, power supply background noise level, etc. Furthermore, any one of the adjacent capacitance Cf, parasitic capacitance Cp, equivalent capacitance Ce and capacitance threshold Cth can be converted correspondingly with electrical parameters such as voltage and current to determine the state value D of the electrode 350. i (T), but is not limited thereto.
[0063] In the proximity event determination step 240, in detail, when at least one electrode 350 among the electrodes 350 is in the first state value s1 at a detection time point T, the electrode 350 corresponding to the maximum number imax among the at least one electrode 350 is selected, and the state value of the electrode 350 corresponding to the maximum number imax is expressed as D imax (T) = s1, the maximum number imax is the largest number among the numbers i corresponding to the at least one electrode 350. Next, it is determined whether the electrode 350 with the number imax-1 before or the electrode 350 with the number imax+1 after the maximum number imax is in the first state value s1 at the previous detection time point T-1, that is, whether D imax-1 (T-1) = s1 and D imax+1 (T-1) = at least one of s1, and the corresponding electrode 350 numbered imax-1 in the previous step and the electrode 350 numbered imax+1 in the next step is Figure 2 The specific electrode described in the proximity event determination step 240. Thus, after determining a proximity event, the proximity detection method 200 can further determine whether it is only a proximity event or a gesture event in the proximity event.
[0064] The proximity detection method 200 further includes a proximity response driving step 250, which is to determine and identify a proximity event and drive the response unit 380 of the proximity detection keyboard 300 when the electrode 350 with the previous number imax-1 and the electrode 350 with the next number imax+1 corresponding to the maximum number imax are not in the first state value s1 at the previous detection time point T-1 (however, in the previous electrode state value determination step 220, it has been determined that at least one electrode 350 in the electrode 350 is in the first state value s1 at a detection time point T), so that the response unit 380 operates accordingly. The response unit 380 includes an output end (wired transmission form or wireless transmission form), a light emitting element, a sound element, and a vibration element. In this way, the result obtained by the successful detection can be further reported to the main chip (or its processor 310) of the proximity detection keyboard 300 for the development of special response functions to provide users with a better product use smart function (Smart Function) experience. For example, the proximity event determined in the proximity response driving step 250 can trigger the response unit 380 to perform sound feedback, vibration feedback, lighting up the backlight static or dynamic display feedback, waking up the screen outside the proximity detection keyboard 300 through the output end, etc.
[0065] The proximity detection method 200 further includes a gesture event recognition step 270, which recognizes the corresponding gesture event according to the electrode state value time series Dts. When the electrode 350 corresponding to the maximum number imax with the previous number imax-1 is in the first state value s1 at the previous detection time point T-1, the electrode state value time series Dts is the state value Dts of the electrodes 350 with the previous multiple consecutive numbers imax-1, imax-2, etc. corresponding to the maximum number imax at the previous multiple consecutive detection time points T-1, T-2, etc. i When the electrode 350 with the number imax+1 after the maximum number imax is in the first state value s1 at the previous detection time point T-1, the electrode state value time series Dts is the state value Dts of the electrodes 350 with the number imax+1, imax+2, etc. after the maximum number imax at the previous multiple continuous detection time points T-1, T-2, etc. i (T) Thus, the gesture detection function of the proximity detection method 200 can be realized through the arrangement relationship of the electrodes 350.
[0066] The proximity detection method 200 also includes a gesture response driving step 290, which drives the response unit 380 of the proximity detection keyboard 300 according to the recognized gesture event, so that the response unit 380 operates accordingly. The response unit 380 includes at least one of an output terminal, a light-emitting element, a sound element, and a vibration element. In this way, a new value-added experience can be provided to the user 800, and additional added value can be created for the human-computer interaction of a standard keyboard or e-sports keyboard product. For example, the proximity event determined in the gesture response driving step 290 can trigger the response unit 380 to turn pages of the book reading software of the coupled desktop computer, perform action control of the game software, and fine-tune the volume or screen brightness of the operating system software through the output terminal.
[0067] Regarding the proximity detection method 200 according to the present invention, for example, in the proximity event determination step 240, the electrodes 350 of the proximity detection keyboard 300 are Figure 3B and Figure 3CIn the figure, the numbers i=1 to i=4 correspond from left to right. When there are two electrodes 350 with numbers i=2 and i=3 in the electrodes 350 that are in the first state value s1 at a detection time point T, that is, D2(T)=s1 and D3(T)=s1, the electrode 350 corresponding to the maximum number imax among the two electrodes 350 is selected, that is, imax=3, and then it is determined whether the electrode 350 with the previous number imax-1=2 or the electrode 350 with the next number imax+1=4 corresponding to the maximum number imax=3 is in the first state value s1 at the previous detection time point T-1, that is, it is determined whether there is at least one of D2(T-1)=s1 and D4(T-1)=s1. In the proximity response driving step 250, when the electrode 350 with the previous number imax-1=2 corresponding to the maximum number imax=3 and the electrode 350 with the next number imax+1=4 are not in the first state value s1 at the previous detection time point T-1, that is, D2(T-1)=s2 and D4(T-1)=s2, it is determined and recognized that it is only a proximity event (not a gesture event) and the response unit 380 of the proximity detection keyboard 300 is driven. In the gesture event recognition step 270, when the electrode 350 with the previous number imax-1=2 corresponding to the maximum number imax=3 is in the first state value s1 at the previous detection time point T-1, the electrode state value time series Dts is the state values D2(T-1)=S1, D1(T-2)=S1 of the electrodes 350 with the previous multiple consecutive numbers imax-1=2, imax-2=1 corresponding to the maximum number imax=3 at the previous multiple consecutive detection time points T-1, T-2..., and is recognized as a pre-set gesture event based on the electrode state value time series Dts (i.e., a sequence formed by arranging D2(T-1)=S1, D1(T-2)=S1), and the gesture event may be, for example, a page turning gesture. In the gesture response driving step 290 , the output terminal of the proximity detection keyboard 300 as the response unit 380 is driven according to the gesture event, so as to turn pages of the book reading software of the desktop computer coupled to the proximity detection keyboard 300 through the output terminal.
[0068] Furthermore, when it is determined in the electrode state value determination step 220 that all electrodes 350 are not in the first state value s1 (i.e., are all in the second state value s2) at a detection time point T, or after executing any of the proximity response drive step 250, the gesture event recognition step 270, and the gesture response drive step 290, the equivalent capacitance detection step 210 can be repeated.
[0069] Furthermore, in the proximity detection method 200, the processor 310 of the proximity detection keyboard 300 and the detection circuit of the electrode 350 are used to execute the capacitance detection step 210, the electrode state value determination step 220, the proximity event determination step 240 and the gesture event recognition step 270. The processor 310 of the proximity detection keyboard 300 outputs a response signal to the response unit 380, and drives the response unit 380 to execute the proximity response driving step 250 and the gesture response driving step 290.
[0070] exist Figure 3B In the embodiment, the number of electrodes 350 may be between two and thirty (including two and thirty, the same applies below). This helps to reduce the development cost and time of the proximity detection method 200.
[0071] The area ae of each electrode 350 may be between 1 cm 2 Up to 500cm 2 The area ae of each electrode 350 refers to the area of the conductive material, thereby taking into account the specific structural size of the proximity detection keyboard 300 and the design of the detection circuit.
[0072] The capacitance threshold Cth corresponding to each electrode 350 may be between 1 pF and 1000 pF, thereby reducing the complexity of the detection circuit and being suitable for matching with the number of electrodes 350 and the area ae of each electrode 350 .
[0073] The distance de between the user 800 and at least one of the electrodes 350 corresponding to the proximity event and the gesture event may be between 0.5 cm and 30 cm, thereby being suitable for the application of proximity and gesture detection functions. Further, the time from when the user 800 enters the distance de between 0.5 cm and 30 cm with at least one of the electrodes 350 to when the response unit 380 operates accordingly may be less than 0.4 seconds.
[0074] Regarding the proximity detection keyboard 300 of the third embodiment of the present invention, the proximity detection method 100 of the first embodiment or the proximity detection method 200 of the second embodiment can be used to assist in explaining the proximity detection keyboard 300 of the third embodiment. The proximity detection method 200 of the second embodiment is used to assist in explaining. The proximity detection keyboard 300 is used to detect whether the user 800 is close to the proximity detection keyboard 300. The proximity detection keyboard 300 includes a plurality of keys 340, a clearance housing 303, a plurality of electrodes 350, at least one grounding element 370, a processor 310, and a nonvolatile memory 320.
[0075] The clearance housing portion 303 is made of a non-conductive material, and none of the keys 340 is disposed in the clearance housing portion 303. The electrode 350 is correspondingly disposed in the clearance housing portion 303, and the at least one grounding element 370 is disposed correspondingly to the electrode 350. The processor 310 is coupled to the keys 340, the electrode 350, and the grounding element 370. The non-volatile memory 320 is coupled to the processor 310 and includes a proximity detection module 322. It can also be understood that each circuit element in the proximity detection keyboard 300 can be directly coupled to the grounding element 370, or coupled to the grounding element 370 through a grounding circuit. The processor 310 determines whether there is a proximity event based on the proximity detection module 322. The proximity detection module 322 is used to execute the aforementioned equivalent capacitance detection step 210 and proximity event determination step 240. In this way, the proximity detection function of the proximity detection keyboard 300 is realized. Specifically, the proximity detection module 322 in the non-volatile memory 320 can be a firmware program code or a software program code, the processor 310 and the non-volatile memory 320 can be two parts in the main chip (or microcontroller) of the proximity detection keyboard 300, or the processor 310 and the non-volatile memory 320 in at least two microcontrollers (such as the main chip and the proximity detection control chip) cooperate with each other to execute the proximity detection module 322, and it is not limited to this.
[0076] In detail, the clearance housing portion 303 includes a hand tray, each electrode 350 is physically connected to the clearance housing portion 303 or is located on a circuit board in the proximity detection keyboard 300, and the at least one grounding element 370 is physically connected to the clearance housing portion 303 or is located on the same or another circuit board in the proximity detection keyboard 300. This helps reduce the design complexity of the circuit and mechanism while ensuring effective proximity detection.
[0077] The proximity detection keyboard 300 may further include a response unit 380 coupled to the processor 310. The processor 310 outputs a response signal to the response unit 380 according to the proximity detection module 322, so that the response unit 380 operates accordingly. In this way, a new value-added experience can be provided to the user 800.
[0078] For details of the proximity detection module 322 in the proximity detection keyboard 300 of the third embodiment, reference may be made to the proximity detection method 100 of the first embodiment or the proximity detection method 200 of the second embodiment, which will not be described in detail herein.
[0079] Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Any person skilled in the art can make various changes and modifications without departing from the concept and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on what is defined in the claims.
Claims
1. A proximity detection method, characterized in that: A proximity detection method is used to detect whether a user is near a proximity detection keyboard, the proximity detection keyboard comprises a plurality of electrodes and at least one grounding element, the at least one grounding element is arranged corresponding to the plurality of electrodes, and the proximity detection method comprises: an equivalent capacitance detection step, detecting an equivalent capacitance of each electrode, wherein each electrode and the user generate a proximity capacitance, each electrode and the corresponding grounding element generate a parasitic capacitance, and the equivalent capacitance of each electrode is defined according to the corresponding proximity capacitance and the corresponding parasitic capacitance; the plurality of electrodes are arranged according to a preset gesture event and correspond to a plurality of numbers respectively, the plurality of numbers are consecutive integers, the proximity capacitance, the parasitic capacitance and the equivalent capacitance are all time-related and are detected at a plurality of detection time points, and the plurality of detection time points have a preset time interval; an electrode state value determination step, determining whether at least one electrode among the plurality of electrodes is in a first state value at a detection time point, wherein the plurality of electrodes correspond to a plurality of pre-set capacitance thresholds respectively, and each of the electrodes is in a state value at each of the detection time points, and the state value is the first state value or a second state value, and when the equivalent capacitance of one of the plurality of electrodes is greater than the corresponding capacitance threshold, it is determined to be in the first state value, and when the equivalent capacitance of one of the plurality of electrodes is less than or equal to the corresponding capacitance threshold, it is determined to be in the second state value; a proximity event determination step, when at least one electrode among the plurality of electrodes is in the first state value at the detection time point, selecting an electrode among the at least one electrode corresponding to a maximum number, the maximum number being the largest of the numbers corresponding to the at least one electrode, and determining whether an electrode numbered one before the maximum number or an electrode numbered one after the maximum number is in the first state value at the previous detection time point, so as to determine whether there is a proximity event; as well as A gesture event recognition step is to recognize the gesture event based on an electrode state value time series, wherein when the electrode corresponding to the previous number of the maximum number is in the first state value at the previous detection time point, the electrode state value time series is the state values of the multiple electrodes corresponding to the previous multiple consecutive numbers of the maximum number at the previous multiple consecutive detection time points, and when the electrode corresponding to the next number of the maximum number is in the first state value at the previous detection time point, the electrode state value time series is the state values of the multiple electrodes corresponding to the next multiple consecutive numbers of the maximum number at the previous multiple consecutive detection time points.
2. The proximity detection method according to claim 1, characterized in that: Each of the electrodes is annular, the proximity detection keyboard further comprises a plurality of keys and a clearance shell portion, the clearance shell portion is made of a non-conductive material, and any of the plurality of keys is not disposed in the clearance shell portion, and the plurality of electrodes are correspondingly disposed in the clearance shell portion; Wherein, in the equivalent capacitance detection step, the equivalent capacitance of each electrode is the corresponding adjacent capacitance plus the corresponding parasitic capacitance.
3. The proximity detection method according to claim 1, characterized in that: Also includes: a proximity response driving step, when the electrode with the previous number and the electrode with the next number corresponding to the maximum number are not in the first state value at the previous detection time point, determining it as the proximity event and driving a response unit of the proximity detection keyboard; The response unit includes at least one of an output terminal, a light emitting element, a sound element and a vibration element.
4. The proximity detection method according to claim 1, characterized in that: Also includes: a gesture response driving step, driving a response unit of the proximity detection keyboard according to the gesture event; The response unit includes at least one of an output terminal, a light emitting element, a sound element and a vibration element.
5. The proximity detection method according to claim 1, wherein: The number of the plurality of electrodes is between two and thirty, and the area of each electrode is between 1 cm 2 Up to 500cm 2 between.
6. The proximity detection method according to claim 1, wherein: The capacitance threshold corresponding to each of the electrodes is between 1 pF and 1000 pF, and the proximity event corresponds to a distance between the user and at least one of the plurality of electrodes being between 0.5 cm and 30 cm.
7. A proximity detection keyboard, characterized in that: Include: Multiple buttons; A clear housing portion, which is made of a non-conductive material, and none of the plurality of keys is disposed in the clear housing portion; A plurality of electrodes are correspondingly arranged in the clearance housing portion; at least one grounding element, disposed corresponding to the plurality of electrodes; a processor coupled to the plurality of buttons, the plurality of electrodes and the at least one grounding element; as well as a non-volatile memory coupled to the processor and comprising a proximity detection module; The processor determines whether there is a proximity event and a gesture event according to the proximity detection module, and the proximity detection module is used to perform an equivalent capacitance detection step, an electrode state value determination step, a proximity event determination step, and a gesture event recognition step, wherein: The equivalent capacitance detection step is used to detect an equivalent capacitance of each electrode, wherein each electrode generates a proximity capacitance with a user, each electrode generates a parasitic capacitance with the corresponding grounding element, and the equivalent capacitance of each electrode is defined according to the corresponding proximity capacitance and the corresponding parasitic capacitance; the plurality of electrodes are arranged according to the preset gesture event and correspond to a plurality of numbers respectively, the plurality of numbers are continuous integers, the proximity capacitance, the parasitic capacitance and the equivalent capacitance are all time-related and are detected at a plurality of detection time points, and the plurality of detection time points have a preset time interval; The electrode state value determination step is used to determine whether there is at least one electrode in the plurality of electrodes in a first state value at the detection time point, wherein the plurality of electrodes correspond to a plurality of pre-set capacitance thresholds respectively, and each of the electrodes is in a state value at each of the detection time points, and the state value is the first state value or a second state value, and when the equivalent capacitance of one of the plurality of electrodes is greater than the corresponding capacitance threshold, it is determined to be in the first state value, and when the equivalent capacitance of one of the plurality of electrodes is less than or equal to the corresponding capacitance threshold, it is determined to be in the second state value; The proximity event determination step is used to select an electrode corresponding to a maximum number among the at least one electrode when at least one electrode among the plurality of electrodes is in the first state value at the detection time point, the maximum number being the largest of the numbers corresponding to the at least one electrode, and determine whether an electrode numbered one before the maximum number or an electrode numbered one after the maximum number is in the first state value at the previous detection time point, so as to determine whether the proximity event exists; and The gesture event recognition step is used to recognize the gesture event based on an electrode state value time series, wherein when the electrode corresponding to the previous number of the maximum number is in the first state value at a previous detection time point, the electrode state value time series is the state values of the multiple electrodes corresponding to the previous multiple consecutive numbers of the maximum number at the previous multiple consecutive detection time points, and when the electrode corresponding to the next number of the maximum number is in the first state value at a previous detection time point, the electrode state value time series is the state values of the multiple electrodes corresponding to the next multiple consecutive numbers of the maximum number at the previous multiple consecutive detection time points.
8. The proximity detection keyboard according to claim 7, wherein: Each of the electrodes is annular, the clearance housing portion includes a hand tray, each of the electrodes is connected to the clearance housing portion or is located on a circuit board in the proximity detection keyboard, and the at least one grounding element is connected to the clearance housing portion or is located on a circuit board in the proximity detection keyboard; Wherein, in the equivalent capacitance detection step of the proximity detection module, the equivalent capacitance of each electrode is the corresponding proximity capacitance plus the corresponding parasitic capacitance.
9. The proximity detection keyboard according to claim 7, wherein: Also includes: a response unit coupled to the processor, the processor outputting a response signal to the response unit according to the proximity detection module, so that the response unit operates accordingly, the response unit comprising at least one of an output terminal, a light emitting element, a sound element and a vibration element; Among them, the proximity detection module is further used to execute a proximity response driving step, which is used to determine it as the proximity event and drive the response unit of the proximity detection keyboard when the electrode with the previous number corresponding to the maximum number and the electrode with the next number are not in the first state value at the previous detection time point.
10. The proximity detection keyboard according to claim 7, wherein: Also includes: a response unit coupled to the processor, the processor outputting a response signal to the response unit according to the proximity detection module, so that the response unit operates accordingly, the response unit comprising at least one of an output terminal, a light emitting element, a sound element and a vibration element; The proximity detection module is further used to execute a gesture response driving step, and the gesture response driving step is used to drive the response unit of the proximity detection keyboard according to the gesture event.
11. The proximity detection keyboard according to claim 7, wherein: The number of the plurality of electrodes is between two and thirty, and the area of each electrode is between 1 cm 2 Up to 500cm 2 between.
12. The proximity detection keyboard according to claim 7, wherein: The capacitance threshold corresponding to each of the electrodes is between 1 pF and 1000 pF, and the proximity event corresponds to a distance between the user and at least one of the plurality of electrodes being between 0.5 cm and 30 cm.
Citation Information
Patent Citations
Housing as an I / O device
US20110038114A1
Touch panel device, portable terminal, position detecting method, and recording medium
US20130207913A1
Input device and portable terminal therewith
US20150009150A1
Capacitive sensor filtering apparatus, method, and system
US20150355756A1
Auxiliary Sensors for Electronic Devices
US20160139702A1
