Gesture judgment method, system and device

The voltage signal is obtained through the capacitance diaphragm and filtered, which solves the problem of the sensor occupying space, realizes distant gesture judgment without adding a new sensor, and improves judgment efficiency.

CN120277530APending Publication Date: 2025-07-08KOSTAL SHANGHAI ELECTROMECHANICAL CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510373695.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The prior art requires the introduction of infrared chips, ultrasonic sensors, Hall sensors, cameras and visual imaging processing sensors or peripherals when judging distant gestures, which increases material costs and occupies the internal space of the product.

Method used

A capacitor diaphragm is used to cover the product, and the voltage signal with the change in the capacitance value is obtained, filtering is performed, and the signal is determined based on the strength and time differential value of the voltage signal, and the corresponding gesture is output.

Benefits of technology

There is no need to add new sensors, use capacitive diaphragms to avoid occupying extra space, accurately judge gestures including finger sliding, fist clenching and stretching, improving judgment efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120277530A_ABST
    Figure CN120277530A_ABST
Patent Text Reader

Abstract

The invention discloses a gesture judgment method, system and device, and relates to the field of capacitance detection, and the method comprises the steps: obtaining a voltage signal representing the capacitance value change of a capacitance diaphragm; carrying out filtering processing on the voltage signal; according to the intensity of the voltage signal and the differential value of the voltage signal based on time, judging whether the filtered voltage signal can be matched with a characteristic signal in a gesture library or not; if the feature signal can be matched, a gesture corresponding to the feature signal is output, and the gesture comprises one or a combination of more of finger sliding according to a preset direction, fist clenching and stretching; and if the feature signal cannot be matched, outputting an identification failure signal. Through the pre-determined feature signals corresponding to the gestures in the gesture library, if the filtered voltage signals can be matched with the feature signals, the specific gesture of the user can be determined. A sensor does not need to be additionally arranged, the capacitor diaphragm covers the product, the diaphragm is small in size, and extra space can be prevented from being occupied.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of capacitance detection, and in particular to a method, system and device for judging gestures. Background Art

[0002] In related technologies, when judging distant gestures, the technologies or peripherals often used include infrared chips, ultrasonic sensors, Hall sensors, cameras and visual imaging processing, or lidar. The above technologies all require the introduction of corresponding sensors or peripheral chips, which increases the material cost of function implementation. The sensors and peripheral chips often occupy the internal space of the product, affecting the volume of the product. Summary of the Invention

[0003] The object of the present invention is to provide a method, system and device for judging gestures, which do not require adding new sensors. A detection diaphragm is used to cover the product, and the diaphragm has a small volume, which can avoid occupying extra space.

[0004] To solve the above technical problems, the present invention provides a method for judging gestures, including:

[0005] Obtaining a voltage signal representing the change in capacitance value of a capacitance diaphragm;

[0006] Performing filtering processing on the voltage signal;

[0007] Judging whether the voltage signal after filtering processing can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal;

[0008] If the characteristic signal can be matched, outputting the gesture corresponding to the characteristic signal, where the gesture includes one or more combinations of finger sliding in a preset direction, fist clenching, and stretching;

[0009] If the characteristic signal cannot be matched, outputting an identification failure signal.

[0010] On the other hand, the capacitance diaphragm includes a plurality of unit capacitors, and the plurality of unit capacitors are arranged in a matrix form;

[0011] Obtaining a voltage signal representing the change in capacitance value of a capacitance diaphragm includes:

[0012] Obtaining the capacitance value of each unit capacitor of the capacitance diaphragm covering the product within a preset sampling time;

[0013] Converting the capacitance value into a voltage signal, and each voltage signal corresponds to a unit capacitor;

[0014] Determining whether the filtered voltage signal can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal, including:

[0015] Sort each of the voltage signals according to the arrangement of the corresponding unit capacitors to obtain a voltage signal matrix;

[0016] Determine whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal.

[0017] On the other hand, determining whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal, including:

[0018] Determine whether the intensities of multiple voltage signals increase sequentially in a preset direction on the voltage signal matrix and the time-based differential values of the voltage signals first increase and then decrease within a preset time;

[0019] If so, when the intensities of all the voltage signals exceed a preset signal intensity, the maximum value of the time-based differential values of all the voltage signals within a preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the gesture library that has the same motion trajectory as the preset direction.

[0020] On the other hand, determining whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal, including:

[0021] Determine whether the intensities of multiple voltage signals increase sequentially in multiple directions from the center to the periphery with the position of a certain voltage signal as the center on the voltage signal matrix and the time-based differential values of the voltage signals first increase and then decrease within a preset time;

[0022] If so, when the intensities of all the voltage signals exceed a preset signal intensity, the maximum value of the time-based differential values of all the voltage signals within a preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the gesture library that has the same motion trajectory as the multiple directions from the center to the periphery.

[0023] On the other hand, determining whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal, including:

[0024] Determine whether the intensities of multiple said voltage signals increase successively in multiple directions from the periphery to the center with the position of a certain voltage signal as the center on the voltage signal matrix, and whether the time-based differential values of the voltage signals first increase and then decrease within a preset time;

[0025] If so, when the intensities of each of the said voltage signals exceed a preset signal intensity, the maximum value of the time-based differential values of each of the said voltage signals within a preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the matching gesture library that has the same movement trajectory as the multiple directions from the periphery to the center.

[0026] On the other hand, perform filtering processing on the voltage signals, including:

[0027] Set the window depth of the median filter to k, where k is a positive integer;

[0028] Use the median filter to perform median filtering on the voltage signals, and the signal output by the median filter is y[n]=median(x[n−k],…,x[n-j],…,x[n]);

[0029] Where n is the position index of the current voltage signal, y[n] is the current voltage signal after median filtering, x[n] is the current voltage signal, median(x[n−k],…,x[n-j],…,x[n]) is the median of x[n-k] to x[n], and k is a positive integer less than n.

[0030] On the other hand, after using the median filter to perform median filtering on the voltage signals, it further includes:

[0031] Set a mutation threshold;

[0032] When the signal value of the current voltage signal after median filtering exceeds the mutation threshold, determine that electromagnetic interference is currently being received, and discard the current voltage signal after median filtering.

[0033] On the other hand, after using the median filter to perform median filtering on the voltage signals, it further includes:

[0034] Use a high-pass filter to amplify the signal output by the median filter, and the signal output by the high-pass filter is y[i]=y[i-1]+(x[i]×16384-y[i-1] / 16384×Fc);

[0035] Where y[i] is the current voltage signal output by the high-pass filter, y[i-1] is the voltage signal output by the high-pass filter last time, x[i] is the current voltage signal input to the high-pass filter, and Fc is the cut-off frequency of the high-pass filter;

[0036] Determine whether the voltage signal after filtering can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal, including:

[0037] Determine whether the voltage signal output by the high-pass filter can match the characteristic signal in the gesture library according to the intensity of the voltage signal output by the high-pass filter and the time-based differential value of the voltage signal output by the high-pass filter.

[0038] To solve the above technical problems, the present invention also provides a gesture judgment system, including:

[0039] A voltage signal acquisition unit for acquiring a voltage signal representing the change in the capacitance value of the capacitive membrane;

[0040] A filtering unit for filtering the voltage signal;

[0041] A matching judgment unit for determining whether the voltage signal after filtering can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal; if so, trigger the output unit; if not, trigger the matching failure unit;

[0042] An output unit for outputting the gesture corresponding to the characteristic signal, the gesture including one or a combination of multiple ones of sliding of fingers in a preset direction, making a fist, and stretching;

[0043] A matching failure unit for outputting an identification failure signal.

[0044] To solve the above technical problems, the present invention also provides a gesture judgment device, including:

[0045] A memory for storing a computer program;

[0046] A processor for implementing the steps of the above gesture judgment method when executing the computer program.

[0047] The present invention discloses a method, system and device for gesture judgment, which relates to the field of capacitance detection, and includes obtaining a voltage signal representing the change in capacitance value of a capacitance diaphragm; performing filtering processing on the voltage signal; judging whether the filtered voltage signal can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the derivative value of the voltage signal based on time; if the characteristic signal can be matched, output the gesture corresponding to the characteristic signal, and the gesture includes one or more combinations of finger sliding in a preset direction, making a fist, and stretching; if the characteristic signal cannot be matched, output an identification failure signal. By the characteristic signals corresponding to each gesture in the pre-determined gesture library, if the voltage signal after filtering processing can match the characteristic signal, the specific gesture of the user can be determined. There is no need to add new sensors, and the capacitance diaphragm is used to cover the product, and the diaphragm has a small volume, which can avoid occupying extra space. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the prior art and the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0049] Figure 1 It is a flowchart of a method for gesture judgment provided by the present invention;

[0050] Figure 2 It is a flowchart of another method for gesture judgment provided by the present invention;

[0051] Figure 3 It is a structural schematic diagram of a system for gesture judgment provided by the present invention;

[0052] Figure 4 It is a structural schematic diagram of a device for gesture judgment provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0053] The core of the present invention is to provide a method, system and device for gesture judgment, which does not require adding new sensors, uses a detection diaphragm to cover the product, and the diaphragm has a small volume, which can avoid occupying extra space.

[0054] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.

[0055] Figure 1 Flow chart of a method for judging gestures provided by the present invention. The method for judging gestures includes:

[0056] S11: Obtain a voltage signal representing the change in the capacitance value of the capacitive diaphragm;

[0057] S12: Perform filtering processing on the voltage signal;

[0058] S13: Judge whether the voltage signal after filtering processing can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal; if so, enter step S14; if not, enter step S15;

[0059] S14: Output the gesture corresponding to the characteristic signal. The gesture includes one or a combination of finger sliding in a preset direction, making a fist, and stretching;

[0060] S15: Output a recognition failure signal.

[0061] To implement the function of judging distant gestures, commonly used technologies or peripherals include infrared chips, ultrasonic sensors, Hall sensors, cameras and visual imaging processing, or lidar. For the above common technical solutions, corresponding sensors or peripheral chips need to be introduced, which increases the material cost of function implementation. At the same time, corresponding protocol drivers and programming are required, which increases the implementation difficulty and development cost.

[0062] In this application, the touch detection diaphragm is covered on the product. The diaphragm is composed of a capacitance detection matrix. When the user approaches the surface and makes a gesture action, such as making a fist, stretching, or sliding up, down, left, or right, the capacitance value of the capacitance detection matrix of the detection diaphragm changes. Different capacitance signals are obtained by sampling the charge amount of the capacitance reflux through the hardware circuit to calculate the change signals of each capacitance on the capacitance detection matrix, and then after filtering the change signals, the change of the distant gesture is judged according to the trajectory and route of the signal intensity change.

[0063] Specifically, when the user approaches, the capacitance of the detection diaphragm to the ground will change, that is, the capacitance signal will change. When the gesture changes, the capacitance signal will also change accordingly. Different gestures generate different capacitance signals. Therefore, by collecting the capacitance signal and matching it with the gesture library, the corresponding gesture can be determined.

[0064] Considering that directly using the collected capacitance signal for judgment may not be accurate enough, it is necessary to filter the collected capacitance signal before participating in the subsequent calculation.

[0065] Specifically, the filtered capacitance signal needs to be compared with the characteristic signals of the gestures in the gesture library. If they are the same, the gesture corresponding to the characteristic signal is the gesture output by the user. If they are different, it indicates a matching failure, which may mean that the user has output a gesture not predefined in advance or has no need to output a gesture.

[0066] The present invention discloses a method for judging gestures, which relates to the field of capacitance detection and includes obtaining a voltage signal representing the change in the capacitance value of a capacitance diaphragm; performing filtering processing on the voltage signal; judging whether the filtered voltage signal can match the characteristic signals in the gesture library according to the intensity of the voltage signal and the derivative of the voltage signal based on time; if a characteristic signal can be matched, outputting the gesture corresponding to the characteristic signal, where the gesture includes one or more combinations of finger sliding in a preset direction, making a fist, and stretching; if a characteristic signal cannot be matched, outputting an identification failure signal. By the characteristic signals corresponding to each gesture in the pre-determined gesture library, if the voltage signal after filtering processing can match the characteristic signal, the specific gesture of the user can be determined. There is no need to add a new sensor. Using a capacitance diaphragm covering the product, the diaphragm has a small volume and can avoid occupying extra space.

[0067] Based on the above embodiments:

[0068] Figure 2 It is a flowchart of another method for judging gestures provided by the present invention;

[0069] In some embodiments, the capacitance diaphragm includes a plurality of unit capacitors arranged in a matrix;

[0070] Obtaining a voltage signal representing the change in the capacitance value of a capacitance diaphragm includes:

[0071] Obtaining the capacitance value of each unit capacitor of the capacitance diaphragm covering the product within a preset sampling time;

[0072] Converting the capacitance value into a voltage signal, and each voltage signal corresponds to a unit capacitor;

[0073] Judging whether the filtered voltage signal can match the characteristic signals in the gesture library according to the intensity of the voltage signal and the derivative of the voltage signal based on time includes:

[0074] Sorting each voltage signal according to the arrangement of the corresponding unit capacitors to obtain a voltage signal matrix;

[0075] Judging whether the filtered voltage signal can match the characteristic signals in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the derivative of the voltage signal based on time.

[0076] First, the change amount of each unit capacitance on the touch function diaphragm will be recorded. Through sampling, the change amount of the capacitance signal of the sensor is obtained. According to the designs of different products, the number of sensors is variable. The number of sensors on the detection diaphragm is at least a 3×3 matrix, and specific design can be carried out according to actual needs.

[0077] In some embodiments, determining whether the voltage signal after filtering processing can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal includes:

[0078] Determining whether the intensities of multiple voltage signals increase sequentially in a preset direction on the voltage signal matrix and the time-based differential values of the voltage signals first increase and then decrease within a preset time;

[0079] If so, when the intensity of each voltage signal exceeds the preset signal intensity, the maximum value of the time-based differential value of each voltage signal within the preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the gesture library that has the same motion trajectory as the preset direction.

[0080] There are mainly two signals involved in determining the gesture: ① the signal intensity of the current sensor, ② the speed of signal increase or decrease (differential value). For example, on a 3X3 sensor matrix, when the gesture slides from left to right, the signal characteristics will show that the absolute value of the signal intensity increases sequentially from left to right, and at the same time, the signal differential value (derivative value) will increase first and then decrease within a certain time (approaching → leaving). When the absolute signal strength exceeds the threshold (judging that there is indeed an object approaching) && the maximum value of the differential within a certain time exceeds the upper limit value (approaching), and the minimum value exceeds the lower limit value (approaching → leaving), the movement trajectory of the hand is matched.

[0081] After the output data after the above median filtering and high-pass filtering exceeds the set threshold and lasts for more than 50 ms, it is determined that an object is approaching. Set threshold: When an object approaches in an actual product, such as a human hand or a metal probe, the filtered performance value generally has an individual difference upper limit floating by 10% according to different product samples.

[0082] Specifically, according to the change direction of the signal intensity, it can be determined that the user's gesture is specifically in multiple directions such as from left to right, from right to left, from top to bottom, or from bottom to top, and design can be carried out according to actual needs.

[0083] In some embodiments, determining whether the voltage signal after filtering processing can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal includes:

[0084] Determine whether the intensities of multiple voltage signals increase successively in multiple directions from the center to the surroundings with the position of a certain voltage signal as the center on the voltage signal matrix, and whether the time-based differential values of the voltage signals first increase and then decrease within a preset time;

[0085] If so, when the intensities of all voltage signals exceed the preset signal intensity, the maximum value of the time-based differential values of all voltage signals within the preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the gesture library that has the same movement trajectory as the multiple directions from the center to the surroundings.

[0086] For the detection of palm opening and clenching, it is not a single sliding curve, but multiple directions (generally, the number of directions ≥ 3) to judge the signal intensity and change rate, and judge the gesture of palm opening and clenching according to the characteristics of whether the signal is expanding growth or converging growth.

[0087] Specifically, when the palm is open, the intensity at the center is the smallest and gradually increases from the center to the surroundings, that is, the characteristic of outward expansion growth. If this characteristic is matched, it is determined that the user's gesture is palm opening.

[0088] In some embodiments, judging whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal includes:

[0089] Determine whether the intensities of multiple voltage signals increase successively in multiple directions from the surroundings to the center with the position of a certain voltage signal as the center on the voltage signal matrix, and whether the time-based differential values of the voltage signals first increase and then decrease within a preset time;

[0090] If so, when the intensities of all voltage signals exceed the preset signal intensity, the maximum value of the time-based differential values of all voltage signals within the preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the gesture library that has the same movement trajectory as the multiple directions from the surroundings to the center.

[0091] For the detection of palm opening and clenching, it is not a single sliding curve, but multiple directions (generally, the number of directions ≥ 3) to judge the signal intensity and change rate, and judge the gesture of palm opening and clenching according to the characteristics of whether the signal is expanding growth or converging growth.

[0092] Specifically, when clenching the fist, the intensity at the center is the largest and gradually increases from the surroundings to the center, that is, the characteristic of inward convergence growth. If this characteristic is matched, it is determined that the user's gesture is clenching the fist.

[0093] In summary, the process of this application is as follows: ① Calculate the change in the original capacitance signal of each unit on the functional membrane matrix. ② Perform median filtering and high-pass filter processing on the signal changes generated by each unit. ③ Sort the magnitudes of the unit signals to determine the gesture trajectory. ④ Output the gesture signal.

[0094] Specifically, the output gesture signal can be an enumerated type in the code. Here, according to the user's definition method, the matching value of the enumeration can be understood as the internal software signal output of 1 or 0. If it is the output signal of a hardwired connection, it is the high or low level 1 or 0.

[0095] In some embodiments, filtering the voltage signal includes:

[0096] Set the window depth of the median filter to k, where k is a positive integer;

[0097] Use the median filter to perform median filtering on the voltage signal. The signal output by the median filter is y[n]=median(x[n−k],…,x[n-j],…,x[n]);

[0098] Among them, n is the position of the current voltage signal, y[n] is the current voltage signal after median filtering, x[n] is the current voltage signal, median(x[n−k],…,x[n-j],…,x[n]) is the median of x[n−k] to x[n], and k is a positive integer less than n.

[0099] Taking k as 32 as an example, after passing through a median filter with a calculation window depth of 32, taking the window median as the output, n is the current position, the window depth is 32, recording the signals of the past 32 samplings, arranging them from small to large, and taking the median as the current output.

[0100] Record each sensor matrix unit, and store the recording results in a cache array from small to large up to 32, and take the median of the cache data as the output value, that is, the data with an index of 16. In some embodiments, after using the median filter to perform median filtering on the voltage signal, it further includes:

[0101] Set the mutation threshold;

[0102] When the signal value of the current voltage signal after median filtering exceeds the mutation threshold, it is determined that current electromagnetic interference is received, and the current voltage signal after median filtering is discarded.

[0103] If electromagnetic interference / signal mutation occurs, it will cause the output value of the median filter to mutate. At this time, the signal has not been amplified by the high-pass filter yet, resulting in a misjudgment of whether the object is approaching. Intuitively, when the product is in an environment with severe electromagnetic interference, such as a substation, and there is no object approaching the product, the detection algorithm will calculate an overly large output value due to electromagnetic interference, thus misjudging that an object is approaching when there is actually no object approaching.

[0104] Therefore, there is a limit processing for mutation values. The processing limit method is an empirical value, that is, the mutation threshold obtained from multiple previous experiments. If it exceeds the mutation threshold, it proves that there may be electromagnetic interference at this time.

[0105] In some embodiments, after using the median filter to perform median filtering on the voltage signal, it further includes:

[0106] Using a high-pass filter to amplify the signal output by the median filter. The signal output by the high-pass filter is y[i]=y[i - 1]+(x[i]×16384 - y[i - 1] / 16384×Fc);

[0107] Wherein, y[i] is the current voltage signal output by the high-pass filter, y[i - 1] is the voltage signal output by the high-pass filter last time, x[i] is the current voltage signal input to the high-pass filter, and Fc is the cut-off frequency of the high-pass filter;

[0108] Judging whether the filtered voltage signal can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal, including:

[0109] Judging whether the voltage signal output by the high-pass filter can match the characteristic signal in the gesture library according to the intensity of the voltage signal output by the high-pass filter and the time-based differential value of the voltage signal output by the high-pass filter.

[0110] After signal amplification processing by the high-pass filter, an intensity signal is output. The change of the gesture is judged according to the trajectory or fluctuation of the intensity signal change. According to the strength change of the signals on the matrix of the functional diaphragm, the internal gesture library can be matched. For different gestures, the signal change when swiping across the corresponding unit is certain. After judging these characteristic signals, the characteristic signals in the gesture library can be matched. If they match, the corresponding gesture result is output. If they do not match, an identification failure signal is output.

[0111] Specifically, 16384 is the 14th power of 2 and is used for normalization. According to different actual ADC sampling precisions, the normalization parameter 16384 will be adjusted. Generally, for the calculation speed of the MCU, the specific value is 2 n 。

[0112] Further, considering the possible problem of accidental touch, the present application also involves an anti-accidental-touch strategy.

[0113] In some embodiments, after filtering the voltage signal, it further includes:

[0114] Determine the number of voltage signals whose values change;

[0115] If the number is less than a preset number, it is determined as an accidental-touch signal.

[0116] When the user's action generates a gesture, it is inevitable to move from one capacitive unit to another capacitive unit, and the capacitance values of at least two capacitive units will change, and then the voltage signal will also change. To avoid accidental touch, a preset number can be set. When the number of voltage signals whose values change reaches the preset number, it is considered a real and effective gesture, otherwise it is considered an accidental-touch signal, and there is no need to enter the step of determining whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time derivative of the voltage signal based on time.

[0117] In some embodiments, after filtering the voltage signal, it further includes:

[0118] Determine the time when the intensity of each voltage signal exceeds a preset signal intensity;

[0119] If the time does not exceed a preset time, it is determined as an accidental-touch signal.

[0120] When the user makes a gesture, the time will surely exceed the reaction time of a person. Therefore, only when the signal with a duration exceeding the preset time is likely to be a gesture signal sent by the user. Specifically, the preset time can be set at 50 ms. If the time when the intensity of the voltage signal exceeds the preset signal intensity is more than 50 ms, it is determined as non-accidental touch, otherwise it is considered an accidental-touch signal, and there is no need to enter the step of determining whether the filtered voltage signal can match the characteristic signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time derivative of the voltage signal based on time.

[0121] Figure 3 FIG. 28 is a schematic structural diagram of a gesture judgment system provided by the present invention. The gesture judgment system includes:

[0122] A voltage signal acquisition unit 31 for acquiring a voltage signal representing the change in the capacitance value of the capacitive membrane;

[0123] A filtering unit 32 for filtering the voltage signal;

[0124] A matching judgment unit 33, configured to judge whether the voltage signal after filtering can match the feature signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal; if so, trigger the output unit 34; if not, trigger the matching failure unit 35;

[0125] An output unit 34, configured to output the gesture corresponding to the feature signal, and the gesture includes one or a combination of multiple gestures such as fingers sliding in a preset direction, making a fist, and stretching;

[0126] A matching failure unit 35, configured to output an identification failure signal.

[0127] Based on the above embodiments:

[0128] The capacitive diaphragm includes a plurality of unit capacitors, and the plurality of unit capacitors are arranged in a matrix;

[0129] The voltage signal acquisition unit 31 is specifically configured to acquire the capacitance value of each unit capacitor of the capacitive diaphragm covering the product within a preset sampling time;

[0130] A capacitance conversion unit, configured to convert the capacitance value into a voltage signal, and each voltage signal corresponds to a unit capacitor;

[0131] A sorting unit, configured to sort each voltage signal according to the arrangement manner of the corresponding unit capacitor to obtain a voltage signal matrix;

[0132] The matching judgment unit 33 is specifically configured to judge whether the voltage signal after filtering can match the feature signal in the gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal.

[0133] The matching judgment unit 33 is specifically configured to judge whether the intensities of multiple voltage signals increase sequentially in a preset direction on the voltage signal matrix and the time-based differential value of the voltage signal increases first and then decreases within a preset time; if so, trigger the first matching success unit;

[0134] The first matching success unit is configured to determine the gesture in the gesture library that has the same motion trajectory as the preset direction when the intensities of all voltage signals exceed the preset signal intensity, the maximum value of the time-based differential value of all voltage signals within the preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value.

[0135] The matching judgment unit 33 is specifically configured to judge whether the intensities of multiple voltage signals increase sequentially in multiple directions from the center to the periphery with the position of a certain voltage signal as the center on the voltage signal matrix and the time-based differential value of the voltage signal increases first and then decreases within a preset time; if so, trigger the second matching success unit;

[0136] A second matching success unit, configured to determine a gesture in the matching gesture library that has the same movement trajectory as that in multiple directions from the center to the periphery when the intensities of all voltage signals exceed a preset signal intensity, the maximum value of the micro differential value of each voltage signal based on time within a preset time is greater than a differential upper limit value, and the minimum value is less than a differential lower limit value.

[0137] A matching judgment unit 33, specifically configured to judge whether the intensities of multiple voltage signals increase sequentially in multiple directions from the periphery to the center with the position of a certain voltage signal as the center on the voltage signal matrix, and the micro differential value of the voltage signal based on time first increases and then decreases within a preset time; if so, trigger a third matching success unit

[0138] A third matching success unit, configured to determine a gesture in the matching gesture library that has the same movement trajectory as that in multiple directions from the periphery to the center when the intensities of all voltage signals exceed a preset signal intensity, the maximum value of the micro differential value of each voltage signal based on time within a preset time is greater than a differential upper limit value, and the minimum value is less than a differential lower limit value.

[0139] A median filtering setting unit, configured to set the window depth of the median filter to k, where k is a positive integer;

[0140] A median filtering unit, configured to perform median filtering on the voltage signal using the median filter, and the signal output by the median filter is y[n]=median(x[n−k],…,x[n-j],…,x[n]);

[0141] where n is the position of the current voltage signal, y[n] is the current voltage signal after median filtering, x[n] is the current voltage signal, median(x[n−k],…,x[n-j],…,x[n]) is the median of x[n−k] to x[n], and k is a positive integer less than n.

[0142] A threshold setting unit, configured to set a mutation threshold;

[0143] A discarding unit, configured to determine that current electromagnetic interference occurs and discard the current voltage signal after median filtering when the signal value of the current voltage signal after median filtering exceeds the mutation threshold.

[0144] A filtering unit 32, specifically configured to perform amplification processing on the signal output by the median filter using a high-pass filter, and the signal output by the high-pass filter is:

[0145] y[i]=y[i-1]+(x[i]×16384-y[i-1] / 16384×Fc);

[0146] Among them, y[i] is the current voltage signal output by the high-pass filter, y[i - 1] is the voltage signal output by the high-pass filter last time, x[i] is the current voltage signal input to the high-pass filter, and Fc is the cut-off frequency of the high-pass filter;

[0147] The matching judgment unit 33 is specifically configured to judge whether the voltage signal output by the high-pass filter can match the feature signal in the gesture library according to the intensity of the voltage signal output by the high-pass filter and the time-based differential value of the voltage signal output by the high-pass filter.

[0148] For the introduction of the gesture judgment system provided in this application, please refer to the above-mentioned embodiments and will not be elaborated here.

[0149] Figure 4 FIG. is a schematic structural diagram of a gesture judgment device provided by the present invention. The gesture judgment device includes:

[0150] A memory 41 for storing a computer program;

[0151] A processor 42 for implementing the steps of the above-mentioned gesture judgment method when executing the computer program.

[0152] For the introduction of the gesture judgment device provided in this application, please refer to the above-mentioned embodiments and will not be elaborated here.

[0153] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0154] Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.

[0155] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for judging a gesture, characterized in that Including: Obtaining a voltage signal representing a change in the capacitance value of a capacitive diaphragm; Performing filtering processing on the voltage signal; Judging whether the voltage signal after filtering processing can match a characteristic signal in a gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal; If the characteristic signal can be matched, outputting the gesture corresponding to the characteristic signal, where the gesture includes one or more combinations of finger sliding in a preset direction, making a fist, and stretching; If the characteristic signal cannot be matched, outputting an identification failure signal.

2. The method for judging a gesture according to claim 1, wherein, The capacitive diaphragm includes a plurality of unit capacitors, and the plurality of unit capacitors are arranged in a matrix form; Obtaining a voltage signal representing a change in the capacitance value of a capacitive diaphragm includes: Obtaining the capacitance value of each unit capacitor of the capacitive diaphragm covering the product within a preset sampling time; Converting the capacitance value into a voltage signal, and each voltage signal corresponds to a unit capacitor; Judging whether the voltage signal after filtering processing can match a characteristic signal in a gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal includes: Sorting each voltage signal according to the arrangement mode of the corresponding unit capacitor to obtain a voltage signal matrix; Judging whether the voltage signal after filtering processing can match a characteristic signal in a gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal.

3. The method for judging a gesture according to claim 2, wherein, Judging whether the voltage signal after filtering processing can match a characteristic signal in a gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal includes: Judging whether the intensities of multiple voltage signals increase sequentially in a preset direction on the voltage signal matrix and the time-based differential value of the voltage signal first increases and then decreases within a preset time; If so, when the intensities of all the voltage signals exceed a preset signal intensity, the maximum value of the time-based differential value of each voltage signal within the preset time is greater than a differential upper limit value, and the minimum value is less than a differential lower limit value, determining a gesture in the gesture library with the same motion trajectory as the preset direction.

4. The method for judging a gesture according to claim 2, wherein, Judging whether the voltage signal after filtering processing can match a characteristic signal in a gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal includes: Judging whether the intensities of multiple voltage signals increase sequentially in multiple directions from the center to the periphery with the position of a certain voltage signal as the center on the voltage signal matrix and the time-based differential value of the voltage signal first increases and then decreases within a preset time; If so, when the intensities of all the voltage signals exceed a preset signal intensity, the maximum value of the time-based differential value of each voltage signal within the preset time is greater than a differential upper limit value, and the minimum value is less than a differential lower limit value, determining a gesture in the gesture library with the same motion trajectory as the multiple directions from the center to the periphery.

5. The method for judging a gesture according to claim 2, characterized in that, Judging whether the voltage signal after filtering processing can match a characteristic signal in a gesture library according to the voltage signal matrix, the intensity of the voltage signal, and the time-based differential value of the voltage signal includes: Determine whether the intensities of multiple said voltage signals increase successively in multiple directions from the periphery to the center with the position of a certain voltage signal as the center on the voltage signal matrix, and whether the time-based differential value of the voltage signal first increases and then decreases within a preset time; If so, when the intensities of each said voltage signal exceed a preset signal intensity, the maximum value of the time-based differential value of each said voltage signal within a preset time is greater than the differential upper limit value, and the minimum value is less than the differential lower limit value, determine the gesture in the matching gesture library with the same movement trajectory as that in multiple directions from the periphery to the center.

6. The method for judging a gesture according to any one of claims 1 to 5, characterized in that Perform filtering processing on the voltage signal, including: Set the window depth of the median filter to k, where k is a positive integer; Use the median filter to perform median filtering on the voltage signal, and the signal output by the median filter is y[n]=median(x[n−k],…,x[n-j],…,x[n]); Where n is the position index of the current voltage signal, y[n] is the current voltage signal after median filtering, x[n] is the current voltage signal, median(x[n−k],…,x[n-j],…,x[n]) is the median of x[n-k] to x[k], and k is a positive integer less than n.

7. The method for judging a gesture according to claim 6, characterized in that, After using the median filter to perform median filtering on the voltage signal, it further includes: Set the mutation threshold; When the signal value of the current voltage signal after median filtering exceeds the mutation threshold, determine that electromagnetic interference is currently received, and discard the current voltage signal after median filtering.

8. The method for judging a gesture according to claim 6, wherein, After using the median filter to perform median filtering on the voltage signal, it further includes: Use a high-pass filter to amplify the signal output by the median filter, and the signal output by the high-pass filter is y[i]=y[i-1]+(x[i]×16384-y[i-1] / 16384×Fc); Where y[i] is the current voltage signal output by the high-pass filter, y[i-1] is the voltage signal output by the high-pass filter last time, x[i] is the current voltage signal input to the high-pass filter, and Fc is the cut-off frequency of the high-pass filter; Judge whether the voltage signal after filtering processing can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal, including: Judge whether the voltage signal output by the high-pass filter can match the characteristic signal in the gesture library according to the intensity of the voltage signal output by the high-pass filter and the time-based differential value of the voltage signal output by the high-pass filter.

9. A gesture judgment system, characterized in that It includes: A voltage signal acquisition unit for acquiring a voltage signal representing the change in the capacitance value of the capacitive diaphragm; A filtering unit for performing filtering processing on the voltage signal; A matching judgment unit for judging whether the voltage signal after filtering processing can match the characteristic signal in the gesture library according to the intensity of the voltage signal and the time-based differential value of the voltage signal; if so, trigger the output unit; if not, trigger the matching failure unit; An output unit for outputting a gesture corresponding to the feature signal, the gesture including one or more combinations of sliding fingers in a preset direction, making a fist, and stretching; A matching failure unit for outputting an identification failure signal.

10. A gesture judgment device, characterized in that, Comprising: A memory for storing a computer program; A processor for implementing the steps of the gesture judgment method according to any one of claims 1 to 8 when executing the computer program.