A contactless gesture control method for a music player

By utilizing millimeter-wave radar sensors and deep learning technology, accurate gesture recognition and control are achieved in situations where there is insufficient light or obstacles, solving the problems of low gesture recognition accuracy and high cost in the existing technology, and providing a comprehensive Timeless and interference-free touchless gesture control method.

CN114879847BActive Publication Date: 2024-09-03HEFEI ZHUANQI TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210574836.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-25
Publication Date
2024-09-03
Estimated Expiration
2042-05-25

AI Technical Summary

Technical Problem

Existing camera-based gesture recognition technology cannot accurately recognize gestures when there is insufficient light or obstacles, and the high cost of high-definition cameras leads to increased production costs.

Method used

A millimeter-wave radar sensor is used to collect gesture information, and a dual-channel convolutional neural network is used for signal processing and feature extraction. It is combined with a long-short-term memory network for gesture classification to achieve contactless gesture control.

Benefits of technology

It can accurately recognize gestures and control the music player when the light is weak or there are obstacles. It has all-day, all-weather and anti-interference capabilities, reducing costs and improving recognition accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114879847B
    Figure CN114879847B
Patent Text Reader

Abstract

The present invention discloses a contactless gesture control method for a music player, including: designing gesture types; using millimeter wave radar to collect gesture information and extract receiving antenna data; performing signal processing on the original radar echo to obtain a speed-time spectrogram; establishing a dual-channel convolutional neural network, and extracting features from two speed-time spectrograms through the dual-channel convolutional neural network; fusing the extracted features to obtain new features; predicting gesture information through a trained gesture classification model and outputting the Data value corresponding to the gesture category; the music player controls the execution of the corresponding function according to the Data value. The present invention uses a millimeter wave radar sensor to collect gesture information and output gesture information, has the ability to work all day and all weather and has strong anti-interference ability, can capture small movements in dark conditions, overcomes the problem of being unable to accurately identify gestures in weak light and the high cost of the required high-definition camera, and has a good market prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of gesture recognition and millimeter wave radar, relates to radar signal processing and gesture recognition technology, and specifically relates to a contactless gesture control method for a music player. Background Art

[0002] Among the gesture recognition control related technologies, most are based on camera gesture control, which uses the camera to collect hand movements, inputs them into the computer's gesture recognition module for hand movement recognition, and then controls the computer program based on the recognition results. This camera-based gesture recognition technology has some problems in practical applications. On the one hand, it has high requirements for camera performance, otherwise it cannot accurately recognize hand movements, which increases production costs; on the other hand, the camera has certain requirements for light when collecting gestures. In the case of weak light or obstacles, it cannot be recognized.

[0003] Therefore, a new technical solution is needed to solve the above problems. Summary of the invention

[0004] Purpose of the invention: In order to overcome the deficiencies in the prior art, a contactless gesture control method for a music player is provided, which can accurately identify the gesture category and control the device in conditions of weak light or obstacles, thereby ensuring the stability of gesture control.

[0005] Technical solution: To achieve the above object, the present invention provides a contactless gesture control method for a music player, comprising the following steps:

[0006] S1: Design gesture type;

[0007] S2: Use millimeter wave radar to collect gesture information, obtain ADC sampling data, and extract receiving antenna data;

[0008] S3: Perform signal processing on the original radar echo to obtain the velocity-time spectrogram of receiving antenna 1 and receiving antenna 2;

[0009] S4: establishing a dual-channel convolutional neural network, and inputting the speed-time spectrograms obtained by the receiving antenna RX1 and the receiving antenna RX2 into two channels of the convolutional neural network respectively, and extracting features of the two speed-time spectrograms through the dual-channel convolutional neural network;

[0010] S5: Fusing the features extracted in step S4 to obtain new features;

[0011] S6: According to the new features obtained in step S5, the gesture information is predicted through the trained gesture classification model and the Data value corresponding to the gesture category is output;

[0012] S7: The music player controls and executes corresponding functions according to the Data value.

[0013] Furthermore, the gesture types in step S1 are designed to be 6 types, namely swiping left, swiping right, rotating clockwise, rotating counterclockwise, swiping upward, and swiping downward, and are completed by 6 different volunteers.

[0014] Furthermore, the gesture type design method in step S1 is: the millimeter wave radar is placed at a horizontal distance of 1 m from the volunteer and at a height flush with the volunteer's shoulder. Six volunteers successively complete 6×200 gestures for a total of 6×6×200 gesture data.

[0015] Furthermore, the method for collecting gesture information using the millimeter wave radar in step S2 is: using a 1-transmit 2-receive mode to collect gesture information, and extracting receiving antenna data based on the collected ADC data.

[0016] Furthermore, the present invention performs fast Fourier transform on the fast time dimension of the reorganized data matrix to obtain a range spectrum, and after filtering out the background noise of the range spectrum, performs fast Fourier processing on the range spectrum along the slow time dimension to obtain a range-Doppler spectrum, accumulates the obtained range-Doppler spectrum by row and then transposes it to obtain multiple column vectors, and splices the multiple column vectors by frame to obtain a speed-time spectrum. Therefore, the step S3 specifically includes the following steps:

[0017] A1: Analyze the original radar echo to get the number of behavioral antennas, which is listed as a matrix of the number of sampling points × the total number of chirps;

[0018] A2: Extract the data of receiving antenna RX1 and rearrange it to obtain a new data matrix of sampling points × chirp number × frame number;

[0019] A3: Perform fast Fourier transform on the fast time dimension of the new data matrix to obtain the distance spectrum;

[0020] A4: Use K nearest neighbor smoothing filter to perform noise suppression on the distance spectrum and filter out background noise;

[0021] A5: Perform fast Fourier transform along the slow time axis on the range spectrum processed in step A4 to obtain a range Doppler spectrum;

[0022] A6: The range Doppler spectra are coherently accumulated to obtain the velocity-time spectra;

[0023] A7: Extract the data of receiving antenna RX2 and rearrange it to obtain a new data matrix of sampling points × chirp number × frame number;

[0024] A8: Repeat steps A3 to A6 to obtain the velocity-time spectrum of the receiving antenna RX2.

[0025] Furthermore, step A2 is specifically as follows: using the Matlab mathematical calculation tool, reading the bin file of the radar original echo data to obtain a matrix of the number of receiving antennas × the total number of sampling points, extracting the data of the receiving antenna RX1, and reorganizing the extracted data into a data matrix of the number of sampling points × the number of chirps × the number of frames.

[0026] Furthermore, the method for establishing the dual-channel convolutional neural network in step S4 is: using the Pytorch deep learning framework to build a convolutional layer containing two two-dimensional convolutional channels for extracting speed-time features, splicing and fusing the feature information extracted by the convolutional layer into the fusion features of the two convolutional channels after the convolutional channel, building a long short-term memory network layer for extracting the timing information of the fusion features, and adding a fully connected layer and a Softmax layer after the long short-term memory neural network layer for gesture classification.

[0027] Furthermore, the operation method of the dual-channel convolutional neural network is: the speed-time spectrograms of the receiving antenna RX1 and the receiving antenna RX2 are respectively input into the first convolution channel and the second convolution channel, their speed-time features are extracted, and then their features are fused and input into the long short-term memory network layer to extract timing information, and finally the classified gestures are output through the fully connected layer and the Softmax layer.

[0028] Furthermore, the training method of the gesture classification model in step S6 is: constructing a data set using the acquired speed-time spectrogram, dividing the data set into a training set, a validation set, and a test set in a ratio of 6:2:2, and training and saving the best model.

[0029] Furthermore, steps S6 and S7 are specifically as follows: connecting the millimeter wave radar board to the music player through Matlab, making relevant gestures to the millimeter wave radar board, the millimeter wave radar board collects gesture information and uploads it to Matlab, Matlab calls the trained gesture classification model and predicts the corresponding gesture category, each gesture category corresponds to a Data value, Matlab passes the Data value to the MusicPlayer module, and the MusicPlayer module controls the music player to perform the corresponding function according to the Data value.

[0030] The present invention adopts a millimeter wave radar sensor to collect gesture information, calls a trained gesture classification model through a host computer to recognize the gesture and transmits a Data value to MusicPlayer, and controls relevant functions of the music player through the Data value.

[0031] The present invention utilizes millimeter-wave radar to collect gesture information. On the one hand, the all-day and all-weather characteristics of millimeter-wave radar determine that the present invention can work normally under conditions of weak light or even no light; on the other hand, millimeter-wave radar has the characteristics of strong penetration ability, etc., which determines that the present invention can continue to work when there is interference or obstacles blocking the device.

[0032] The method of the present invention is implemented by a millimeter wave radar sensor module, a host computer module and a music player module, wherein the millimeter wave radar sensor module is used to detect user hand movements using radar technology and generate gesture information after detecting user gestures; the host computer module connects the millimeter wave module and the music player module, is used to receive gesture information transmitted by the millimeter wave radar sensor module and call a trained model to recognize gesture categories and return a value of a control variable Data, controls the music player module by calling MusicPlayer, and transmits different Data values ​​to MusicPlayer to control corresponding actions of the music player.

[0033] Beneficial effects: Compared with the prior art, the present invention adopts a millimeter-wave radar sensor to collect and output gesture information, control the relevant functions of the music player, has the ability to work around the clock and all-weather and has strong anti-interference ability, can capture tiny movements in dark conditions, and overcomes the problems of the prior art that the light is weak and the high cost of the required high-definition camera, and has a good market prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a hardware structure diagram provided by the present invention;

[0035] Figure 2 This is the overall flow chart of gesture control;

[0036] Figure 3 It is a flow chart of millimeter wave radar data collection;

[0037] Figure 4 It is the radar raw echo processing flow chart;

[0038] Figure 5 It is a diagram of the neural network model structure;

[0039] Figure 6 This is a diagram of the music player control module. DETAILED DESCRIPTION

[0040] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0041] The present invention provides a contactless gesture control system for a music player, such as Figure 1 As shown, its hardware structure includes a millimeter-wave radar sensor module, a host computer module and a music player module. The millimeter-wave radar sensor module is used to detect user hand movements using radar technology and generate gesture information after detecting user gestures; the host computer module connects the millimeter-wave module and the music player module, and is used to receive gesture information transmitted by the millimeter-wave radar sensor module and call the trained model to recognize gesture categories and return a value of a control variable Data, and control the music player module by calling MusicPlayer, and transmit different Data values ​​to MusicPlayer to control the corresponding actions of the music player.

[0042] Based on the above hardware structure, the present invention provides a contactless gesture control method for a music player, such as Figure 2 As shown, it specifically includes the following steps:

[0043] S1: Design 6 gesture types: swipe left, swipe right, rotate clockwise, rotate counterclockwise, swipe up, swipe down, and have 6 different volunteers complete them;

[0044] The gesture type design method is: the millimeter-wave radar is placed at a horizontal distance of 1 m from the volunteer and at a height level with the volunteer's shoulder. Six volunteers completed 6×200 gestures in succession, resulting in a total of 6×6×200 gesture data.

[0045] S2: Use the millimeter wave radar to collect gesture information, obtain ADC sampling data, and extract the receiving antenna data:

[0046] In this embodiment, ARW1443EVM+DCA1000 high-speed data acquisition card is used, and one transmitting antenna and two receiving antennas are set. The 1-transmit 2-receive mode is adopted to collect gesture information. According to the collected ADC data, the receiving antenna data is extracted. The number of sampling points is 64, the number of chirps is 64, and the frame length is 32. The collected gestures are finally saved to the PC in the form of a bin file.

[0047] S3: Process the original radar echo to obtain the velocity-time spectrogram of receiving antenna 1 and receiving antenna 2:

[0048] The specific steps include:

[0049] A1: Analyze the original radar echo to get the number of behavioral antennas, which is listed as a matrix of the number of sampling points × the total number of chirps;

[0050] A2: Use Matlab mathematical calculation tools to read the bin file of the radar's original echo data to obtain a matrix of the number of receiving antennas × the total number of sampling points, extract the data of the receiving antenna RX1, and reorganize the extracted data into a data matrix of the number of sampling points × the number of chirps × the number of frames.

[0051] A3: Perform fast Fourier transform on the fast time dimension of the new data matrix to obtain the distance spectrum;

[0052] A4: Use K nearest neighbor smoothing filter to perform noise suppression on the distance spectrum and filter out background noise;

[0053] A5: Perform fast Fourier transform along the slow time axis on the range spectrum processed in step A4 to obtain a range Doppler spectrum;

[0054] A6: The range Doppler spectra are coherently accumulated to obtain the velocity-time spectra;

[0055] A7: Extract the data of receiving antenna RX2 and rearrange it to obtain a new data matrix of sampling points × chirp number × frame number;

[0056] A8: Repeat steps A3 to A6 to obtain the velocity-time spectrum of the receiving antenna RX2.

[0057] S4: establishing a dual-channel convolutional neural network, and inputting the speed-time spectrograms obtained by the receiving antenna RX1 and the receiving antenna RX2 into two channels of the convolutional neural network respectively, and extracting features of the two speed-time spectrograms through the dual-channel convolutional neural network;

[0058] The method for establishing a dual-channel convolutional neural network is as follows: using the Pytorch deep learning framework to build a convolutional layer with two two-dimensional convolutional channels to extract speed-time features, after the convolutional channel, the feature information extracted by the convolutional layer is spliced ​​and fused into the fusion features of the two convolutional channels, and a long short-term memory network layer is built to extract the timing information of the fusion features, and a fully connected layer and a Softmax layer are added after the long short-term memory neural network layer for gesture classification.

[0059] The operation method of the dual-channel convolutional neural network is as follows: the speed-time spectrograms of the receiving antenna RX1 and the receiving antenna RX2 are input into the first convolution channel and the second convolution channel respectively, their speed-time features are extracted, and then their features are fused and input into the long short-term memory network layer to extract the timing information, and finally the classified gestures are output through the fully connected layer and the Softmax layer.

[0060] In this embodiment, the dual-channel convolutional neural network model will be trained in the Intel I7-10700K processor + NVIDIAGTX3090 + Pytorch environment and the best model will be saved.

[0061] S5: Fusing the features extracted in step S4 to obtain new features;

[0062] S6: According to the new features obtained in step S5, the gesture information is predicted through the trained gesture classification model and the Data value corresponding to the gesture category is output;

[0063] The training method of the gesture classification model is as follows: construct a data set using the acquired speed-time spectrogram, divide the data set into a training set, a validation set, and a test set in a ratio of 6:2:2, and train and save the best model.

[0064] S7: Connect the millimeter-wave radar board to the music player through Matlab, make relevant gestures to the millimeter-wave radar board, and the millimeter-wave radar board collects gesture information and uploads it to Matlab. Matlab calls the trained gesture classification model and predicts the corresponding gesture category. Each gesture category corresponds to a Data value. Matlab passes the Data value to the MusicPlayer module. The MusicPlayer module controls the music player to execute the corresponding function according to the Data value.

[0065] In this embodiment, the Data values ​​corresponding to different gestures as signs are 0, 1, 2, 3, 4, 5, and 6 respectively. The default value of Data is 0. When the Data value is 0, the player does not take any action; when the Data value is 1, it controls the previous song of the music player; when the Data value is 2, it controls the next song of the music player; when the Data value is 3, it controls the volume to increase; when the Data value is 4, it controls the volume to decrease; when the Data value is 5, it controls the playback of the music player; when the Data value is 6, it controls the pause of the music player. After executing the operation, Data returns to the default value of 0. At the same time, when the operation is executed, Matlab displays the relevant gesture name and gesture sign image to the background sign module.

[0066] According to the above method, the following combination Figure 2 to Figure 6 Summarize them separately:

[0067] like Figure 2 As shown, after the millimeter-wave radar collects gesture information, it performs signal processing to obtain a gesture feature map, and then sends the feature map to the network model to obtain the model prediction value. Then, the music player program is called and the prediction value is used to control the relevant functions of the music player.

[0068] like Figure 3As shown, the millimeter wave radar gesture information collection method is: using 77 ~ 81GHz millimeter wave radar to capture gesture information. The radar system has 3 transmitting antennas and 4 receiving antennas. The transmission signal is a linear frequency modulated continuous wave (Frequency Modulated Continuous Wave, FMCW), and the transmission power is 12dBm, which can accurately capture gesture information. The synthesizer generates a linear frequency modulation pulse, which is transmitted by the transmitting antenna. After being reflected by the target, a reflected linear frequency modulation pulse is generated and captured by the receiving antenna. The mixer mixes the receiving signal with the transmitting signal to generate an intermediate frequency signal IF. This embodiment uses a 1-transmit 2-receive method to collect gesture data. The sampling time is 64 frames, the number of sampling points is 64, the number of chirps transmitted in one frame is 32, and the sampling rate is 10MHz. At this point, the intermediate frequency signal is subjected to fast Fourier processing to obtain the speed-time information of the gesture.

[0069] like Figure 4 As shown in the figure, the gesture echo ADC data is read, and the data of the receiving antennas RX1 and RX2 are extracted respectively, and they are reorganized into matrices of the number of sampling points × the number of chirps × the number of frames. First, the fast time dimension of the reorganized matrix is ​​fast Fourier transformed to obtain the range spectrum. Secondly, the K nearest neighbor smoothing filter is used to filter out the background noise. Then, the slow time dimension of the range spectrum is fast Fourier transformed to obtain the range-Doppler spectrum. Finally, multiple range spectra are coherently accumulated to obtain the speed-time spectra of the RX1 and RX2 receiving antennas respectively.

[0070] like Figure 5 As shown in the figure, first, the speed-time spectrograms obtained by the RX1 and RX2 receiving antennas are input into the convolution layer to extract the speed-time features. Secondly, the extracted features are fused to obtain the fused features, and the fused features are input into the long short-term memory network extractor temporal features. Finally, the gesture classification results are obtained through the fully connected layer and the Softmax layer.

[0071] like Figure 6 As shown, the present invention designs 6 gestures to control the music player related functions, namely swipe left (Data 1), swipe right (Data 2), rotate clockwise (Data 3), rotate counterclockwise (Data 4), swipe up (Data 5), ​​and swipe down (Data 6), which respectively correspond to the previous song, next song, volume up, volume down, and play pause of the music player. When the millimeter wave radar collects gesture information and predicts the gesture category, the corresponding gesture controls the corresponding function.

Claims

1. A contactless gesture control method for a music player, characterized in that: The steps include: S1: Design gesture type; S2: Use millimeter wave radar to collect gesture information, obtain ADC sampling data, and extract receiving antenna data; S3: Perform signal processing on the original radar echo to obtain the velocity-time spectrogram of receiving antenna 1 and receiving antenna 2; S4: establishing a dual-channel convolutional neural network, and inputting the speed-time spectrograms obtained by the receiving antenna RX1 and the receiving antenna RX2 into two channels of the convolutional neural network respectively, and extracting features of the two speed-time spectrograms through the dual-channel convolutional neural network; S5: Fusing the features extracted in step S4 to obtain new features; S6: According to the new features obtained in step S5, the gesture information is predicted through the trained gesture classification model and the Data value corresponding to the gesture category is output; S7: The music player controls and executes corresponding functions according to the Data value; The step S3 specifically includes the following steps: A1: Analyze the original radar echo to get the number of behavioral antennas, which is listed as a matrix of the number of sampling points × the total number of chirps; A2: Extract the data of receiving antenna RX1 and rearrange it to obtain a new data matrix of sampling points × chirp number × frame number; A3: Perform fast Fourier transform on the fast time dimension of the new data matrix to obtain the distance spectrum; A4: Use K nearest neighbor smoothing filter to perform noise suppression on the distance spectrum and filter out background noise; A5: Perform fast Fourier transform along the slow time axis on the range spectrum processed in step A4 to obtain a range Doppler spectrum; A6: The range Doppler spectra are coherently accumulated to obtain the velocity-time spectra; A7: Extract the data of receiving antenna RX2 and rearrange it to obtain a new data matrix of sampling points × chirp number × frame number; A8: Repeat steps A3 to A6 to obtain the velocity-time spectrum of the receiving antenna RX2; The method for establishing the dual-channel convolutional neural network in step S4 is as follows: using the Pytorch deep learning framework to build a convolution layer containing two two-dimensional convolutional channels for extracting speed-time features, concatenating and fusing the feature information extracted by the convolution layer to the fusion features of the two convolutional channels after the convolution channel, building a long short-term memory network layer for extracting the timing information of the fusion features, and adding a fully connected layer and a Softmax layer after the long short-term memory neural network layer for gesture classification; The operation method of the dual-channel convolutional neural network is as follows: the speed-time spectrograms of the receiving antenna RX1 and the receiving antenna RX2 are input into the first convolutional channel and the second convolutional channel respectively, and the speed-time features are extracted, and then the features are fused and input into the long short-term memory network layer to extract the timing information, and finally the classified gestures are output through the fully connected layer and the Softmax layer; The training method of the neural network model in step S6 is: constructing a data set using the acquired speed-time spectrogram, dividing the data set into a training set, a validation set, and a test set in proportion, and training and saving the best model; The steps S6 and S7 are specifically as follows: connecting the millimeter wave radar board to the music player through Matlab, making relevant gestures to the millimeter wave radar board, the millimeter wave radar board collects gesture information and uploads it to Matlab, Matlab calls the trained gesture classification model and predicts the corresponding gesture category, each gesture category corresponds to a Data value, Matlab passes the Data value to the MusicPlayer module, and the MusicPlayer module controls the music player to execute the corresponding function according to the Data value.

2. A contactless gesture control method for a music player according to claim 1, characterized in that: In step S1, six gesture types are designed, namely, swiping left, swiping right, rotating clockwise, rotating counterclockwise, swiping upward, and swiping downward, and are completed by six different volunteers.

3. A contactless gesture control method for a music player according to claim 2, characterized in that: The design method of the gesture type in step S1 is: the millimeter wave radar is placed at a horizontal distance of 1 m from the volunteer and at a height flush with the volunteer's shoulder. Six volunteers successively complete 6×200 gestures, resulting in a total of 6×6×200 gesture data.

4. The contactless gesture control method for a music player according to claim 1, characterized in that: The method for collecting gesture information using the millimeter wave radar in step S2 is: using a 1-transmit 2-receive mode to collect gesture information, and extracting receiving antenna data based on the collected ADC data.

Citation Information

Patent Citations

  • Gesture recognition method based on millimeter wave radar

    CN113553923A

  • Convolutional neural network based human machine interface system using doppler radar and voice sensor, device for processing sensor data of the human machine interface system, method for operating the sames

    KR102322817B1

  • GESTURE CLASSIFICATION AND CONTROL USING mm WAVE RADAR

    US20200073480A1

  • Radar signal-based identity and gesture recognition method

    WO2021068470A1