CN103584856B - A kind of method by process brain wave identification dynamics nictation - Google Patents

A kind of method by process brain wave identification dynamics nictation Download PDF

Info

Publication number
CN103584856B
CN103584856B CN201310632391.4A CN201310632391A CN103584856B CN 103584856 B CN103584856 B CN 103584856B CN 201310632391 A CN201310632391 A CN 201310632391A CN 103584856 B CN103584856 B CN 103584856B
Authority
CN
China
Prior art keywords
brain wave
amplitude
formula
nictation
var
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.)
Active
Application number
CN201310632391.4A
Other languages
Chinese (zh)
Other versions
CN103584856A (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.)
Huainan Power Supply Co of State Grid Anhui Electric Power Co Ltd
Original Assignee
Huainan Power Supply Co of State Grid Anhui Electric Power 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 Huainan Power Supply Co of State Grid Anhui Electric Power Co Ltd filed Critical Huainan Power Supply Co of State Grid Anhui Electric Power Co Ltd
Priority to CN201310632391.4A priority Critical patent/CN103584856B/en
Publication of CN103584856A publication Critical patent/CN103584856A/en
Application granted granted Critical
Publication of CN103584856B publication Critical patent/CN103584856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

A kind of method by process brain wave identification dynamics nictation of the present invention, within each working cycle, first brain wave amplitude x, by iterative formula Y n=(1-k) Y n-1+ kx nand Z n=(1-k) Z n-1+ kx n 2calculate approximate average Y and mean-square value Z, according to formula Var (x)=E (x 2e)-[(x)] 2calculate variance Var (x), then according to formula or formula the amplitude S of x after normalized.And amplitude S is compared with negative sense threshold value with the positive threshold of setting, decision event A or B.If what occur is A event, then thinks and there occurs action nictation, amplitude when dynamics of now blinking is the generation of A event.A kind of method by process brain wave identification dynamics nictation of the present invention, have can fast recognition blink continuously and nictation dynamics, the advantage such as amount of calculation is smaller, method adaptivity is good.

Description

A kind of method by process brain wave identification dynamics nictation
Technical field
The present invention relates to a kind of method by process brain wave identification dynamics nictation.
Background technology
By observing the original amplitude image of brain wave, we find, for anyone, when his health transfixion, action nictation all can cause the fluctuation of forehead EEG ripple, and fluctuation size and nictation dynamics be directly proportional.But because everyone brain wave image has nuance, if process brain wave by setting threshold value, this will cause the product designed to lack universality.If but directly average and variance, huge amount of calculation and computer memory will be caused.
In prior art, use the TGAM module of NeuroSky company can measure original brain wave data and nictation dynamics, but the response speed of this TGAM Module recognition dynamics nictation is very slow, and None-identified continuous print is blinked rapidly.
Summary of the invention
The present invention is for avoiding the weak point that exists in above-mentioned prior art, provides a kind of operand little and can blink by the method for process brain wave identification dynamics nictation continuously by fast recognition, with can fast recognition blink continuously and nictation dynamics.
The present invention be technical solution problem by the following technical solutions.
By a method for process brain wave identification dynamics nictation, it comprises the steps:
Step 1: using ear-lobe as with reference to ground connection, measure the voltage of forehead, observe the oscillogram of brain wave;
Step 2: set a positive threshold and a negative sense threshold value; The amplitude of brain wave is called event A higher than positive threshold, the amplitude of brain wave is called event B lower than negative sense threshold value;
Step 3: within each working cycle of the oscillogram of brain wave, first brain wave amplitude x;
Step 4: carry out iteration by formula (1), obtain the approximation Yn of the average of brain wave amplitude x
Iterative formula (1) is: Y n=(1-k) Y n-1+ kx n(1)
In formula (1), x nit is the amplitude the n-th moment measuring brain wave; Y nwhen being n-th iteration, the approximation of the average of amplitude x; K is constant, and n is natural number; If (k is less, Y nclose to the approximation of real x average, but adaptive speed is slower.Usual k gets 0.005.)
Step 5: carry out iteration by formula (2), obtain the mean-square value Z of brain wave amplitude x napproximation;
Iterative formula (2) is: Z n=(1-k) Z n-1+ kx n 2(2)
In formula (2), x nit is the amplitude the n-th moment measuring brain wave; Z nwhen being n-th iteration, the approximation of the mean-square value of amplitude x; K is constant, and n is natural number; If (k is less, Z nclose to the approximation of real x mean-square value, but adaptive speed is slower.Usual k gets 0.005.)
Step 6: the variance Var (x) being asked for the approximation of x by formula (3);
Var(x)=E(x 2)-[E(x)] 2(3);
Formula (3), x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, E (x 2) mean-square value of brain wave amplitude, Var (x) is the variance of brain wave amplitude;
Step 7: by formula (4), standardization is carried out to x;
s = x - E ( x ) Var ( x ) - - - ( 4 )
Formula (4), x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, and Var (x) is the variance of brain wave amplitude; S is the value after x standardization.
The feature of a kind of method by process brain wave identification dynamics nictation of the present invention is also:
In described step 7, adopt formula (5), standardization is carried out to x;
s 2 = sgn ( x ) [ x - E ( x ) ] 2 Var ( x ) - - - ( 5 ) ;
Wherein, x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, and Var (x) is the variance of brain wave amplitude; S is the value after x standardization; Function sgn (x) represents: when x is more than or equal to 0, its value is 1; When x is less than or equal to 0, its value is-1.
Compared with the prior art, beneficial effect of the present invention is embodied in:
A kind of method by process brain wave identification dynamics nictation of the present invention, within each working cycle, first brain wave amplitude x, approximate average Y and mean-square value Z is calculated by iterative formula (1) and (2), variance is calculated according to formula (3), then according to the amplitude S of x after formula (4) or formula (5) normalized.And amplitude S is compared with negative sense threshold value with the positive threshold of setting, decision event A or B.If what occur be A event, and the time difference of two event generation time does not exceed preset value, then think and there occurs action nictation, and the maximum rounding S in process individual nictation is dynamics nictation.
A kind of method by process brain wave identification dynamics nictation of the present invention, have can fast recognition blink continuously and nictation dynamics, the advantage such as amount of calculation is smaller, method adaptivity is good.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of method by process brain wave identification dynamics nictation of the present invention.
Fig. 2 is the span marked graph of parameter i in Fig. 1.
Fig. 3 is the Matlab analog result figure of a kind of method by process brain wave identification dynamics nictation of the present invention.
Below by way of detailed description of the invention, and the invention will be further described by reference to the accompanying drawings.
Detailed description of the invention
By a method for process brain wave identification dynamics nictation, it is characterized in that, comprise the steps:
Step 1: using ear-lobe as with reference to ground connection, measure the voltage of forehead, observe the oscillogram of brain wave;
Step 2: set a positive threshold and a negative sense threshold value; The amplitude of brain wave is called event A higher than positive threshold, the amplitude of brain wave is called event B lower than negative sense threshold value;
Step 3: within each working cycle of the oscillogram of brain wave, first brain wave amplitude x;
Step 4: carry out iteration by formula (1), obtain the approximation Yn of the average of brain wave amplitude x
Iterative formula (1) is: Y n=(1-k) Y n-1+ kx n(1)
In formula (1), x nit is the amplitude the n-th moment measuring brain wave; Y nwhen being n-th iteration, the approximation of the average of amplitude x; K is constant, and n is natural number; If (k is less, Y nclose to the approximation of real x average, but adaptive speed is slower.Usual k gets 0.005.)
Step 5: carry out iteration by formula (2), obtain the mean-square value Z of brain wave amplitude x napproximation;
Iterative formula (2) is: Z n=(1-k) Z n-1+ kx n 2(2)
In formula (2), x nit is the amplitude the n-th moment measuring brain wave; Z nwhen being n-th iteration, the approximation of the mean-square value of amplitude x; K is constant, and n is natural number; If (k is less, Z nclose to the approximation of real x mean-square value, but adaptive speed is slower.Usual k gets 0.005.)
Step 6: the variance Var (x) being asked for the approximation of x by formula (3);
Var(x)=E(x 2)-[E(x)] 2(3);
Formula (3), x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, E (x 2) mean-square value of brain wave amplitude, Var (x) is the variance of brain wave amplitude;
Step 7: by formula (4), standardization is carried out to x;
s = x - E ( x ) Var ( x ) - - - ( 4 )
Formula (4), x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, and Var (x) is the variance of brain wave amplitude; S is the value after x standardization.
It is the flow chart of a specific embodiment of method of the present invention as Fig. 1.During initialization, the value of each parameter is: Y=0; Z=10000; K=0.005; MaxI=100; I=maxI; MaxS=0; Wherein: i is A, B two interval of events number of cycles; As above, maximum wait period constant maxI is 100.Concrete method computational process participates in Fig. 1.
As Fig. 2, it is the span marked graph of parameter i in Fig. 1.For the brain wave waveform of a nictation in Fig. 2, time i can not be long, because if i is long, does not just become continuous print process nictation, therefore need to arrange upper limit maxI.This method, through test, well can identify nictation and dynamics thereof when health is static.But in the process of people's motion, muscle electricity can disturb eeg signal, causes calculated distortion, so also the method for filtering should be adopted, realize in the process of motion, identify nictation and dynamics thereof.
After trying to achieve the variance Var (x) of the approximation of x, by the variance Var (x) of the approximation of x, standardization is carried out to x.In prior art, directly calculate average and the variance of n brain wave data, the average calculating the n moment needs n+1 computing (addition and multiplication) altogether, and variance needs 2n+3 computing.After have employed method of the present invention, computation of mean values and variance are all that needs calculate for 3 times, and this greatly reducing the amount of calculation of whole computational process, is convenient to the identification being carried out dynamics nictation by brain wave.
Experiment finds, the amplitude of brain wave and nictation dynamics be approximate proportional relationship, so dynamics nictation can be represented by the amplitude of brain wave.But due to the waviness amplitude of everyone brain wave and scope neither with, so need algorithm can self adaptation.And the amount of calculation of this algorithm must be little, so that realize process in real time.Method of the present invention, operand little and can fast recognition blink continuously.
Found through experiments, action of can blinking is divided into two stages: close one's eyes, open eyes.Using ear-lobe as with reference to ground connection, measure the voltage of forehead, observe the oscillogram of brain wave.When being used as eye closing action, can produce a pulse identical with the image longitudinal axis positive direction of oscillogram, the amplitude peak of pulse becomes to be similar to proportional relationship with eye closing dynamics.When being used as eye opening action, can produce a pulse contrary with the image longitudinal axis positive direction of oscillogram, the amplitude peak of pulse becomes to be similar to proportional relationship with eye opening eyesight degree.
Set a positive threshold and a negative sense threshold value, the amplitude of brain wave is called event A higher than positive threshold, the amplitude of brain wave is called event B lower than negative sense threshold value.After only having A event, event B occurs, and the difference of two event generation time is less than preset value, just thinks and there occurs action nictation.If there is A event after A event or B event directly occurs, do not think and create action nictation.
Owing to have employed, standardized method is carried out to brain wave amplitude, so positive threshold and negative sense threshold value are all constant.Through experimental verification, positive threshold gets 3, and negative sense threshold value gets-2.
Need to illustrate a bit, owing to being almost close one's eyes firmly full time people deliberately blinks, opening eyes and do not exert oneself, thus should to close one's eyes time dynamics, as the dynamics of nictation.
In described step 7, adopt formula (5), standardization is carried out to x;
s 2 = sgn ( x ) [ x - E ( x ) ] 2 Var ( x ) - - - ( 5 ) ;
Wherein, x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, and Var (x) is the variance of brain wave amplitude; S is the value after x standardization; Function sgn (x) represents: when x is more than or equal to 0, its value is 1; When x is less than or equal to 0, its value is-1.
In formula (4), need out radical sign.And very large owing to opening this amount of calculation of radical sign, if be not when good equipment using the method in computing capability, be easy to affect computational speed.And adopt formula (5), then do not open the process that radical sign calculates, computational speed is than very fast.Greatly can reduce amount of calculation like this.When being that amplitude compares, only need by S 2with square comparing of amplitude x.Be the square value of amplitude due to what compare, when comparing numerical values recited, it is also to be noted that amplitude needs to retain original sign simultaneously.
By matlab, method is simulated.Following Fig. 3 of result (eeg signal is all by TGAM module acquires) of simulation, value k gets 0.00015 here.Black zone in figure represents brain wave figure, and the some representative of brain wave figure middle white is carved at this moment and recognized action nictation.The numeral on the straight line of the some correspondence of white and straight line side, represents dynamics nictation measured in this moment.
The computational process of the method in each working cycle is as follows: within each working cycle, first brain wave amplitude x, approximate average Y and mean-square value Z is calculated by iterative formula (1) and (2), variance is calculated according to formula (3), then according to the amplitude S of x after formula (4) or formula (5) normalized.And S is compared with negative sense threshold value with the positive threshold of setting, decision event A or B.
Judge to there occurs event A or B by S, if there occurs the B time, when seeing last generation event, occur what, if what occur is A event, and the difference of two event generation time is less than preset value, then thinks and there occurs action nictation, the maximum rounding S in process nictation is dynamics nictation.
Method of the present invention, by measuring forehead EEG ripple, identifies the method for dynamics nictation.The method entered test, had adaptivity, and method is simple, was convenient to realize.Through dynamics nictation that method process obtains, have enough precision.
Method by process brain wave identification dynamics nictation of the present invention, comprise the standardized method of digitized brain wave amplitude data and the data how after cleanup standard, there is provided that a kind of real-time operand is little, fast operation can identify continuously nictation and nictation dynamics method, can distinguish intentional nictation and unconscious nictation.
Method of the present invention, through test, well can identify nictation and dynamics thereof when health is static.

Claims (2)

1., by a method for process brain wave identification dynamics nictation, it is characterized in that, comprise the steps:
Step 1: using ear-lobe as with reference to ground connection, measure the voltage of forehead, observe the oscillogram of brain wave;
Step 2: set a positive threshold and a negative sense threshold value; The amplitude of brain wave is called event A higher than positive threshold, the amplitude of brain wave is called event B lower than negative sense threshold value;
Step 3: within each working cycle of the oscillogram of brain wave, first brain wave amplitude x;
Step 4: carry out iteration by formula (1), obtain the approximation Yn of the average of brain wave amplitude x
Iterative formula (1) is: Y n=(1-k) Y n-1+ kx n(1)
In formula (1), x nit is the amplitude the n-th moment measuring brain wave; Y nwhen being n-th iteration, the approximation of the average of amplitude x; K is constant, and n is natural number;
Step 5: carry out iteration by formula (2), obtain the mean-square value Z of brain wave amplitude x napproximation;
Iterative formula (2) is: Z n=(1-k) Z n-1+ kx n 2(2)
In formula (2), x nit is the amplitude the n-th moment measuring brain wave; Z nwhen being n-th iteration, the approximation of the mean-square value of amplitude x; K is constant, and n is natural number;
Step 6: the variance Var (x) being asked for the approximation of x by formula (3);
Var(x)=E(x 2)-[E(x)] 2(3);
Formula (3), x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, E (x 2) mean-square value of brain wave amplitude, Var (x) is the variance of brain wave amplitude;
Step 7: by formula (4), standardization is carried out to x;
s = x - E ( x ) Var ( x ) - - - ( 4 )
Formula (4), x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, and Var (x) is the variance of brain wave amplitude; S is the value after x standardization; Amplitude S is compared with negative sense threshold value with the positive threshold of setting, decision event A or B; If what occur be A event, and the time difference of two event generation time does not exceed preset value, then think and there occurs action nictation, and the maximum rounding S in process individual nictation is dynamics nictation.
2. a kind of method by process brain wave identification dynamics nictation according to claim 1, is characterized in that, in described step 7, adopt formula (5), carry out standardization to x;
s 2 = sgn ( x ) [ x - E ( x ) ] 2 Var ( x ) - - - ( 5 ) ;
Wherein, x is the amplitude of brain wave, and E (x) is the average of brain wave amplitude, and Var (x) is the variance of brain wave amplitude; S is the value after x standardization; Function sgn (x) represents: when x is more than or equal to 0, its value is 1; When x is less than or equal to 0, its value is-1.
CN201310632391.4A 2013-11-29 2013-11-29 A kind of method by process brain wave identification dynamics nictation Active CN103584856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310632391.4A CN103584856B (en) 2013-11-29 2013-11-29 A kind of method by process brain wave identification dynamics nictation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310632391.4A CN103584856B (en) 2013-11-29 2013-11-29 A kind of method by process brain wave identification dynamics nictation

Publications (2)

Publication Number Publication Date
CN103584856A CN103584856A (en) 2014-02-19
CN103584856B true CN103584856B (en) 2015-09-30

Family

ID=50075334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310632391.4A Active CN103584856B (en) 2013-11-29 2013-11-29 A kind of method by process brain wave identification dynamics nictation

Country Status (1)

Country Link
CN (1) CN103584856B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105011951A (en) * 2014-04-24 2015-11-04 闽南师范大学 Device for extracting eye blinking times by brain waves and method
CN105988569A (en) * 2015-02-13 2016-10-05 北京智谷睿拓技术服务有限公司 Method and device for determining control information
CN107440714A (en) * 2017-09-07 2017-12-08 哈尔滨理工大学 A kind of focus and blink action extraction element and method
CN107714038A (en) * 2017-10-12 2018-02-23 北京翼石科技有限公司 The feature extracting method and device of a kind of EEG signals
CN107582051A (en) * 2017-10-12 2018-01-16 公安部南昌警犬基地 A kind of animal mood brain electricity analytical equipment
CN108245154B (en) * 2018-01-24 2020-10-09 福州大学 Method for accurately determining blink interval in electroencephalogram or electrooculogram by using abnormal value detection
CN113080971A (en) * 2021-04-12 2021-07-09 北京交通大学 Method and system for judging fatigue state by detecting blink signals
CN114288520A (en) * 2021-12-31 2022-04-08 广州酷狗计算机科技有限公司 Sleep assisting method, device, equipment and storage medium based on brain waves

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5649061A (en) * 1995-05-11 1997-07-15 The United States Of America As Represented By The Secretary Of The Army Device and method for estimating a mental decision
CN102133099A (en) * 2011-01-27 2011-07-27 中国医学科学院生物医学工程研究所 Device and method for estimating discomfort in watching 3D images by bioelectricity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3362141B2 (en) * 1996-11-28 2003-01-07 学校法人金沢工業大学 Magnetic measuring device and cryogenic container
JP2011133548A (en) * 2009-12-22 2011-07-07 Toyota Motor Corp Visual field-specifying device and display position-adjusting device
WO2011105000A1 (en) * 2010-02-25 2011-09-01 パナソニック株式会社 Brain wave interface system, brain wave interface provision device, execution method of brain wave interface, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5649061A (en) * 1995-05-11 1997-07-15 The United States Of America As Represented By The Secretary Of The Army Device and method for estimating a mental decision
CN102133099A (en) * 2011-01-27 2011-07-27 中国医学科学院生物医学工程研究所 Device and method for estimating discomfort in watching 3D images by bioelectricity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《眨眼条件反射过程中PFC事件相关电位变化即860MHz电磁辐射对其影响》;范郑丽;《第三军医大学硕士学位论文》;20101231;29-50 *

Also Published As

Publication number Publication date
CN103584856A (en) 2014-02-19

Similar Documents

Publication Publication Date Title
CN103584856B (en) A kind of method by process brain wave identification dynamics nictation
WO2018014436A1 (en) Emotion eeg recognition method providing emotion recognition model time robustness
CN103610447A (en) Mental workload online detection method based on forehead electroencephalogram signals
Anderson et al. Nonlinear dynamic modeling of isometric force production in primate eye muscle
CN112365107B (en) Myopia risk assessment method, device and system based on artificial intelligence
Mensi et al. From stochastic nonlinear integrate-and-fire to generalized linear models
CN106446762A (en) Motion imagination EEG classification processing method based on sparse representation classification algorithm
Gupta et al. Detecting eye movements in EEG for controlling devices
Jia et al. Fatigue driving detection based on deep learning and multi-index fusion
CN105303771A (en) Fatigue judging system and method
Hindarto et al. Feature extraction of electroencephalography signals using fast fourier transform
Ma et al. A classification algorithm of an SSVEP brain-Computer interface based on CCA fusion wavelet coefficients
CN117171658A (en) Cognitive load judging method based on brain intelligent technology
Richardson et al. Nonlinear methods for understanding complex dynamical phenomena in psychological science
CN112370039B (en) Classroom quality detection method and device based on intelligent classroom
CN104146678B (en) Eye fatigue degrees of data analytical method based on smart mobile phone
Wu et al. Driver Drowsiness Detection and Alert System Development Using Object Detection.
CN106778475A (en) A kind of system of selection of optimal lead collection and system
Krell et al. Memory and processing efficient formula for moving variance calculation in EEG and EMG signal processing
Lehtimäki et al. Order reduction for a signaling pathway model of neuronal synaptic plasticity
Nuralif et al. Driver fatigue detection based on face mesh features using deep learning
CN109199364A (en) Application based on cardiac electrical focus curve generation method and segmentation instructional video
Obinata et al. Mental workloads can be objectively quantified in real-time using VOR (vestibulo-ocular reflex)
Zhao et al. Driver fatigue monitoring system using video images and steering grip force
Fang et al. Research on gesture recognition based on sEMG and inertial sensor fusion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant