CN113208632A - Attention detection method and system based on convolutional neural network - Google Patents

Attention detection method and system based on convolutional neural network Download PDF

Info

Publication number
CN113208632A
CN113208632A CN202110372656.6A CN202110372656A CN113208632A CN 113208632 A CN113208632 A CN 113208632A CN 202110372656 A CN202110372656 A CN 202110372656A CN 113208632 A CN113208632 A CN 113208632A
Authority
CN
China
Prior art keywords
neural network
convolutional neural
eeg signal
features
detection method
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.)
Pending
Application number
CN202110372656.6A
Other languages
Chinese (zh)
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.)
Beijing Brain Up Technology Co ltd
Original Assignee
Beijing Brain Up Technology Co ltd
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 Beijing Brain Up Technology Co ltd filed Critical Beijing Brain Up Technology Co ltd
Priority to CN202110372656.6A priority Critical patent/CN113208632A/en
Publication of CN113208632A publication Critical patent/CN113208632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/168Evaluating attention deficit, hyperactivity
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
    • A61B5/7267Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems involving training the classification device

Abstract

The invention discloses an attention detection method and system based on a convolutional neural network, wherein the method comprises the steps that EEG signal acquisition equipment acquires an EEG signal of a user, and the EEG signal is transmitted to a data analysis system after being subjected to filtering pretreatment; the data analysis system extracts the features of the EEG signal according to task requirements and transmits the features to the judgment and identification system; the judgment and identification system identifies the attention state of the user through a convolutional neural network algorithm. The method accurately detects whether attention is concentrated or not through the convolutional neural network algorithm, improves the analysis efficiency and accuracy, and widens the application scene of detection.

Description

Attention detection method and system based on convolutional neural network
Technical Field
The invention relates to the technical field of EEG signal identification, in particular to an attention detection method and system based on a convolutional neural network.
Background
The attention detection method commonly used in the market at present is a complex experiment, such as making a large number of mathematic questions and watching movie and television videos by a testee, then performing questionnaire survey and statistical analysis, and analyzing whether attention is focused or not according to results, so that certain subjectivity exists. The method for detecting attention is complex to operate, low in efficiency, large in error and limited in application scene.
Therefore, how to improve the identification accuracy is an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide an attention detection method and system based on a convolutional neural network, so as to accurately detect whether attention is concentrated or not, improve the detection efficiency and accuracy and widen the application scene of detection.
In order to solve the above technical problem, the present invention provides an attention detection method based on a convolutional neural network, including:
the EEG signal acquisition equipment acquires an EEG signal of a user, and the EEG signal is transmitted to the data analysis system after being subjected to filtering pretreatment;
the data analysis system extracts the features of the EEG signal according to task requirements and transmits the features to the judgment and identification system;
the judgment and identification system identifies the attention state of the user through a convolutional neural network algorithm.
Preferably, the filtering pretreatment comprises power frequency filtering and band-pass filtering.
Preferably, after the preprocessing step, the method further includes performing data normalization operation on the signals to ensure consistency of the signals.
Preferably, the features of the EEG signal comprise time domain features, frequency domain features, time-frequency features of the EEG signal.
Preferably, the time domain features include mean, variance and first order difference features.
Preferably, the frequency domain features are power energy values of the EEG signal at different frequency bands.
Preferably, the time-frequency features of the EEG signal are calculated using short-time fourier transform, STFT, and wavelet transform methods.
The invention also provides an attention detection system based on the convolutional neural network, which is used for realizing the method and comprises the following steps:
the EEG signal acquisition equipment is used for acquiring an EEG signal of a user, filtering and preprocessing the EEG signal and transmitting the EEG signal to the data analysis system;
the data analysis system is used for extracting the features of the EEG signals according to task requirements and transmitting the features to the judgment and identification system;
and the judgment and identification system is used for identifying the attention state of the user through a convolutional neural network algorithm.
According to the attention detection method and system based on the convolutional neural network, the EEG electroencephalogram signals of a person are obtained in real time, the frequency spectrum energy is used as the characteristic, and whether the attention is concentrated or not is accurately detected by combining the convolutional neural network algorithm, so that the analysis efficiency and accuracy are improved, and the application scene of detection is widened.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an attention detection method based on a convolutional neural network according to the present invention;
FIG. 2 is an EEG waveform in a state of concentration;
FIG. 3 is a waveform of an EEG under inattentive conditions
FIG. 4 is a schematic diagram of the EEG signal frequency energy distribution in the state of concentration provided by the present invention;
FIG. 5 is a schematic diagram of the frequency energy distribution of an EEG signal in an inattentive condition provided by the present invention;
fig. 6 is a schematic structural diagram of an attention detection system based on a convolutional neural network according to the present invention.
Detailed Description
The core of the invention is to provide an attention detection method and system based on a convolutional neural network, so as to realize intelligent analysis of electroencephalogram signals, judge attention states, improve recognition accuracy and reduce recognition time.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an attention detection method based on a convolutional neural network according to the present invention. With reference to fig. 1, the attention detection method adopted in this embodiment specifically includes the following steps:
the method comprises the following steps that 1, EEG signal acquisition equipment acquires an EEG signal of a user, and the EEG signal is transmitted to a data analysis system after being subjected to filtering pretreatment;
in the step of acquiring EEG signals, the device adopted in this embodiment is preferably a portable BCI device, belongs to a few-channel high-precision EEG acquisition device, and acquires high-quality EEG signals from the forehead through electrodes on the premise of satisfying the quality of the acquired signals. The equipment has the characteristics of portability, signal quality stability and the like.
Electroencephalographic signals are specific electrical discharge activity of the human brain, and EEG electroencephalography is a commonly used analytical method. EEG has the advantages of convenience in acquisition mode, stability of signals, lower cost and the like. EEG signals may be divided into delta, theta, alpha, beta, and gamma band signals according to frequency distribution. When the attention of a person is very focused, the phenomenon of activity enhancement in the EEG signal at intermediate frequencies (alpha and beta waves) can be observed. By using the portable EEG acquisition equipment, the EEG signals of a person can be acquired in real time, and the power values of the EEG signals in different frequency bands and the ratios of different frequency band energies are calculated. And (4) accurately detecting whether attention is concentrated or not by using the spectral energy as a characteristic through a machine learning algorithm. FIG. 2 is an EEG waveform in a state of concentration; FIG. 3 is a waveform of an EEG in an inattentive condition.
In the preprocessing step, power frequency filtering and band-pass filtering are carried out on the original signal. Because a large amount of power frequency interference noise exists in the original EEG signal, a 50Hz notch filter can be designed in the embodiment to remove power frequency interference, the signal is subjected to 0.5-40Hz band-pass filtering, and the eye electrical artifact is removed by using independent component analysis. By the above pre-processing method irrelevant useless information in the EEG signal is removed, leaving a clean signal relevant to the experimental task.
Because the EEG signals have individual differences, further, the present embodiment may further increase the data normalization operation to ensure the consistency of the signals.
2. The data analysis system extracts the features of the EEG signal according to task requirements and transmits the features to the judgment and identification system;
the EEG feature extraction method comprises the following steps: (1) time domain characteristics, (2) frequency domain characteristics, (3) time-frequency characteristics, and the like. According to the embodiment, the EEG signal characteristics are extracted by selecting a suitable method according to task requirements.
The time domain characteristics of the signals adopt characteristics such as mean, variance and first-order difference; calculating the frequency domain characteristics of the signal, and calculating the power energy values of the signal in delta (0.5-4Hz), theta (4-8Hz), alpha (8-14Hz), beta (14-30Hz) and gamma (30-50Hz) frequency bands by using a Fast Fourier Transform (FFT) algorithm. The time-frequency characteristics of the calculated signals are calculated by adopting a short-time Fourier transform (STFT) algorithm and a wavelet transform method. According to the characteristics of the attention task, the power energy values of the signals in different frequency bands are calculated.
According to the characteristics of the computed electroencephalogram signals on the frequency domain, it can be found that when people concentrate on attention, the power energy of delta and theta low frequency bands is low, and correspondingly, the power energy of beta, gamma and other high frequency bands is high, as shown in fig. 4; while the person is inattentive, the delta and theta low bands of power energy increase and correspondingly the beta and gamma high bands of power energy decrease, as shown in FIG. 5.
Therefore, the frequency domain characteristics of the electroencephalogram signals are obviously distinguished, and the attention focusing state and the attention non-focusing state can be judged through subsequent further processing.
3. The judgment and identification system identifies the attention state of the user through a convolutional neural network algorithm.
Among them, neural networks (CNNs) are part of the field of artificial intelligence research, and the most popular neural network currently is deep Convolutional Neural Network (CNNs). CNNs are currently enjoying tremendous success in many areas of research, such as speech recognition, image segmentation, natural language processing, etc. CNNs can automatically learn features from (usually large-scale) data and generalize the results to the same type of unknown data.
The convolutional neural network is composed of three structures of convolution (convolution), activation (activation), and pooling (displacement). The result of the CNN output is a specific feature space for each image. When processing an image classification task, the feature space output by the CNN is used as an input of a fully connected layer or a fully connected neural network (FCN), and the fully connected layer is used to complete mapping from the input image to the tag set, i.e., classification, to obtain a result of determining whether the user is tired or not. This embodiment outputs two determination results of "concentration" and "non-concentration". The method comprises the steps of preprocessing an original EEG signal by artifact removal, normalizing data, calculating characteristics, and then directly sending the characteristics into a CNN network for classification.
The most important of the above steps is how to iteratively adjust the network weights by the training data, i.e. the back propagation algorithm. In addition to the CNN algorithm adopted in this embodiment, the present mainstream Convolutional Neural Networks (CNNs), such as VGG, ResNet, etc., may also be applied, and these algorithms are all adjusted and combined by simple CNN.
According to the method, the EEG electroencephalogram signals of the human are acquired in real time, the spectrum energy is used as the characteristic, and the convolutional neural network algorithm is combined to accurately detect whether the attention is concentrated or not, so that the analysis efficiency and accuracy are improved, and the application scene of detection is widened. The method uses a special portable few-channel forehead electrode electroencephalogram acquisition device, judges whether attention is concentrated or not by calculating power values of different frequency bands, can acquire the attention state of a person in real time, and timely makes judgment and early warning, is suitable for various learning, working and living scenes, ensures the real-time performance and safety of data transmission, improves the accuracy of signal analysis, ensures the accuracy of classification results by using an efficient machine learning algorithm, and has diversity in application scenes.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an attention detection system based on a convolutional neural network according to the present invention, the system is used for implementing the above method, and includes:
the EEG signal acquisition equipment 101 is used for acquiring an EEG signal of a user, filtering and preprocessing the EEG signal and transmitting the processed EEG signal to a data analysis system;
the data analysis system 102 is used for extracting the features of the EEG signals according to task requirements and transmitting the features to the judgment and identification system;
and the judgment and identification system 103 is used for identifying the attention state of the user through a convolutional neural network algorithm.
Therefore, the system accurately detects whether attention is concentrated or not by acquiring the electroencephalogram signals of a person in real time, taking the frequency spectrum energy as the characteristic and combining the convolutional neural network algorithm, improves the analysis efficiency and accuracy, and widens the application scene of detection.
For the introduction of the attention detection system based on the convolutional neural network provided by the present invention, please refer to the aforementioned embodiment of the attention detection method based on the convolutional neural network, and the embodiments of the present invention are not described herein again. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The attention detection method and system based on the convolutional neural network provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. An attention detection method based on a convolutional neural network, comprising:
the EEG signal acquisition equipment acquires an EEG signal of a user, and the EEG signal is transmitted to the data analysis system after being subjected to filtering pretreatment;
the data analysis system extracts the features of the EEG signal according to task requirements and transmits the features to the judgment and identification system;
the judgment and identification system identifies the attention state of the user through a convolutional neural network algorithm.
2. The convolutional neural network-based attention detection method of claim 1, wherein said filtering preprocessing comprises power frequency filtering and band pass filtering.
3. The convolutional neural network-based attention detection method of claim 1, wherein said preprocessing step is followed by a data normalization operation on the signal to ensure signal consistency.
4. The convolutional neural network-based attention detection method of claim 1, wherein the features of the EEG signal comprise time domain features, frequency domain features, time-frequency features of the EEG signal.
5. The convolutional neural network-based attention detection method of claim 4, wherein the time-domain features include mean, variance, and first-order difference features.
6. The convolutional neural network-based attention detection method of claim 4, wherein said frequency domain feature is the power energy value of EEG signal at different frequency bands.
7. The convolutional neural network-based attention detection method of claim 4, wherein the time-frequency features of the EEG signal are calculated using a short-time Fourier transform (STFT) and a wavelet transform method.
8. An attention detection system based on a convolutional neural network for implementing the method of any one of claims 1 to 7, comprising:
the EEG signal acquisition equipment is used for acquiring an EEG signal of a user, filtering and preprocessing the EEG signal and transmitting the EEG signal to the data analysis system;
the data analysis system is used for extracting the features of the EEG signals according to task requirements and transmitting the features to the judgment and identification system;
and the judgment and identification system is used for identifying the attention state of the user through a convolutional neural network algorithm.
CN202110372656.6A 2021-04-07 2021-04-07 Attention detection method and system based on convolutional neural network Pending CN113208632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110372656.6A CN113208632A (en) 2021-04-07 2021-04-07 Attention detection method and system based on convolutional neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110372656.6A CN113208632A (en) 2021-04-07 2021-04-07 Attention detection method and system based on convolutional neural network

Publications (1)

Publication Number Publication Date
CN113208632A true CN113208632A (en) 2021-08-06

Family

ID=77086590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110372656.6A Pending CN113208632A (en) 2021-04-07 2021-04-07 Attention detection method and system based on convolutional neural network

Country Status (1)

Country Link
CN (1) CN113208632A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115601318A (en) * 2022-10-10 2023-01-13 广东昱升个人护理用品股份有限公司(Cn) Intelligent production method and system for fast-absorption low-reverse-osmosis paper diaper
CN115886839A (en) * 2022-12-19 2023-04-04 广州华见智能科技有限公司 Diagnosis system based on brain wave analysis

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107174262A (en) * 2017-05-27 2017-09-19 西南交通大学 Notice evaluating method and system
CN108537704A (en) * 2018-04-17 2018-09-14 深圳市心流科技有限公司 Classroom evaluating method, device and computer readable storage medium
CN110765920A (en) * 2019-10-18 2020-02-07 西安电子科技大学 Motor imagery classification method based on convolutional neural network
CN110772249A (en) * 2019-11-25 2020-02-11 华南脑控(广东)智能科技有限公司 Attention feature identification method and application
US20200330020A1 (en) * 2019-04-16 2020-10-22 Stmicroelectronics S.R.L. Electrophysiological signal processing method, corresponding system, computer program product and vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107174262A (en) * 2017-05-27 2017-09-19 西南交通大学 Notice evaluating method and system
CN108537704A (en) * 2018-04-17 2018-09-14 深圳市心流科技有限公司 Classroom evaluating method, device and computer readable storage medium
US20200330020A1 (en) * 2019-04-16 2020-10-22 Stmicroelectronics S.R.L. Electrophysiological signal processing method, corresponding system, computer program product and vehicle
CN110765920A (en) * 2019-10-18 2020-02-07 西安电子科技大学 Motor imagery classification method based on convolutional neural network
CN110772249A (en) * 2019-11-25 2020-02-11 华南脑控(广东)智能科技有限公司 Attention feature identification method and application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115601318A (en) * 2022-10-10 2023-01-13 广东昱升个人护理用品股份有限公司(Cn) Intelligent production method and system for fast-absorption low-reverse-osmosis paper diaper
CN115886839A (en) * 2022-12-19 2023-04-04 广州华见智能科技有限公司 Diagnosis system based on brain wave analysis

Similar Documents

Publication Publication Date Title
CN107157477B (en) Electroencephalogram signal feature recognition system and method
Mert et al. Emotion recognition based on time–frequency distribution of EEG signals using multivariate synchrosqueezing transform
CN110353702A (en) A kind of emotion identification method and system based on shallow-layer convolutional neural networks
CN111523601B (en) Potential emotion recognition method based on knowledge guidance and generation of countermeasure learning
CN109036382B (en) Audio feature extraction method based on KL divergence
CN113208634A (en) Attention detection method and system based on EEG brain waves
CN109890043B (en) Wireless signal noise reduction method based on generative countermeasure network
CN103019383B (en) A kind of Steady State Visual Evoked Potential brain-machine interface signal recognition methods
CN113208632A (en) Attention detection method and system based on convolutional neural network
CN113180704A (en) Sleep spindle wave detection method and system based on EEG brain waves
CN112820275A (en) Automatic monitoring method for analyzing abnormality of suckling piglets based on sound signals
CN108260012B (en) Electronic device, video playing control method and related product
CN113378737A (en) Implanted brain-computer interface neuron spike potential classification method
CN113180663A (en) Emotion recognition method and system based on convolutional neural network
CN113208631A (en) Winking detection method and system based on EEG brain waves
CN115770044B (en) Emotion recognition method and device based on electroencephalogram phase amplitude coupling network
CN116531001A (en) Method and device for generating multi-listener electroencephalogram signals and identifying emotion of cross-listener
CN113180705A (en) Fatigue detection method and system based on EEG brain waves
Uzun et al. Emotion primitives estimation from EEG signals using Hilbert Huang Transform
CN113017648B (en) Electroencephalogram signal identification method and system
CN113178195B (en) Speaker identification method based on sound-induced electroencephalogram signals
CN113662561B (en) Electroencephalogram feature extraction method and device of subband cascade co-space mode
CN115620751A (en) Electroencephalogram signal prediction method based on speaker voice induction
CN112022151B (en) Method for processing and identifying brain electricity spike slow wave
CN113208624A (en) Fatigue detection method and system based on convolutional neural network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210806