CN105011932A - Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration - Google Patents

Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration Download PDF

Info

Publication number
CN105011932A
CN105011932A CN201510489130.0A CN201510489130A CN105011932A CN 105011932 A CN105011932 A CN 105011932A CN 201510489130 A CN201510489130 A CN 201510489130A CN 105011932 A CN105011932 A CN 105011932A
Authority
CN
China
Prior art keywords
wave
signal
electroencephalogram
fatigue
driver
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
CN201510489130.0A
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.)
Xian University of Science and Technology
Original Assignee
Xian 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 Xian University of Science and Technology filed Critical Xian University of Science and Technology
Priority to CN201510489130.0A priority Critical patent/CN105011932A/en
Publication of CN105011932A publication Critical patent/CN105011932A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a fatigue driving electroencephalogram monitoring method based on the degree of meditation and the degree of concentration. The method includes the steps of 1, brain wave signal acquisition, wherein a brain electrical signal acquisition device is adopted to acquire and preprocess brain wave signals of a driver and synchronously transmit the brainwave signals to a brain electrical signal monitoring device; 2, brain wave signal analysis and processing, wherein analysis and processing are conducted on the brain wave signals acquired and preprocessed by the brain electrical signal acquisition device each second according to the sequence of sampling time, and whether the driver is in the fatigue state or not is judged; the brain electrical wave signals acquired and preprocessed in any second are analyzed and processed in the following steps of synchronous brain electrical wave storage, meditation degree and concentration degree extraction, fatigue degree calculation, threshold value comparison, driver fatigue degree calculation in continuous K seconds and fatigue driving judgment. The fatigue driving electroencephalogram monitoring method is simple in steps, reasonable in design, convenient to implement, good in use effect and capable of accurately monitoring the fatigue driving state of the driver easily, conveniently and fast.

Description

Fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree
Technical Field
The invention belongs to the technical field of brain wave monitoring, and particularly relates to a fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree.
Background
In recent years, with the increase of the number of automobiles and the enlargement of the scale of road construction, problems such as traffic accidents have been highlighted. China is the most populated country in the world, and the number of road traffic accident deaths is also the highest worldwide country, and is the first world in many years. The driver is fatigued to drive, which undoubtedly brings hidden danger to the safety of the driver and passengers. The research of the driving fatigue is divided into a subjective method and an objective method, and the subjective research methods comprise a subjective questionnaire, a driver self-record, a sleep habit questionnaire and a Stanford sleep scale. The objective study methods include electroencephalogram, electrooculogram, electromyogram, respiratory airflow, respiratory effect, temperature when arterial blood is saturated with oxygen, and electrocardiogram. Although the driving fatigue determination result of the above method is relatively accurate, the above method is generally measured before or after driving, and thus is advanced or delayed, rather than real-time, and it is difficult to install complicated detection instruments in a limited space of a cab; moreover, the mental state of the driver leaving or not entering the cab is different, and the measurement result of the accurate instrument is also greatly influenced.
Brain wave control technology has become one of the hot researches in recent years in the fields of biomedicine, computers, and the like. The traditional subcutaneous brain wave acquisition method is complex and inconvenient, so that the method is difficult to popularize in other fields. At present, the brain-computer interface technology is in the development and initial stage in China, and related research is less. The TGAM (thinkgear am) module is an ASIC module of brain wave sensor designed by NeuroSky science and technology for mass market application, and is also called TGAM electroencephalogram module (TGAM module for short). The tgam (thinkgear am) module can process and output brain wave frequency spectrum, brain wave signal quality, original brain wave and three eSense parameters of Neurosky: concentration, meditation (also called relaxation) and blink detection. In practical use, data transmitted by the TGAM module can be acquired through a serial port, and the TGAM module respectively transmits an original data packet (namely an original brain wave) at a frequency of 512Hz and transmits the original data packet through eSense at a frequency of 1HzTMAnd (5) processing the data packet by an algorithm. Thus, the TGAM module outputs concentration and meditation data one per second. Wherein concentration data (also referred to as a concentration index) indicates how strongly a user's mental "concentration" level or "attention" level is, the index value ranging from 0 to 100. The meditation data (also called the relaxation index) indicates the level of mental "calmness" or "relaxation" of the user, which index value ranges from 0 to 100.
Because the interface of the TGAM (thinkGear AM) module and the human body only needs a simple dry contact point, the TGAM (thinkGear AM) module can be easily applied to toys, video games and health equipment, and is suitable for the application of portable consumer products powered by batteries due to low energy consumption. Therefore, a fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree, which has the advantages of simple steps, reasonable design, convenience in implementation and good use effect, needs to be developed, and the fatigue driving state of the driver can be accurately monitored simply, conveniently and rapidly.
Disclosure of Invention
The invention aims to solve the technical problem of providing a fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree, which has the advantages of simple steps, reasonable design, convenient implementation, good use effect and capability of simply, conveniently and quickly accurately monitoring the fatigue driving state of a driver.
In order to solve the technical problems, the invention adopts the technical scheme that: a fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized by comprising the following steps:
step one, brain wave signal acquisition: acquiring and preprocessing a brain wave signal of a driver by adopting a brain wave signal acquisition device according to a preset sampling frequency, and synchronously transmitting the preprocessed brain wave signal to a brain wave signal monitoring device;
the electroencephalogram signal acquisition device and the electroencephalogram signal monitoring device are communicated in a wireless communication mode; the electroencephalogram signal acquisition device is a TGAM module, the TGAM module comprises an electroencephalogram signal extraction device for extracting electroencephalogram signals of a driver and an electroencephalogram signal preprocessing device for sampling and preprocessing the signals extracted by the electroencephalogram signal extraction device, the electroencephalogram signal preprocessing device is connected with the electroencephalogram signal extraction device, the electroencephalogram signal extraction device comprises a first electroencephalogram electrode for sampling the electric potential of the frontal lobe area of the driver in real time and a second electroencephalogram electrode and a third electroencephalogram electrode for sampling the electric potential of the ear of the driver in real time, and the first electroencephalogram electrode, the second electroencephalogram electrode and the third electroencephalogram electrode are all connected with the electroencephalogram signal preprocessing device; the electroencephalogram signal monitoring device comprises a main control chip, and a second wireless communication module and an alarm prompting unit which are respectively connected with the main control chip, wherein the alarm prompting unit is controlled by the main control chip and is connected with the main control chip; the electroencephalogram signal preprocessing device is connected with the first wireless communication module and is communicated with the main control chip through the first wireless communication module and the second wireless communication module;
step two, brain wave signal analysis and processing: the master control chip respectively analyzes and processes the brain wave signals collected and preprocessed by the brain wave signal acquisition device within every second according to the sequence of sampling time, and judges whether the driver is in a fatigue driving state at the moment according to the analysis and processing result; the analysis and processing methods of the brain wave signals collected and preprocessed by the brain wave signal acquisition device in each second are the same by the main control chip; when the brain wave signals collected and preprocessed by the brain wave signal acquisition device within any one second are analyzed and processed, the process is as follows:
step 201, brain wave signal synchronous storage: synchronously storing the brain wave signals collected and preprocessed by the brain wave signal acquisition device within one second;
step 202, extracting the meditation degree and the concentration degree: extracting a meditation degree M and a concentration degree A from the brain wave signals processed at that time;
step 203, fatigue degree calculation: according to the meditation degree M and the concentration degree A extracted in the step 202 and according to the formulaCalculating to obtain the fatigue degree of the driver at the moment
Step 204, threshold comparison: calling a threshold comparison module to calculate the fatigue degree of the driver at the moment obtained in the step 203And F0And (3) comparing difference values: when in useF0If so, it means the fatigue moment to be determined, and the process proceeds to step 205; otherwise, returning to the step 201, and analyzing and processing the brain wave signal which is acquired and preprocessed by the brain wave signal acquisition device within the next second;
wherein, F0Determining a threshold value for a predetermined fatigue level F01.2 to 1.6;
step 205, calculating the fatigue degree of the driver in the next second: analyzing and processing the brain wave signals collected and preprocessed by the brain electrical signal acquisition device in the next second according to the method from the step 201 to the step 203, and calculating the fatigue degree of the driver in the next second after the fatigue moment to be judged
Step 206, repeating the step 206 for K-1 times, and obtaining the fatigue degree of the driver within K seconds after the fatigue moment to be determinedWherein K is a positive integer and K is 8-15;
step 207, fatigue driving judgment: calling the threshold comparison module to compare the fatigue degree of the driver within K seconds after the fatigue moment to be determined obtained in the step 206Are respectively reacted with F0And (3) comparing difference values: when the fatigue degree of the driver within K seconds after the fatigue moment to be determinedAre all greater than F0When it is, explain that the car is driving at this timeThe driver is in a fatigue driving state, and the main control chip controls the alarm prompt unit to give an alarm prompt; otherwise, the driver is in a normal driving state at the moment;
and 208, returning to the step 201, and analyzing and processing the brain wave signals collected and preprocessed by the brain wave signal acquisition device within the next second.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: k in step 206 is 10.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: f in step 2040=1.4。
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: in step 207, the fatigue degree of the driver is determined within K seconds after the fatigue timeAre all greater than F0Before the main control chip controls the alarm prompting unit to perform alarm prompting, the main control chip also needs to call a multi-threshold comparison and judgment module to analyze and process the brain wave signals received in step 201, and verify the fatigue driving state of the driver at this time according to the analysis and processing result, and the process is as follows:
step B1, characteristic signal extraction: the main control chip calls a feature extraction module to extract 7 feature signals from the brain wave signals processed at the moment;
step B2, feature quantity determination: the main control chip takes the signal values of the 7 characteristic signals in the step B1 as the 7 characteristic quantities of the brain wave signals processed at the moment; the 7 characteristic signals are original brain waves, low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals respectively, and the 7 characteristic quantities are R, A respectivelyL、AH、BL、BHT and D;
when the electroencephalogram signal acquisition device acquires and preprocesses electroencephalogram signals of a driver in the first step, the sampling frequency of the original electroencephalogram is 512Hz, and the sampling frequencies of low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and waves are all 1 Hz; in the 7 feature signals, the number of the original brain wave signals is 512, and the number of low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals is one;
wherein R is an average value of signal values of 512 original brain wave signals extracted from the brain wave signals processed at that time, ALA signal value of a low alpha wave signal extracted from the electroencephalogram signal processed at that time, AHIs a signal value of a high alpha wave signal extracted from the electroencephalogram signal processed at that time, BLIs the signal value of the low beta wave signal extracted from the electroencephalogram signal processed at that time, BHIs a signal value of a high beta wave signal extracted from the electroencephalogram signals processed at this time, T is a signal value of a theta wave signal extracted from the electroencephalogram signals processed at this time, and D is a signal value of a wave signal extracted from the electroencephalogram signals processed at this time;
step B3, multi-threshold comparison: the main control chip judges threshold values according to 7 groups of predetermined fatigue driving and calls a threshold value comparison module to respectively perform threshold value comparison on the 7 characteristic quantities determined in the step B2, and a counter is adopted to record threshold value comparison results;
the initial count value of the counter is 0;
the 7 groups of fatigue driving judgment threshold values are respectively a group of original brain wave judgment threshold values, a group of low alpha wave judgment threshold values, a group of high alpha wave judgment threshold values, a group of low beta wave judgment threshold values, a group of high beta wave judgment threshold values, a group of theta wave judgment threshold values and a group of wave judgment threshold values; wherein the original brain wave judging threshold comprises an original brain wave fatigue threshold RSTAnd the original brain wave waking threshold RWTThe low alpha wave judgment threshold comprises a low alpha wave fatigue threshold ALSTAnd low alpha wave wakefulness threshold ALWTSaidThe high alpha wave judgment threshold comprises a high alpha wave fatigue threshold AHSTAnd a high alpha wave wakefulness threshold AHWTThe low beta wave judgment threshold comprises a low beta wave fatigue threshold BLSTAnd low beta wave wake threshold BLWTThe high beta wave judgment threshold comprises a high beta wave fatigue threshold BHSTAnd a high beta wave wake threshold BHWTThe theta wave judging threshold comprises a theta wave fatigue threshold TSTAnd theta wave wakefulness threshold TWTThe wave judging threshold value comprises a wave fatigue threshold value DSTSum wave wake threshold DWT
When the 7 feature quantities determined in the step B2 are respectively subjected to threshold comparison, the main control chip calls a threshold comparison module to judge the threshold and the feature quantity a of the feature quantity R and a group of original brain wavesLAnd a set of low alpha wave judgment threshold value and characteristic quantity AHA set of high alpha wave judgment threshold values and characteristic quantity BLAnd a set of low beta wave judgment threshold value and characteristic quantity BHRespectively carrying out threshold comparison with a group of high beta wave judgment threshold values, a characteristic quantity T and a group of theta wave judgment threshold values, and a characteristic quantity D and a group of wave judgment threshold values;
when the characteristic quantity R is compared with a group of original brain wave judgment threshold values, the characteristic quantity R and the characteristic quantity R are compared firstlySTAnd (3) comparing difference values: when R < RSTThen, the main control chip adds 5 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities R and R are combinedWTAnd (3) comparing difference values: when R > RWTThen, the main control chip subtracts 5 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity ALWhen the threshold value is compared with a group of low alpha wave judgment threshold values, the characteristic quantity A is firstly comparedLAnd ALSTAnd (3) comparing difference values: when A isL<ALSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity A is measuredLAnd ALWTAnd (3) comparing difference values: when A isL>ALWTThen, the count value of the timer is decreased1; otherwise, the count value of the timer is unchanged;
for characteristic quantity AHWhen the characteristic quantity A is compared with a group of high alpha wave judgment threshold valuesHAnd AHSTAnd (3) comparing difference values: when A isH<AHSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity A is measuredHAnd AHWTAnd (3) comparing difference values: when A isH>AHWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity BLWhen the characteristic quantity B is compared with a group of low beta wave judgment threshold values in a threshold value mode, the characteristic quantity B is firstly measuredLAnd BLSTAnd (3) comparing difference values: when B is presentL<BLSTThen, adding 2 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity B is measuredLAnd BLWTAnd (3) comparing difference values: when B is presentL>BLWTThen, subtracting 2 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity BHWhen the characteristic quantity B is compared with a group of high beta wave judgment threshold values in a threshold value way, the characteristic quantity B is firstly measuredHAnd BHSTAnd (3) comparing difference values: when B is presentH<BHSTThen, adding 2 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity B is measuredHAnd BHWTAnd (3) comparing difference values: when B is presentH>BHWTThen, subtracting 2 from the count value of the timer; otherwise, the count value of the timer is unchanged;
when the characteristic quantity T is compared with a group of theta wave judgment threshold values, the characteristic quantity T and the characteristic quantity T are firstly comparedSTAnd (3) comparing difference values: when T is less than TSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities T and T are comparedWTAnd (3) comparing difference values: when T > TWTAt that time, the timer will be at that timeSubtracting 1 from the numerical value; otherwise, the count value of the timer is unchanged;
when the characteristic quantity D and a group of wave judging threshold values are respectively compared by the threshold values, the characteristic quantity D and the characteristic quantity D are firstly comparedSTAnd (3) comparing difference values: when D is less than DSTThen, adding 6 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities D and D are comparedWTAnd (3) comparing difference values: when D > DWTThen, subtracting 6 from the count value of the timer; otherwise, the count value of the timer is unchanged;
step B4, fatigue driving judgment: and the main control chip judges the fatigue driving state of the driver at the moment according to the counting value of the counter after the multi-threshold comparison in the step B3: when the count value of the counter is larger than N, the driver is in a fatigue driving state at the moment after verification, and the main control chip controls an alarm prompting unit to perform alarm prompting; otherwise, the driver is in a fatigue driving state at the moment after verification;
wherein N is a positive integer and N is 52-58.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: before the brain wave signal analysis processing in the step two, determining 7 groups of fatigue driving judgment threshold values in the step B3 by adopting a main control chip;
when the 7 groups of fatigue driving judgment threshold values in the step B3 are determined, firstly, acquiring brain wave signals of a driver within P seconds by using a brain wave signal acquisition device, and then determining the 7 groups of fatigue driving judgment threshold values according to the acquired brain wave signals of the driver within P seconds; wherein P is a positive integer and P is 50-70;
when 7 groups of fatigue driving judgment threshold values are determined according to the obtained brain wave signals of the driver within P seconds, the method comprises the following steps:
step B31, characteristic signal extraction: firstly, extracting from the obtained brain wave signal of the driver within P seconds512 × P original electroencephalogram signals, P low α wave signals, P high α wave signals, P low β wave signals, P high β wave signals, P θ wave signals, and P wave signals are extracted, and the pair a is aligned with the pair aLM、ALSD、AHM、AHSD、BLM、BLSD、BHM、BHSD、TM、TSD、DMAnd DSDRespectively calculating;
wherein R isMAnd RSDMean and standard deviation of signal values of 512 × P original brain wave signals, respectively, aLMAnd ALSDMean and standard deviation of the signal values of the P low alpha wave signals, AHMAnd AHSDMean and standard deviation of the signal values of the P high alpha wave signals, BLMAnd BLSDMean and standard deviation of the signal values of the P low beta wave signals, BHMAnd BHSDMean value and standard deviation of signal values of P high beta wave signals, TMAnd TSDMean and standard deviation of the signal values of the P theta wave signals, DMAnd DSDThe average value and the standard deviation of the signal values of the P wave signals are respectively;
step B32, threshold calculation: according to the formula RST=rS1RM+rS2RSD (1)、RWT=rW1RM+rW2RSD(2)、ALST=aLS1ALM+aLS2ALSD (3)、ALWT=aLW1ALM+aLW2ALSD (4)、AHST=aHS1AHM+aHS2AHSD (5)、AHWT=aHW1AHM+aHW2AHSD (6)、BLST=bLS1BLM+bLS2BLSD(7)、BLWT=bLW1BLM+bLW2BLSD (8)、BHST=bHS1BHM+bHS2BHSD (9)、BHWT=bHW1BHM+bHW2BHSD (10)、TST=tS1TM+tS2TSD (11)、TWT=tW1TM+tW2TSD(12)、DST=dS1DM+dS2DSD(13) And DWT=dW1DM+dW2DSD(14) Are each to RST、RWT、ALST、ALWT、AHST、AHWT、BLST、BLWT、BHST、BHWT、TST、TWT、DSTAnd DWTCalculating;
in the formula (1), rS1And rS2Is RSTTwo weighting coefficients of 0 < rS1≤6,-3≤rS2<0;
In the formula (2), rW1And rW2Is RWTTwo weighting coefficients of 0 < rW1≤6,-3≤rW2<0;
In the formula (3), aLS1And aLS2Is ALSTTwo weighting coefficients of 0 < aLS1≤1,-1≤aLS2<0;
In the formula (4), aLW1And aLW2Is ALWTTwo weighting coefficients of 0 < aLW1≤1,-1≤aLW2<0;
In the formula (5), aHS1And aHS2Is AHSTTwo weighting coefficients of 0 < aHS1≤1,-1≤aHS2<0;
In the formula (6), aHW1And aHW2Is AHWTTwo weighting coefficients of 0 < aHW1≤1,-1≤aHW2<0;
In the formula (7), bLS1And bLS2Is BLSTTwo weighting coefficients of 0 < bLS1≤1,-1≤bLS2<0;
In the formula (8), bLW1And bLW2Is BLWTTwo weighting coefficients of 0 < bLW1≤1,-1≤bLW2<0;
In formula (9), bHS1And bHS2Is BHSTTwo weighting coefficients of 0 < bHS1≤1,-1≤bHS2<0;
In the formula (10), bHW1And bHW2Is BHWTTwo weighting coefficients of 0 < bHW1≤1,-1≤bHW2<0;
In formula (11), tS1And tS2Is TSTTwo weighting coefficients of 0 < tS1≤1,-1≤tS2<0;
In the formula (12), tW1And tW2Is TWTTwo weighting coefficients of 0 < tW1≤1,-1≤tW2<0;
In the formula (13), dS1And dS2Is DSTTwo weighting coefficients of 0 < dS1≤1,-1≤dS2<0;
In formula (14), dW1And dW2Is DWTTwo weighting coefficients of 0 < dW1≤1,-1≤dW2<0。
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: before the brain wave signal analysis processing in the step two, determining 7 sets of fatigue driving judgment threshold values in the step B3;
when 7 groups of fatigue driving judgment threshold values in the step B3 are determined, firstly, an electroencephalogram signal acquisition device is adopted to respectively acquire and preprocess electroencephalogram signals when a driver enters a sleep state from a non-sleep state and enters an awake state from a non-awake state; wherein R isST、ALST、AHST、BLST、BHST、TSTAnd DSTRespectively the signal values of original brain waves, low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals in the brain wave signals output by the brain wave signal acquisition device when the driver enters the sleep state from the non-sleep state, and RWT、ALWT、AHWT、BLWT、BHWT、TWTAnd DWTThe signal values of the original brain wave, low alpha wave, high alpha wave, low beta wave, high beta wave, theta wave and wave signal in the brain wave signal output by the brain wave signal acquisition device when the driver enters the waking state from the non-waking state are respectively.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: the electroencephalogram signal monitoring device in the first step further comprises a third wireless communication module connected with the main control chip; the main control chip is communicated with the upper computer through a third wireless communication module;
and in the step B4, when the count value of the counter is larger than N, the main control chip synchronously transmits the fatigue driving state of the driver to the upper computer through the third wireless communication module.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: the electroencephalogram signal preprocessing device is a TGAM chip developed by Neurosky company in the United states; the output end of the first brain electrode is connected with an EEG pin of the TGAM chip, the output end of the second brain electrode is connected with a REF pin of the TGAM chip, and the output end of the third brain electrode is connected with an EEG _ GND pin of the TGAM chip.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: in the first step, the main control chip is an Arduino controller; the first wireless communication module and the second wireless communication module are both Bluetooth wireless communication modules; the third wireless communication module is a GPRS wireless communication module.
The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized in that: in the step one, the first brain electrode is placed on the left forehead of the driver determined according to the 10-20 system electrode placement method, and the second brain electrode and the third brain electrode are both placed in the left temple of the driver determined according to the 10-20 system electrode placement method.
Compared with the prior art, the invention has the following advantages:
1. the method has the advantages of simple steps, reasonable design, convenient implementation and low input cost.
2. The fatigue driving electroencephalogram monitoring speed is high, and the electroencephalogram state of the driver can be obtained through synchronous analysis and processing.
3. The method is simple and convenient to use and operate, is convenient to realize, and can directly and effectively utilize the output data (particularly the meditation degree data and the concentration degree data) of the TGAM module.
4. The electroencephalogram signal acquisition device and the electroencephalogram signal monitoring device are simple in circuit, reasonable in design, convenient to wire, simple and convenient to use and operate, low in input cost and convenient to install and lay actually.
5. The driving fatigue state is judged according to the meditation degree and concentration degree data, the driving fatigue state of the driver can be accurately monitored in real time, and the method is simple in step.
6. The driving fatigue state is further verified by matching with a multi-threshold comparison and judgment method, particularly the meditation degree and concentration degree data are used as a basic method for judging the driving fatigue state, and the multi-threshold comparison and judgment method is used as a verification method, so that the accuracy and the effectiveness of a fatigue starting state monitoring result can be effectively ensured. The multi-threshold comparison and judgment method adopts a multi-threshold comparison mode to judge the fatigue degree of the driver in real time. Moreover, each threshold is determined by adopting the weighting of the mean value and the standard deviation of a plurality of signal values, and different thresholds are adopted by different drivers; because the brain wave signals of each person have certain difference, the difference of the brain wave signals can be reduced by collecting the brain wave signals of a user (namely a driver) and determining the corresponding threshold value, so that the threshold value has the characteristic of self-adaption, and the driving fatigue state monitoring result of the method is very accurate. Meanwhile, the multi-threshold comparison and judgment method represents the fatigue degree through a counter, and is visual, convenient and accurate; when the fatigue testing device is actually used, the larger the count value of the counter is, the larger the fatigue degree of a driver is; conversely, the smaller the count value of the counter, the smaller the fatigue degree of the driver.
7. The fatigue driving state monitoring device has the advantages of good use effect, high practical value, remarkable economic benefit and social benefit, capability of simply monitoring the fatigue driving state of the driver in real time, capability of controlling the alarm prompting unit to give an alarm prompt according to a monitoring result, capability of enabling the driver to be in a clear state in real time, reduction of traffic accidents, real-time performance and good monitoring effect. In addition, the invention adopts a brain wave signal analysis processing method capable of accurately representing fatigue driving, establishes a judgment model capable of accurately describing fatigue driving, determines objective fatigue driving detection basis for a driver, lays a foundation for further researching and developing a vehicle-mounted and real-time fatigue driving alarm system, and provides reliable basis for scientific and reasonable intervention of fatigue driving by a traffic management department and maximum reduction of man-made traffic accidents.
In conclusion, the method has the advantages of simple steps, reasonable design, convenience in implementation and good use effect, and can simply, conveniently and quickly accurately monitor the fatigue driving state of the driver.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
FIG. 1 is a block diagram of the process flow of the present invention.
FIG. 2 is a schematic circuit diagram of an electroencephalogram signal acquisition device and an electroencephalogram signal monitoring device according to the present invention.
FIG. 3 is a schematic circuit diagram of the electroencephalogram signal acquisition device and the first wireless communication module according to the present invention.
FIG. 4 is a schematic circuit diagram of the electroencephalogram signal monitoring device of the present invention.
Description of reference numerals:
1-an electroencephalogram signal acquisition device; 1-an electroencephalogram signal extraction device;
1-11-a first brain electrode; 1-12-a second brain electrode; 1-13-third brain electrode;
1-2-an electroencephalogram signal preprocessing device; 2-an electroencephalogram signal monitoring device;
2-1, a main control chip; 2-a second wireless communication module;
2-3-a third wireless communication module; 2-4-a power supply unit;
2-5, an alarm prompting unit; 2-6-parameter input unit; 2-7-a display;
3-a first wireless communication module; and 4, an upper computer.
Detailed Description
As shown in fig. 1, the fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree comprises the following steps:
step one, brain wave signal acquisition: the electroencephalogram signal acquisition device 1 is adopted to acquire and preprocess the electroencephalogram signal of a driver according to a preset sampling frequency, and the preprocessed electroencephalogram signal is synchronously transmitted to the electroencephalogram signal monitoring device 2;
the electroencephalogram signal acquisition device 1 and the electroencephalogram signal monitoring device 2 are communicated in a wireless communication mode; the electroencephalogram signal acquisition device 1 is a TGAM module, the TGAM module comprises an electroencephalogram signal extraction device 1-1 for extracting electroencephalogram signals of a driver and an electroencephalogram signal preprocessing device 1-2 for sampling and preprocessing the signals extracted by the electroencephalogram signal extraction device 1-1, the electroencephalogram signal preprocessing device 1-2 is connected with the electroencephalogram signal extracting device 1-1, the electroencephalogram signal extraction device 1-1 comprises a first electroencephalogram electrode 1-11 for sampling the electric potential of the frontal lobe area of the driver in real time, a second electroencephalogram electrode 1-12 and a third electroencephalogram electrode 1-13 for sampling the electric potential of the ear of the driver in real time, the first brain electrode 1-11, the second brain electrode 1-12 and the third brain electrode 1-13 are all connected with the brain signal preprocessing device 1-2; the electroencephalogram signal monitoring device 2 comprises a main control chip 2-1, a second wireless communication module 2-2 and an alarm prompting unit 2-5, wherein the second wireless communication module 2-2 and the alarm prompting unit 2-5 are respectively connected with the main control chip 2-1, and the alarm prompting unit 2-5 is controlled by the main control chip 2-1 and is connected with the main control chip 2-1; the electroencephalogram signal preprocessing device 1-2 is connected with the first wireless communication module 3, and the electroencephalogram signal preprocessing device 1-2 is communicated with the main control chip 2-1 through the first wireless communication module 3 and the second wireless communication module 2-2;
step two, brain wave signal analysis and processing: the main control chip 2-1 respectively analyzes and processes the brain wave signals collected and preprocessed by the brain wave signal acquisition device 1 within one second according to the sampling time sequence, and judges whether the driver is in a fatigue driving state at the moment according to the analysis and processing result; moreover, the analysis and processing methods of the electroencephalogram signals collected and preprocessed by the electroencephalogram signal acquisition device 1 in each second by the main control chip 2-1 are the same; when the brain wave signals collected and preprocessed by the brain wave signal acquisition device 1 within any one second are analyzed and processed, the process is as follows:
step 201, brain wave signal synchronous storage: synchronously storing the brain wave signals which are acquired and preprocessed by the brain wave signal acquisition device 1 within one second;
step 202, extracting the meditation degree and the concentration degree: extracting a meditation degree M and a concentration degree A from the brain wave signals processed at that time;
step 203, fatigue degree calculation: according to the meditation degree M and the concentration degree A extracted in the step 202 and according to the formulaCalculating to obtain the fatigue degree of the driver at the moment
Step 204, threshold comparison: calling a threshold comparison module to calculate the fatigue degree of the driver at the moment obtained in the step 203And F0And (3) comparing difference values: when in useF0If so, it means the fatigue moment to be determined, and the process proceeds to step 205; otherwise, returning to the step 201, analyzing and processing the brain wave signal acquired and preprocessed by the brain wave signal acquisition device 1 within the next second;
wherein, F0Determining a threshold value for a predetermined fatigue level F01.2 to 1.6;
step 205, calculating the fatigue degree of the driver in the next second: analyzing and processing the brain wave signals collected and preprocessed by the brain electrical signal acquisition device 1 in the next second according to the method from the step 201 to the step 203, and calculating the fatigue degree of the driver in the next second after the fatigue moment to be determined
Step 206, repeating the step 206 for K-1 times, and obtaining the fatigue degree of the driver within K seconds after the fatigue moment to be determinedWherein K is a positive integer and K is 8-15; that isThat is, calculating the fatigue degree of the driver for continuous K seconds;
step 207, fatigue driving judgment: calling the threshold comparison module to compare the fatigue degree of the driver within K seconds after the fatigue moment to be determined obtained in the step 206Are respectively reacted with F0And (3) comparing difference values: when the fatigue degree of the driver within K seconds after the fatigue moment to be determinedAre all greater than F0When the driver is in a fatigue driving state, the main control chip 2-1 controls the alarm prompt unit 2-5 to give an alarm prompt; otherwise, the driver is in a normal driving state at the moment;
and 208, returning to the step 201, and analyzing and processing the brain wave signals collected and preprocessed by the brain wave signal acquisition device 1 within the next second.
In this embodiment, K is 10 in step 206.
In this embodiment, step F in step 2040=1.4。
In actual use, K and F can be adjusted according to specific requirements0The value size of the signal is correspondingly adjusted.
In this embodiment, in step 207, the fatigue degree of the driver within K seconds after the fatigue time to be determinedAre all greater than F0Before the main control chip 2-1 controls the alarm prompting unit 2-5 to prompt an alarm, a multi-threshold comparison and judgment module is required to be called to analyze the brain wave signals received in step 201, and the fatigue driving state of the driver at this time is verified according to the analysis and processing result, and the process is as follows:
step B1, characteristic signal extraction: the main control chip 2-1 calls a feature extraction module to extract 7 feature signals from the brain wave signals processed at the moment;
step B2, feature quantity determination: the main control chip 2-1 takes the signal values of the 7 characteristic signals in step B1 as the 7 characteristic quantities of the brain wave signal processed at this time; the 7 characteristic signals are original brain waves, low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals respectively, and the 7 characteristic quantities are R, A respectivelyL、AH、BL、BHT and D;
when the electroencephalogram signal acquisition device 1 acquires and preprocesses electroencephalogram signals of a driver in the first step, the sampling frequency of the original electroencephalogram is 512Hz, and the sampling frequencies of low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and waves are all 1 Hz; in the 7 feature signals, the number of the original brain wave signals is 512, and the number of low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals is one;
wherein R is an average value of signal values of 512 original brain wave signals extracted from the brain wave signals processed at that time, ALA signal value of a low alpha wave signal extracted from the electroencephalogram signal processed at that time, AHIs a signal value of a high alpha wave signal extracted from the electroencephalogram signal processed at that time, BLIs the signal value of the low beta wave signal extracted from the electroencephalogram signal processed at that time, BHIs a signal value of a high beta wave signal extracted from the electroencephalogram signals processed at this time, T is a signal value of a theta wave signal extracted from the electroencephalogram signals processed at this time, and D is a signal value of a wave signal extracted from the electroencephalogram signals processed at this time;
step B3, multi-threshold comparison: the main control chip 2-1 judges threshold values according to 7 groups of predetermined fatigue driving and calls a threshold value comparison module, respectively performs threshold value comparison on the 7 characteristic quantities determined in the step B2, and records the threshold value comparison results by adopting a counter;
the initial count value of the counter is 0;
the 7 groups of fatigue driving judgment threshold values are respectively a group of original brain wave judgment threshold values, a group of low alpha wave judgment threshold values, a group of high alpha wave judgment threshold values, a group of low beta wave judgment threshold values, a group of high beta wave judgment threshold values, a group of theta wave judgment threshold values and a group of wave judgment threshold values; wherein the original brain wave judging threshold comprises an original brain wave fatigue threshold RSTAnd the original brain wave waking threshold RWTThe low alpha wave judgment threshold comprises a low alpha wave fatigue threshold ALSTAnd low alpha wave wakefulness threshold ALWTThe high alpha wave judging threshold comprises a high alpha wave fatigue threshold AHSTAnd a high alpha wave wakefulness threshold AHWTThe low beta wave judgment threshold comprises a low beta wave fatigue threshold BLSTAnd low beta wave wake threshold BLWTThe high beta wave judgment threshold comprises a high beta wave fatigue threshold BHSTAnd a high beta wave wake threshold BHWTThe theta wave judging threshold comprises a theta wave fatigue threshold TSTAnd theta wave wakefulness threshold TWTThe wave judging threshold value comprises a wave fatigue threshold value DSTSum wave wake threshold DWT
When the 7 feature quantities determined in step B2 are respectively subjected to threshold comparison, the main control chip 2-1 calls a threshold comparison module to determine a threshold and a feature quantity a for the feature quantity R and a group of original brain wavesLAnd a set of low alpha wave judgment threshold value and characteristic quantity AHA set of high alpha wave judgment threshold values and characteristic quantity BLAnd a set of low beta wave judgment threshold value and characteristic quantity BHRespectively carrying out threshold comparison with a group of high beta wave judgment threshold values, a characteristic quantity T and a group of theta wave judgment threshold values, and a characteristic quantity D and a group of wave judgment threshold values;
when the characteristic quantity R is compared with a group of original brain wave judgment threshold values, the characteristic quantity R and the characteristic quantity R are compared firstlySTAnd (3) comparing difference values: when R < RSTThen, the main control chip 2-1 adds 5 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the metal powder is mixedCharacteristic quantities R and RWTAnd (3) comparing difference values: when R > RWTThen, the main control chip 2-1 subtracts 5 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity ALWhen the threshold value is compared with a group of low alpha wave judgment threshold values, the characteristic quantity A is firstly comparedLAnd ALSTAnd (3) comparing difference values: when A isL<ALSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity A is measuredLAnd ALWTAnd (3) comparing difference values: when A isL>ALWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity AHWhen the characteristic quantity A is compared with a group of high alpha wave judgment threshold valuesHAnd AHSTAnd (3) comparing difference values: when A isH<AHSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity A is measuredHAnd AHWTAnd (3) comparing difference values: when A isH>AHWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity BLWhen the characteristic quantity B is compared with a group of low beta wave judgment threshold values in a threshold value mode, the characteristic quantity B is firstly measuredLAnd BLSTAnd (3) comparing difference values: when B is presentL<BLSTThen, adding 2 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity B is measuredLAnd BLWTAnd (3) comparing difference values: when B is presentL>BLWTThen, subtracting 2 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity BHWhen the characteristic quantity B is compared with a group of high beta wave judgment threshold values in a threshold value way, the characteristic quantity B is firstly measuredHAnd BHSTAnd (3) comparing difference values: when B is presentH<BHSTAt this time, the count value of the timer is countedAdding 2; otherwise, the count value of the timer is unchanged; then, the characteristic quantity B is measuredHAnd BHWTAnd (3) comparing difference values: when B is presentH>BHWTThen, subtracting 2 from the count value of the timer; otherwise, the count value of the timer is unchanged;
when the characteristic quantity T is compared with a group of theta wave judgment threshold values, the characteristic quantity T and the characteristic quantity T are firstly comparedSTAnd (3) comparing difference values: when T is less than TSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities T and T are comparedWTAnd (3) comparing difference values: when T > TWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
when the characteristic quantity D and a group of wave judging threshold values are respectively compared by the threshold values, the characteristic quantity D and the characteristic quantity D are firstly comparedSTAnd (3) comparing difference values: when D is less than DSTThen, adding 6 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities D and D are comparedWTAnd (3) comparing difference values: when D > DWTThen, subtracting 6 from the count value of the timer; otherwise, the count value of the timer is unchanged;
step B4, fatigue driving judgment: the main control chip 2-1 judges the fatigue driving state of the driver at this time according to the count value of the counter after the multi-threshold comparison in the step B3 is completed: when the count value of the counter is larger than N, the driver is in a fatigue driving state at the moment after verification, and the main control chip 2-1 controls the alarm prompting unit 2-5 to perform alarm prompting; otherwise, the driver is in a fatigue driving state at the moment after verification;
wherein N is a positive integer and N is 52-58.
In practical use, the brain wave signals collected and preprocessed by the TGAM module comprise original brain waves, alpha waves, beta waves, theta waves and wave signals, wherein the alpha waves are divided into three wave bands, namely low alpha waves, midle alpha waves and high alpha waves; the beta wave is divided into three bands, namely a low beta wave, a midle beta wave and a high beta wave.
The electroencephalogram signal output by the electroencephalogram signal acquisition device 1 is a frequency domain signal that has been subjected to fast fourier transform (i.e., FFT transform).
In the time domain, the original brain waves, low α waves, high α waves, low β waves, high β waves, θ waves and wave signals are signals whose electric potential varies with time, where the unit of electric potential is μ V (i.e., microvolts) and the unit of time is s. In actual use, the electroencephalogram signal acquisition device 1 may output time domain signals of the original electroencephalogram, low α wave, high α wave, low β wave, high β wave, θ wave, and wave signal, and then perform fast fourier transform using an external control chip.
And after fast Fourier transform, converting the time domain signal into a frequency domain signal. For a frequency domain signal, the argument is the frequency, the horizontal axis is the frequency, the vertical axis is the amplitude of the frequency signal, and the frequency component of the signal is expressed.
After a fast fourier transformation, a so-called spectrogram is obtained. The spectrogram describes the frequency structure of a signal and the relationship of the frequency to the amplitude of the frequency signal.
In this embodiment, the original electroencephalograms, the low α waves, the high α waves, the low β waves, the high β waves, the θ waves, and the wave signals are all frequency domain signals, and the signal values of the original electroencephalograms, the low α waves, the high α waves, the low β waves, the high β waves, the θ waves, and the wave signals in step B2 are all signal amplitudes, that is, vertical coordinate values calculated by fast fourier transform.
In actual use, the original brain waves, the low α waves, the high α waves, the low β waves, the high β waves, the θ waves and the wave signals in step B2 may all be time domain signals, and in this case, the signal values of the original brain waves, the low α waves, the high α waves, the low β waves, the high β waves, the θ waves and the wave signals in step B2 may all be potential values, that is, voltage values.
In this embodiment, the original electroencephalograms, the low α waves, the high α waves, the low β waves, the high β waves, the θ waves, and the wave signals are all signals directly output by the TGAM module, and therefore, the signal values of the original electroencephalograms, the low α waves, the high α waves, the low β waves, the high β waves, the θ waves, and the wave signals are all signal values of the signals output by the TGAM module, and only need to be used directly, which is very simple and convenient to implement.
In this embodiment, the meditation degree M and concentration degree a in step 202 are both data directly output by the TGAM module, and only need to be directly used, so the implementation is very simple. The signal values of the original electroencephalograms, low α waves, high α waves, low β waves, high β waves, θ waves, and wave signals are data of the signals output by the TGAM module.
In this embodiment, before performing the brain wave signal analysis processing in step two, the main control chip 2-1 is first used to determine the fatigue driving judgment threshold values of the 7 groups in step B3;
when 7 groups of fatigue driving judgment threshold values in the step B3 are determined, firstly, acquiring brain wave signals of a driver within P seconds by using the brain wave signal acquisition device 1, and then determining 7 groups of fatigue driving judgment threshold values according to the acquired brain wave signals of the driver within P seconds; wherein P is a positive integer and P is 50-70;
when 7 groups of fatigue driving judgment threshold values are determined according to the obtained brain wave signals of the driver within P seconds, the method comprises the following steps:
step B31, characteristic signal extraction: firstly, 512 xP original brain wave signals, P low alpha wave signals, P high alpha wave signals, P low beta wave signals, P high beta wave signals, P theta wave signals and P wave signals are extracted from the obtained brain wave signals of the driver within P seconds, and the A is processedLM、ALSD、AHM、AHSD、BLM、BLSD、BHM、BHSD、TM、TSD、DMAnd DSDRespectively calculating;
wherein R isMAnd RSDThe levels of the signal values of the respective 512 × P original brain wave signalsMean and standard deviation, ALMAnd ALSDMean and standard deviation of the signal values of the P low alpha wave signals, AHMAnd AHSDMean and standard deviation of the signal values of the P high alpha wave signals, BLMAnd BLSDMean and standard deviation of the signal values of the P low beta wave signals, BHMAnd BHSDMean value and standard deviation of signal values of P high beta wave signals, TMAnd TSDMean and standard deviation of the signal values of the P theta wave signals, DMAnd DSDThe average value and the standard deviation of the signal values of the P wave signals are respectively;
step B32, threshold calculation: according to the formula RST=rS1RM+rS2RSD (1)、RWT=rW1RM+rW2RSD(2)、ALST=aLS1ALM+aLS2ALSD (3)、ALWT=aLW1ALM+aLW2ALSD (4)、AHST=aHS1AHM+aHS2AHSD (5)、AHWT=aHW1AHM+aHW2AHSD (6)、BLST=bLS1BLM+bLS2BLSD(7)、BLWT=bLW1BLM+bLW2BLSD (8)、BHST=bHS1BHM+bHS2BHSD (9)、BHWT=bHW1BHM+bHW2BHSD (10)、TST=tS1TM+tS2TSD (11)、TWT=tW1TM+tW2TSD(12)、DST=dS1DM+dS2DSD(13) And DWT=dW1DM+dW2DSD(14) Are each to RST、RWT、ALST、ALWT、AHST、AHWT、BLST、BLWT、BHST、BHWT、TST、TWT、DSTAnd DWTCalculating;
in the formula (1), rS1And rS2Is RSTTwo weighting coefficients of 0 < rS1≤6,-3≤rS2<0;
In the formula (2), rW1And rW2Is RWTTwo weighting coefficients of 0 < rW1≤6,-3≤rW2<0;
In the formula (3), aLS1And aLS2Is ALSTTwo weighting coefficients of 0 < aLS1≤1,-1≤aLS2<0;
In the formula (4), aLW1And aLW2Is ALWTTwo weighting coefficients of 0 < aLW1≤1,-1≤aLW2<0;
In the formula (5), aHS1And aHS2Is AHSTTwo weighting coefficients of 0 < aHS1≤1,-1≤aHS2<0;
In the formula (6), aHW1And aHW2Is AHWTTwo weighting coefficients of 0 < aHW1≤1,-1≤aHW2<0;
In the formula (7), bLS1And bLS2Is BLSTTwo weighting coefficients of 0 < bLS1≤1,-1≤bLS2<0;
In the formula (8), bLW1And bLW2Is BLWTTwo weighting coefficients of 0 < bLW1≤1,-1≤bLW2<0;
In formula (9), bHS1And bHS2Is BHSTTwo weighting coefficients of 0 < bHS1≤1,-1≤bHS2<0;
In the formula (10), bHW1And bHW2Is BHWTThe two weighting coefficients of (a) to (b),0<bHW1≤1,-1≤bHW2<0;
in formula (11), tS1And tS2Is TSTTwo weighting coefficients of 0 < tS1≤1,-1≤tS2<0;
In the formula (12), tW1And tW2Is TWTTwo weighting coefficients of 0 < tW1≤1,-1≤tW2<0;
In the formula (13), dS1And dS2Is DSTTwo weighting coefficients of 0 < dS1≤1,-1≤dS2<0;
In formula (14), dW1And dW2Is DWTTwo weighting coefficients of 0 < dW1≤1,-1≤dW2<0。
In this example, 0.5 < aLS1≤1,0.5<aLW1≤1,0.5<aHS1≤1,0.5<aHW1≤1,0.5<bLS1≤1,0.5<bLW1≤1,0.5<bHS1≤1,0.5<bHW1≤1,0.5<tS1≤1,0.5<tW1≤1,0.5<dS1≤1,0.5<dW1≤1。
In actual use, r can be adjusted according to specific requirementsS1、rS2、rW1、rW2、aLS1、aLS2、aLW1、aLW2、aHS1、aHS2、aHW1、aHW2、bLS1、bLS2、bLW1、bLW2、bHS1、bHS2、bHW1、bHW2、tS1、tS2、tW1、tW2、dS1、dS2、dW1And dW2The value size of the signal is correspondingly determined.
For simplicity of implementation, rS1、rS2、rW1、rW2、aLS1、aLS2、aLW1、aLW2、aHS1、aHS2、aHW1、aHW2、bLS1、bLS2、bLW1、bLW2、bHS1、bHS2、bHW1、bHW2、tS1、tS2、tW1、tW2、dS1、dS2、dW1And dW2A value can be randomly selected from the above range.
In this embodiment, before the threshold value is calculated in step B32, the main control chip 2-1 needs to be used to compare rS1、rS2、rW1、rW2、aLS1、aLS2、aLW1、aLW2、aHS1、aHS2、aHW1、aHW2、bLS1、bLS2、bLW1、bLW2、bHS1、bHS2、bHW1、bHW2、tS1、tS2、tW1、tW2、dS1、dS2、dW1And dW2The determination is made as follows:
step B321, acquiring brain wave signals of the driver in the sleep state and the waking state and extracting characteristic signals: acquiring brain wave signals within m1 seconds of a driver in a sleeping state and brain wave signals within m2 seconds of the driver in an awake state by using a brain wave signal acquisition device 1, extracting 512 × m1 original brain wave signals, m1 low alpha wave signals, m1 high alpha wave signals, m1 low beta wave signals, m1 high beta wave signals, m1 theta wave signals and m1 wave signals from the brain wave signals within m1 seconds of the driver in the sleeping state, and extracting 512 × m2 original brain wave signals, m2 low alpha wave signals, m2 high alpha wave signals, m2 low beta wave signals, m2 high beta wave signals, m2 theta wave signals and m2 wave signals from the brain wave signals within m2 seconds of the driver in the awake state;
wherein m1 and m2 are positive integers, m1 is more than or equal to 5, and m2 is more than or equal to 5;
step B322, determining the initial value of the weighting coefficient:
from (0, 6)]In the random extraction of a number as rS1Randomly extracting a number from [ -3, 0) as rS2An initial value of (1);
from (0, 6)]In the random extraction of a number as rW1Randomly extracting a number from [ -3, 0) as rW2An initial value of (1);
from (0, 1)]In the random extraction of a number as aLS1Randomly extracting a number from [ -1, 0) as aLS2An initial value of (1);
from (0, 1)]In the random extraction of a number as aLW1Randomly extracting a number from [ -1, 0) as aLW2An initial value of (1);
from (0, 1)]In the random extraction of a number as aHS1Randomly extracting a number from [ -1, 0) as aHS2An initial value of (1);
from (0, 1)]In the random extraction of a number as aHW1Randomly extracting a number from [ -1, 0) as aHW2An initial value of (1);
from (0, 1)]In the random extraction of a number as bLS1Randomly extracting a number from [ -1, 0) as bLS2An initial value of (1);
from (0, 1)]In the random extraction of a number as bLW1Randomly extracting a number from [ -1, 0) as bLW2An initial value of (1);
from (0, 1)]In the random extraction of a number as bHS1Randomly extracting a number from [ -1, 0) as bHS2An initial value of (1);
from (0, 1)]In the random extraction of a number as bHW1Randomly extracting a number from [ -1, 0) as bHW2An initial value of (1);
from (0, 1)]Randomly extracting a number as tS1Randomly extracting a number from [ -1, 0) as tS2An initial value of (1);
from (0, 1)]Randomly extracting a number as tW1Randomly extracting a number from [ -1, 0) as tW2An initial value of (1);
from (0, 1)]In the random extraction of a number as dS1Randomly extracting a number from [ -1, 0) as dS2An initial value of (1);
from (0, 1)]In the random extraction of a number as dW1Randomly extracting a number from [ -1, 0) as dW2An initial value of (1);
step B323, weighting coefficient increase and decrease adjustment: according to the brain wave signal within m1 seconds of the driver in the sleep state acquired in the step B321, r determined in the step B322 is compared with rS1、rS2、aLS1、aLS2、aHS1、aHS2、bLS1、bLS2、bHS1、bHS2、tS1、tS2、dS1And dS2Respectively carrying out increase and decrease adjustment; meanwhile, r determined in step B322 is determined according to the electroencephalogram signal of the driver in the awake state acquired in step B321 within m2 secondsW1、rW2、aLW1、aLW2、aHW1、aHW2、bLW1、bLW2、bHW1、bHW2、tW1、tW2、dW1And dW2Respectively carrying out increase and decrease adjustment;
wherein, to rS1And rS2When performing the increase/decrease adjustment, r is adjusted from first to last using the 512 × m1 original electroencephalogram signals extracted in step B321S1And rS2Performing increase and decrease adjustment 512 Xm 1 times, wherein the increase and decrease adjustment method is the same for each time; wherein, any one original brain wave signal pair r in 512 × m1 original brain wave signals is usedS1And rS2When the adjustment is made, the process is as follows:
Step 1-1, will be at this moment rS1And rS2Substituting the numerical value of (A) into the formula (1), calculating the original brain wave fatigue threshold before increasing and decreasing adjustment, and recording as RST';
Step 1-2, comparing the signal value of the original brain wave signal used at this time with the R value in step 1-1ST' making a difference comparison: when the signal value of the original brain wave signal is less than RSTWhen r isS1And rS2The value of (A) is unchanged; otherwise, for rS1And rS2All reduce and adjust to make the signal value of the original brain wave signal more than or equal to RST”;
Wherein R isST"to reduce the adjusted rS1And rS2Substituting the numerical value of the brain wave into the formula (1), and calculating to obtain a threshold value for reducing the fatigue of the adjusted original brain wave;
step 1-3, using a next pair r of original brain wave signals of 512 xm 1 original brain wave signals according to the method described in the steps 1-1 to 1-2S1And rS2Performing increase and decrease adjustment;
1-4, repeating the steps 1-3 for a plurality of times until the 512 xm 1 original brain wave signal pairs r are completedS1And rS2The increase and decrease adjustment process of (1);
to aLS1And aLS2When the adjustment is performed, the m1 low alpha wave signals extracted in step B321 are used to adjust aLS1And aLS2Performing m1 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any low alpha wave signal pair a in m1 low alpha wave signals is usedLS1And aLS2When the adjustment is carried out, the process is as follows:
step 3-1, will be a at this timeLS1And aLS2Substituting the value of (A) into the formula (3), calculating the fatigue threshold of low alpha wave before increasing and decreasing adjustment, and recording the fatigue threshold as ALST';
Step 3-2 of using the low alpha wave signalSignal value and A described in step 3-1LST' making a difference comparison: when the signal value of the low alpha wave signal is less than ALSTWhen aLS1And aLS2The value of (A) is unchanged; otherwise, for aLS1And aLS2All reduce and adjust to make the signal value of the low alpha wave signal equal to or larger than ALST”;
Wherein A isLST"to reduce a after adjustmentLS1And aLS2Substituting the numerical value of the alpha wave into the formula (3) to calculate the low alpha wave fatigue threshold value after the adjustment is reduced;
step 3-3, using the next low alpha wave signal pair a of m1 low alpha wave signals according to the method described in step 3-1 to step 3-2LS1And aLS2Performing increase and decrease adjustment;
step 3-4, repeating step 3-3 for a plurality of times until m1 low alpha wave signal pairs a are completedLS1And aLS2The increase and decrease adjustment process of (1);
to aHS1And aHS2When the adjustment is performed, the m1 high α wave signals extracted in step B321 are used to adjust a from first to lastHS1And aHS2Performing m1 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any high alpha wave signal pair a in m1 high alpha wave signals is usedHS1And aHS2When the adjustment is carried out, the process is as follows:
step 5-1, will be a at this timeHS1And aHS2Substituting the numerical value of (A) into the formula (5), calculating the fatigue threshold value of high alpha wave before increasing and decreasing adjustment, and recording the fatigue threshold value as AHST';
Step 5-2, comparing the signal value of the high alpha wave signal used at the moment with the A in the step 5-1HST' making a difference comparison: when the signal value of the high alpha wave signal is less than AHSTWhen aHS1And aHS2The value of (A) is unchanged; otherwise, for aHS1And aHS2All the signals are reduced and adjusted to make the signal value of the high alpha wave signal be greater than or equal to AHST”;
Wherein,AHST"to reduce a after adjustmentHS1And aHS2Substituting the numerical value of the alpha wave into the formula (5) to calculate the fatigue threshold value of the high alpha wave after the adjustment is reduced;
step 5-3, using the next high alpha wave signal pair a of m1 high alpha wave signals according to the method described in step 5-1 to step 5-2HS1And aHS2Performing increase and decrease adjustment;
step 5-4, repeating step 5-3 for a plurality of times until m1 pairs of high alpha wave signals a are completedHS1And aHS2The increase and decrease adjustment process of (1);
to b isLS1And bLS2When the adjustment is performed, the m1 low beta wave signals extracted in step B321 are used to adjust B from first to lastLS1And bLS2Performing m1 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any one low beta wave signal pair b in m1 low beta wave signals is usedLS1And bLS2When the adjustment is carried out, the process is as follows:
step 7-1, will be b at this pointLS1And bLS2Substituting the value of (A) into the formula (7), calculating the fatigue threshold of low beta wave before increasing or decreasing adjustment, and recording the fatigue threshold as BLST';
Step 7-2, comparing the signal value of the low beta wave signal used at the moment with the B signal in the step 7-1LST' making a difference comparison: when the signal value of the low beta wave signal is less than BLSTWhen, bLS1And bLS2The value of (A) is unchanged; otherwise, for bLS1And bLS2All reduce and adjust to make the signal value of the low beta wave signal equal to or larger than BLST”;
Wherein, BLST"adjusted to reduce bLS1And bLS2Substituting the numerical value of the formula (7) into the formula (7), and calculating to obtain a low beta wave fatigue threshold value after adjustment is reduced;
step 7-3, using the next low beta wave signal pair b of m1 low beta wave signals according to the method described in step 7-1 to step 7-2LS1And bLS2Go on to increaseSubtracting and adjusting;
step 7-4, repeating the step 7-3 for a plurality of times until m1 low beta wave signal pairs b are completedLS1And bLS2The increase and decrease adjustment process of (1);
to b isHS1And bHS2When performing the increase/decrease adjustment, the m1 high beta-wave signals extracted in step B321 are used to adjust the B wave signal from first to lastHS1And bHS2Performing m1 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any high beta wave signal pair b in m1 high beta wave signals is usedHS1And bHS2When the adjustment is carried out, the process is as follows:
step 9-1, will be b at this pointHS1And bHS2Substituting the numerical value of (A) into the formula (9), calculating the fatigue threshold value of high beta wave before increasing and decreasing adjustment, and recording the fatigue threshold value as BHST';
Step 9-2, comparing the signal value of the high beta wave signal used in the step with the signal value B in the step 9-1HST' making a difference comparison: when the signal value of the high beta wave signal is less than BHSTWhen, bHS1And bHS2The value of (A) is unchanged; otherwise, for bHS1And bHS2All the signals are reduced and adjusted to make the signal value of the high beta wave signal equal to or more than BHST”;
Wherein, BHST"adjusted to reduce bHS1And bHS2Substituting the numerical value of the formula (9) into the formula (9), and calculating to obtain a high beta wave fatigue threshold value after adjustment is reduced;
step 9-3, using the next high beta-wave signal pair b of the m1 high beta-wave signals according to the method described in step 9-1 to step 9-2HS1And bHS2Performing increase and decrease adjustment;
step 9-4, repeating step 9-3 for a plurality of times until m1 high beta wave signal pairs b are completedHS1And bHS2The increase and decrease adjustment process of (1);
for tS1And tS2When the adjustment is performed, m1 θ wave signals extracted in step B321 are usedFirst to last to tS1And tS2Performing m1 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any one theta wave signal pair t in m1 theta wave signals is usedS1And tS2When the adjustment is carried out, the process is as follows:
step 11-1, will this time tS1And tS2Substituting the value of (A) into the formula (11), calculating the fatigue threshold value of theta wave before increasing and decreasing adjustment, and recording as TST';
Step 11-2, the signal value of the theta wave signal used at this time and the T described in step 11-1ST' making a difference comparison: when the signal value of the theta wave signal is less than TSTWhen, tS1And tS2The value of (A) is unchanged; otherwise, for tS1And tS2All reduce and adjust to make the signal value of theta wave signal equal to or greater than TST”;
Wherein, TST"to reduce t after adjustmentS1And tS2Substituting the numerical value of the equation (11) into the formula (11), and calculating the fatigue threshold value of the theta wave after the adjustment is reduced;
step 11-3, using the next theta wave signal pair t of the m1 theta wave signals according to the method from step 11-1 to step 11-2S1And tS2Performing increase and decrease adjustment;
step 11-4, repeating the step 11-3 for multiple times until m1 theta wave signal pairs t are completedS1And tS2The increase and decrease adjustment process of (1);
to dS1And dS2When the adjustment is performed, the m1 wave signals extracted in step B321 are used to adjust d from beginning to endS1And dS2Performing m1 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any wave signal pair d in m1 wave signals is usedS1And dS2When the adjustment is carried out, the process is as follows:
step 13-1, will d at this pointS1And dS2The value of (2) is substituted into the formula (13), and the wave fatigue threshold value before increasing and decreasing adjustment is calculated and recorded asDST';
Step 13-2, comparing the signal value of the wave signal used at this time with D in step 13-1ST' making a difference comparison: when the signal value of the wave signal is < DSTWhen d isS1And dS2The value of (A) is unchanged; otherwise, for dS1And dS2All reduce and adjust to make the signal value of the wave signal equal to or greater than DST”;
Wherein D isST"to reduce by adjusting dS1And dS2Substituting the numerical value of the wave fatigue threshold value into a formula (13) and calculating to obtain a wave fatigue threshold value after adjustment;
step 13-3, using the next wave signal pair d of m1 theta wave signals according to the method described in step 13-1 to step 13-2S1And dS2Performing increase and decrease adjustment;
step 13-4, repeating step 13-3 for a plurality of times until m1 wave signal pairs d are completedS1And dS2The increase and decrease adjustment process of (1);
to rW1And rW2When performing the increase/decrease adjustment, r is adjusted from first to last using the 512 × m2 original electroencephalogram signals extracted in step B321W1And rW2Performing increase and decrease adjustment 512 Xm 2 times, wherein the increase and decrease adjustment method is the same for each time; wherein, any one original brain wave signal pair r in 512 × m2 original brain wave signals is usedW1And rW2When the adjustment is carried out, the process is as follows:
step 2-1, will be at this moment rW1And rW2Substituting the value of (A) into the formula (2), calculating to obtain the original brain wave waking threshold before increasing and decreasing adjustment, and recording as RWT';
Step 2-2, comparing the signal value of the original brain wave signal utilized at the time with the R value in the step 2-1WT' making a difference comparison: when the signal value of the original brain wave signal is greater than RWTWhen r isW1And rW2The value of (A) is unchanged; otherwise, for rW1And rW2Are all increased and adjusted toThe signal value of the original brain wave signal is less than or equal to RWT”;
Wherein R isWT"to adjust the increase rW1And rW2Substituting the numerical value of the brain wave into a formula (2), and calculating to obtain an increased and adjusted original brain wave waking threshold;
step 2-3, using a next pair r of the 512 xm 2 original brain wave signals according to the method described in the steps 2-1 to 2-2W1And rW2Performing increase and decrease adjustment;
step 2-4, repeating step 2-3 for a plurality of times until completing 512 xm 2 original brain wave signal pairs rW1And rW2The increase and decrease adjustment process of (1);
to aLW1And aLW2When the adjustment is performed, the m2 low alpha wave signals extracted in step B321 are used to adjust aLW1And aLW2Performing m2 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any low alpha wave signal pair a in m2 low alpha wave signals is usedLW1And aLW2When the adjustment is carried out, the process is as follows:
step 4-1, will be a at this timeLW1And aLW2Substituting the value of (A) into the formula (4), calculating the low alpha wave wakefulness threshold before increasing and decreasing adjustment, and recording the value as ALWT';
Step 4-2, the signal value of the low alpha wave signal utilized at the moment and the A in the step 4-1LWT' making a difference comparison: when the signal value of the low alpha wave signal is more than ALWTWhen aLW1And aLW2The value of (A) is unchanged; otherwise, for aLW1And aLW2All make increase adjustment to make the signal value of the low alpha wave signal less than or equal to ALWT”;
Wherein A isLWT"to adjust the increaseLW1And aLW2Substituting the numerical value of the alpha wave into a formula (4), and calculating to obtain a low alpha wave wakefulness threshold value after the adjustment is increased;
step (ii) of4-3, using the next low alpha wave signal pair a of m2 low alpha wave signals according to the method described in step 4-1 to step 4-2LW1And aLW2Performing increase and decrease adjustment;
step 4-4, repeating step 4-3 for a plurality of times until m2 low alpha wave signal pairs a are completedLW1And aLW2The increase and decrease adjustment process of (1);
to aHW1And aHW2When the adjustment is performed, the m2 high α wave signals extracted in step B321 are used to adjust a from first to lastHW1And aHW2Performing m2 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any high alpha wave signal pair a in m2 high alpha wave signals is usedHW1And aHW2When the adjustment is carried out, the process is as follows:
step 6-1, will be a at this timeHW1And aHW2Substituting the numerical value of (A) into the formula (6), calculating the high alpha wave wakefulness threshold before increasing and decreasing adjustment, and recording the threshold as AHWT';
Step 6-2, the signal value of the high alpha wave signal used at the moment and the A in the step 6-1HWT' making a difference comparison: when the signal value of the high alpha wave signal is more than AHWTWhen aHW1And aHW2The value of (A) is unchanged; otherwise, for aHW1And aHW2All the signals are increased and adjusted to make the signal value of the high alpha wave signal less than or equal to AHWT”;
Wherein A isHWT"to adjust the increaseHW1And aHW2Substituting the numerical value of the alpha value into the formula (6), and calculating the increased and adjusted high alpha wave wakefulness threshold;
step 6-3, according to the method described in the step 6-1 to the step 6-2, using the next high alpha wave signal pair a of m2 high alpha wave signalsHW1And aHW2Performing increase and decrease adjustment;
step 6-4, repeating step 6-3 for a plurality of times until m2 pairs of high alpha wave signals a are completedHW1And aHW2The increase and decrease adjustment process of (1);
to b isLW1And bLW2When the adjustment is performed, the m2 low beta wave signals extracted in step B321 are used to adjust B from first to lastLW1And bLW2Performing m2 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any one low beta wave signal pair b in m2 low beta wave signals is usedLW1And bLW2When the adjustment is carried out, the process is as follows:
step 8-1, will be b at this timeLW1And bLW2Substituting the value of (A) into the formula (8), calculating the low beta wave wakefulness threshold before increasing or decreasing, and recording as BLWT';
Step 8-2, comparing the signal value of the low beta wave signal used in the current time with the B signal in the step 8-1LWT' making a difference comparison: when the signal value of the low beta wave signal is larger than BLWTWhen, bLW1And bLW2The value of (A) is unchanged; otherwise, for bLW1And bLW2All make increase adjustment to make the signal value of the low beta wave signal less than or equal to BLWT”;
Wherein, BLWT"to adjust the increase bLW1And bLW2Substituting the numerical value of the (D) into a formula (8), and calculating to obtain an increased and adjusted low beta wave wakefulness threshold;
step 8-3, using the next low beta wave signal pair b of m2 low beta wave signals according to the method described in step 8-1 to step 8-2LW1And bLW2Performing increase and decrease adjustment;
step 8-4, repeating step 8-3 for a plurality of times until m2 low beta wave signal pairs b are completedLW1And bLW2The increase and decrease adjustment process of (1);
to b isHW1And bHW2When performing the increase/decrease adjustment, the m2 high beta-wave signals extracted in step B321 are used to adjust the B wave signal from first to lastHW1And bHW2Performing m2 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any high beta wave signal pair b in m2 high beta wave signals is usedHW1And bHW2Go on to increaseWhen the adjustment is reduced, the process is as follows:
step 10-1, will be b at this pointHW1And bHW2Substituting the value of (A) into the formula (10), calculating the high beta wave wakefulness threshold before increasing or decreasing, and recording the value as BHWT';
Step 10-2, comparing the signal value of the high beta wave signal used at this time with the signal value B in the step 10-1HST' making a difference comparison: when the signal value of the high beta wave signal is larger than BHWTWhen, bHW1And bHW2The value of (A) is unchanged; otherwise, for bHW1And bHW2All the signals are increased and adjusted to make the signal value of the high beta wave signal less than or equal to BHWT”;
Wherein, BHWT"to adjust the increase bHW1And bHW2Substituting the numerical value of (b) into the formula (9), and calculating the increased and adjusted high beta wave waking threshold;
step 10-3, using the next high beta-wave signal pair b of the m2 high beta-wave signals according to the method described in the step 10-1 to the step 10-2HW1And bHW2Performing increase and decrease adjustment;
step 10-4, repeating step 10-3 for a plurality of times until m2 high beta wave signal pairs b are completedHW1And bHW2The increase and decrease adjustment process of (1);
for tW1And tW2When the increase/decrease adjustment is performed, m2 θ wave signals extracted in step B321 are used, and t is adjusted from first to lastW1And tW2Performing m2 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any one theta wave signal pair t in m2 theta wave signals is usedW1And tW2When the adjustment is carried out, the process is as follows:
step 12-1, let t at this timeW1And tW2Substituting the value of (A) into the formula (12), calculating the theta wave wakefulness threshold before increasing and decreasing adjustment, and recording as TWT';
Step 12-2, the signal value of the theta wave signal used at this time and the step 12-1The T isST' making a difference comparison: when the signal value of the theta wave signal is greater than TWTWhen, tW1And tW2The value of (A) is unchanged; otherwise, for tW1And tW2All increase and adjust to make the signal value of the theta wave signal less than or equal to TWT”;
Wherein, TWT"to adjust t after increaseW1And tW2Substituting the numerical value of (a) into the formula (12) to calculate the theta wave wakefulness threshold after the increase adjustment;
step 12-3, using the next theta wave signal pair t of the m2 theta wave signals according to the method described in the step 12-1 to the step 12-2W1And tW2Performing increase and decrease adjustment;
step 12-4, repeating the step 12-3 for multiple times until m2 theta wave signal pairs t are completedW1And tW2The increase and decrease adjustment process of (1);
to dW1And dW2When the adjustment is performed, the m2 wave signals extracted in step B321 are used to adjust d from beginning to endW1And dW2Performing m2 times of increase and decrease adjustment, wherein the increase and decrease adjustment methods are the same; wherein, any wave signal pair d in m2 wave signals is usedW1And dW2When the adjustment is carried out, the process is as follows:
step 14-1, will d at this pointW1And dW2Substituting the value of (D) into equation (14), calculating the wakefulness threshold before increasing or decreasing, and recording as DWT';
Step 14-2, comparing the signal value of the wave signal used at this time with D in step 14-1ST' making a difference comparison: when the signal value of the wave signal is > DWTWhen d isW1And dW2The value of (A) is unchanged; otherwise, for dW1And dW2All carry out increase adjustment to make the signal value of the wave signal less than or equal to DWT”;
Wherein D isWT"to adjust d after increasingW1And dW2The numerical value of (C) is substituted into the formula (14) to calculate(ii) the derived increased adjusted wave wake threshold;
step 14-3, using the next wave signal pair d of m2 theta wave signals according to the method described in steps 14-1 to 14-2W1And dW2Performing increase and decrease adjustment;
step 14-4, repeating step 14-3 for a plurality of times until m2 wave signal pairs d are completedW1And dW2The increase and decrease adjustment process.
Thus, the present invention employs the above method for rS1、rS2、rW1、rW2、aLS1、aLS2、aLW1、aLW2、aHS1、aHS2、aHW1、aHW2、bLS1、bLS2、bLW1、bLW2、bHS1、bHS2、bHW1、bHW2、tS1、tS2、tW1、tW2、dS1、dS2、dW1And dW2A determination is made.
In this embodiment, r is corrected in step B323S1、rS2、aLS1、aLS2、aHS1、aHS2、bLS1、bLS2、bHS1、bHS2、tS1、tS2、dS1And dS2When the adjustment is increased or decreased, the adjustment amount is decreased by 0.01-0.1 each time; to rW1、rW2、aLW1、aLW2、aHW1、aHW2、bLW1、bLW2、bHW1、bHW2、tW1、tW2、dW1And dW2When the adjustment is respectively increased or decreased, the adjustment amount is increased by 0.01-0.1 each time.
During actual use, the adjustment quantity can be correspondingly adjusted according to specific requirements for each reduction and each increase.
In the actual use process, the step two is carried outWhen the fatigue driving determination threshold values of the 7 sets in step B3 are determined before the electroencephalogram signal analysis processing, the determination may be performed by the following method: firstly, respectively acquiring and preprocessing brain wave signals when a driver enters a sleep state from a non-sleep state and enters a waking state from a non-waking state by adopting a brain wave signal acquisition device 1; wherein R isST、ALST、AHST、BLST、BHST、TSTAnd DSTRespectively the signal values R of the original brain wave, low alpha wave, high alpha wave, low beta wave, high beta wave, theta wave and wave signal in the brain wave signal output by the brain wave acquisition device 1 when the driver enters the sleep state from the non-sleep stateWT、ALWT、AHWT、BLWT、BHWT、TWTAnd DWTThe signal values of the original brain wave, low alpha wave, high alpha wave, low beta wave, high beta wave, theta wave and wave signal in the brain wave signal output by the brain wave signal acquisition device 1 when the driver enters the waking state from the non-waking state are respectively.
In this embodiment, N is 55 in step B4. In actual use, the value of N can be adjusted correspondingly according to specific requirements.
In this embodiment, the obtained brain wave signal of the driver within P seconds is a brain wave signal acquired and preprocessed by the brain wave signal acquisition device 1 within P seconds;
in the step B321, the brain wave signal within m1 seconds of the driver in the sleep state is the brain wave signal acquired and preprocessed by the brain wave signal acquiring device 1 within m1 seconds, and the brain wave signal within m2 seconds of the driver in the waking state is the brain wave signal acquired and preprocessed by the brain wave signal acquiring device 1 within m2 seconds.
In this embodiment, in the first step, the main control chip 2-1 is an Arduino controller.
In practical use, the main control chip 2-1 may also adopt other types of controllers, such as an ARM controller.
In this embodiment, the electroencephalogram signal monitoring device 2 in the first step further includes a third wireless communication module 2-3 connected to the main control chip 2-1; the main control chip 2-1 is communicated with the upper computer 4 through a third wireless communication module 2-3;
in the step B4, when the count value of the counter is greater than N, the main control chip 2-1 synchronously transmits the fatigue driving state of the driver to the upper computer 4 through the third wireless communication module 2-3.
When the electroencephalogram monitoring device is actually used, the electroencephalogram signal monitoring device 2 is arranged in a vehicle driven by a driver, the main control chip 2-1 and the second wireless communication module 2-2 are uniformly arranged on an electronic circuit board, and the electronic circuit board is arranged in a shell; the alarm prompting units 2-5 are arranged on the shell.
Meanwhile, the electroencephalogram signal monitoring device 2 further comprises a power supply unit 2-4 connected with the main control chip 2-1.
In this embodiment, the alarm prompt units 2 to 5 are voice prompt units and are arranged on the housing.
As shown in fig. 3, in this embodiment, the electroencephalogram signal preprocessing device 1-2 is a TGAM chip developed by NeuroSky, usa. The output end of the first brain electrode 1-11 is connected with an EEG pin of the TGAM chip, the output end of the second brain electrode 1-12 is connected with a REF pin of the TGAM chip, and the output end of the third brain electrode 1-13 is connected with an EEG _ GND pin of the TGAM chip. In actual use, the second brain electrode 1-12 is a reference electrode.
In the actual use process, the EEG end of the TGAM chip inputs the EEG signals sampled by the first EEG electrodes 1-11, and the EEG _ shifted end plays a role in shielding the interference of the time before the EEG signals sampled by the first EEG electrodes 1-11 are input into the TGAM chip; the REF end inputs the electroencephalogram signals sampled by the second electroencephalogram electrodes 1-2, and the ear electroencephalogram signals sampled by the second electroencephalogram electrodes 1-12 are used as reference potentials, so that spontaneous electroencephalograms can be effectively filtered; the REF _ shifted end is mainly used for shielding the interference of the time before the electroencephalogram signals sampled by the second electroencephalogram electrodes 1-12 are input into the TGAM chip; the brain wave ground wire is also connected to the ear of the human body, namely the brain wave signals sampled by the third brain wave electrodes 1-13, the main function is to shield the influence of electric waves below the head of the human body, for example, the heart wave is a stronger interference wave, and the connection of the brain wave ground wire can effectively filter the heart wave. That is, the third brain electrode 1-13 is an electrode for collecting brain wave ground signals.
In this embodiment, the first wireless communication module 3 and the second wireless communication module 2-2 are both bluetooth wireless communication modules.
And the Bluetooth wireless communication module is an HL-MD08R-C2A module.
In practice, the first wireless communication module 3 and the second wireless communication module 2-2 may also adopt other types of wireless communication modules.
In this embodiment, the first EEG electrode 1-11 is placed on the left forehead of the driver determined according to the 10-20 system electrode placement method, and the second EEG electrode 1-12 and the third EEG electrode 1-13 are both placed in the upper left temple of the driver determined according to the 10-20 system electrode placement method. Among them, the 10-20 system electrode placement method is the standard electrode placement method specified by the international electroencephalogram society.
Therefore, the electroencephalogram signal extraction device 1-1 mainly collects the prefrontal area, specifically, the left prefrontal (F)P1) The potential at this electrode site. The second brain electrode 1-12 and the third brain electrode 1-13 are both placed on the electrode site in the left temporal middle (T3).
In this embodiment, the TGAM chip has a TGAM1 model, and the first wireless communication module 3 and the second wireless communication module 2-2 are both BlueTooth chips. When actually wired, the TXD pin of the TGAM chip is connected with the RX pin of the first wireless communication module 3. And the power supply end of the TGAM chip and the VCC pin of the TGAM chip are both connected with a +3.3V power supply end.
As shown in fig. 4, in this embodiment, the alarm prompting unit 2-5 is a speaker LS, one end of the speaker LS is connected to the 8 th pin of the Arduino controller, and the other end of the speaker LS is grounded.
In this embodiment, the GPRS wireless communication module is a GTM-900C wireless communication module.
When actually wiring, the RX pin of the Arduino controller is connected with the RX pin of the second wireless communication module 2-2, and the TX pin of the Arduino controller is connected with the RX pin of the GTM-900C wireless communication module.
Meanwhile, the electroencephalogram signal monitoring device 2 further comprises a parameter input unit 2-6 and a display 2-7, and the parameter input unit 2-6 and the display 2-7 are arranged on the shell.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and all simple modifications, changes and equivalent structural changes made to the above embodiment according to the technical spirit of the present invention still fall within the protection scope of the technical solution of the present invention.

Claims (10)

1. A fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree is characterized by comprising the following steps:
step one, brain wave signal acquisition: the electroencephalogram signal acquisition device (1) is adopted to acquire and preprocess the electroencephalogram signal of a driver according to a preset sampling frequency, and the preprocessed electroencephalogram signal is synchronously transmitted to the electroencephalogram signal monitoring device (2);
the electroencephalogram signal acquisition device (1) and the electroencephalogram signal monitoring device (2) are communicated in a wireless communication mode; the electroencephalogram signal acquisition device (1) is a TGAM module, the TGAM module comprises an electroencephalogram signal extraction device (1-1) for extracting electroencephalogram signals of a driver and an electroencephalogram signal preprocessing device (1-2) for sampling and preprocessing the signals extracted by the electroencephalogram signal extraction device (1-1), the electroencephalogram signal preprocessing device (1-2) is connected with the electroencephalogram signal extraction device (1-1), the electroencephalogram signal extraction device (1-1) comprises a first electroencephalogram electrode (1-11) for sampling the electric potential of a frontal lobe area of the driver in real time and a second electroencephalogram electrode (1-12) and a third electroencephalogram electrode (1-13) for sampling the electric potential of the ear of the driver in real time, and the first electroencephalogram electrode (1-11), the second electroencephalogram electrode (1-12) and the third electroencephalogram electrode (1-13) are all connected with the electroencephalogram signal preprocessing device (1-2) connecting; the electroencephalogram signal monitoring device (2) comprises a main control chip (2-1), and a second wireless communication module (2-2) and an alarm prompting unit (2-5) which are respectively connected with the main control chip (2-1), wherein the alarm prompting unit (2-5) is controlled by the main control chip (2-1) and is connected with the main control chip (2-1); the electroencephalogram signal preprocessing device (1-2) is connected with the first wireless communication module (3), and the electroencephalogram signal preprocessing device (1-2) is communicated with the main control chip (2-1) through the first wireless communication module (3) and the second wireless communication module (2-2);
step two, brain wave signal analysis and processing: the master control chip (2-1) respectively analyzes and processes the brain wave signals collected and preprocessed by the brain wave signal acquisition device (1) within each second according to the sampling time sequence, and judges whether the driver is in a fatigue driving state at the moment according to the analysis and processing result; moreover, the analysis and processing methods of the brain wave signals collected and preprocessed by the brain wave signal acquisition device (1) in each second by the main control chip (2-1) are the same; when the brain wave signals collected and preprocessed by the brain wave signal acquisition device (1) within any one second are analyzed and processed, the process is as follows:
step 201, brain wave signal synchronous storage: synchronously storing the brain wave signals collected and preprocessed by the brain wave signal acquisition device (1) within one second;
step 202, extracting the meditation degree and the concentration degree: extracting a meditation degree M and a concentration degree A from the brain wave signals processed at that time;
step 203, fatigue degree calculation: according to the meditation degree M and the concentration degree A extracted in the step 202 and according to the formulaCalculating to obtain the fatigue degree of the driver at the moment
Step 204, threshold comparison: calling a threshold comparison module to calculate the fatigue degree of the driver at the moment obtained in the step 203And F0And (3) comparing difference values: when in useIf so, it means the fatigue moment to be determined, and the process proceeds to step 205; otherwise, returning to the step 201, and analyzing and processing the brain wave signals collected and preprocessed by the brain wave signal acquisition device (1) in the next second;
wherein, F0Determining a threshold value for a predetermined fatigue level F01.2 to 1.6;
step 205, calculating the fatigue degree of the driver in the next second: analyzing and processing the brain wave signals collected and preprocessed by the brain electrical signal acquisition device (1) in the next second according to the method from the step 201 to the step 203, and calculating the fatigue degree of the driver in the next second after the fatigue time to be judged
Step 206, repeating the step 206 for K-1 times, and obtaining the fatigue degree of the driver within K seconds after the fatigue moment to be determinedWherein K is a positive integerAnd K is 8-15;
step 207, fatigue driving judgment: calling the threshold comparison module to compare the fatigue degree of the driver within K seconds after the fatigue moment to be determined obtained in the step 206Are respectively reacted with F0And (3) comparing difference values: when the fatigue degree of the driver within K seconds after the fatigue moment to be determinedAre all greater than F0When the driver is in a fatigue driving state, the main control chip (2-1) controls the alarm prompting unit (2-5) to give an alarm prompt; otherwise, the driver is in a normal driving state at the moment;
and 208, returning to the step 201, and analyzing and processing the brain wave signals collected and preprocessed by the brain wave signal acquisition device (1) in the next second.
2. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1, wherein: k in step 206 is 10.
3. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1 or 2, characterized in that: f in step 2040=1.4。
4. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1 or 2, characterized in that: in step 207, the fatigue degree of the driver is determined within K seconds after the fatigue timeAre all greater than F0Before the main control chip (2-1) controls the alarm prompt unit (2-5) to carry out alarm prompt, the main control chip also controls the alarm prompt unit to carry out alarm prompt beforeA multi-threshold comparison and determination module is required to be invoked to analyze and process the received brain wave signals in step 201, and verify the fatigue driving state of the driver at that time according to the analysis and processing result, the process is as follows:
step B1, characteristic signal extraction: the main control chip (2-1) calls a feature extraction module to extract 7 feature signals from the brain wave signals processed at the moment;
step B2, feature quantity determination: the main control chip (2-1) takes the signal values of the 7 characteristic signals in the step B1 as the 7 characteristic quantities of the brain wave signals processed at the moment; the 7 characteristic signals are original brain waves, low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals respectively, and the 7 characteristic quantities are R, A respectivelyL、AH、BL、BHT and D;
when the electroencephalogram signal acquisition device (1) collects and preprocesses electroencephalogram signals of a driver in the first step, the sampling frequency of the original electroencephalogram is 512Hz, and the sampling frequencies of low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and waves are all 1 Hz; in the 7 feature signals, the number of the original brain wave signals is 512, and the number of low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals is one;
wherein R is an average value of signal values of 512 original brain wave signals extracted from the brain wave signals processed at that time, ALA signal value of a low alpha wave signal extracted from the electroencephalogram signal processed at that time, AHIs a signal value of a high alpha wave signal extracted from the electroencephalogram signal processed at that time, BLIs the signal value of the low beta wave signal extracted from the electroencephalogram signal processed at that time, BHIs a signal value of a high beta wave signal extracted from the electroencephalogram signals processed at this time, T is a signal value of a theta wave signal extracted from the electroencephalogram signals processed at this time, and D is a signal value of a wave signal extracted from the electroencephalogram signals processed at this time;
step B3, multi-threshold comparison: the main control chip (2-1) judges threshold values according to 7 groups of predetermined fatigue driving and calls a threshold value comparison module, respectively compares the threshold values of the 7 characteristic quantities determined in the step B2, and records the threshold value comparison results by adopting a counter;
the initial count value of the counter is 0;
the 7 groups of fatigue driving judgment threshold values are respectively a group of original brain wave judgment threshold values, a group of low alpha wave judgment threshold values, a group of high alpha wave judgment threshold values, a group of low beta wave judgment threshold values, a group of high beta wave judgment threshold values, a group of theta wave judgment threshold values and a group of wave judgment threshold values; wherein the original brain wave judging threshold comprises an original brain wave fatigue threshold RSTAnd the original brain wave waking threshold RWTThe low alpha wave judgment threshold comprises a low alpha wave fatigue threshold ALSTAnd low alpha wave wakefulness threshold ALWTThe high alpha wave judging threshold comprises a high alpha wave fatigue threshold AHSTAnd a high alpha wave wakefulness threshold AHWTThe low beta wave judgment threshold comprises a low beta wave fatigue threshold BLSTAnd low beta wave wake threshold BLWTThe high beta wave judgment threshold comprises a high beta wave fatigue threshold BHSTAnd a high beta wave wake threshold BHWTThe theta wave judging threshold comprises a theta wave fatigue threshold TSTAnd theta wave wakefulness threshold TWTThe wave judging threshold value comprises a wave fatigue threshold value DSTSum wave wake threshold DWT
When the 7 feature quantities determined in the step B2 are respectively compared with the threshold value, the main control chip (2-1) calls a threshold value comparison module to judge the threshold value and the feature quantity A of the feature quantity R and a group of original brain waveLAnd a set of low alpha wave judgment threshold value and characteristic quantity AHA set of high alpha wave judgment threshold values and characteristic quantity BLAnd a set of low beta wave judgment threshold value and characteristic quantity BHRespectively carrying out threshold comparison with a group of high beta wave judgment threshold values, a characteristic quantity T and a group of theta wave judgment threshold values, and a characteristic quantity D and a group of wave judgment threshold values;
when the characteristic quantity R is compared with a group of original brain wave judgment threshold values, the characteristic quantity R and the characteristic quantity R are compared firstlySTAnd (3) comparing difference values: when R < RSTThen, the main control chip (2-1) adds 5 to the count value of the timer; otherwise, the timing is carried outThe count value of the device is not changed; then, the characteristic quantities R and R are combinedWTAnd (3) comparing difference values: when R > RWTThen, the main control chip (2-1) subtracts 5 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity ALWhen the threshold value is compared with a group of low alpha wave judgment threshold values, the characteristic quantity A is firstly comparedLAnd ALSTAnd (3) comparing difference values: when A isL<ALSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity A is measuredLAnd ALWTAnd (3) comparing difference values: when A isL>ALWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity AHWhen the characteristic quantity A is compared with a group of high alpha wave judgment threshold valuesHAnd AHSTAnd (3) comparing difference values: when A isH<AHSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity A is measuredHAnd AHWTAnd (3) comparing difference values: when A isH>AHWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity BLWhen the characteristic quantity B is compared with a group of low beta wave judgment threshold values in a threshold value mode, the characteristic quantity B is firstly measuredLAnd BLSTAnd (3) comparing difference values: when B is presentL<BLSTThen, adding 2 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantity B is measuredLAnd BLWTAnd (3) comparing difference values: when B is presentL>BLWTThen, subtracting 2 from the count value of the timer; otherwise, the count value of the timer is unchanged;
for characteristic quantity BHWhen the characteristic quantity B is compared with a group of high beta wave judgment threshold values in a threshold value way, the characteristic quantity B is firstly measuredHAnd BHSTAnd (3) comparing difference values: when B is presentH<BHSTThen, adding 2 to the count value of the timer; otherwise, the count value of the timer is unchanged; after that time, the user can use the device,the characteristic quantity BHAnd BHWTAnd (3) comparing difference values: when B is presentH>BHWTThen, subtracting 2 from the count value of the timer; otherwise, the count value of the timer is unchanged;
when the characteristic quantity T is compared with a group of theta wave judgment threshold values, the characteristic quantity T and the characteristic quantity T are firstly comparedSTAnd (3) comparing difference values: when T is less than TSTThen, adding 1 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities T and T are comparedWTAnd (3) comparing difference values: when T > TWTThen, subtracting 1 from the count value of the timer; otherwise, the count value of the timer is unchanged;
when the characteristic quantity D and a group of wave judging threshold values are respectively compared by the threshold values, the characteristic quantity D and the characteristic quantity D are firstly comparedSTAnd (3) comparing difference values: when D is less than DSTThen, adding 6 to the count value of the timer; otherwise, the count value of the timer is unchanged; then, the characteristic quantities D and D are comparedWTAnd (3) comparing difference values: when D > DWTThen, subtracting 6 from the count value of the timer; otherwise, the count value of the timer is unchanged;
step B4, fatigue driving judgment: and the main control chip (2-1) judges the fatigue driving state of the driver at the moment according to the counting value of the counter after the multi-threshold comparison in the step B3 is completed: when the count value of the counter is larger than N, the driver is in a fatigue driving state at the moment after verification, and the main control chip (2-1) controls the alarm prompting unit (2-5) to perform alarm prompting; otherwise, the driver is in a fatigue driving state at the moment after verification;
wherein N is a positive integer and N is 52-58.
5. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 4, wherein: before the brain wave signal analysis processing in the step two, a main control chip (2-1) is adopted to determine 7 groups of fatigue driving judgment threshold values in the step B3;
when 7 groups of fatigue driving judgment threshold values in the step B3 are determined, firstly, acquiring brain wave signals of a driver within P seconds by using a brain wave signal acquisition device (1), and then determining 7 groups of fatigue driving judgment threshold values according to the acquired brain wave signals of the driver within P seconds; wherein P is a positive integer and P is 50-70;
when 7 groups of fatigue driving judgment threshold values are determined according to the obtained brain wave signals of the driver within P seconds, the method comprises the following steps:
step B31, characteristic signal extraction: firstly, 512 xP original brain wave signals, P low alpha wave signals, P high alpha wave signals, P low beta wave signals, P high beta wave signals, P theta wave signals and P wave signals are extracted from the obtained brain wave signals of the driver within P seconds, and the A is processedLM、ALSD、AHM、AHSD、BLM、BLSD、BHM、BHSD、TM、TSD、DMAnd DSDRespectively calculating;
wherein R isMAnd RSDMean and standard deviation of signal values of 512 × P original brain wave signals, respectively, aLMAnd ALSDMean and standard deviation of the signal values of the P low alpha wave signals, AHMAnd AHSDMean and standard deviation of the signal values of the P high alpha wave signals, BLMAnd BLSDMean and standard deviation of the signal values of the P low beta wave signals, BHMAnd BHSDMean value and standard deviation of signal values of P high beta wave signals, TMAnd TSDMean and standard deviation of the signal values of the P theta wave signals, DMAnd DSDThe average value and the standard deviation of the signal values of the P wave signals are respectively;
step B32, threshold calculation: according to the formula RST=rS1RM+rS2RSD(1)、RWT=rW1RM+rW2RSD(2)、ALST=aLS1ALM+aLS2ALSD(3)、ALWT=aLW1ALM+aLW2ALSD(4)、AHST=aHS1AHM+aHS2AHSD(5)、AHWT=aHW1AHM+aHW2AHSD(6)、BLST=bLS1BLM+bLS2BLSD(7)、BLWT=bLW1BLM+bLW2BLSD(8)、BHST=bHS1BHM+bHS2BHSD(9)、BHWT=bHW1BHM+bHW2BHSD(10)、TST=tS1TM+tS2TSD(11)、TWT=tW1TM+tW2TSD(12)、DST=dS1DM+dS2DSD(13) And DWT=dW1DM+dW2DSD(14) Are each to RST、RWT、ALST、ALWT、AHST、AHWT、BLST、BLWT、BHST、BHWT、TST、TWT、DSTAnd DWTCalculating;
in the formula (1), rS1And rS2Is RSTTwo weighting coefficients of 0 < rS1≤6,-3≤rS2<0;
In the formula (2), rW1And rW2Is RWTTwo weighting coefficients of 0 < rW1≤6,-3≤rW2<0;
In the formula (3), aLS1And aLS2Is ALSTTwo weighting coefficients of 0 < aLS1≤1,-1≤aLS2<0;
In the formula (4), aLW1And aLW2Is ALWTTwo weighting coefficients of 0 < aLW1≤1,-1≤aLW2<0;
In the formula (5), aHS1And aHS2Is AHSTTwo weighting coefficients of 0 < aHS1≤1,-1≤aHS2<0;
In the formula (6), aHW1And aHW2Is AHWTTwo weights ofCoefficient, 0 < aHW1≤1,-1≤aHW2<0;
In the formula (7), bLS1And bLS2Is BLSTTwo weighting coefficients of 0 < bLS1≤1,-1≤bLS2<0;
In the formula (8), bLW1And bLW2Is BLWTTwo weighting coefficients of 0 < bLW1≤1,-1≤bLW2<0;
In formula (9), bHS1And bHS2Is BHSTTwo weighting coefficients of 0 < bHS1≤1,-1≤bHS2<0;
In the formula (10), bHW1And bHW2Is BHWTTwo weighting coefficients of 0 < bHW1≤1,-1≤bHW2<0;
In formula (11), tS1And tS2Is TSTTwo weighting coefficients of 0 < tS1≤1,-1≤tS2<0;
In the formula (12), tW1And tW2Is TWTTwo weighting coefficients of 0 < tW1≤1,-1≤tW2<0;
In the formula (13), dS1And dS2Is DSTTwo weighting coefficients of 0 < dS1≤1,-1≤dS2<0;
In formula (14), dW1And dW2Is DWTTwo weighting coefficients of 0 < dW1≤1,-1≤dW2<0。
6. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 4, wherein: before the brain wave signal analysis processing in the step two, determining 7 sets of fatigue driving judgment threshold values in the step B3;
when 7 groups of fatigue driving judgment threshold values in the step B3 are determined, firstly, the electroencephalogram signal acquisition device (1) is adopted to respectively acquire electroencephalogram signals when the driver enters a sleep state from a non-sleep state and enters an awake state from a non-awake stateAnd pre-treating; wherein R isST、ALST、AHST、BLST、BHST、TSTAnd DSTRespectively the signal values of original brain waves, low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals in the brain wave signals output by the brain wave signal acquisition device (1) when the driver enters the sleep state from the non-sleep state, RWT、ALWT、AHWT、BLWT、BHWT、TWTAnd DWTThe electroencephalogram signal acquisition device (1) outputs the signal values of original electroencephalogram waves, low alpha waves, high alpha waves, low beta waves, high beta waves, theta waves and wave signals in electroencephalogram signals when a driver enters an awake state from a non-awake state.
7. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1 or 2, characterized in that: the electroencephalogram signal monitoring device (2) in the first step further comprises a third wireless communication module (2-3) connected with the main control chip (2-1); the main control chip (2-1) is communicated with the upper computer (4) through a third wireless communication module (2-3);
and in the step B4, when the count value of the counter is larger than N, the main control chip (2-1) synchronously transmits the fatigue driving state of the driver to the upper computer (4) through the third wireless communication module (2-3).
8. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1 or 2, characterized in that: the electroencephalogram signal preprocessing device (1-2) is a TGAM chip developed by Neurosky corporation in the United states; the output end of the first brain electrode (1-11) is connected with an EEG pin of the TGAM chip, the output end of the second brain electrode (1-12) is connected with a REF pin of the TGAM chip, and the output end of the third brain electrode (1-13) is connected with an EEG _ GND pin of the TGAM chip.
9. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1 or 2, characterized in that: in the first step, the main control chip (2-1) is an Arduino controller; the first wireless communication module (3) and the second wireless communication module (2-2) are both Bluetooth wireless communication modules; the third wireless communication module (2-3) is a GPRS wireless communication module.
10. The fatigue driving electroencephalogram monitoring method based on meditation degree and concentration degree as claimed in claim 1 or 2, characterized in that: in the step one, the first brain electrode (1-11) is placed on the left forehead of the driver determined according to the 10-20 system electrode placement method, and the second brain electrode (1-12) and the third brain electrode (1-13) are both placed in the left temple of the driver determined according to the 10-20 system electrode placement method.
CN201510489130.0A 2015-08-11 2015-08-11 Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration Pending CN105011932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510489130.0A CN105011932A (en) 2015-08-11 2015-08-11 Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510489130.0A CN105011932A (en) 2015-08-11 2015-08-11 Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration

Publications (1)

Publication Number Publication Date
CN105011932A true CN105011932A (en) 2015-11-04

Family

ID=54402510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510489130.0A Pending CN105011932A (en) 2015-08-11 2015-08-11 Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration

Country Status (1)

Country Link
CN (1) CN105011932A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105726046A (en) * 2016-01-29 2016-07-06 西南交通大学 Method for detecting vigilance state of driver
CN105847426A (en) * 2016-01-02 2016-08-10 石永录 Human body function monitoring method
CN106128032A (en) * 2016-07-05 2016-11-16 北京理工大学珠海学院 A kind of fatigue state monitoring and method for early warning and system thereof
CN106175755A (en) * 2016-09-21 2016-12-07 广州视源电子科技股份有限公司 Sleep state detector for sleep state analysis
CN106859644A (en) * 2017-03-20 2017-06-20 重庆大学 A kind of fatigue driving monitoring system and monitoring method based on brain wave
CN106980283A (en) * 2017-05-03 2017-07-25 李泽轩 A kind of control method of bioelectrical signals interactive controlling platform
CN107049306A (en) * 2017-03-31 2017-08-18 王晓路 A kind of detection treatment system based on meditation degree
CN107248263A (en) * 2017-08-08 2017-10-13 京东方科技集团股份有限公司 A kind of fatigue driving detecting system
CN108056865A (en) * 2017-12-01 2018-05-22 西安科技大学 A kind of multi-modal wheelchair brain control system and method based on cloud platform
CN109464152A (en) * 2019-01-09 2019-03-15 浙江强脑科技有限公司 Detection method, equipment and the computer readable storage medium of brain fatigue state
CN109464129A (en) * 2019-01-09 2019-03-15 浙江强脑科技有限公司 Detection method, equipment and the computer readable storage medium of muscular fatigue state
CN110367975A (en) * 2019-07-10 2019-10-25 南京邮电大学 A kind of fatigue driving detection method for early warning based on brain-computer interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606245A (en) * 2013-11-08 2014-02-26 北京工业大学 Fatigue driving detection early warning system based on Bluetooth brain wave earphone and Android mobile phone
CN104146722A (en) * 2014-08-18 2014-11-19 吉林大学 Driving fatigue detecting and grading early warning device and method based on head signals
CN204500736U (en) * 2015-03-12 2015-07-29 西安科技大学 A kind of fatigue driving brain electricity supervising device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606245A (en) * 2013-11-08 2014-02-26 北京工业大学 Fatigue driving detection early warning system based on Bluetooth brain wave earphone and Android mobile phone
CN104146722A (en) * 2014-08-18 2014-11-19 吉林大学 Driving fatigue detecting and grading early warning device and method based on head signals
CN204500736U (en) * 2015-03-12 2015-07-29 西安科技大学 A kind of fatigue driving brain electricity supervising device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YI ZHENG ET AL,: "Alarm Device for Fatigue Driving Based on TGAM Module", 《2014 ASIA PACIFIC COMPUTER SCIENCE AND APPLICATION CONFERENCE》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847426A (en) * 2016-01-02 2016-08-10 石永录 Human body function monitoring method
CN105726046A (en) * 2016-01-29 2016-07-06 西南交通大学 Method for detecting vigilance state of driver
CN106128032A (en) * 2016-07-05 2016-11-16 北京理工大学珠海学院 A kind of fatigue state monitoring and method for early warning and system thereof
CN106175755A (en) * 2016-09-21 2016-12-07 广州视源电子科技股份有限公司 Sleep state detector for sleep state analysis
CN106859644A (en) * 2017-03-20 2017-06-20 重庆大学 A kind of fatigue driving monitoring system and monitoring method based on brain wave
CN107049306A (en) * 2017-03-31 2017-08-18 王晓路 A kind of detection treatment system based on meditation degree
CN106980283A (en) * 2017-05-03 2017-07-25 李泽轩 A kind of control method of bioelectrical signals interactive controlling platform
CN107248263A (en) * 2017-08-08 2017-10-13 京东方科技集团股份有限公司 A kind of fatigue driving detecting system
CN108056865A (en) * 2017-12-01 2018-05-22 西安科技大学 A kind of multi-modal wheelchair brain control system and method based on cloud platform
CN109464152A (en) * 2019-01-09 2019-03-15 浙江强脑科技有限公司 Detection method, equipment and the computer readable storage medium of brain fatigue state
CN109464129A (en) * 2019-01-09 2019-03-15 浙江强脑科技有限公司 Detection method, equipment and the computer readable storage medium of muscular fatigue state
CN109464152B (en) * 2019-01-09 2021-11-26 浙江强脑科技有限公司 Method and device for detecting brain fatigue state and computer readable storage medium
CN110367975A (en) * 2019-07-10 2019-10-25 南京邮电大学 A kind of fatigue driving detection method for early warning based on brain-computer interface

Similar Documents

Publication Publication Date Title
CN105011932A (en) Fatigue driving electroencephalogram monitoring method based on degree of meditation and degree of concentration
CN105054951B (en) A kind of fatigue driving eeg monitoring method based on frequency of wink identification
CN105105773B (en) A kind of fatigue driving eeg monitoring method compared based on multi-threshold
Lin et al. Development of wireless brain computer interface with embedded multitask scheduling and its application on real-time driver's drowsiness detection and warning
CN110123314B (en) Method for judging brain concentration and relaxation state based on electroencephalogram signals
EP3267880B1 (en) Portable electronic device to process a signal acquired from a living body and method thereof
US20170367635A1 (en) Apparatus and Method for Detecting a State of a Driver Based on Biometric Signals of the Driver
CN106345034A (en) Device based on brain electricity acquisition terminal for cognitive emotion regulation
WO2022095985A1 (en) Method and system for evaluating comfort of passenger of intelligent driving vehicle
CN106913333B (en) Method for selecting sensitivity characteristic index of continuous attention level
CN105615878A (en) Fatigue driving electroencephalographic monitoring method
CN105476631A (en) EEG (electroencephalogram) based sleep detection and sleep aid method and device
CN111631697A (en) Intelligent sleep and fatigue state information monitoring control system and method and monitor
CN104257353A (en) Sleep apnea syndrome detecting system
CN105496363A (en) Method for classifying sleep stages on basis of sleep EGG (electroencephalogram) signal detection
CN110367975A (en) A kind of fatigue driving detection method for early warning based on brain-computer interface
CN102934998B (en) Pressure evaluating system, relieving pressure control system and exercise pressure reduction control method
CN109009103A (en) The detection of the biofeedback type disturbance of consciousness and wake-up system
CN116982937A (en) Perioperative anesthesia depth monitoring system based on deep learning
CN110301921A (en) System and method for carrying out drowsiness detection and intervention
CN106333672A (en) EEG-based fatigue monitoring and rapid restoration head-mounted device for people working under high pressure
CN112137601A (en) Signal processing method, signal processing device, vehicle and storage medium
CN114916935A (en) Posture analysis auxiliary correction system based on correction process of correction personnel
CN202716845U (en) Equipment and safety belt for monitoring electrocardio
CN103892797B (en) A kind of signal processing method for analysis of sleeping structure and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151104