[go: up one dir, main page]

CN105373215B - Dynamic radio gesture identification method with decoding is encoded based on gesture - Google Patents

Dynamic radio gesture identification method with decoding is encoded based on gesture Download PDF

Info

Publication number
CN105373215B
CN105373215B CN201410423086.9A CN201410423086A CN105373215B CN 105373215 B CN105373215 B CN 105373215B CN 201410423086 A CN201410423086 A CN 201410423086A CN 105373215 B CN105373215 B CN 105373215B
Authority
CN
China
Prior art keywords
gesture
basic
signal
gestures
sub
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.)
Expired - Fee Related
Application number
CN201410423086.9A
Other languages
Chinese (zh)
Other versions
CN105373215A (en
Inventor
威力
齐丹
齐望东
袁恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PLA University of Science and Technology
Original Assignee
PLA University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PLA University of Science and Technology filed Critical PLA University of Science and Technology
Priority to CN201410423086.9A priority Critical patent/CN105373215B/en
Publication of CN105373215A publication Critical patent/CN105373215A/en
Application granted granted Critical
Publication of CN105373215B publication Critical patent/CN105373215B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses a kind of dynamic radio gesture identification method encoded based on gesture with decoding, comprises the following steps:Construct basic gesture collection, basic gesture off-line training, gesture coding, order hand signal acquisition to be checked, the identification of order hand signal, hand signal decoding.The dynamic radio gesture identification method that the present invention uses, suitable for a variety of radio and ultrasonic wave gesture recognition systems characterized by hand signal amplitude, phase, direction of arrival or Doppler frequency shift, versatility is good, and high to the identification probability of wireless gesture, good reliability.

Description

基于手势编码与译码的动态无线手势识别方法Dynamic Wireless Gesture Recognition Method Based on Gesture Coding and Decoding

技术领域technical field

本发明属于人机交互中手势识别技术领域,特别是一种识别概率高、可靠性好的基于手势编码与译码的动态无线手势识别方法。The invention belongs to the technical field of gesture recognition in human-computer interaction, in particular to a dynamic wireless gesture recognition method based on gesture coding and decoding with high recognition probability and good reliability.

背景技术Background technique

在智能机器人、智能电视、智能手机、电脑、游戏机、智能汽车、智能家居等各种领域,使用动态手势以无线方式操作计算机成为新型的人机交互方式。In various fields such as smart robots, smart TVs, smart phones, computers, game consoles, smart cars, and smart homes, using dynamic gestures to wirelessly operate computers has become a new type of human-computer interaction.

现有动态无线手势识别方式包括穿戴式和裸手手势识别系统,如文献“B.Raj,K.Kalgaonkar,C.Harrison,and P.Dietz,Ultrasonic Doppler sensing in HCI,IEEEPervasive Computing,vol.11,no.2,pp.24-29,Feb.2012”所述。穿戴式系统需穿戴包含加速度计、磁力计等传感器的手套来识别手势,使用不方便。裸手手势识别系统使用非物理接触方式与机器交互,不需穿戴特殊手套来识别手势,使用方便。最常见的实现手段是视觉(光波)、超声波、无线电波识别系统。Existing dynamic wireless gesture recognition methods include wearable and bare hand gesture recognition systems, such as the literature "B.Raj, K.Kalgaonkar, C.Harrison, and P.Dietz, Ultrasonic Doppler sensing in HCI, IEEE Pervasive Computing, vol.11, no.2, pp.24-29, Feb.2012". Wearable systems need to wear gloves containing sensors such as accelerometers and magnetometers to recognize gestures, which is inconvenient to use. The bare-hand gesture recognition system uses non-physical contact to interact with the machine, and does not need to wear special gloves to recognize gestures, which is convenient to use. The most common means of realization are visual (light wave), ultrasonic, and radio wave identification systems.

视觉手势系统系统利用摄像头拍摄图像并识别手势,但存在如下局限:1、识别距离近,距离增加则摄像头拍摄的图像效果变差;2、系统需要持续光照,在黑暗中系统失效;3、对光变化敏感,一般不适用移动或室外环境;4、人-机间需要视距传播,摄像头和人间不能有阻挡物;5、摄像头可能侵犯用户隐私。The visual gesture system system uses the camera to capture images and recognize gestures, but there are the following limitations: 1. The recognition distance is short, and the image captured by the camera will become worse as the distance increases; 2. The system needs continuous lighting, and the system fails in the dark; 3. Sensitive to light changes, it is generally not suitable for mobile or outdoor environments; 4. The human-machine needs to be transmitted in line of sight, and there must be no obstructions between the camera and the human room; 5. The camera may invade user privacy.

无线电波及超声波裸手手势识别技术具有诸多优势:Radio wave and ultrasonic bare hand gesture recognition technology has many advantages:

(1).无需穿戴设备,使用便捷。(1). No need to wear equipment, easy to use.

(2).可实现较远距离手势控制。(2). Long-distance gesture control can be realized.

(3).受温度、亮度等环境因素影响小。可在黑暗、室外环境使用。(3). Less affected by environmental factors such as temperature and brightness. Can be used in dark, outdoor environments.

(4).可在非视距环境工作。(4). Can work in non-line-of-sight environment.

(5).不影响用户的隐私。(5). Does not affect the user's privacy.

具体参考“S.Gupta,D.Morris,S.Patel,and D.Tan,Soundwave:using thedoppler effect to sense gestures,Proceedings of the SIGCHI Conference onHuman Factors in Computing Systems,May 05-10,2012,Austin,Texas,USA,2012”、“F.Adib and D.Katabi,See through walls with Wi-Fi!Proceedings of the ACMSIGCOMM 2013 conference on SIGCOMM,August 12-16,2013,Hong Kong,China,2013”、“Q.Pu,S.Gupta,S.Gollakota,and S.Patel,Whole-home gesture recognition usingwireless signals,ACM International Conference on Mobile Computing andNetworking(MOBICOM),2013”、“F.Adib,Z.Kabelac,D.Katabi,and R.C.Miller,3Dtracking via body radio reflections,Usenix NSDI,2014”和“B.Kellogg,V.Talla,andS.Gollakota,Bringing gesture recognition to all devices,Usenix NSDI,2014”。For details, refer to "S.Gupta, D.Morris, S.Patel, and D.Tan, Soundwave: using the doppler effect to sense gestures, Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, May 05-10, 2012, Austin, Texas , USA, 2012", "F.Adib and D.Katabi, See through walls with Wi-Fi! Proceedings of the ACMSIGCOMM 2013 conference on SIGCOMM, August 12-16, 2013, Hong Kong, China, 2013", "Q. Pu, S.Gupta, S.Gollakota, and S.Patel, Whole-home gesture recognition using wireless signals, ACM International Conference on Mobile Computing and Networking (MOBICOM), 2013", "F.Adib, Z.Kabelac, D.Katabi, and R.C. Miller, 3Dtracking via body radio reflections, Usenix NSDI, 2014" and "B. Kellogg, V. Talla, and S. Gollakota, Bringing gesture recognition to all devices, Usenix NSDI, 2014".

但在无线电波及超声波所处的无线信道中,实现手势的正确识别面临一系列挑战,包括:However, in the wireless channel where radio waves and ultrasonic waves are located, the correct recognition of gestures faces a series of challenges, including:

(1).信道环境影响:无线信道中存在干扰、衰落、多径等诸多不利因素,增加了无线手势识别系统的误识别概率。(1). Influence of the channel environment: There are many unfavorable factors such as interference, fading, and multipath in the wireless channel, which increases the probability of misrecognition of the wireless gesture recognition system.

(2).手势设计影响:当前手势设计处于一种"一系统一方法"的状态,缺乏系统性的可靠设计方法。要设计区分度大的手势集合,使得集合中即使距离最小的两个手势也能区分,通常比较困难。这是手势误识别的内在原因。(2). Impact on gesture design: The current gesture design is in a state of "one system, one method", lacking a systematic and reliable design method. It is often difficult to design a set of gestures that are highly discriminative so that even the smallest distance between two gestures in the set can be distinguished. This is the intrinsic reason for gesture misrecognition.

(3).操控者影响:手势由人完成,人可能误操作,从而导致错误的手势命令。(3). Manipulator influence: Gestures are performed by humans, and humans may misoperate, resulting in wrong gesture commands.

另一方面,在许多应用中,对误识别概率低的可靠手势识别技术需求迫切,如军事或反恐中拆弹机器人控制、军用飞机起降指挥、智能汽车控制等。因此,对高可靠性手势识别的迫切需求和手势识别结果不可靠间存在矛盾。On the other hand, in many applications, there is an urgent need for reliable gesture recognition technology with low probability of false recognition, such as bomb disposal robot control in military or anti-terrorism, military aircraft take-off and landing command, smart car control, etc. Therefore, there is a contradiction between the urgent need for high-reliability gesture recognition and the unreliable gesture recognition results.

总之,现有技术存在的问题是:识别概率不够高,不能满足高可靠性手势控制的需求,通用性不强。In a word, the problems existing in the prior art are: the recognition probability is not high enough to meet the requirements of high-reliability gesture control, and the versatility is not strong.

发明内容Contents of the invention

本发明的目的在于提供一种基于手势编码与译码的动态无线手势识别方法,识别概率高,可靠性好,通用性强。The purpose of the present invention is to provide a dynamic wireless gesture recognition method based on gesture coding and decoding, which has high recognition probability, good reliability and strong versatility.

实现本发明目的的技术解决方案为:一种基于手势编码与译码的动态无线手势识别方法,包括如下步骤:The technical solution to realize the object of the present invention is: a dynamic wireless gesture recognition method based on gesture encoding and decoding, comprising the following steps:

10)构造基本手势集:根据多个基本手势,构造基本手势集;10) Constructing a basic gesture set: constructing a basic gesture set according to multiple basic gestures;

20)基本手势离线训练:对基本手势集中每个基本手势,多次检测经其反射的发射机所发射的信号,得出每个基本手势的特征,存储所有基本手势的特征,建立基本手势特征库;20) Offline training of basic gestures: collect each basic gesture for basic gestures, detect the signal emitted by the transmitter reflected by it multiple times, obtain the characteristics of each basic gesture, store all the characteristics of basic gestures, and establish basic gesture characteristics Library;

30)手势编码:将基本手势编码成与手势控制命令相对应的命令手势,构造所述命令手势包括基本手势组合编码、检错编码和纠错编码;30) Gesture coding: coding basic gestures into command gestures corresponding to gesture control commands, constructing the command gestures includes basic gesture combination coding, error detection coding and error correction coding;

40)待检命令手势信号获取:发射机发射信号,接收机接收经命令手势反射的信号,得到待检命令手势信号;40) Acquisition of the command gesture signal to be checked: the transmitter transmits the signal, and the receiver receives the signal reflected by the command gesture to obtain the command gesture signal to be checked;

50)命令手势信号识别:将待检命令手势信号分成多个子手势,每个子手势对应一个未知的基本手势,通过各子手势识别实现命令手势信号识别,所述各子手势识别为检测各个子手势的信号特征,将各子手势特征依次与基本手势特征做对比,找出与各子手势相匹配的基本手势,这些基本手势依次组合,构成待检命令手势信号判决结果;50) command gesture signal recognition: the command gesture signal to be checked is divided into multiple sub-gestures, each sub-gesture corresponds to an unknown basic gesture, and the command gesture signal recognition is realized through the recognition of each sub-gesture, and each sub-gesture recognition is to detect each sub-gesture The signal features of each sub-gesture are compared with the basic gesture features in turn to find out the basic gestures that match each sub-gesture, and these basic gestures are combined in turn to form the judgment result of the command gesture signal to be checked;

60)手势信号译码:对待检手势信号判决结果进行检错译码和纠错译码,得到与待检手势信号对应的手势控制命令。60) Gesture signal decoding: Perform error detection decoding and error correction decoding on the judgment result of the gesture signal to be detected to obtain a gesture control command corresponding to the gesture signal to be detected.

本发明与现有技术相比,其显著优点:识别概率高,可靠性好,通用性强。Compared with the prior art, the present invention has the remarkable advantages of high recognition probability, good reliability and strong versatility.

上述优点是通过以下方法达到的:The above advantages are achieved by:

1、简化手势种类:只用少数几种基本手势,并充分利用通信中编码理论,即可构造其他手势,避免了手势量大时繁琐的手势训练过程;当基本手势集合中的手势数目少时,容易构造基本手势使手势集最小距离(即距离最小的两个手势间的距离)较大;而手势间最小距离越大,误判概率越小;1. Simplify the types of gestures: use only a few basic gestures and make full use of the coding theory in communication to construct other gestures, avoiding the cumbersome gesture training process when the number of gestures is large; when the number of gestures in the basic gesture set is small, It is easy to construct basic gestures so that the minimum distance of the gesture set (that is, the distance between the two gestures with the smallest distance) is larger; and the greater the minimum distance between gestures, the smaller the probability of misjudgment;

2、提高通用性:手势组合编码和检错﹑纠错编码独立于具体的系统(例如超声波、无线电、多普勒或信号幅度),具有普适性;2. Improve versatility: Gesture combination coding and error detection and error correction coding are independent of specific systems (such as ultrasound, radio, Doppler or signal amplitude), and are universal;

3、偶然的基本手势误判可纠正:手势数字化后,可使用数字通信中纠错编码技术,当无线信道衰落、干扰的影响或人为误操作,导致基本手势判决中出现偶尔的误判时,可纠正误判,保证正确的手势识别。3. Occasional misjudgments of basic gestures can be corrected: after digitization of gestures, error correction coding technology in digital communication can be used. Misjudgment can be corrected to ensure correct gesture recognition.

下面结合附图和具体实施方式对本发明作进一步的详细描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

附图说明Description of drawings

图1为本发明基于手势编码与译码的动态无线手势识别方法流程图。FIG. 1 is a flowchart of a dynamic wireless gesture recognition method based on gesture encoding and decoding in the present invention.

图2a为三进制的基本手势示意图(手势0)。Fig. 2a is a schematic diagram of a basic gesture of ternary (gesture 0).

图2b为三进制的基本手势示意图(手势1)。Fig. 2b is a schematic diagram of a basic gesture of a ternary system (gesture 1).

图2c为三进制的基本手势示意图(手势2)。Fig. 2c is a schematic diagram of a basic gesture of ternary system (gesture 2).

图3a为三进制等长编码模式下一种特定手势的组合编码示意图。Fig. 3a is a schematic diagram of combined coding of a specific gesture in the ternary equal-length coding mode.

图3b为三进制等长编码模式下一种特定手势的检错编码示意图。Fig. 3b is a schematic diagram of an error detection coding of a specific gesture in a ternary equal-length coding mode.

图3c为三进制等长编码模式下一种特定手势的纠错编码示意图。Fig. 3c is a schematic diagram of error correction coding of a specific gesture in the ternary equal-length coding mode.

图4a为识别九种手势命令的三进制非等长编码的编码表。Fig. 4a is a coding table of ternary unequal-length codes for recognizing nine kinds of gesture commands.

图4b为识别九种手势命令的三进制非等长编码的检错译码示意图。Fig. 4b is a schematic diagram of error detection and decoding of ternary non-equal-length codes for recognizing nine gesture commands.

图5a为识别九种手势命令的三进制非等长编码的的编码表。Fig. 5a is a coding table of ternary non-equal-length codes for recognizing nine gesture commands.

图5b为识别九种手势命令的三进制非等长编码的纠错译码示意图。Fig. 5b is a schematic diagram of error correction decoding of ternary non-equal-length codes for recognizing nine gesture commands.

具体实施方式detailed description

如图1所示,本发明基于手势编码与译码的动态无线手势识别方法,包括如下步骤:As shown in Figure 1, the dynamic wireless gesture recognition method based on gesture coding and decoding of the present invention comprises the following steps:

10)构造基本手势集:根据多个基本手势,构造基本手势集;10) Constructing a basic gesture set: constructing a basic gesture set according to multiple basic gestures;

所述多个基本手势满足:将每个基本手势划分成等数量的多个运动时间段,在同一序号的时间段内,改变各个基本手势之间相对于接收机的运动方向、运动幅度或运动范围,使各个基本手势的特征矢量间最小范数距离最大或使各个基本手势的特征矢量正交(即使矢量夹角为90度)。The plurality of basic gestures satisfy: each basic gesture is divided into multiple motion time periods of equal number, within the time period of the same serial number, change the direction of motion, range of motion or movement between each basic gesture relative to the receiver range, to maximize the minimum norm distance between the feature vectors of each basic gesture or to make the feature vectors of each basic gesture orthogonal (even if the angle between the vectors is 90 degrees).

其中,两矢量a=[a1,a2,…aN]﹑b=[b1,b2,…bN]的夹角计算公式:Among them, the formula for calculating the angle between two vectors a=[a 1 ,a 2 ,…a N ]﹑b=[b 1 ,b 2 ,…b N ]:

两矢量a﹑b之间的范数距离计算公式:The formula for calculating the norm distance between two vectors a﹑b:

使各个基本手势特征矢量范数距离最大一种方法:确定基本手势数目N,设计一组M(M>N)个备选的基本手势,测量各备选手势特征矢量各一次,从中选取一个N阶子集,使此子集中特征矢量范数距离最小的两个基本手势的距离最大。One way to maximize the norm distance of each basic gesture feature vector: determine the number N of basic gestures, design a set of M (M>N) candidate basic gestures, measure each candidate gesture feature vector once, and select one N order subset, so that the distance between the two basic gestures with the smallest feature vector norm distance in this subset is the largest.

使各个基本手势的特征矢量正交一种方法:如基本手势数为三种,并且基本手势分成12段,则构造三种基本手势使得其特征矢量a1、a2、a3取符号后分别具有如下形式:One way to make the feature vectors of each basic gesture orthogonal: if there are three basic gestures, and the basic gestures are divided into 12 segments, then construct three basic gestures so that their feature vectors a 1 , a 2 , and a 3 are symbolized respectively has the following form:

a1=[1 1 1 1 1 1 -1 -1 -1 -1 -1 -1]a 1 =[1 1 1 1 1 1 -1 -1 -1 -1 -1 -1]

a2=[1 1 1 1 1 1 1 1 1 1 1 1]a 2 =[1 1 1 1 1 1 1 1 1 1 1 1]

a3=[-1 -1 -1 1 1 1 1 1 1 -1 -1 -1]a 3 =[-1 -1 -1 1 1 1 1 1 1 -1 -1 -1]

可验证,上述三矢量两两正交。其他形式的正交矢量还包括如下形式及其各种变形:It can be verified that the above three vectors are orthogonal to each other. Other forms of orthogonal vectors include the following forms and their variants:

a1=[1 0 0 0 0 0 0 0 0 0 0 0]a 1 =[1 0 0 0 0 0 0 0 0 0 0 0]

a2=[0 0 0 0 1 0 0 0 0 0 0 0]a 2 =[0 0 0 0 1 0 0 0 0 0 0 0]

a3=[0 0 0 0 0 0 0 0 1 0 0 0]a 3 =[0 0 0 0 0 0 0 0 1 0 0 0]

and

a1=[1 0 0 0 0 1 0 0 0 0 1 0]a 1 =[1 0 0 0 0 1 0 0 0 0 1 0]

a2=[0 0 0 1 1 0 0 0 0 1 0 0]a 2 =[0 0 0 1 1 0 0 0 0 1 0 0]

a3=[0 0 1 0 0 0 0 1 1 0 0 0]a 3 =[0 0 1 0 0 0 0 1 1 0 0 0]

本发明不再一一列举。The present invention is no longer enumerated one by one.

实施例中,采用特征矢量范数距离最大方法得到如图2所示的一种三进制的基本手势示意图。In the embodiment, a ternary basic gesture diagram as shown in FIG. 2 is obtained by using the method of maximizing the distance of the eigenvector norm.

实施例中,选择三种基本手势,基本手势映射为"0"、"1"、"2",采用三进制编码。将手势运动引起的Doppler频移值作为手势的特征。Doppler频移和运动的相对速度和方向相关。其中,手势"0":做圆弧运动,先朝向接收机运动后远离接收机,回到起点。手势"1":做圆弧运动,先远离接收机后朝向接收机运动,回到起点。手势"2":在人机连线方向上做直线运动,先远离接收机后朝向接收机运动,回到起点,再朝向接收机后远离接收机运动,回到起点。In the embodiment, three basic gestures are selected, and the basic gestures are mapped to "0", "1", and "2", and ternary code is used. The Doppler frequency shift value caused by the gesture motion is used as the feature of the gesture. The Doppler shift is related to the relative velocity and direction of motion. Among them, the gesture "0": make a circular motion, first move towards the receiver and then move away from the receiver, and return to the starting point. Gesture "1": Make a circular motion, first move away from the receiver and then move towards the receiver, returning to the starting point. Gesture "2": Make a linear movement in the direction of the man-machine connection, first move away from the receiver and then move towards the receiver, return to the starting point, then move towards the receiver and then move away from the receiver, and return to the starting point.

20)基本手势离线训练:对基本手势集中每个基本手势,多次检测经其反射的发射机所发射的信号,得出每个基本手势的特征,存储所有基本手势的特征,建立基本手势特征库;20) Offline training of basic gestures: collect each basic gesture for basic gestures, detect the signal emitted by the transmitter reflected by it multiple times, obtain the characteristics of each basic gesture, store all the characteristics of basic gestures, and establish basic gesture characteristics Library;

所述基本手势离线训练(20)步骤包括:Described basic gesture off-line training (20) step comprises:

21)基本手势分段:对每一种基本手势,将其完整过程分成等时长的多段;21) Segmentation of basic gestures: for each basic gesture, divide its complete process into multiple segments of equal duration;

所述基本手势分段(21)步骤中,基本手势分段数目为5~30段。In the step of segmenting the basic gestures (21), the number of segments of the basic gestures is 5-30.

22)特征标量获取:将每段手势对应的信号特征离散化,得到各段手势的信号特征标量;22) Feature scalar acquisition: discretize the signal features corresponding to each gesture to obtain the signal feature scalar of each gesture;

所述特征标量获取(22)步骤具体为:The characteristic scalar acquisition (22) step is specifically:

将各段信号的多次测量值取平均值或将多次测量值的中位数作为各段信号的特征标量,各段信号特征标量采用测量值的绝对数值或仅取其符号。Take the average value of the multiple measurement values of each segment of the signal or use the median of the multiple measurement values as the characteristic scalar of each segment of the signal.

所述特征标量获取(22)步骤中,所述信号特征包括信号幅度、相位、信号波达方向或多普勒频移随手势运动的变化量。In the feature scalar acquisition (22) step, the signal features include signal amplitude, phase, signal direction of arrival or variation of Doppler frequency shift with gesture movement.

23)特征矢量获取:将整个基本手势的信号特征标量依次组合,构成该基本手势的信号特征矢量;23) Feature vector acquisition: combining the signal feature scalars of the entire basic gesture in turn to form the signal feature vector of the basic gesture;

24)基本手势特征库建立:各个基本手势的信号特征矢量构成基本手势特征库。24) Establishment of the basic gesture feature library: the signal feature vectors of each basic gesture constitute the basic gesture feature library.

实施例中,将基本手势分成12段,测量各段的Doppler频移值作为手势的特征,将多次测量值取平均后得到各段的Doppler频移,由于不同用户完成同一手势时,其特征值矢量可能存在差异,为了消除差异,取Doppler频移的符号并组合构成各个手势的Doppler频移矢量,分别记为G0、G1、G2。根据Doppler频移特性,训练阶段测量的各个基本手势的Doppler频移矢量一种形式如下:G0=[1 1 1 1 1 1 -1 -1 -1 -1 -1 -1],G1=[-1 -1 -1-1 -1 -1 1 1 1 1 1 1],G2=[1 1 1 -1 -1 -1 -1 -1 -1 1 1 1]。上述三矢量构成基本手势特征库。In the embodiment, the basic gesture is divided into 12 segments, and the Doppler frequency shift value of each segment is measured as the feature of the gesture, and the Doppler frequency shift of each segment is obtained after taking the average of multiple measurement values. Since different users complete the same gesture, the characteristic There may be differences in the value vectors. In order to eliminate the differences, the symbols of the Doppler frequency shift are taken and combined to form the Doppler frequency shift vectors of each gesture, which are recorded as G 0 , G 1 , and G 2 . According to the Doppler frequency shift characteristic, a form of the Doppler frequency shift vector of each basic gesture measured in the training phase is as follows: G 0 =[1 1 1 1 1 1 -1 -1 -1 -1 -1 -1], G 1 = [-1 -1 -1-1 -1 -1 1 1 1 1 1], G 2 =[1 1 1 -1 -1 -1 -1 -1 -1 -1 1 1]. The above three vectors constitute the basic gesture feature library.

30)手势编码:将基本手势编码成与手势控制命令相对应的命令手势,构造所述命令手势包括基本手势组合编码、检错编码和纠错编码;30) Gesture coding: coding basic gestures into command gestures corresponding to gesture control commands, constructing the command gestures includes basic gesture combination coding, error detection coding and error correction coding;

所述手势编码(30)步骤包括:The gesture coding (30) step includes:

31)编码模式判断:判断手势编码模式,若为非等长度编码,则转至容错编码模式判断(33)步骤;31) Coding mode judgment: judge the gesture coding mode, if it is non-equal-length coding, then go to the fault-tolerant coding mode judgment (33) step;

32)组合手势生成:使用相同数量的基本手势组合,构成组合手势,实现手势命令到组合手势的映射。32) Combined gesture generation: use the same number of basic gesture combinations to form a combined gesture, and realize the mapping from gesture commands to combined gestures.

33)容错编码模式判断:判断容错编码模式,若为纠错编码模式,则转至纠错编码生成(35)步骤;33) Error-tolerant encoding mode judgment: judge the error-tolerant encoding mode, if it is an error-correcting encoding mode, then go to the error-correcting encoding generation (35) step;

34)检错编码生成:对手势命令或组合手势进行检错编码,若采用等长度编码,则组合手势检错编码的编码表中任意两个码组至少有两个码元不同,若采用非等长度编码,则手势命令检错编码的编码表中任意两个码组或者长度不同,或者至少有两个码元不同;34) Generation of error detection codes: perform error detection codes on gesture commands or combined gestures. If equal-length codes are used, at least two code elements in any two code groups in the code table of combined gesture error detection codes are different. Equal-length codes, any two code groups in the code table of gesture command error detection codes either have different lengths, or have at least two different code units;

35)纠错编码生成:对手势命令或组合手势进行纠错编码,若采用等长度编码,则组合手势纠错编码的编码表中任意两个码组至少有三个码元不同,若采用非等长度编码,则手势命令纠错编码的编码表中任意两个码组或者长度不同,或者至少有三个码元不同。35) Generation of error correction codes: perform error correction codes on gesture commands or combined gestures. If equal-length codes are used, any two code groups in the code table of combined gesture error correction codes have at least three different code elements. length coding, then any two code groups in the coding table of the gesture command error correction coding are either different in length, or have at least three different code elements.

如图3所示,为三进制等长编码模式下一种特定手势的组合编码、检错编码和纠错编码示意图。As shown in FIG. 3 , it is a schematic diagram of combined coding, error detection coding and error correction coding of a specific gesture in the ternary equal-length coding mode.

等长组合编码方案:三进制等长编码模式的实施例中,图2所示三种基本手势可组合成九种手势,九种手势可用来控制九种命令,九种手势一种可能编码为Equal-length combination coding scheme: In the embodiment of the ternary equal-length coding mode, the three basic gestures shown in Figure 2 can be combined into nine gestures, which can be used to control nine commands, and one possible encoding of the nine gestures for

等长检错编码方案:对上述组合编码进一步做组合手势检错编码(误操作概率不高时,操作模式设定为检错编码,手势简单同时避免误操作)。检错编码的编码长度为3位,即在组合编码基础上增加一位检错位。上述组合编码的一种检错编码方法如下:Equal-length error detection coding scheme: further perform combined gesture error detection coding on the above combined codes (when the probability of misoperation is not high, the operation mode is set to error detection coding, gestures are simple and misoperations are avoided at the same time). The coding length of the error detection coding is 3 bits, that is, an error detection bit is added on the basis of the combined coding. An error detection coding method of the above combined coding is as follows:

(1)将上述九种组合手势按纵向分成三组,第一组即00 01 02。检错编码的第一组第三位为0、1、2的不重复排列组合,共6种:000 011 022、000 012 021、001 010 022、001012 020、002 010 021、002 011 020;(1) Divide the above nine combined gestures into three groups vertically, the first group being 00 01 02. The third digit of the first group of error detection codes is the non-repetitive permutation and combination of 0, 1, and 2, a total of 6 types: 000 011 022, 000 012 021, 001 010 022, 001012 020, 002 010 021, 002 011 020;

(2)第二、三组第三位分别为上一组第三位的循环移位,循环移位包括左移和右移两种,且第二、三组移位方向一致,共两种实现,总共12种编码方式。(2) The second and third groups of third digits are the cyclic shifts of the previous group of third digits respectively. The cyclic shifts include left shift and right shift, and the shift directions of the second and third groups are the same. There are two types in total. Realized, a total of 12 encoding methods.

(3)上述编码方式最小距离为2:保证任意两个码组至少有两个码元不同,出现一个码元误判决时,可以发现此错误。如在第一种编码方式下,“000”误判为“001”时,能发现此译码错误。(3) The minimum distance of the above encoding method is 2: it is guaranteed that any two code groups have at least two code elements that are different, and when a code element is misjudged, this error can be found. For example, under the first encoding method, when "000" is misjudged as "001", this decoding error can be found.

根据所述方法,所有12种检错编码为:According to the method described, all 12 error detection codes are:

在上述手势检错编码基础上,继续增加一位编码可实现手势纠错编码,即纠错编码长度为4,一组纠错编码除掉第四位剩下三位构成一组检错编码。本发明实施例以第一种纠错编码为例,说明纠错编码构造过程。用上述检错编码的其他11种构造纠错编码的方法完全相同。On the basis of the above-mentioned gesture error detection code, continue to add a code to realize the gesture error correction code, that is, the length of the error correction code is 4, and a group of error correction codes removes the fourth digit and the remaining three bits constitute a group of error detection codes. In the embodiment of the present invention, the first type of error correction code is taken as an example to illustrate the construction process of the error correction code. The other 11 methods of constructing error-correcting codes using the above-mentioned error-detecting codes are exactly the same.

等长纠错编码方案:采用三进制(4,2)码,即编码长度为4,其中2比特信息位。每一个检错编码按纵向分三组,第一组第位为0、1、2的不重复排列组合,共6种;第二、三组第位分别为各自上一组第位的循环移位(即第二组第位为第一组第位的循环移位,第三组第位为第二组第位的循环移位),第二、三组第四位的移位方向一致,且循环移 位方式正好和第三位的循环移位方式相反。每一组检错编码最终衍生出6组纠错编码,总共72种纠错编码方式。纠错编码最小距离为3:一组编码中任意两个编码至少有3个码元不同。Equal-length error-correcting coding scheme: a ternary (4,2) code is used, that is, the coding length is 4, and 2 information bits are included. Each error detection code is divided into three groups vertically, the fourth digits of the first group are 0, 1, 2 non-repeating combinations, a total of 6 types; the fourth digits of the second and third groups are respectively the fourth digits of the previous group The cyclic shift (that is, the fourth digit of the second group is the cyclic shift of the fourth digit of the first group, the fourth digit of the third group is the cyclic shift of the fourth digit of the second group), the fourth digit of the second and third groups The shift direction of the bits is the same , and the cyclic shift method is just opposite to that of the third bit. Each set of error detection codes finally derives 6 sets of error correction codes, with a total of 72 error correction codes. The minimum distance between error correction codes is 3: any two codes in a set of codes have at least 3 symbols different.

当检错编码采用12组中第一组时:When the error detection code adopts the first group of 12 groups:

000 011 022 00 0 01 1 02 2

101 112 120 10 1 11 2 12 0

202 210 221 20 2 21 0 22 1

相应的6组纠错编码为:The corresponding 6 sets of error correction codes are:

本发明实施例中,为了便于记忆,采用第二种纠错编码In the embodiment of the present invention, in order to facilitate memory, the second error correction code is adopted

0000 0112 02210000 0112 0221

1011 1120 12021011 1120 1202

2022 2101 22102022 2101 2210

此组纠错编码的特点:每个编码的第1位+第2位=第3位,第2位+第3位=第4位(此处相加为模3加法)。因此,只需简单记住手势控制命令对应的命令号,其编码方式可计算得到。如机器人控制中,“前进”对应2号命令,则组合码为01,检错编码为011,纠错编码为0112。The characteristics of this group of error correction codes: the 1st bit+2nd bit=3rd bit of each code, the 2nd bit+3rd bit=4th bit (here the addition is modulo 3 addition). Therefore, simply memorize the command number corresponding to the gesture control command, and its encoding method can be calculated. For example, in robot control, "forward" corresponds to command No. 2, then the combination code is 01, the error detection code is 011, and the error correction code is 0112.

非等长检错编码方案:本发明同时提供一种三进制非等长手势命令检错编码,仍以九种手势命令为例,其检错编码后形式如下:Non-equal-length error detection coding scheme: the present invention also provides a ternary non-equal-length gesture command error detection coding. Still taking nine gesture commands as an example, the form of the error detection coding is as follows:

本发明同时提供一种二进制非等长检错编码,基本手势映射为"0"、"1"两个编码码元。"0"、"1"的对应的手势同上。仍以九种手势命令为例,其检错编码后形式如下:The present invention also provides a binary non-equal-length error detection code, and the basic gesture is mapped to two coding symbols "0" and "1". The corresponding gestures of "0" and "1" are the same as above. Still taking the nine gesture commands as an example, the form after error detection coding is as follows:

非等长纠错编码方案:本发明同时提供一种三进制非等长手势命令纠错编码,仍以九种手势命令为例,其纠错编码后形式如下:Non-equal length error correction coding scheme: the present invention also provides a ternary non-equal length gesture command error correction coding, still taking nine gesture commands as an example, the form of the error correction coding is as follows:

本发明同时提供一种二进制非等长纠错编码,基本手势映射为"0"、"1"两个编码码元。"0"、"1"的对应的手势同上。仍以九种手势命令为例,其组合编码和纠错编码后形式如下:The present invention also provides a binary unequal-length error- correcting code, and the basic gesture is mapped to two coding symbols "0" and "1". The corresponding gestures of "0" and "1" are the same as above. Still taking the nine gesture commands as an example, the form after combined coding and error correction coding is as follows:

上述二进制和三进制检错编码中,除唯一的一元编码“0”外,所有编码长度均不小于2的任一对编码或者编码长度不同,或至少有2个码元不同,因而具有检错能力。In the above binary and ternary error detection codes, except for the unique unary code "0", any pair of codes whose code length is not less than 2 or code lengths are different, or at least 2 code elements are different, so it has the ability to detect wrong ability.

同样,上述二进制和三进制纠错编码每一个在编码长度或编码码元上区别于其他。如三进制非等长纠错编码中,编码长度唯一的一元编码“0”和唯一的二元编码“11”,其余长度相同且编码长度不小于3的编码至少有三个码元不同,如“000”和“111”,因而上述编码的纠错能力来源两个方面:(1)长度不小于3的编码依靠纠错编码来纠正手势误判决;(2)长度小于3的编码依靠手势与编码长度之间的唯一映射来避免手势误判。同时,较短编码分配给更频繁使用的控制命令。Likewise, the binary and ternary error correction codes described above each differ from the other in code length or code symbols. For example, in ternary non-equal-length error- correcting codes, the unique code length of the unary code "0" and the unique binary code "11", the other codes with the same length and code length not less than 3 have at least three symbols different, such as "000" and "111", so the error correction capability of the above codes comes from two aspects: (1) codes with a length of not less than 3 rely on error correction codes to correct gesture misjudgments; (2) codes with a length of less than 3 rely on gestures and A unique mapping between encoding lengths to avoid gesture misjudgments. At the same time, shorter codes are assigned to more frequently used control commands.

按上述思路,稍加变化还可构造其他形式的二进制和三进制编码,本发明不再一一列举。According to the above ideas, other forms of binary and ternary codes can also be constructed with slight changes, which are not listed one by one in the present invention.

40)待检命令手势信号获取:发射机发射信号,接收机接收经命令手势反射的信号,得到待检命令手势信号;40) Acquisition of the command gesture signal to be checked: the transmitter transmits the signal, and the receiver receives the signal reflected by the command gesture to obtain the command gesture signal to be checked;

所述待检手势信号获取(40)步骤中,发射信号包括:单音信号、双音信号、正交频分复用信号、频率调制连续波信号。In the step of obtaining (40) the gesture signal to be detected, the transmitted signal includes: a single-tone signal, a double-tone signal, an OFDM signal, and a frequency-modulated continuous wave signal.

50)命令手势信号识别:将待检命令手势信号分成多个子手势,每个子手势对应一个未知的基本手势,通过各子手势识别实现命令手势信号识别,所述各子手势识别为检测各个子手势的信号特征,将各子手势特征依次与基本手势特征做对比,找出与各子手势相匹配的基本手势,这些基本手势依次组合,构成待检命令手势信号判决结果;50) command gesture signal recognition: the command gesture signal to be checked is divided into multiple sub-gestures, each sub-gesture corresponds to an unknown basic gesture, and the command gesture signal recognition is realized through the recognition of each sub-gesture, and each sub-gesture recognition is to detect each sub-gesture The signal features of each sub-gesture are compared with the basic gesture features in turn to find out the basic gestures that match each sub-gesture, and these basic gestures are combined in turn to form the judgment result of the command gesture signal to be checked;

手势信号识别(50)步骤中,所述子手势识别包括:In the gesture signal recognition (50) step, the sub-gesture recognition includes:

51)子手势信号分段:对每一个子手势信号,将其完整过程分成等时长的多段,其分段数目与所述基本手势分段(21)步骤中分段数目相同,计算各个分段的信号特征标量,按先后顺序组合成子手势信号特征矢量,并根据预先设定模式,保留子手势信号特征矢量中各个标量的绝对数值或仅保留其符号;51) Sub-gesture signal segmentation: for each sub-gesture signal, its complete process is divided into multiple segments of equal duration, the number of segments is the same as the number of segments in the step of the basic gesture segment (21), and each segment is calculated The signal feature scalars are combined into sub-gesture signal feature vectors in sequence, and according to the preset mode, the absolute value or only the sign of each scalar in the sub-gesture signal feature vector is reserved;

52)信号特征类型判断:判断子手势信号的信号特征类型,如为测量数值的符号,则转至范数计算(54)步骤;52) Judgment of signal feature type: judge the signal feature type of the sub gesture signal, if it is the symbol of the measured value, then go to the norm calculation (54) step;

53)夹角计算:计算子手势信号特征矢量与基本手势特征库中所有特征矢量的夹角,转至手势匹配(55)步骤;53) Angle calculation: calculate the angle between the sub gesture signal feature vector and all feature vectors in the basic gesture feature library, and go to the gesture matching (55) step;

54)范数计算:计算子手势信号特征矢量与基本手势特征库中所有特征矢量之差的范数;54) Norm calculation: calculate the norm of the difference between the sub gesture signal feature vector and all feature vectors in the basic gesture feature library;

55)子手势匹配:寻找基本手势特征库中与子手势信号特征矢量的夹角或与子手势信号特征矢量之差的范数最小的基本手势,将其作为与子手势信号相匹配的基本手势。55) Sub-gesture matching: Find the basic gesture with the minimum norm of the angle between the basic gesture feature library and the sub-gesture signal feature vector or the difference with the sub-gesture signal feature vector, and use it as the basic gesture that matches the sub-gesture signal .

测量过程中子手势划分需要区分手势的开始和结束,一种已有方法在不同的手势间停留短暂时间,以识别新手势开始,具体参考“Q.Pu,S.Gupta,S.Gollakota,andS.Patel,Whole-home gesture recognition using wireless signals,ACMInternational Conference on Mobile Computing and Networking(MOBICOM),2013”。子手势识别实施例中,对每个子手势,将子手势信号分成12段,测量各段信号的Doppler频移值,取测量值的符号构成测量的特征矢量。分别计算测量的特征矢量与训练阶段得到的各个基本手势的Doppler频移矢量G0、G1、G2之间的距离,Doppler频移矢量与测量的特征矢量距离最小的基本手势即为判决的手势。此处,两矢量之间的距离定义为两矢量之差的范数。The division of sub-gestures in the measurement process needs to distinguish between the beginning and the end of gestures. One existing method pauses between different gestures for a short time to identify the beginning of a new gesture. See "Q. Pu, S. Gupta, S. Gollakota, and S. .Patel, Whole-home gesture recognition using wireless signals, ACM International Conference on Mobile Computing and Networking (MOBICOM), 2013". In the sub-gesture recognition embodiment, for each sub-gesture, the sub-gesture signal is divided into 12 segments, the Doppler frequency shift value of each segment signal is measured, and the sign of the measured value is taken to form a measured feature vector. Calculate the distance between the measured feature vector and the Doppler frequency shift vectors G 0 , G 1 , and G 2 of each basic gesture obtained in the training stage, and the basic gesture with the smallest distance between the Doppler frequency shift vector and the measured feature vector is the decision gesture. Here, the distance between two vectors is defined as the norm of the difference between the two vectors.

如当基本手势为手势"0"时,测量误差导致测量的Doppler频移矢量为Gm=[-1 11 1 1 1 -1 1 -1 -1 -1 -1]。则Gm与G0、G1、G2之间的距离d0,m、d1,m、d2,m分别为显然,判决测量的手势为基本手势"0"。For example, when the basic gesture is the gesture "0", the measurement error causes the measured Doppler frequency shift vector to be G m =[-1 11 1 1 1 -1 1 -1 -1 -1 -1]. Then the distances d 0,m , d 1,m , d 2,m between G m and G 0 , G 1 , G 2 are respectively Obviously, the gesture measured by the decision is the basic gesture "0".

60)手势信号译码:对待检手势信号判决结果进行检错译码和纠错译码,得到与待检手势信号对应的手势控制命令。60) Gesture signal decoding: Perform error detection decoding and error correction decoding on the judgment result of the gesture signal to be detected to obtain a gesture control command corresponding to the gesture signal to be detected.

所述手势信号译码(60)步骤包括:The gesture signal decoding (60) step includes:

61)容错编码模式判断:判断手势容错编码模式,若为纠错模式,则转至手势纠错译码(63)步骤;61) Error-tolerant encoding mode judgment: judge the gesture error-tolerant encoding mode, if it is an error-correcting mode, then go to the gesture error-correcting decoding (63) step;

62)手势检错译码:判决手势识别是否出现错误,若发现错误则停止译码,手势控制成为无效操作,否则译码并转至手势控制命令输出(64)步骤;62) Gesture error detection and decoding: determine whether there is an error in gesture recognition, if an error is found, stop decoding, gesture control becomes an invalid operation, otherwise decode and go to the gesture control command output (64) step;

63)手势纠错译码:使用最优的最大似然译码或最小距离译码,纠正手势识别中出现的错误,得到译码结果;63) Gesture error correction decoding: use the optimal maximum likelihood decoding or minimum distance decoding to correct errors in gesture recognition and obtain decoding results;

64)手势控制命令输出:将与译码结果对应的手势控制命令输出。64) Gesture control command output: output the gesture control command corresponding to the decoding result.

基本手势判决完成后,得到一组编码即原始手势编码的测量值,本发明称为“测量码”。如果测量误差过大,使得上述基本手势判决出现偶尔误判,“测量码”将不同于原始编码。可进一步通过手势容错译码来处理:本发明实施例给出了识别九种手势命令的手势识别系统的一种三进制等长检错译码和纠错译码,及三进制非等长检错译码和纠错译码的译码方法。After the basic gesture judgment is completed, a set of codes, that is, the measured values of the original gesture codes, is obtained, which is called "measurement codes" in the present invention. If the measurement error is so large that occasional misjudgments occur in the above basic gesture judgments, the "measurement code" will be different from the original code. It can be further processed by gesture error-tolerant decoding: the embodiment of the present invention provides a ternary equal-length error detection decoding and error correction decoding of a gesture recognition system that recognizes nine gesture commands, and a ternary non-equal Decoding methods for long error detection decoding and error correction decoding.

三进制等长检错译码:根据三进制等长检错编码表的编码特点,如下表所示,判断“测量码”的各位数字是否满足如下关系(其中加法为模3加法):第1位+第2位=第3位?如相等,剥离第三位得到译码结果。如不相等,则给出错误提示,当前手势操作无效。Ternary equal-length error detection decoding: According to the encoding characteristics of the ternary equal-length error detection coding table, as shown in the following table, judge whether each digit of the "measurement code" satisfies the following relationship (wherein addition is modulo 3 addition): 1st place + 2nd place = 3rd place? If they are equal, strip the third bit to get the decoding result. If they are not equal, an error message will be given, and the current gesture operation is invalid.

000 011 022 00 0 01 1 02 2

101 112 120 10 1 11 2 12 0

202 210 221 20 2 21 0 22 1

三进制等长纠错译码:依次计算“测量码”和如下码表中所有编码的距离。距离定义为:两个编码中对应码元不同的个数。如实际手势编码为“0000”,测量误差导致判决的“测量码”为“0002”,“测量码”和码表Trinary equal-length error-correcting decoding: Calculate the distance between the "measurement code" and all codes in the following code table in turn. The distance is defined as: the number of different code elements corresponding to two codes. If the actual gesture code is "0000", the "measurement code" judged by the measurement error is "0002", the "measurement code" and the stopwatch

0000 0112 02210000 0112 0221

1011 1120 12021011 1120 1202

2022 2101 22102022 2101 2210

中各个编码距离为:Each coding distance in is:

1 2 31 2 3

3 4 23 4 2

2 3 42 3 4

则“0000”与“0002”距离最小,纠错译码得到“0000”后,剥离第三和第四位得到译码结果。Then the distance between "0000" and "0002" is the smallest, and after error correction decoding obtains "0000", the third and fourth bits are stripped to obtain the decoding result.

三进制非等长检错译码:判断“测量码”的长度,当编码长度为1时,直接输出译码结果“0”,当编码长度为2时,计算“测量码”和码表中各个二元编码的距离,参照下面码表,此处即[00 11 22]。若最小距离为零,直接将“测量码”作为译码输出;若最小距离大于零,给出错误提示,基本手势判决有误。当编码长度为3时,计算“测量码”和码表中各个三元编码[000 011 022 101 202]的距离。若最小距离为零,直接将“测量码”作为译码输出;若最小距离大于零,给出错误提示,基本手势判决有误。Ternary non-equal-length error detection decoding: judge the length of the "measurement code", when the code length is 1, directly output the decoding result "0", when the code length is 2, calculate the "measurement code" and code table For the distance of each binary code in , refer to the code table below, here is [00 11 22]. If the minimum distance is zero, the "measurement code" is directly output as a decoding; if the minimum distance is greater than zero, an error prompt is given, and the judgment of the basic gesture is wrong. When the code length is 3, calculate the distance between the "measurement code" and each ternary code [000 011 022 101 202] in the code table. If the minimum distance is zero, the "measurement code" is directly output as a decoding; if the minimum distance is greater than zero, an error prompt is given, and the judgment of the basic gesture is wrong.

0 00 110 00 11

22 000 01122 000 011

022 101 202022 101 202

三进制非等长纠错译码:判断“测量码”的长度,当编码长度为1时,直接输出译码结果“0”。当编码长度为2时,直接输出译码结果“11”。当编码长度为3时,计算“测量码”和码表中各个三元编码的距离,参照下面码表,此处即[000 111 222],与“测量码”距离最小的三元编码作为译码输出。当编码长度为4时,处理与编码长度为3时相同。Ternary non-equal length error correction decoding: judge the length of the "measurement code", when the code length is 1, directly output the decoding result "0". When the encoding length is 2, the decoding result "11" is directly output. When the code length is 3, calculate the distance between the "measurement code" and each ternary code in the code table, refer to the code table below, here is [000 111 222], the ternary code with the smallest distance from the "measurement code" is used as the translation code output. When the code length is 4, the processing is the same as when the code length is 3.

0 11 0000 11 000

111 222 0000111 222 0000

0111 0222 10120111 0222 1012

根据译码结果,可得手势控制命令,并执行相应命令。According to the decoding result, the gesture control command can be obtained, and the corresponding command can be executed.

本发明方法中,只用少数几种基本手势,并充分利用通信中编码理论,即可构造其他手势,避免了手势量大时繁琐的手势训练过程;当基本手势集合中的手势数目少时,容易构造基本手势使其最小距离(即距离最小的两个手势间的距离)较大;而手势间最小距离越大,误判概率越小;In the method of the present invention, only a small number of basic gestures are used, and other gestures can be constructed by making full use of the coding theory in communication, which avoids the cumbersome gesture training process when the amount of gestures is large; when the number of gestures in the basic gesture set is small, it is easy Construct basic gestures so that the minimum distance (that is, the distance between the two gestures with the smallest distance) is larger; and the greater the minimum distance between gestures, the smaller the probability of misjudgment;

本发明方法中,手势组合编码和检错﹑纠错编码独立于具体的系统(例如超声波、无线电、多普勒或信号幅度),具有普适性;In the method of the present invention, gesture combination coding and error detection and error correction coding are independent of specific systems (such as ultrasound, radio, Doppler or signal amplitude), and have universal applicability;

手势数字化后,可使用数字通信中纠错编码技术,当无线信道衰落、干扰的影响或人为误操作,导致基本手势判决中出现偶尔的误判时,可纠正误判,保证正确的手势识别。After the gesture is digitized, the error correction coding technology in digital communication can be used. When the wireless channel fading, the influence of interference or human misoperation cause occasional misjudgment in the basic gesture judgment, the misjudgment can be corrected to ensure correct gesture recognition.

从而,采用本发明基于手势编码与译码的动态无线手势识别方法,对无线手势的识别概率高,可靠性好,且可用于多种无线手势识别系统。Therefore, by adopting the dynamic wireless gesture recognition method based on gesture encoding and decoding of the present invention, the wireless gesture recognition probability is high, the reliability is good, and it can be used in various wireless gesture recognition systems.

Claims (10)

1.一种基于手势编码与译码的动态无线手势识别方法,其特征在于,包括如下步骤:1. A dynamic wireless gesture recognition method based on gesture encoding and decoding, characterized in that, comprising the steps: 10)构造基本手势集:根据多个基本手势,构造基本手势集;10) Constructing a basic gesture set: constructing a basic gesture set according to multiple basic gestures; 20)基本手势离线训练:对基本手势集中每个基本手势,多次检测经其反射的发射机所发射的信号,得出每个基本手势的特征,存储所有基本手势的特征,建立基本手势特征库;20) Offline training of basic gestures: collect each basic gesture for basic gestures, detect the signal emitted by the transmitter reflected by it multiple times, obtain the characteristics of each basic gesture, store all the characteristics of basic gestures, and establish basic gesture characteristics library; 30)手势编码:将基本手势编码成与手势控制命令相对应的命令手势,构造所述命令手势包括基本手势组合编码、检错编码和纠错编码;30) Gesture coding: coding basic gestures into command gestures corresponding to gesture control commands, constructing the command gestures includes basic gesture combination coding, error detection coding and error correction coding; 40)待检命令手势信号获取:发射机发射信号,接收机接收经命令手势反射的信号,得到待检命令手势信号;40) Acquisition of the command gesture signal to be checked: the transmitter transmits the signal, and the receiver receives the signal reflected by the command gesture to obtain the command gesture signal to be checked; 50)命令手势信号识别:将待检命令手势信号分成多个子手势,每个子手势对应一个未知的基本手势,通过各子手势识别实现命令手势信号识别,所述各子手势识别为检测各个子手势的信号特征,将各子手势特征依次与基本手势特征做对比,找出与各子手势相匹配的基本手势,这些基本手势依次组合,构成待检命令手势信号判决结果;50) command gesture signal recognition: divide the command gesture signal to be checked into multiple sub-gestures, each sub-gesture corresponds to an unknown basic gesture, and realize command gesture signal recognition through sub-gesture recognition, and each sub-gesture recognition is to detect each sub-gesture The signal features of each sub-gesture are compared with the basic gesture features in turn to find out the basic gestures that match each sub-gesture, and these basic gestures are combined in turn to form the judgment result of the command gesture signal to be checked; 60)手势信号译码:对待检手势信号判决结果进行检错译码和纠错译码,得到与待检手势信号对应的手势控制命令。60) Gesture signal decoding: Perform error detection decoding and error correction decoding on the judgment result of the gesture signal to be detected to obtain a gesture control command corresponding to the gesture signal to be detected. 2.根据权利要求1所述的手势识别方法,其特征在于,构造基本手势集(10)步骤中,所述多个基本手势满足:将每个基本手势划分成等数量的多个运动时间段,在同一序号的时间段内,改变各个基本手势之间相对于接收机的运动方向、运动幅度或运动范围,从而使各个基本手势的特征矢量间最小范数距离最大或使各个基本手势的特征矢量正交。2. The gesture recognition method according to claim 1, characterized in that, in the step of constructing a basic gesture set (10), the plurality of basic gestures satisfy: each basic gesture is divided into a plurality of motion time periods of equal quantity , within the time period of the same serial number, change the motion direction, motion range or motion range of each basic gesture relative to the receiver, so that the minimum norm distance between the feature vectors of each basic gesture is the largest or the characteristics of each basic gesture Vector Orthogonal. 3.根据权利要求1所述的手势识别方法,其特征在于:所述基本手势离线训练(20)步骤包括:3. gesture recognition method according to claim 1, is characterized in that: described basic gesture off-line training (20) step comprises: 21)基本手势分段:对每一种基本手势,将其完整过程分成等时长的多段;21) Segmentation of basic gestures: for each basic gesture, divide its complete process into multiple segments of equal duration; 22)特征标量获取:将每段手势对应的信号特征离散化,得到各段手势的信号特征标量;22) Feature scalar acquisition: discretize the signal features corresponding to each gesture to obtain the signal feature scalar of each gesture; 23)特征矢量获取:将整个基本手势的信号特征标量依次组合,构成该基本手势的信号特征矢量;23) Feature vector acquisition: combining the signal feature scalars of the entire basic gesture in turn to form the signal feature vector of the basic gesture; 24)基本手势特征库建立:各个基本手势的信号特征矢量构成基本手势特征库。24) Establishment of the basic gesture feature library: the signal feature vectors of each basic gesture constitute the basic gesture feature library. 4.根据权利要求3所述的手势识别方法,其特征在于:所述基本手势分段(21)步骤中,基本手势分段数目为5~30段。4. The gesture recognition method according to claim 3, characterized in that: in the step of segmenting the basic gestures (21), the number of segments of the basic gestures is 5-30. 5.根据权利要求3所述的手势识别方法,其特征在于,所述特征标量获取(22)步骤具体为:5. gesture recognition method according to claim 3, is characterized in that, described feature scalar acquisition (22) step is specifically: 将各段信号的多次测量值取平均值作为各段信号的特征标量,各段信号特征标量采用测量值的绝对数值或仅取其符号。The average value of the multiple measurement values of each section of signal is taken as the characteristic scalar of each section of signal, and the characteristic scalar of each section of signal adopts the absolute value of the measured value or only takes its sign. 6.根据权利要求3所述的手势识别方法,其特征在于,所述特征标量获取(22)步骤中,所述信号特征包括信号幅度、相位、信号波达方向或多普勒频移随手势运动的变化量。6. The gesture recognition method according to claim 3, characterized in that, in the feature scalar acquisition (22) step, the signal features include signal amplitude, phase, signal direction of arrival or Doppler frequency shift with the gesture The amount of change in motion. 7.根据权利要求1所述的手势识别方法,其特征在于:所述手势编码(30)步骤包括:7. The gesture recognition method according to claim 1, characterized in that: the gesture coding (30) step comprises: 31)编码模式判断:判断手势编码模式,若为非等长度编码,则转至容错编码模式判断(33)步骤;31) Coding mode judgment: judge the gesture coding mode, if it is non-equal-length coding, then go to the fault-tolerant coding mode judgment (33) step; 32)组合手势生成:使用相同数量的基本手势组合,构成组合手势,实现手势命令到组合手势的映射;32) Combined gesture generation: use the same number of basic gesture combinations to form a combined gesture, and realize the mapping from gesture commands to combined gestures; 33)容错编码模式判断:判断容错编码模式,若为纠错编码模式,则转至纠错编码生成(35)步骤;33) Error-tolerant encoding mode judgment: judge the error-tolerant encoding mode, if it is an error-correcting encoding mode, then go to the error-correcting encoding generation (35) step; 34)检错编码生成:对手势命令或组合手势进行检错编码,若采用等长度编码,则组合手势检错编码的编码表中任意两个码组至少有两个码元不同,若采用非等长度编码,则手势命令检错编码的编码表中任意两个码组或者长度不同,或者至少有两个码元不同;34) Generation of error detection codes: perform error detection codes on gesture commands or combined gestures. If equal-length codes are used, at least two code elements in any two code groups in the code table of combined gesture error detection codes are different. Equal-length codes, any two code groups in the code table of the gesture command error detection code are either different in length, or have at least two different code elements; 35)纠错编码生成:对手势命令或组合手势进行纠错编码,若采用等长度编码,则组合手势纠错编码的编码表中任意两个码组至少有三个码元不同,若采用非等长度编码,则手势命令纠错编码的编码表中任意两个码组或者长度不同,或者至少有三个码元不同。35) Generation of error correction codes: perform error correction codes on gesture commands or combined gestures. If equal-length codes are used, any two code groups in the code table of combined gesture error correction codes have at least three different code elements. length coding, then any two code groups in the coding table of the gesture command error correction coding are either different in length, or have at least three different code elements. 8.根据权利要求1所述的手势识别方法,其特征在于:所述待检手势信号获取(40)步骤中,发射信号包括:单音信号、双音信号、正交频分复用信号、频率调制连续波信号。8. The gesture recognition method according to claim 1, characterized in that: in the step of obtaining (40) the gesture signal to be checked, the transmitting signal comprises: a single-tone signal, a dual-tone signal, an OFDM signal, Frequency modulated continuous wave signal. 9.根据权利要求1所述的手势识别方法,其特征在于:手势信号识别(50)步骤中,所述子手势识别包括:9. The gesture recognition method according to claim 1, characterized in that: in the gesture signal recognition (50) step, the sub-gesture recognition comprises: 51)子手势信号分段:对每一个子手势信号,将其完整过程分成等时长的多段,其分段数目与所述基本手势分段(21)步骤中分段数目相同,计算各个分段的信号特征标量,按先后顺序组合成子手势信号特征矢量,并根据预先设定模式,保留子手势信号特征矢量中各个标量的绝对数值或仅保留其符号;51) Sub-gesture signal segmentation: for each sub-gesture signal, its complete process is divided into multiple segments of equal duration, the number of segments is the same as the number of segments in the step of the basic gesture segment (21), and each segment is calculated The signal feature scalars are combined into sub-gesture signal feature vectors in sequence, and according to the preset mode, the absolute value or only the sign of each scalar in the sub-gesture signal feature vector is reserved; 52)信号特征类型判断:判断子手势信号的信号特征类型,如为测量数值的符号,则转至范数计算(54)步骤;52) Judgment of signal feature type: judge the signal feature type of the sub gesture signal, if it is the symbol of the measured value, then go to the norm calculation (54) step; 53)夹角计算:计算子手势信号特征矢量与基本手势特征库中所有特征矢量的夹角,转至手势匹配(55)步骤;53) Angle calculation: calculate the angle between the sub gesture signal feature vector and all feature vectors in the basic gesture feature library, and go to the gesture matching (55) step; 54)范数计算:计算子手势信号特征矢量与基本手势特征库中所有特征矢量之差的范数;54) Norm calculation: calculate the norm of the difference between the sub gesture signal feature vector and all feature vectors in the basic gesture feature library; 55)子手势匹配:寻找基本手势特征库中与子手势信号特征矢量的夹角或与子手势信号特征矢量之差的范数最小的基本手势,将其作为与子手势信号相匹配的基本手势。55) Sub-gesture matching: Find the basic gesture with the minimum norm of the angle between the basic gesture feature library and the sub-gesture signal feature vector or the difference with the sub-gesture signal feature vector, and use it as the basic gesture that matches the sub-gesture signal . 10.根据权利要求1所述的手势识别方法,其特征在于:所述手势信号译码(60)步骤包括:10. The gesture recognition method according to claim 1, characterized in that: the gesture signal decoding (60) step comprises: 61)容错编码模式判断:判断手势容错编码模式,若为纠错模式,则转至手势纠错译码(63)步骤;61) Error-tolerant encoding mode judgment: judge the gesture error-tolerant encoding mode, if it is an error-correcting mode, then go to the gesture error-correcting decoding (63) step; 62)手势检错译码:判决手势识别是否出现错误,若发现错误则停止译码,手势控制成为无效操作,否则译码并转至手势控制命令输出(64)步骤;62) Gesture error detection and decoding: determine whether there is an error in gesture recognition, if an error is found, stop decoding, gesture control becomes an invalid operation, otherwise decode and go to the gesture control command output (64) step; 63)手势纠错译码:使用最优的最大似然译码或最小距离译码,纠正手势识别中出现的错误,得到译码结果;63) Gesture error correction decoding: use the optimal maximum likelihood decoding or minimum distance decoding to correct errors in gesture recognition and obtain decoding results; 64)手势控制命令输出:将与译码结果对应的手势控制命令输出。64) Gesture control command output: output the gesture control command corresponding to the decoding result.
CN201410423086.9A 2014-08-25 2014-08-25 Dynamic radio gesture identification method with decoding is encoded based on gesture Expired - Fee Related CN105373215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410423086.9A CN105373215B (en) 2014-08-25 2014-08-25 Dynamic radio gesture identification method with decoding is encoded based on gesture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410423086.9A CN105373215B (en) 2014-08-25 2014-08-25 Dynamic radio gesture identification method with decoding is encoded based on gesture

Publications (2)

Publication Number Publication Date
CN105373215A CN105373215A (en) 2016-03-02
CN105373215B true CN105373215B (en) 2018-01-30

Family

ID=55375485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410423086.9A Expired - Fee Related CN105373215B (en) 2014-08-25 2014-08-25 Dynamic radio gesture identification method with decoding is encoded based on gesture

Country Status (1)

Country Link
CN (1) CN105373215B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894830B (en) * 2017-10-12 2019-07-26 深圳大学 A kind of interactive input method, system and medium based on acoustic perception
WO2019144295A1 (en) * 2018-01-23 2019-08-01 深圳市大疆创新科技有限公司 Flight control method and device, and aircraft, system and storage medium
CN109189218B (en) * 2018-08-20 2019-05-10 广州市三川田文化科技股份有限公司 A kind of method, apparatus of gesture identification, equipment and computer readable storage medium
CN111474587B (en) * 2019-01-23 2023-05-30 富士通株式会社 Article detection method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102027440A (en) * 2008-03-18 2011-04-20 艾利普提克实验室股份有限公司 Object and movement detection
CN102508547A (en) * 2011-11-04 2012-06-20 哈尔滨工业大学深圳研究生院 Computer-vision-based gesture input method construction method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0806196D0 (en) * 2008-04-04 2008-05-14 Elliptic Laboratories As Multi-range object location estimation
US8907929B2 (en) * 2010-06-29 2014-12-09 Qualcomm Incorporated Touchless sensing and gesture recognition using continuous wave ultrasound signals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102027440A (en) * 2008-03-18 2011-04-20 艾利普提克实验室股份有限公司 Object and movement detection
CN102508547A (en) * 2011-11-04 2012-06-20 哈尔滨工业大学深圳研究生院 Computer-vision-based gesture input method construction method and system

Also Published As

Publication number Publication date
CN105373215A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105373215B (en) Dynamic radio gesture identification method with decoding is encoded based on gesture
EP3822747B1 (en) Signal emission and receiving methods, processor chip, active pen and touch screen
EP2996360B1 (en) System for matching signatures on the basis of motion signature information
US20160259421A1 (en) Devices, systems, and methods for controlling devices using gestures
EP4080333B1 (en) Active pen
WO2020034056A1 (en) Signal transmitting method, signal receiving method and device
CN104297728A (en) Indoor ultrasonic positioning system and positioning method
WO2021128070A1 (en) Coding method, coding device, active pen, and coding system
CN104020852A (en) Mobile terminal movement recognition method based on infrared
CN109714744A (en) A kind of device pairing method and system
CN113447959A (en) GNSS deception jamming detection method based on Doppler frequency and related device
CN107037405A (en) Indoor ultrasonic 3 D positioning system and method
US10754479B2 (en) Touch sensing system and data transmission method of a touch panel
AU2015298322B2 (en) Ultrasonic locationing system using a dual phase pulse
CN106908083A (en) Inertial acceleration indoor positioning error calibration method based on ultrasonic positioning technology
CN105468211A (en) Data transmission method, system and device between capacitive stylus and touch screen
KR20140123237A (en) System for estimating location of indoor object
CN109270490A (en) Positioning signal processing method and processing device
KR101847517B1 (en) Touch screen terminal and near field communication method, apparatus and system thereof
CN104240492A (en) Method, device and terminal for debugging infrared remote control signals
CN103163501A (en) Implementation method of infrared multi-machine coordinate positioning and communication
CN206804856U (en) Indoor ultrasonic 3 D positioning system
Bai et al. Use of a time-variation ultrasonic signal and PIR sensors to enhance the sensing reliability of an embedded surveillance system
CN109343728B (en) Induction device for electromagnetic pen, electronic equipment and electromagnetic induction system
CN209216052U (en) Induction device, electronic equipment and electromagnetic induction system for electromagnetic pen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180130