CN107300971A - The intelligent input method and system propagated based on osteoacusis vibration signal - Google Patents
The intelligent input method and system propagated based on osteoacusis vibration signal Download PDFInfo
- Publication number
- CN107300971A CN107300971A CN201710433231.5A CN201710433231A CN107300971A CN 107300971 A CN107300971 A CN 107300971A CN 201710433231 A CN201710433231 A CN 201710433231A CN 107300971 A CN107300971 A CN 107300971A
- Authority
- CN
- China
- Prior art keywords
- signal
- vibration
- vibration signal
- intelligent input
- algorithm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
- G04G21/02—Detectors of external physical values, e.g. temperature
- G04G21/025—Detectors of external physical values, e.g. temperature for measuring physiological data
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
- G06F18/24133—Distances to prototypes
- G06F18/24143—Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/014—Hand-worn input/output arrangements, e.g. data gloves
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Physiology (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明提供了一种基于骨传导振动信号传播的智能输入方法及系统,该智能输入方法包括:S1.接收步骤,智能设备用振动传感器接收振动信号,并对振动信号进行降噪处理;S2.提取步骤,利用双门限端点检测法检测并提取由于敲击人体指定部位产生的振动信号片段;S3.处理步骤,提取信号特征,基于RNM算法来分类信号位置。本发明的有益效果是:本发明不仅解决智能手表文本输入方式的问题,还能达到高识别率,并且可以快速进行输入,也不损耗智能手表的续航时间。
The present invention provides an intelligent input method and system based on bone conduction vibration signal propagation. The intelligent input method includes: S1. Receiving step, the intelligent device receives the vibration signal with a vibration sensor, and performs noise reduction processing on the vibration signal; S2. In the extraction step, the double-threshold endpoint detection method is used to detect and extract the vibration signal segment generated by knocking on the designated part of the human body; S3. The processing step is to extract the signal features, and classify the signal position based on the RNM algorithm. The beneficial effects of the present invention are: the present invention not only solves the problem of the smart watch text input method, but also achieves a high recognition rate, and can input quickly without losing the battery life of the smart watch.
Description
技术领域technical field
本发明涉及智能可穿戴设备技术领域,尤其涉及基于骨传导振动信号传播的智能输入方法及系统。The invention relates to the technical field of smart wearable devices, in particular to an intelligent input method and system based on bone conduction vibration signal propagation.
背景技术Background technique
近几年来,我们见证着智能可穿戴设备的快速发展,智能手环、智能耳机、智能眼镜、智能头盔和智能手表等可穿戴设备在人们日常生活中日益流行,为人们所接受。在智能手机的创新空间不断缩小以及市场增量接近饱和的情况下,智能可穿戴设备作为移动终端产业的下一个热点已被市场广泛认同,被预言为即将取代手机的发明。In recent years, we have witnessed the rapid development of smart wearable devices. Wearable devices such as smart bracelets, smart earphones, smart glasses, smart helmets and smart watches have become increasingly popular and accepted in people's daily life. With the innovation space of smart phones shrinking and the market growth approaching saturation, smart wearable devices, as the next hot spot in the mobile terminal industry, have been widely recognized by the market and predicted to be an invention that will soon replace mobile phones.
智能手表作为一种便携式设备而流行。但是,它的小巧和轻便也面临不可规避的技术问题。由于屏幕较小,每次只能显示若干个键,并且会挡住其他内容的显示,效率很低。目前智能手表实现文本输入的方式主要有三种:传统键盘、文本预测和语音识别。但以上方式要么不够方便灵活,要么不够安全。在有环境噪声情况下语音识别率很难达到理想效果,并且对于保护用户密码及其他隐私方面,在公共场合使用语音输入是明显不适合的。尽管多国科研团队开发出手指跟踪识别技术,但用户对于键盘使用的体验始终无法与大屏幕智能手机有效快捷舒适的文本输入对比,比如2016年美国华盛顿大学的科研团队实现了毫米级的精准手指跟踪技术,让用户在移动设备上实现基于声波定位的手写输入,但手写输入始终还是太慢,不能满足人们的需求。想要扩大智能手表的市场需求,就必须深度挖掘其应用并解决文本输入问题。Smart watches are popular as a portable device. However, its compactness and lightness also face unavoidable technical problems. Due to the small screen, only a few keys can be displayed at a time, and the display of other content will be blocked, so the efficiency is very low. At present, there are three main ways for smart watches to realize text input: traditional keyboard, text prediction and speech recognition. But the above methods are either not convenient and flexible enough, or not safe enough. In the presence of environmental noise, the voice recognition rate is difficult to achieve the desired effect, and for the protection of user passwords and other privacy, it is obviously not suitable to use voice input in public places. Although multi-national scientific research teams have developed finger tracking and recognition technology, the user experience of keyboard use has never been compared with the effective, fast and comfortable text input of large-screen smartphones. For example, in 2016, the research team of the University of Washington in the United States achieved millimeter-level precise finger tracking. technology, allowing users to implement handwriting input based on acoustic positioning on mobile devices, but handwriting input is still too slow to meet people's needs. If you want to expand the market demand for smart watches, you must dig deep into its applications and solve the text input problem.
发明内容Contents of the invention
本发明提供了一种基于骨传导振动信号传播的智能输入方法,包括如下步骤:The present invention provides an intelligent input method based on bone conduction vibration signal propagation, comprising the following steps:
S1.接收步骤,智能设备用振动传感器接收振动信号,并对振动信号进行降噪处理;S1. Receiving step, the smart device receives the vibration signal with the vibration sensor, and performs noise reduction processing on the vibration signal;
S2.提取步骤,利用双门限端点检测法检测并提取由于敲击人体指定部位产生的振动信号片段;S2. The extraction step is to detect and extract the vibration signal segment generated by knocking the designated part of the human body by using the double-threshold endpoint detection method;
S3.处理步骤,提取信号特征,基于RNM算法来分类信号位置。S3. A processing step, extracting signal features, and classifying signal positions based on the RNM algorithm.
作为本发明的进一步改进,在所述S2.提取步骤中包括:As a further improvement of the present invention, in the S2. extracting step, include:
步骤S21,对处理的信号设置高、低两个门限;Step S21, setting two thresholds, high and low, for the processed signal;
步骤S22,当信号的能量或过零率超越低门限,初步确定敲击信号起点,而当信号的能量或过零率突破高门限,才确定敲击信号真正的起点;当信号能量和过零率同时低于低门限时,确定信号终点;Step S22, when the energy or zero-crossing rate of the signal exceeds the low threshold, the starting point of the knocking signal is initially determined, and when the energy or zero-crossing rate of the signal breaks through the high threshold, the real starting point of the knocking signal is determined; when the signal energy and zero-crossing When the rate is lower than the low threshold at the same time, determine the end of the signal;
步骤S23,保留起点至终点的数据,得到由敲击手背产生的振动信号片段。Step S23, keeping the data from the start point to the end point, and obtaining the vibration signal segment generated by tapping the back of the hand.
作为本发明的进一步改进,所述S3.处理步骤中包括:As a further improvement of the present invention, the S3. processing step includes:
步骤S31,对切段信号进行归一化,提取梅尔频率倒频谱系数,得到信号特征;Step S31, normalize the segmented signal, extract the Mel-frequency cepstral coefficient, and obtain the signal feature;
步骤S32,对信号特征使用基于随机子空间和最近中心点算法的RNM算法进行分类,进而判断出敲击位置;Step S32, using the RNM algorithm based on the random subspace and the nearest center point algorithm to classify the signal features, and then determine the tapping position;
所述步骤S32包括:Described step S32 comprises:
步骤S321,根据敲击位置的不同,采集步骤S31得到的信号特征作训练样本,并进行分类;Step S321, according to the different tapping positions, collect the signal features obtained in step S31 as training samples, and classify them;
步骤S322,使用最近中心点算法计算训练样本的每一类中心点;Step S322, using the nearest center point algorithm to calculate each type of center point of the training sample;
步骤S323,基于随机子空间,测试样本与训练样本的类中心点多次在子空间对比,得到多个分类结果;Step S323, based on the random subspace, the center points of the test sample and the training sample are compared in the subspace multiple times to obtain multiple classification results;
步骤S324,对分类结果使用简单多数投票原则,并且设置一定票数比例,获得多数票同时达到一定的票数的情况下得到最终分类结果;Step S324, using the principle of simple majority voting for the classification results, and setting a certain proportion of votes, and obtaining the final classification results when a majority of votes is obtained and a certain number of votes is reached at the same time;
步骤S325,将分类成功的样本归入新的训练样本,重新计算新训练样本的新类中心点。Step S325, classify the successfully classified samples into new training samples, and recalculate the new class center points of the new training samples.
作为本发明的进一步改进,在所述步骤S321中,对手背不同位置敲击,采集得到步骤S31的信号特征作为训练样本,标记位置并根据位置的不同分成n类,每类敲击m次,其中n与m大于或等于1;As a further improvement of the present invention, in the step S321, knock on different positions on the back of the hand, collect the signal features of the step S31 as a training sample, mark the position and divide it into n categories according to the position, and knock m times for each category, where n and m are greater than or equal to 1;
在所述步骤S323中,将步骤S322中每一次产生的类中心分别随机抽样T个属性,重复以上操作Q次,得到Q个子空间,在子空间里逐一对比测试样本与训练样本的各个类中心点的欧式距离,找到最近中心点,即得到Q个子空间分类的结果,其中T、Q大于1。In the step S323, T attributes are randomly sampled from each class center generated in the step S322, and the above operation is repeated Q times to obtain Q subspaces, and each class center of the test sample and the training sample is compared one by one in the subspace The Euclidean distance of the point, find the nearest center point, that is, get the result of Q subspace classification, where T and Q are greater than 1.
作为本发明的进一步改进,在所述S2.提取步骤中,人体指定部位为手背;As a further improvement of the present invention, in the S2. extraction step, the designated part of the human body is the back of the hand;
振动传感器为压电陶瓷振动传感器;The vibration sensor is a piezoelectric ceramic vibration sensor;
所述S1.接收步骤中,对振动信号进行降噪处理包括:In the S1. receiving step, performing noise reduction processing on the vibration signal includes:
步骤S11,使用20Hz的巴特沃斯高通滤波器滤掉直流分量和低频噪声;Step S11, using a 20Hz Butterworth high-pass filter to filter out the DC component and low-frequency noise;
步骤S12,使用800Hz低通滤波滤掉高频噪声。Step S12, use 800Hz low-pass filter to filter out high-frequency noise.
本发明还提供了一种基于骨传导振动信号传播的智能输入系统,包括:The present invention also provides an intelligent input system based on bone conduction vibration signal propagation, including:
接收模块,智能设备用振动传感器接收振动信号,并对振动信号进行降噪处理;The receiving module, the smart device uses the vibration sensor to receive the vibration signal, and performs noise reduction processing on the vibration signal;
提取模块,利用双门限端点检测法检测并提取由于敲击人体指定部位产生的振动信号片段;The extraction module uses the double-threshold endpoint detection method to detect and extract the vibration signal fragments generated by knocking on the designated parts of the human body;
处理模块,提取信号特征,基于RNM算法来分类信号位置。The processing module extracts signal features and classifies signal positions based on the RNM algorithm.
作为本发明的进一步改进,在所述提取模块中包括:As a further improvement of the present invention, the extraction module includes:
第一提取模块,用于对处理的信号设置高、低两个门限;The first extraction module is used to set two thresholds, high and low, for the processed signal;
第二提取模块,用于当信号的能量或过零率超越低门限,初步确定敲击信号起点,而当信号的能量或过零率突破高门限,才确定敲击信号真正的起点;当信号能量和过零率同时低于低门限时,确定信号终点;The second extraction module is used to preliminarily determine the starting point of the knocking signal when the energy or zero-crossing rate of the signal exceeds the low threshold, and determine the real starting point of the knocking signal when the energy or zero-crossing rate of the signal breaks through the high threshold; When the energy and zero-crossing rate are lower than the low threshold at the same time, the end of the signal is determined;
第三提取模块,用于保留起点至终点的数据,得到由敲击手背产生的振动信号片段。The third extraction module is used to retain the data from the start point to the end point, and obtain the vibration signal segment generated by tapping the back of the hand.
作为本发明的进一步改进,所述处理模块中包括:As a further improvement of the present invention, the processing module includes:
第一处理模块,用于对切段信号进行归一化,提取梅尔频率倒频谱系数,得到信号特征;The first processing module is used to normalize the segmented signal, extract mel frequency cepstral coefficients, and obtain signal features;
第二处理模块,用于对信号特征使用基于随机子空间和最近中心点算法的RNM算法进行分类,进而判断出敲击位置;The second processing module is used to classify the signal features using the RNM algorithm based on the random subspace and the nearest center point algorithm, and then determine the knocking position;
所述第二处理模块包括:The second processing module includes:
第一处理单元,用于根据敲击位置的不同,采集步骤S31得到的信号特征作训练样本,并进行分类;The first processing unit is used to collect the signal features obtained in step S31 as training samples according to the different tapping positions, and classify them;
第二处理单元,用于使用最近中心点算法计算训练样本的每一类中心点;The second processing unit is used to calculate each type of center point of the training sample using the nearest center point algorithm;
第三处理单元,用于基于随机子空间,测试样本与训练样本的类中心点多次在子空间对比,得到多个分类结果;The third processing unit is used to compare the center points of the test sample and the training sample in the subspace multiple times based on the random subspace to obtain multiple classification results;
第四处理单元,用于对分类结果使用简单多数投票原则,并且设置一定票数比例,获得多数票同时达到一定的票数的情况下得到最终分类结果;The fourth processing unit is used to use the principle of simple majority voting on the classification results, and set a certain proportion of votes, and obtain the final classification results when a majority of votes is obtained and a certain number of votes is obtained;
第五处理单元,用于将分类成功的样本归入新的训练样本,重新计算新训练样本的新类中心点。The fifth processing unit is used to classify the successfully classified samples into new training samples, and recalculate the new center points of the new training samples.
作为本发明的进一步改进,在所述第一处理单元中,对手背不同位置敲击,采集得到步骤S31的信号特征作为训练样本,标记位置并根据位置的不同分成n类,每类敲击m次,其中n与m大于或等于1;As a further improvement of the present invention, in the first processing unit, different positions on the back of the hand are tapped, and the signal features obtained in step S31 are collected as training samples, and the positions are marked and divided into n categories according to different positions, and each type of tap m times, where n and m are greater than or equal to 1;
在所述第三处理单元中,将第二处理单元中每一次产生的类中心分别随机抽样T个属性,重复以上操作Q次,得到Q个子空间,在子空间里逐一对比测试样本与训练样本的各个类中心点的欧式距离,找到最近中心点,即得到Q个子空间分类的结果,其中T、Q大于1。In the third processing unit, T attributes are randomly sampled from each class center generated in the second processing unit, and the above operation is repeated Q times to obtain Q subspaces, and the test samples and training samples are compared one by one in the subspaces The Euclidean distance of the center points of each class, find the nearest center point, that is, get the results of Q subspace classification, where T and Q are greater than 1.
作为本发明的进一步改进,As a further improvement of the present invention,
在所述提取模块中,人体指定部位为手背;In the extraction module, the designated part of the human body is the back of the hand;
振动传感器为压电陶瓷振动传感器;The vibration sensor is a piezoelectric ceramic vibration sensor;
所述接收模块中,对振动信号进行降噪处理包括:In the receiving module, performing noise reduction processing on the vibration signal includes:
第一接收模块,用于使用20Hz的巴特沃斯高通滤波器滤掉直流分量和低频噪声;The first receiving module is used to use a 20Hz Butterworth high-pass filter to filter out DC components and low-frequency noise;
第二接收模块,用于使用800Hz低通滤波滤掉高频噪声。The second receiving module is used to filter out high-frequency noise by using an 800Hz low-pass filter.
本发明的有益效果是:本发明不仅解决智能手表文本输入方式的问题,还能达到高识别率,并且可以快速进行输入,也不损耗智能手表的续航时间。The beneficial effects of the present invention are: the present invention not only solves the problem of the smart watch text input method, but also achieves a high recognition rate, and can input quickly without losing the battery life of the smart watch.
附图说明Description of drawings
图1是用户在手背敲击虚拟九宫格打字示意图;Figure 1 is a schematic diagram of the user typing on the virtual Jiugongge on the back of the hand;
图2是压电陶瓷振动传感器的原理图;Fig. 2 is a schematic diagram of a piezoelectric ceramic vibration sensor;
图3是压电陶瓷振动传感器的结构图;Fig. 3 is the structural diagram of piezoelectric ceramic vibration sensor;
图4是原始信号波形图;Fig. 4 is an original signal waveform diagram;
图5是自适应滤波图;Figure 5 is an adaptive filtering diagram;
图6是低通滤波图;Fig. 6 is a low-pass filtering figure;
图7是RNM算法流程图。Fig. 7 is a flowchart of the RNM algorithm.
具体实施方式detailed description
如图1所示,本发明公开了一种基于骨传导振动信号传播的智能输入方法,包括如下步骤:As shown in Figure 1, the present invention discloses an intelligent input method based on bone conduction vibration signal propagation, including the following steps:
S1.接收步骤,智能设备用振动传感器接收振动信号,并对振动信号进行降噪处理;S1. Receiving step, the smart device receives the vibration signal with the vibration sensor, and performs noise reduction processing on the vibration signal;
S2.提取步骤,利用双门限端点检测法检测并提取由于敲击人体指定部位产生的振动信号片段;S2. The extraction step is to detect and extract the vibration signal segment generated by knocking the designated part of the human body by using the double-threshold endpoint detection method;
S3.处理步骤,提取信号特征,基于RNM算法来分类信号位置。S3. A processing step, extracting signal features, and classifying signal positions based on the RNM algorithm.
在所述S2.提取步骤中,人体指定部位为手背;In the S2. extraction step, the designated part of the human body is the back of the hand;
振动传感器为压电陶瓷振动传感器,智能设备包括智能手表,压电陶瓷振动传感器内置在智能手表里,图2、3为压电陶瓷振动传感器的原理图和结构图。因压电效应使内部极性产生变化,对外显示出电压的变化,让操作者敲击手背,采集敲击所产生的振动信号。The vibration sensor is a piezoelectric ceramic vibration sensor. Smart devices include smart watches, and the piezoelectric ceramic vibration sensor is built into the smart watch. Figures 2 and 3 show the schematic diagram and structure diagram of the piezoelectric ceramic vibration sensor. Due to the piezoelectric effect, the internal polarity changes, and the voltage change is displayed externally, allowing the operator to tap the back of the hand to collect the vibration signal generated by the tap.
图4为原始信号波形图,可以看出所采集的原始信号对外界抗干扰能力强,噪声较少。图5使用自适应滤波和图6使用低通滤波之后的波形图。低通滤波保留了信号更多的特征,对之后分类微小差别的振动信号的效果更好。Figure 4 is the waveform diagram of the original signal. It can be seen that the collected original signal has strong anti-interference ability to the outside world and less noise. Figure 5 shows waveforms using adaptive filtering and Figure 6 using low-pass filtering. Low-pass filtering retains more features of the signal, and has a better effect on the subsequent classification of vibration signals with small differences.
所述S1.接收步骤中,对振动信号进行降噪处理包括:In the S1. receiving step, performing noise reduction processing on the vibration signal includes:
步骤S11,使用20Hz的巴特沃斯高通滤波器滤掉直流分量和低频噪声;Step S11, using a 20Hz Butterworth high-pass filter to filter out the DC component and low-frequency noise;
步骤S12,使用800Hz低通滤波滤掉高频噪声。Step S12, use 800Hz low-pass filter to filter out high-frequency noise.
在所述S2.提取步骤中包括:Include in described S2. extraction step:
步骤S21,对处理的信号设置高、低两个门限;Step S21, setting two thresholds, high and low, for the processed signal;
步骤S22,当信号的能量或过零率超越低门限,初步确定敲击信号起点,而当信号的能量或过零率突破高门限,才确定敲击信号真正的起点;当信号能量和过零率同时低于低门限时,确定信号终点;Step S22, when the energy or zero-crossing rate of the signal exceeds the low threshold, the starting point of the knocking signal is initially determined, and when the energy or zero-crossing rate of the signal breaks through the high threshold, the real starting point of the knocking signal is determined; when the signal energy and zero-crossing When the rate is lower than the low threshold at the same time, determine the end of the signal;
步骤S23,只保留起点至终点的数据,得到由敲击手背产生的振动信号片段。Step S23, only keep the data from the start point to the end point, and obtain the vibration signal segment generated by tapping the back of the hand.
在S3.处理步骤中,提取信号特征包括:将初始化训练样本中起始点和终点最长的作为切段信号统一的长度,对切段后长度一致的信号进行归一化,使用公式为:其中x是振动信号,n是信号的维度。对归一化后的信号进行特征提取,减少计算量,并保留原信号大部分信息,特征提取的是信号的梅尔频率倒频谱系数,同时保留了时域和频域的特征。In the S3. processing step, extracting signal features includes: initializing the longest start point and end point in the training sample as the unified length of the segmented signal, and normalizing the signals with the same length after segmenting, using the formula: where x is the vibration signal and n is the dimension of the signal. Feature extraction is performed on the normalized signal to reduce the amount of calculation and retain most of the information of the original signal. The feature extraction is the Mel frequency cepstral coefficient of the signal, while retaining the features of the time domain and frequency domain.
所述S3.处理步骤中包括:Include in described S3. processing step:
步骤S31,对切段信号进行归一化,提取梅尔频率倒频谱系数,得到信号特征;Step S31, normalize the segmented signal, extract the Mel-frequency cepstral coefficient, and obtain the signal feature;
步骤S32,对信号特征使用基于随机子空间和最近中心点算法的RNM算法进行分类,进而判断出敲击位置;Step S32, using the RNM algorithm based on the random subspace and the nearest center point algorithm to classify the signal features, and then determine the tapping position;
如图7所示,在所述步骤S32中,基于RNM算法来分类信号位置包括:包括:As shown in FIG. 7, in the step S32, classifying signal positions based on the RNM algorithm includes: including:
步骤S321,根据敲击位置的不同,采集步骤S31得到的信号特征作训练样本,并进行分类(按照九宫格位置分成9类);Step S321, according to the different tapping positions, the signal features obtained in the acquisition step S31 are used as training samples, and classified (divided into 9 categories according to the position of the Jiugong grid);
步骤S322,使用最近中心点算法计算训练样本的每一类中心点;Step S322, using the nearest center point algorithm to calculate each type of center point of the training sample;
步骤S323,基于随机子空间,测试样本与训练样本的类中心点多次在子空间对比,得到多个分类结果;Step S323, based on the random subspace, the center points of the test sample and the training sample are compared in the subspace multiple times to obtain multiple classification results;
步骤S324,对分类结果使用简单多数投票原则,并且设置一定票数比例,获得多数票同时达到一定的票数的情况下得到最终分类结果;Step S324, using the principle of simple majority voting for the classification results, and setting a certain proportion of votes, and obtaining the final classification results when a majority of votes is obtained and a certain number of votes is reached at the same time;
步骤S325,将分类成功的样本归入新的训练样本,重新计算新训练样本的新类中心点。Step S325, classify the successfully classified samples into new training samples, and recalculate the new class center points of the new training samples.
在所述步骤S321中,对手背不同位置敲击,采集得到步骤S31的信号特征作为训练样本,标记位置并根据位置的不同分成n类,每类敲击m次,其中n与m大于或等于1;In said step S321, knock on different positions on the back of the hand, collect the signal features of step S31 as a training sample, mark the position and divide it into n categories according to the different positions, and knock m times for each category, wherein n and m are greater than or equal to 1;
在所述步骤S323中,将步骤S322中每一次产生的类中心分别随机抽样T个属性,重复以上操作Q次,得到Q个子空间,在子空间里逐一对比测试样本与训练样本的各个类中心点的欧式距离,找到最近中心点,即得到Q个子空间分类的结果,其中T、Q大于1。In the step S323, T attributes are randomly sampled from each class center generated in the step S322, and the above operation is repeated Q times to obtain Q subspaces, and each class center of the test sample and the training sample is compared one by one in the subspace The Euclidean distance of the point, find the nearest center point, that is, get the result of Q subspace classification, where T and Q are greater than 1.
本发明还公开了一种基于骨传导振动信号传播的智能输入系统,包括:The invention also discloses an intelligent input system based on bone conduction vibration signal propagation, including:
接收模块,智能设备用振动传感器接收振动信号,并对振动信号进行降噪处理;The receiving module, the smart device uses the vibration sensor to receive the vibration signal, and performs noise reduction processing on the vibration signal;
提取模块,利用双门限端点检测法检测并提取由于敲击人体指定部位产生的振动信号片段;The extraction module uses the double-threshold endpoint detection method to detect and extract the vibration signal fragments generated by knocking on the designated parts of the human body;
处理模块,提取信号特征,基于RNM算法来分类信号位置。The processing module extracts signal features and classifies signal positions based on the RNM algorithm.
在所述提取模块中包括:In the extraction module include:
第一提取模块,用于对处理的信号设置高、低两个门限;The first extraction module is used to set two thresholds, high and low, for the processed signal;
第二提取模块,用于当信号的能量或过零率超越低门限,初步确定敲击信号起点,而当信号的能量或过零率突破高门限,才确定敲击信号真正的起点;当信号能量和过零率同时低于低门限时,确定信号终点;The second extraction module is used to preliminarily determine the starting point of the knocking signal when the energy or zero-crossing rate of the signal exceeds the low threshold, and determine the real starting point of the knocking signal when the energy or zero-crossing rate of the signal breaks through the high threshold; When the energy and zero-crossing rate are lower than the low threshold at the same time, the end of the signal is determined;
第三提取模块,用于只保留起点至终点的数据,其余作切段处理,得到由敲击手背产生的振动信号片段。The third extraction module is used to keep only the data from the start point to the end point, and cut the rest into segments to obtain the vibration signal segments generated by tapping the back of the hand.
所述处理模块中包括:Included in the processing module:
第一处理模块,用于对切段信号进行归一化,提取梅尔频率倒频谱系数,得到信号特征;The first processing module is used to normalize the segmented signal, extract mel frequency cepstral coefficients, and obtain signal features;
第二处理模块,用于对信号特征使用基于随机子空间和最近中心点算法的RNM算法进行分类,进而判断出敲击位置;The second processing module is used to classify the signal features using the RNM algorithm based on the random subspace and the nearest center point algorithm, and then determine the knocking position;
所述第二处理模块包括:The second processing module includes:
第一处理单元,用于根据敲击位置的不同,采集步骤S31得到的信号特征作训练样本,并进行分类;The first processing unit is used to collect the signal features obtained in step S31 as training samples according to the different tapping positions, and classify them;
第二处理单元,用于使用最近中心点算法计算训练样本的每一类中心点;The second processing unit is used to calculate each type of center point of the training sample using the nearest center point algorithm;
第三处理单元,用于基于随机子空间,测试样本与训练样本的类中心点多次在子空间对比,得到多个分类结果;The third processing unit is used to compare the center points of the test sample and the training sample in the subspace multiple times based on the random subspace to obtain multiple classification results;
第四处理单元,用于对分类结果使用简单多数投票原则,并且设置一定票数比例,获得多数票同时达到一定的票数的情况下得到最终分类结果;The fourth processing unit is used to use the principle of simple majority voting on the classification results, and set a certain proportion of votes, and obtain the final classification results when a majority of votes is obtained and a certain number of votes is obtained;
第五处理单元,用于将分类成功的样本归入新的训练样本,重新计算新训练样本的新类中心点。The fifth processing unit is used to classify the successfully classified samples into new training samples, and recalculate the new center points of the new training samples.
在所述第一处理单元中,对手背不同位置敲击,采集得到步骤S31的信号特征作为训练样本,标记位置并根据位置的不同分成n类,每类敲击m次,其中n与m大于或等于1;In the first processing unit, knock on different positions on the back of the hand, collect the signal features of step S31 as a training sample, mark the position and divide it into n categories according to the position, and knock m times for each category, where n and m are greater than or equal to 1;
在所述第三处理单元中,将第二处理单元中每一次产生的类中心分别随机抽样T个属性,重复以上操作Q次,得到Q个子空间,在子空间里逐一对比测试样本与训练样本的各个类中心点的欧式距离,找到最近中心点,即得到Q个子空间分类的结果,其中T、Q大于1。In the third processing unit, T attributes are randomly sampled from each class center generated in the second processing unit, and the above operation is repeated Q times to obtain Q subspaces, and the test samples and training samples are compared one by one in the subspaces The Euclidean distance of the center points of each class, find the nearest center point, that is, get the results of Q subspace classification, where T and Q are greater than 1.
在所述提取模块中,人体指定部位为手背;振动传感器为压电陶瓷振动传感器。In the extraction module, the designated part of the human body is the back of the hand; the vibration sensor is a piezoelectric ceramic vibration sensor.
所述接收模块中,对振动信号进行降噪处理包括:In the receiving module, performing noise reduction processing on the vibration signal includes:
第一接收模块,用于使用20Hz的巴特沃斯高通滤波器滤掉直流分量和低频噪声;The first receiving module is used to use a 20Hz Butterworth high-pass filter to filter out DC components and low-frequency noise;
第二接收模块,用于使用800Hz低通滤波滤掉高频噪声。The second receiving module is used to filter out high-frequency noise by using an 800Hz low-pass filter.
本发明在智能手表上嵌入微小细薄的压电传感器,这种压电传感器可以实现机械能到电能的转化。在手背上虚拟一个九宫格键盘,当手指敲击不同位置的格子时,机械波会四面八方地传播出去,碰到物体后反射回来。所以,基于机械波的广播性质,压电传感器一次会接收到带有不同多径传播的机械波信号。这种机械波信号一方面通过语音信号散播到空气中,另一方面在手的内部传播,及所谓的骨传导。这部分机械波信号不受环境噪声的影响,能较好地被压电传感器接受,转化成电信号由智能手表的控制器处理。因为不同格子产生的机械波多径效应不同,智能手表接收到的信号就有所不同,利用这种差异,结合机器学习的分类算法,可以分类出九宫格的每一个按键。由此,可以实现基于手背骨传导技术的智能手表文本输入方法及系统。The invention embeds a tiny and thin piezoelectric sensor on the smart watch, and the piezoelectric sensor can realize the conversion from mechanical energy to electrical energy. A nine-grid keyboard is virtualized on the back of the hand. When the finger taps the grid at different positions, the mechanical wave will spread out in all directions and reflect back when it hits an object. Therefore, based on the broadcast nature of mechanical waves, the piezoelectric sensor will receive mechanical wave signals with different multipath propagation at one time. This mechanical wave signal spreads into the air through the voice signal on the one hand, and on the other hand spreads inside the hand, and the so-called bone conduction. This part of the mechanical wave signal is not affected by environmental noise, and can be better received by the piezoelectric sensor, converted into an electrical signal and processed by the controller of the smart watch. Because the mechanical wave multipath effect produced by different grids is different, the signals received by the smart watch are different. Using this difference, combined with the classification algorithm of machine learning, each button of the Jiugong grid can be classified. Thus, a text input method and system for smart watches based on back bone conduction technology can be realized.
本发明在智能手表内置压电陶瓷振动传感器,首次将采集到的敲击手背的振动作为智能手表的文本输入方式,将手背作为智能手表小屏幕的虚拟大屏幕,便于实现文本输入;所采集的是敲击手背后在人手上多径传播后的振动信号,抗干扰性强,并且对信号进行降噪,切段,归一化,提取梅尔频率倒频谱系数等处理后,再使用发明的RNM算法进行分类,其识别率达到92%。此处所使用的算法复杂度也只是线性阶的,所以可以实现文本的快速输入。此外,压电陶瓷振动传感器耗电量极底,不会大幅减少智能手表的续航时间。The present invention has a built-in piezoelectric ceramic vibration sensor in the smart watch. For the first time, the collected vibration of knocking on the back of the hand is used as the text input mode of the smart watch, and the back of the hand is used as a virtual large screen of the small screen of the smart watch, which is convenient for text input; the collected It is the vibration signal after the multi-path propagation on the human hand behind the percussion hand. It has strong anti-interference ability, and after the signal is denoised, segmented, normalized, and the Mel frequency cepstral coefficient is extracted, the invented RNM algorithm for classification, the recognition rate reached 92%. The complexity of the algorithm used here is only linear order, so the fast input of text can be realized. In addition, the piezoelectric ceramic vibration sensor consumes extremely low power and will not significantly reduce the battery life of the smart watch.
本发明不仅解决智能手表文本输入方式的问题,还能达到高识别率,并且可以快速进行输入,也不损耗智能手表的续航时间。The invention not only solves the problem of the text input method of the smart watch, but also achieves a high recognition rate, and can input quickly without losing the battery life of the smart watch.
本发明的硬件成低,系统简单,使用方便,能够简单快速的实现基于手背的骨传导振动信号传播的智能手表的输入。The invention has the advantages of low hardware cost, simple system and convenient use, and can simply and quickly realize the input of the smart watch based on the bone conduction vibration signal transmission of the back of the hand.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710433231.5A CN107300971B (en) | 2017-06-09 | 2017-06-09 | The intelligent input method and system propagated based on osteoacusis vibration signal |
| PCT/CN2017/092769 WO2018223489A1 (en) | 2017-06-09 | 2017-07-13 | Intelligent input method and system based on bone conduction vibration signal propagation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710433231.5A CN107300971B (en) | 2017-06-09 | 2017-06-09 | The intelligent input method and system propagated based on osteoacusis vibration signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107300971A true CN107300971A (en) | 2017-10-27 |
| CN107300971B CN107300971B (en) | 2019-04-02 |
Family
ID=60134750
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710433231.5A Expired - Fee Related CN107300971B (en) | 2017-06-09 | 2017-06-09 | The intelligent input method and system propagated based on osteoacusis vibration signal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107300971B (en) |
| WO (1) | WO2018223489A1 (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108681709A (en) * | 2018-05-16 | 2018-10-19 | 深圳大学 | Intelligent input method and system based on osteoacusis vibration and machine learning |
| CN109840480A (en) * | 2019-01-04 | 2019-06-04 | 深圳大学 | A kind of exchange method and interactive system of smartwatch |
| CN109933202A (en) * | 2019-03-20 | 2019-06-25 | 深圳大学 | An intelligent input method and system based on bone conduction |
| CN110058689A (en) * | 2019-04-08 | 2019-07-26 | 深圳大学 | A kind of smart machine input method based on face's vibration |
| CN110414196A (en) * | 2019-07-29 | 2019-11-05 | 深圳大学 | A smart watch authentication method based on vibration signal |
| WO2019243633A1 (en) * | 2018-06-22 | 2019-12-26 | iNDTact GmbH | Sensor arrangement, use of the sensor arrangement, and method for detecting structure-borne noise |
| CN110931031A (en) * | 2019-10-09 | 2020-03-27 | 大象声科(深圳)科技有限公司 | Deep learning voice extraction and noise reduction method fusing bone vibration sensor and microphone signals |
| CN111741419A (en) * | 2020-08-21 | 2020-10-02 | 瑶芯微电子科技(上海)有限公司 | Bone conduction sound processing system, bone conduction microphone and signal processing method thereof |
| CN111752388A (en) * | 2020-06-19 | 2020-10-09 | 深圳振科智能科技有限公司 | Application control method, device, equipment and storage medium |
| CN113342159A (en) * | 2021-05-07 | 2021-09-03 | 哈尔滨工业大学 | Wrist wearable system identified through wrist vibration |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112272019B (en) * | 2020-10-22 | 2024-12-03 | 广东美的制冷设备有限公司 | Control method, device, household appliance and storage medium of voice-controlled knock switch |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130329918A1 (en) * | 2012-06-06 | 2013-12-12 | Google Inc. | External Vibration Reduction in Bone-Conduction Speaker |
| CN104461004A (en) * | 2014-12-12 | 2015-03-25 | 北京奇虎科技有限公司 | Wearable intelligent equipment |
| CN106339104A (en) * | 2016-08-24 | 2017-01-18 | 广州市香港科大霍英东研究院 | Text input method and device for smart watch |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011115035A1 (en) * | 2010-03-15 | 2011-09-22 | 日本電気株式会社 | Input device, input method and program |
| CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
| US9199098B2 (en) * | 2012-09-05 | 2015-12-01 | Olympus Corporation | Ultrasonic treatment device |
| CN106128452A (en) * | 2016-07-05 | 2016-11-16 | 深圳大学 | Acoustical signal detection keyboard is utilized to tap the system and method for content |
-
2017
- 2017-06-09 CN CN201710433231.5A patent/CN107300971B/en not_active Expired - Fee Related
- 2017-07-13 WO PCT/CN2017/092769 patent/WO2018223489A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130329918A1 (en) * | 2012-06-06 | 2013-12-12 | Google Inc. | External Vibration Reduction in Bone-Conduction Speaker |
| CN104461004A (en) * | 2014-12-12 | 2015-03-25 | 北京奇虎科技有限公司 | Wearable intelligent equipment |
| CN106339104A (en) * | 2016-08-24 | 2017-01-18 | 广州市香港科大霍英东研究院 | Text input method and device for smart watch |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108681709B (en) * | 2018-05-16 | 2020-01-17 | 深圳大学 | Intelligent input method and system based on bone conduction vibration and machine learning |
| CN108681709A (en) * | 2018-05-16 | 2018-10-19 | 深圳大学 | Intelligent input method and system based on osteoacusis vibration and machine learning |
| WO2019218725A1 (en) * | 2018-05-16 | 2019-11-21 | 深圳大学 | Intelligent input method and system based on bone-conduction vibration and machine learning |
| WO2019243633A1 (en) * | 2018-06-22 | 2019-12-26 | iNDTact GmbH | Sensor arrangement, use of the sensor arrangement, and method for detecting structure-borne noise |
| CN109840480A (en) * | 2019-01-04 | 2019-06-04 | 深圳大学 | A kind of exchange method and interactive system of smartwatch |
| CN109840480B (en) * | 2019-01-04 | 2021-08-13 | 深圳大学 | An interactive method and interactive system for a smart watch |
| CN109933202A (en) * | 2019-03-20 | 2019-06-25 | 深圳大学 | An intelligent input method and system based on bone conduction |
| CN110058689A (en) * | 2019-04-08 | 2019-07-26 | 深圳大学 | A kind of smart machine input method based on face's vibration |
| CN110414196A (en) * | 2019-07-29 | 2019-11-05 | 深圳大学 | A smart watch authentication method based on vibration signal |
| CN110414196B (en) * | 2019-07-29 | 2021-09-17 | 深圳大学 | Smart watch identity verification method based on vibration signal |
| CN110931031A (en) * | 2019-10-09 | 2020-03-27 | 大象声科(深圳)科技有限公司 | Deep learning voice extraction and noise reduction method fusing bone vibration sensor and microphone signals |
| CN111752388A (en) * | 2020-06-19 | 2020-10-09 | 深圳振科智能科技有限公司 | Application control method, device, equipment and storage medium |
| CN111741419A (en) * | 2020-08-21 | 2020-10-02 | 瑶芯微电子科技(上海)有限公司 | Bone conduction sound processing system, bone conduction microphone and signal processing method thereof |
| CN111741419B (en) * | 2020-08-21 | 2020-12-04 | 瑶芯微电子科技(上海)有限公司 | Bone conduction sound processing system, bone conduction microphone and signal processing method thereof |
| CN113342159A (en) * | 2021-05-07 | 2021-09-03 | 哈尔滨工业大学 | Wrist wearable system identified through wrist vibration |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107300971B (en) | 2019-04-02 |
| WO2018223489A1 (en) | 2018-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107300971A (en) | The intelligent input method and system propagated based on osteoacusis vibration signal | |
| CN110544488B (en) | Method and device for separating multi-person voice | |
| CN107481718B (en) | Voice recognition method, voice recognition device, storage medium and electronic equipment | |
| CN105938399B (en) | The text input recognition methods of smart machine based on acoustics | |
| Qifan et al. | Dolphin: Ultrasonic-based gesture recognition on smartphone platform | |
| CN108681709B (en) | Intelligent input method and system based on bone conduction vibration and machine learning | |
| CN109508728B (en) | Novel identity authentication method for wearable equipment | |
| CN103294199B (en) | A kind of unvoiced information identifying system based on face's muscle signals | |
| CN108551686A (en) | The extraction and analysis of audio characteristic data | |
| CN103971681A (en) | Voice recognition method and system | |
| Zou et al. | AcouDigits: Enabling users to input digits in the air | |
| CN103412640A (en) | Device and method for character or command input controlled by teeth | |
| CN110111812A (en) | A kind of self-adaptive identification method and system of keyboard key stroke content | |
| CN105225672A (en) | Merge the system and method for the directed noise suppression of dual microphone of fundamental frequency information | |
| CN110473563A (en) | Breath sound detection method, system, equipment and medium based on time-frequency feature | |
| TW202026855A (en) | Voice wake-up apparatus and method thereof | |
| Chen et al. | WritePad: Consecutive number writing on your hand with smart acoustic sensing | |
| Liu et al. | Wavoice: An mmwave-assisted noise-resistant speech recognition system | |
| WO2022001791A1 (en) | Intelligent device interaction method based on ppg information | |
| CN107942700A (en) | A kind of appliance control system, method and computer-readable recording medium | |
| Yu et al. | Mobile devices based eavesdropping of handwriting | |
| CN102760312A (en) | Intelligent door control system with speech recognition | |
| CN112466328B (en) | Breath sound detection method, device and electronic equipment | |
| CN107894830B (en) | A kind of interaction input method based on acoustic perceptual, system and medium | |
| WO2023124556A1 (en) | Method and apparatus for recognizing mixed key sounds of multiple keyboards, device, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190402 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |