[go: up one dir, main page]

CN109394248A - Driving fatigue detection method and system - Google Patents

Driving fatigue detection method and system Download PDF

Info

Publication number
CN109394248A
CN109394248A CN201811576142.7A CN201811576142A CN109394248A CN 109394248 A CN109394248 A CN 109394248A CN 201811576142 A CN201811576142 A CN 201811576142A CN 109394248 A CN109394248 A CN 109394248A
Authority
CN
China
Prior art keywords
sample
fatigue
driver
value
vector
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.)
Granted
Application number
CN201811576142.7A
Other languages
Chinese (zh)
Other versions
CN109394248B (en
Inventor
穆振东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi University of Technology
Original Assignee
Jiangxi University of 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 Jiangxi University of Technology filed Critical Jiangxi University of Technology
Priority to CN201811576142.7A priority Critical patent/CN109394248B/en
Publication of CN109394248A publication Critical patent/CN109394248A/en
Application granted granted Critical
Publication of CN109394248B publication Critical patent/CN109394248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/18Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state for vehicle drivers or machine operators
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2503/00Evaluating a particular growth phase or type of persons or animals
    • A61B2503/20Workers
    • A61B2503/22Motor vehicles operators, e.g. drivers, pilots, captains

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Pathology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Veterinary Medicine (AREA)
  • Psychiatry (AREA)
  • Psychology (AREA)
  • Public Health (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biomedical Technology (AREA)
  • Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Educational Technology (AREA)
  • Child & Adolescent Psychology (AREA)
  • Developmental Disabilities (AREA)
  • Social Psychology (AREA)
  • Hospice & Palliative Care (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention discloses a kind of driving fatigue detection method and systems, this method comprises: according to the EEG signals of multiple two lead of continuous acquisition driver forehead of preset sample frequency, to obtain EEG signals sample;EEG signals sample is divided according to the sampling period, is formed using the sampling period as the sample vector set of length;Calculate the synchronism of two leads of each sample vector set;Period discretization is carried out to the synchronism result being calculated, to screen out unusual sample, obtains target sample;According to target sample and the driving fatigue state variation characteristic of driver, fatigue threshold is determined;Whether the EEG signals of online acquisition driver calculate synchronism as a result, the synchronism result calculated in real time is compared and analyzed with fatigue threshold in real time, are fatigue state to determine driver currently.The present invention be able to solve full brain area lead it is difficult in practical applications, can not successional detection driver fatigue state and the excessively complicated problem of calculation method.

Description

Driving fatigue detection method and system
Technical field
The present invention relates to driving safety technical fields, more particularly to a kind of driving fatigue detection method and system.
Background technique
Driver information acquisition, information processing and manipulation caused by driving fatigue refers to due to continuous driving for a long time The phenomenon that ability declines.Driver is during long-duration driving, and Yi Yinfa driving fatigue is anti-to emergency event so as to cause it Extension between seasonable, influences driving safety.In order to avoid driving fatigue it is necessary to when there is fatigue state in driver to driving Member is reminded.
Driving fatigue detection method based on EEG signals is the primary solutions of current driving fatigue detection, but at present The driving fatigue detection method based on EEG signals there is problems:
One, signal acquisition uses full brain area, although the accuracy of fatigue detecting can be improved in laboratory using full brain area, But in addition to two leads of prefrontal area are not covered by hair, other leads are had any problem in practical applications;
Two, fatigue detecting of today is fatigue state to be divided into extremely tired and not tired two states mostly, realizes two Value detection, but fatigue is a continuity, a kind of gradual physiological change, and the fatigue detecting of binaryzation is likely to make It is extremely tired at driver, just it is detected, and be likely to have occurred that traffic accident at this time;
Three, fatigue detecting calculation method is excessively complicated, and fatigue detection result is caused to lag.
Summary of the invention
For this purpose, being existed an object of the present invention is to provide a kind of driving fatigue detection method with solving full brain area lead It is difficult in practical application, can not successional detection driver fatigue state and the excessively complicated problem of calculation method.
A kind of driving fatigue detection method, comprising:
According to the EEG signals of multiple two lead of continuous acquisition driver forehead of preset sample frequency, to obtain in tired The EEG signals sample of labor state;
The EEG signals sample is divided according to the sampling period, is formed using the sampling period as the sample vector of length Set;
Calculate the synchronism of two leads of each sample vector set;
Period discretization is carried out to the synchronism result being calculated, to screen out unusual sample, obtains target sample;
According to the target sample and the driving fatigue state variation characteristic of driver, fatigue threshold is determined;
The EEG signals of online acquisition driver, in real time calculate synchronism as a result, by the synchronism result calculated in real time with Whether the fatigue threshold compares and analyzes, be fatigue state to determine driver currently.
The driving fatigue detection method provided according to the present invention, at least has the advantages that
1) present invention can be avoided its EEG signals and lead in acquisition because covered using two lead of forehead as signal source Cause acquires difficult problem, and can be realized the detection effect of high-accuracy by two lead synchronism calculation methods;
2) present invention is using two lead synchronism values as output as a result, passing through the output successive value conduct of each sampling period Foundation is detected, real-time data output may be implemented, so as to the fatigue state of real-time, successional detection driver;
3) in the prior art, output real number value is carried out using prefrontal area lead mainly to be exported using the method for entropy, But the output method of entropy needs that time domain periodic signal is reconstructed, time complexity is high, and the present invention uses synchronism meter It calculates, time complexity is small, and calculating process is simpler, it is easy to accomplish, it can be avoided fatigue detection result lag.
In addition, above-mentioned driving fatigue detection method according to the present invention, can also have the following additional technical features:
Further, phase is used in the step of synchronism of two leads for calculating each sample vector set Bit synchronization calculation method, specifically:
The calculation method of locking phase value PLV between two leads is as follows:
It is thereinIt is time series xi(t) and xj(t) instantaneous phase, when being calculated using Hilbert transform The phase change of domain signal, for a continuous time series x (t), Hilbert transform is obtained by following formula:
PV therein indicates that Cauchy's principal value, phase change are calculated by following formula:
Further, when being used in the step of synchronism of two leads for calculating each sample vector set Domain vector synchronizes calculation method, specifically:
Wherein t is the time component in EEG signals sample, and N is a sample period lengths, xiAnd xjRespectively indicate two The sample time-series of electrode.
Further, described to divide to the EEG signals sample according to the sampling period, composition is with the sampling period The step of sample vector set of length includes:
According to sample frequency truncated data, for once testing the signal for M minutes, by the square of sample composition 2*60M*H Battle array, wherein 60M is the number of seconds of sampling, and H is the H data point of acquisition in one second, and 2 be two leads.
Further, the described pair of synchronism result progress period discretization being calculated is obtained with screening out unusual sample Target sample the step of include:
In the matrix for the synchronism result being calculated, choose every a line, according to step-length 60 by the matrix to Amount is divided into the vector of M, then retains 2 significant digits, to obtain the matrix of L*60, wherein L is sample number;
The distance between the every row of matrix of L*60 is calculated, to reject unusual sample, calculation method is to calculate row vector first Between Fisher distance, calculation formula are as follows:
The wherein mean value of μ representation vector, the standard deviation of σ representation vector, Fi,jCalculated result is the matrix of L*L, and limits Fi,jValue;
Statistical sample, if it exists vector m, wherein FimOr FjmMore than the F of restrictioni,jValue, it is determined that m is unusual sample, The unusual sample m is rejected.
Further, described according to the target sample and the driving fatigue state variation characteristic of driver, it determines tired The step of labor threshold value includes:
Calculate the matrix of the target sample;
Using M/2 as step-length, the matrix of the target sample is averaging according to row, is then averaging according to column, finally To being two number of front half section numerical value and second half section numerical value;
The second half section numerical value is determined as fatigue threshold.
Further, the EEG signals of the online acquisition driver calculate synchronism in real time as a result, will calculate in real time Synchronism result is compared and analyzed with the fatigue threshold, with the step of whether determine driver currently be fatigue state packet It includes:
The EEG signals of online acquisition driver, the synchronism of calculating in every 1 second, obtain a numerical value, if the value is super Cross the fatigue threshold, then the fatigue state of this second be labeled as 1, be otherwise labeled as 0, Continuous plus 1 minute, obtain marking to Amount sums to the label vector, if summed result is more than preset value, determines that driver is currently at fatigue state, and export The fatigue data of last second.
It is another object of the present invention to propose a kind of driving fatigue detection system, to solve full brain area lead in reality It is difficult in, can not successional detection driver fatigue state and the excessively complicated problem of calculation method.
A kind of driving fatigue detection system, the system comprises:
Acquisition module, for the brain telecommunications according to multiple two lead of continuous acquisition driver forehead of preset sample frequency Number, to obtain EEG signals sample in a state of fatigue;
Division module, for dividing to the EEG signals sample according to the sampling period, composition is with the sampling period The sample vector set of length;
Computing module, the synchronism of two leads for calculating each sample vector set;
Discrete block is obtained for carrying out period discretization to the synchronism result being calculated with screening out unusual sample Obtain target sample;
Threshold determination module, for the driving fatigue state variation characteristic according to the target sample and driver, really Determine fatigue threshold;
Tired determining module calculates synchronism as a result, will count in real time for the EEG signals of online acquisition driver in real time Whether the synchronism result of calculation is compared and analyzed with the fatigue threshold, be fatigue state to determine driver currently.
The driving fatigue detection system provided according to the present invention, at least has the advantages that
1) present invention can be avoided its EEG signals and lead in acquisition because covered using two lead of forehead as signal source Cause acquires difficult problem, and can be realized the detection effect of high-accuracy by two lead synchronism calculation methods;
2) present invention is using two lead synchronism values as output as a result, passing through the output successive value conduct of each sampling period Foundation is detected, real-time data output may be implemented, so as to the fatigue state of real-time, successional detection driver;
3) in the prior art, output real number value is carried out using prefrontal area lead mainly to be exported using the method for entropy, But the output method of entropy needs that time domain periodic signal is reconstructed, time complexity is high, and the present invention uses synchronism meter It calculates, time complexity is small, and calculating process is simpler, it is easy to accomplish, it can be avoided fatigue detection result lag.
In addition, above-mentioned driving fatigue detection system according to the present invention, can also have the following additional technical features:
Further, the computing module can calculate synchronism using Phase synchronization calculation method and calculate each sample The synchronism of two leads of this vector set, specifically:
The calculation method of locking phase value PLV between two leads is as follows:
It is thereinIt is time series xi(t) and xj(t) instantaneous phase, when being calculated using Hilbert transform The phase change of domain signal, for a continuous time series x (t), Hilbert transform is obtained by following formula:
PV therein indicates that Cauchy's principal value, phase change are calculated by following formula:
Further, the computing module can calculate each sample vector using the synchronous calculation method of time-domain vector The synchronism of two leads of set, specifically:
Wherein t is the time component in EEG signals sample, and N is a sample period lengths, xiAnd xjRespectively indicate two The sample time-series of electrode.
Further, the division module is specifically used for:
According to sample frequency truncated data, for once testing the signal for M minutes, by the square of sample composition 2*60M*H Battle array, wherein 60M is the number of seconds of sampling, and H is the H data point of acquisition in one second, and 2 be two leads.
Further, the discrete block is specifically used for:
In the matrix for the synchronism result being calculated, choose every a line, according to step-length 60 by the matrix to Amount is divided into the vector of M, then retains 2 significant digits, to obtain the matrix of L*60, wherein L is sample number;
The distance between the every row of matrix of L*60 is calculated, to reject unusual sample, calculation method is to calculate row vector first Between Fisher distance, calculation formula are as follows:
The wherein mean value of μ representation vector, the standard deviation of σ representation vector, Fi,jCalculated result is the matrix of L*L, and limits Fi,jValue;
Statistical sample, if it exists vector m, wherein FimOr FjmMore than the F of restrictioni,jValue, it is determined that m is unusual sample, The unusual sample m is rejected.
Further, the threshold determination module is specifically used for:
Calculate the matrix of the target sample;
Using M/2 as step-length, the matrix of the target sample is averaging according to row, is then averaging according to column, finally To being two number of front half section numerical value and second half section numerical value;
The second half section numerical value is determined as fatigue threshold.
Further, the tired determining module is specifically used for:
The EEG signals of online acquisition driver, the synchronism of calculating in every 1 second, obtain a numerical value, if the value is super Cross the fatigue threshold, then the fatigue state of this second be labeled as 1, be otherwise labeled as 0, Continuous plus 1 minute, obtain marking to Amount sums to the label vector, if summed result is more than preset value, determines that driver is currently at fatigue state, and export The fatigue data of last second.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the embodiment of the present invention are from the description of the embodiment in conjunction with the following figures It will be apparent and be readily appreciated that, in which:
Fig. 1 is the flow chart of driving fatigue detection method according to a first embodiment of the present invention;
Fig. 2 is the structural schematic diagram of driving fatigue detection system according to a second embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, the driving fatigue detection method that first embodiment of the invention proposes, including step S101~S103:
S101, according to the EEG signals of multiple two lead of continuous acquisition driver forehead of preset sample frequency, to obtain EEG signals sample in a state of fatigue;
Wherein it is possible to utilize existing portable electroencephalogramsignal signal collection equipment (such as the two lead brain electricity of forehead of neurosky Signal collecting device) acquisition two lead of driver's forehead EEG signals, multiple continuous acquisition, sample frequency are carried out to driver It may be configured as 256Hz or 512Hz or 1000Hz or 1024Hz etc., can be selected according to the actual situation using frequency It selects, herein with no restrictions.
In the present embodiment, sample frequency is illustrated by taking 1000Hz as an example, continuous acquisition driver EEG signals 40 minutes, Repeatedly to each subject (i.e. driver) acquisition, a questionnaire is done to subject, is determined tested after the completion of acquisition every time Whether person there is fatigue, when subject's questionnaire result is fatigue occur, then saves the sample, is otherwise acquired, this In embodiment, sample number is more than or equal to 30 in final subject's sample set, then can stop acquisition experiment.
S102 divides the EEG signals sample according to the sampling period, forms using the sampling period as the sample of length This vector set;
Wherein, when it is implemented, can be according to sample frequency truncated data, it, will for once testing the signal for M minutes Sample forms the matrix of 2*60M*H, and wherein 60M is the number of seconds of sampling, and H is the H data point of acquisition in one second, and 2 be two leads.
Specifically in the present embodiment, according to sample frequency truncated data, for once testing the signal for 40 minutes, then should Sample can form the matrix of 2*2400*1000, wherein 2400 be 40 minutes sampling times (number of seconds), 1000 be to acquire for one second 1000 data points (corresponding sample frequency 1000Hz), 2 be to represent two leads.
S103 calculates the synchronism of two leads of each sample vector set;
Wherein, calculate two leads of each sample vector set synchronism can using Phase synchronization or time domain to The multiple synchronizations calculation methods such as amount synchronizes.
The detailed process of the synchronism of two leads is calculated using Phase synchronization calculation method are as follows:
The calculation method of locking phase value PLV between two leads is as follows:
It is thereinIt is time series xi(t) and xj(t) instantaneous phase, when being calculated using Hilbert transform The phase change of domain signal, for a continuous time series x (t), Hilbert transform is obtained by following formula:
PV therein indicates that Cauchy's principal value, phase change are calculated by following formula:
Following formula is used using the specific of synchronism that the synchronous calculation method of time-domain vector calculates two leads:
Wherein t is the time component in EEG signals sample, and N is a sample period lengths, xiAnd xjRespectively indicate two The sample time-series of electrode.
Specifically in the present embodiment, the calculating of the synchronism of two leads is carried out using the synchronous calculation method of time-domain vector. Wherein, N=1000 is a sample period lengths, xiAnd xjSample time-series for respectively indicating two electrodes, to each sample Originally one 2400 vector can be calculated, each value of the vector indicates the two lead EEG signals synchronisms at this second moment Value, 30 samples can be constructed as the matrix of 30*2400, wherein 30 be sample number.
S104 carries out period discretization to the synchronism result being calculated, and to screen out unusual sample, obtains target sample This;
Wherein, specifically unusual sample can be screened out using following methods:
In the matrix for the synchronism result being calculated, choose every a line, according to step-length 60 by the matrix to Amount is divided into the vector of M, then retains 2 significant digits, to obtain the matrix of L*60, wherein L is sample number;
The distance between the every row of matrix of L*60 is calculated, to reject unusual sample, calculation method is to calculate row vector first Between Fisher distance, calculation formula are as follows:
The wherein mean value of μ representation vector, the standard deviation of σ representation vector, Fi,jCalculated result is the matrix of L*L, and limits Fi,jValue;
Statistical sample, if it exists vector m, wherein FimOr FjmMore than the F of restrictioni,jValue, it is determined that m is unusual sample, The unusual sample m is rejected.
Specifically in the present embodiment, every a line is chosen, the vector that 2400 vector is divided into 40 (i.e. will according to step-length 60 It is divided within 2400 seconds 40 minutes), then retain 2 significant digits, obtains the matrix of 30*60 in this way, wherein L=30;
Calculate the distance between the every row of matrix of 30*60, to reject unusual sample, calculation method is, firstly, calculate row to Fisher distance between amount, calculation formula are as follows:
Wherein μ represents the mean value of the vector, and σ represents the standard deviation of the vector, and F calculated result is the matrix of 30*30.Then The value for limiting F limits F in this implementation as 1.8, works as Fi,jGreater than 1.8, then having one in i j row sample is unusual sample, Statistical sample, if there is some F value, it is assumed that it is i and j row, which shows that distance is not above 1.8 between i and j row, So tentative i and j row is not singular vector, if any another vector m, wherein FimOr FjmMore than 1.8, then can be with Determine that m is unusual sample.In the present embodiment, 25 samples are finally filtered out from 30 samples.
S105 determines fatigue threshold according to the target sample and the driving fatigue state variation characteristic of driver;
Wherein, it since the appearance of fatigue is a progressive process, in order to simplify threshold value determination process, can use following Method determines fatigue threshold:
Calculate the matrix of the target sample, in the present embodiment, (1) calculates the matrix (25 for the 25*40 that step S104 is obtained It is the sample number deleted after choosing, 40 be the vector that step S104 is calculated);
Using M/2 as step-length, the matrix of the target sample is averaging according to row, is then averaging according to column, finally Be step-length with 20 in the present embodiment to being two number of front half section numerical value and second half section numerical value, to the matrix of meter target sample according to Row is averaging, and finally obtains the matrix of 25*2, is then averaging according to column, finally obtaining is two numbers, in the present embodiment, most After obtain being front half section numerical value and two number of second half section numerical value being specially (0.64,0.35);
Since the appearance of fatigue is a progressive process, and usually by not fatigue state to fatigue state, therefore will Second half section numerical value is determined as fatigue threshold, i.e. fatigue threshold is 0.35.
In addition, as a specific example, since everyone cognition whether in a state of fatigue to oneself may not Together, therefore, when calculating fatigue threshold, driver can be right in a certain range on the basis of calculated fatigue threshold Fatigue threshold is adjusted, such as driver's fatigue resistance is stronger, fatigue threshold can be adjusted to 0.4, conversely, if driving Member's fatigue resistance is weaker, fatigue threshold can be adjusted to 0.3, will be adjusted tired more to meet itself fatigue state The standard of labor threshold value judgement subsequent.
S106, the EEG signals of online acquisition driver calculate synchronism as a result, the synchronism knot that will be calculated in real time in real time Whether fruit compares and analyzes with the fatigue threshold, be fatigue state to determine driver currently.
Wherein, the EEG signals of online acquisition driver, the synchronism of calculating in every 1 second, obtain a numerical value, if should Value is more than the fatigue threshold, then the fatigue state of this second is labeled as 1, otherwise labeled as 0, Continuous plus 1 minute (i.e. 60 Second), obtain label vector, to the label vector sum, if summed result be more than preset value (preset value can be adjusted, Preset value is, for example, 40, if summed result is more than 40), to determine that driver's current (minute) is in a state of fatigue.In addition, by In under normal circumstances, if it is determined that being fatigue state, within 1 minute time, the fatigue data of last usual second is maximum, therefore can To export the fatigue data of last second, as final detection result.
According to driving fatigue detection method provided in this embodiment, at least have the advantages that
1) present invention can be avoided its EEG signals and lead in acquisition because covered using two lead of forehead as signal source Cause acquires difficult problem, and can be realized the detection effect of high-accuracy by two lead synchronism calculation methods;
2) present invention is using two lead synchronism values as output as a result, passing through the output successive value conduct of each sampling period Foundation is detected, real-time data output may be implemented, so as to the fatigue state of real-time, successional detection driver;
3) in the prior art, output real number value is carried out using prefrontal area lead mainly to be exported using the method for entropy, But the output method of entropy needs that time domain periodic signal is reconstructed, time complexity is high, and the present invention uses synchronism meter It calculates, time complexity is small, and calculating process is simpler, it is easy to accomplish, it can be avoided fatigue detection result lag.
Referring to Fig. 2, based on the same inventive concept, the driving fatigue detection system that second embodiment of the invention proposes, institute The system of stating includes:
Acquisition module 10, for the brain telecommunications according to multiple two lead of continuous acquisition driver forehead of preset sample frequency Number, to obtain EEG signals sample in a state of fatigue;
Division module 20 is formed for dividing to the EEG signals sample according to the sampling period with the sampling period For the sample vector set of length;
Computing module 30, the synchronism of two leads for calculating each sample vector set;
Discrete block 40, for carrying out period discretization to the synchronism result being calculated, to screen out unusual sample, Obtain target sample;
Threshold determination module 50, for the driving fatigue state variation characteristic according to the target sample and driver, Determine fatigue threshold;
Tired determining module 60 calculates synchronism as a result, by real-time for the EEG signals of online acquisition driver in real time Whether the synchronism result of calculating is compared and analyzed with the fatigue threshold, be fatigue state to determine driver currently.
Wherein, the computing module 30 can calculate synchronism using Phase synchronization calculation method and calculate each sample The synchronism of two leads of vector set, specifically:
The calculation method of locking phase value PLV between two leads is as follows:
It is thereinIt is time series xi(t) and xj(t) instantaneous phase, when being calculated using Hilbert transform The phase change of domain signal, for a continuous time series x (t), Hilbert transform is obtained by following formula:
PV therein indicates that Cauchy's principal value, phase change are calculated by following formula:
Wherein, the computing module 30 can calculate each sample vector collection using the synchronous calculation method of time-domain vector The synchronism for two leads closed, specifically:
Wherein t is the time component in EEG signals sample, and N is a sample period lengths, xiAnd xjRespectively indicate two The sample time-series of electrode.
Wherein, the division module 20 is specifically used for:
According to sample frequency truncated data, for once testing the signal for M minutes, by the square of sample composition 2*60M*H Battle array, wherein 60M is the number of seconds of sampling, and H is the H data point of acquisition in one second, and 2 be two leads.
Wherein, the discrete block 40 is specifically used for:
In the matrix for the synchronism result being calculated, choose every a line, according to step-length 60 by the matrix to Amount is divided into the vector of M, then retains 2 significant digits, to obtain the matrix of L*60, wherein L is sample number;
The distance between the every row of matrix of L*60 is calculated, to reject unusual sample, calculation method is to calculate row vector first Between Fisher distance, calculation formula are as follows:
The wherein mean value of μ representation vector, the standard deviation of σ representation vector, Fi,jCalculated result is the matrix of L*L, and limits Fi,jValue;
Statistical sample, if it exists vector m, wherein FimOr FjmMore than the F of restrictioni,jValue, it is determined that m is unusual sample, The unusual sample m is rejected.
Wherein, the threshold determination module 50 is specifically used for:
Calculate the matrix of the target sample;
Using M/2 as step-length, the matrix of the target sample is averaging according to row, is then averaging according to column, finally To being two number of front half section numerical value and second half section numerical value;
The second half section numerical value is determined as fatigue threshold.
Wherein, the tired determining module 60 is specifically used for:
The EEG signals of online acquisition driver, the synchronism of calculating in every 1 second, obtain a numerical value, if the value is super Cross the fatigue threshold, then the fatigue state of this second be labeled as 1, be otherwise labeled as 0, Continuous plus 1 minute, obtain marking to Amount sums to the label vector, if summed result is more than preset value, determines that driver is currently at fatigue state, and export The fatigue data of last second.
According to driving fatigue detection system provided in this embodiment, at least have the advantages that
1) present invention can be avoided its EEG signals and lead in acquisition because covered using two lead of forehead as signal source Cause acquires difficult problem, and can be realized the detection effect of high-accuracy by two lead synchronism calculation methods;
2) present invention is using two lead synchronism values as output as a result, passing through the output successive value conduct of each sampling period Foundation is detected, real-time data output may be implemented, so as to the fatigue state of real-time, successional detection driver;
3) in the prior art, output real number value is carried out using prefrontal area lead mainly to be exported using the method for entropy, But the output method of entropy needs that time domain periodic signal is reconstructed, time complexity is high, and the present invention uses synchronism meter It calculates, time complexity is small, and calculating process is simpler, it is easy to accomplish, it can be avoided fatigue detection result lag.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: logic gates specifically for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this The range of invention is defined by the claims and their equivalents.

Claims (10)

1.一种驾驶疲劳检测方法,其特征在于,所述方法包括:1. a driving fatigue detection method, is characterized in that, described method comprises: 按照预设的采样频率多次连续采集驾驶员前额两导联的脑电信号,以获得处于疲劳状态的脑电信号样本;According to the preset sampling frequency, the EEG signals of the two leads of the driver's forehead are continuously collected for many times to obtain the EEG signal samples in the fatigue state; 对所述脑电信号样本按照采样周期进行划分,组成以采样周期为长度的样本向量集合;Divide the EEG signal samples according to the sampling period to form a sample vector set with the sampling period as the length; 计算每个所述样本向量集合的两个导联的同步性;calculating the synchrony of the two leads for each of the sample vector sets; 对计算得到的同步性结果进行时间段离散化,以筛除奇异样本,获得目标样本;Discretize the time period of the calculated synchronization results to filter out singular samples and obtain target samples; 根据所述目标样本以及驾驶员的驾驶疲劳状态变化特征,确定疲劳阈值;Determine the fatigue threshold according to the target sample and the change characteristics of the driver's driving fatigue state; 在线采集驾驶员的脑电信号,实时计算同步性结果,将实时计算的同步性结果与所述疲劳阈值进行对比分析,以确定驾驶员当前是否为疲劳状态。The driver's brain electrical signals are collected online, the synchronization result is calculated in real time, and the synchronization result calculated in real time is compared and analyzed with the fatigue threshold to determine whether the driver is currently in a fatigue state. 2.根据权利要求1所述的驾驶疲劳检测方法,其特征在于,所述计算每个所述样本向量集合的两个导联的同步性的步骤中采用相位同步计算方法,具体为:2. The driving fatigue detection method according to claim 1, characterized in that, in the step of calculating the synchronicity of the two leads of each of the sample vector sets, a phase synchronization calculation method is adopted, specifically: 两导联之间的锁相值PLV的计算方法如下:The calculation method of the phase-locked value PLV between the two leads is as follows: 其中的是时间序列xi(t)和xj(t)的瞬时相位,利用希尔伯特变换计算时域信号的相位变化,对于一个连续的时间序列x(t),希尔伯特变换通过如下公式得到:one of them is the instantaneous phase of the time series x i (t) and x j (t). The Hilbert transform is used to calculate the phase change of the time domain signal. For a continuous time series x (t), the Hilbert transform is passed as follows The formula gets: 其中的PV表示柯西主值,相位变化通过如下公式计算:where PV represents the principal value of Cauchy, and the phase change is calculated by the following formula: 3.根据权利要求1所述的驾驶疲劳检测方法,其特征在于,所述计算每个所述样本向量集合的两个导联的同步性的步骤中采用时域向量同步计算方法,具体为:3. driving fatigue detection method according to claim 1, is characterized in that, in the step of described calculating the synchronicity of two leads of each described sample vector set, adopts time domain vector synchronization calculation method, is specifically: 其中t是脑电信号样本中的时间分量,N是一个采样周期长度,xi和xj分别表示两个电极的样本时间序列。where t is the time component in the EEG signal sample, N is the length of a sampling period, and x i and x j represent the sample time series of the two electrodes, respectively. 4.根据权利要求1所述的驾驶疲劳检测方法,其特征在于,所述对所述脑电信号样本按照采样周期进行划分,组成以采样周期为长度的样本向量集合的步骤包括:4. The driving fatigue detection method according to claim 1, wherein the described brain electrical signal samples are divided according to a sampling period, and the step of forming a sample vector set with a sampling period as a length comprises: 根据采样频率截断数据,对于一次实验为M分钟的信号,将样本组成2*60M*H的矩阵,其中60M是采样的秒数,H是一秒钟采集H个数据点,2是两个导联。The data is truncated according to the sampling frequency. For a signal of M minutes in one experiment, the samples are formed into a matrix of 2*60M*H, where 60M is the number of seconds of sampling, H is the acquisition of H data points in one second, and 2 is the two derivatives. link. 5.根据权利要求4所述的驾驶疲劳检测方法,其特征在于,所述对计算得到的同步性结果进行时间段离散化,以筛除奇异样本,获得目标样本的步骤包括:5 . The driving fatigue detection method according to claim 4 , wherein the time-segment discretization is performed on the synchronism result obtained by the calculation to filter out singular samples, and the step of obtaining the target sample comprises: 6 . 在计算得到的同步性结果的矩阵中,选取每一行,按照步长60将所述矩阵中的向量划分为M的向量,然后保留小数点后两位,以获得L*60的矩阵,其中,L为样本数;In the matrix of the calculated synchronization results, select each row, divide the vectors in the matrix into vectors of M according to the step size of 60, and then retain two decimal places to obtain a matrix of L*60, where L is the number of samples; 计算L*60的矩阵每行之间的距离,以剔除奇异样本,计算方法为,首先计算行向量之间的Fisher距离,计算公式为:Calculate the distance between each row of the L*60 matrix to eliminate singular samples. The calculation method is: first calculate the Fisher distance between the row vectors. The calculation formula is: 其中μ代表向量的均值,σ代表向量的标准差,Fi,j计算结果为L*L的矩阵,并限定Fi,j的值;Where μ represents the mean of the vector, σ represents the standard deviation of the vector, and the calculation result of F i,j is an L*L matrix, and the value of F i,j is limited; 统计样本,若存在向量m,其中Fim或者Fjm超过限定的Fi,j值,则确定m为奇异样本,将该奇异样本m剔除。Statistical samples, if there is a vector m, in which F im or F jm exceeds the limited value of F i,j , then m is determined as a singular sample, and the singular sample m is eliminated. 6.根据权利要求5所述的驾驶疲劳检测方法,其特征在于,所述根据所述目标样本以及驾驶员的驾驶疲劳状态变化特征,确定疲劳阈值的步骤包括:6. The driving fatigue detection method according to claim 5, wherein the step of determining the fatigue threshold according to the target sample and the driver's driving fatigue state change characteristics comprises: 计算所述目标样本的矩阵;calculating the matrix of the target samples; 以M/2为步长,对所述目标样本的矩阵按照行求平均,然后按照列求平均,最后得到是前半段数值和后半段数值两个数;Taking M/2 as the step size, the matrix of the target sample is averaged according to the row, and then averaged according to the column, and finally the first half of the value and the second half of the value are obtained; 将所述后半段数值确定为疲劳阈值。The second half value is determined as the fatigue threshold. 7.根据权利要求6所述的驾驶疲劳检测方法,其特征在于,所述在线采集驾驶员的脑电信号,实时计算同步性结果,将实时计算的同步性结果与所述疲劳阈值进行对比分析,以确定驾驶员当前是否为疲劳状态的步骤包括:7. The driving fatigue detection method according to claim 6, wherein the online collection of the EEG signal of the driver, the real-time calculation of the synchronicity result, the comparative analysis of the real-time calculated synchronicity result and the fatigue threshold , the steps to determine whether the driver is currently fatigued include: 在线采集驾驶员的脑电信号,每1秒钟计算一次同步性,得到一个数值,若该值超过所述疲劳阈值,则将该秒的疲劳状态标记为1,否则标记为0,连续计算1分钟,得到标记向量,对该标记向量求和,若求和结果超过预设值,则判定驾驶员当前处于疲劳状态,并输出最后一秒的疲劳值。Collect the EEG signal of the driver online, calculate the synchronicity every 1 second, and get a value. If the value exceeds the fatigue threshold, mark the fatigue state of the second as 1, otherwise, mark it as 0, and calculate 1 continuously. Minutes, get the mark vector, sum the mark vector, if the summation result exceeds the preset value, it is determined that the driver is currently in a fatigue state, and the fatigue value of the last second is output. 8.一种驾驶疲劳检测系统,其特征在于,所述系统包括:8. A driving fatigue detection system, wherein the system comprises: 采集模块,用于按照预设的采样频率多次连续采集驾驶员前额两导联的脑电信号,以获得处于疲劳状态的脑电信号样本;The acquisition module is used to continuously collect the EEG signals of the two leads of the driver's forehead for multiple times according to the preset sampling frequency, so as to obtain the EEG signal samples in the fatigue state; 划分模块,用于对所述脑电信号样本按照采样周期进行划分,组成以采样周期为长度的样本向量集合;a dividing module, configured to divide the EEG signal samples according to the sampling period to form a sample vector set with the sampling period as the length; 计算模块,用于计算每个所述样本向量集合的两个导联的同步性;a calculation module for calculating the synchronicity of the two leads of each of the sample vector sets; 离散模块,用于对计算得到的同步性结果进行时间段离散化,以筛除奇异样本,获得目标样本;The discrete module is used to discretize the time period of the calculated synchronization results to filter out singular samples and obtain target samples; 阈值确定模块,用于根据所述目标样本以及驾驶员的驾驶疲劳状态变化特征,确定疲劳阈值;a threshold determination module, configured to determine a fatigue threshold according to the target sample and the change characteristics of the driver's driving fatigue state; 疲劳确定模块,用于在线采集驾驶员的脑电信号,实时计算同步性结果,将实时计算的同步性结果与所述疲劳阈值进行对比分析,以确定驾驶员当前是否为疲劳状态。The fatigue determination module is used to collect the EEG signals of the driver online, calculate the synchronization result in real time, and compare and analyze the synchronization result calculated in real time with the fatigue threshold to determine whether the driver is currently in a fatigue state. 9.根据权利要求8所述的驾驶疲劳检测系统,其特征在于,所述计算模块采用相位同步计算方法计算每个所述样本向量集合的两个导联的同步性,具体为:9. The driving fatigue detection system according to claim 8, wherein the calculation module adopts a phase synchronization calculation method to calculate the synchronization of the two leads of each of the sample vector sets, specifically: 两导联之间的锁相值PLV的计算方法如下:The calculation method of the phase-locked value PLV between the two leads is as follows: 其中的是时间序列xi(t)和xj(t)的瞬时相位,利用希尔伯特变换计算时域信号的相位变化,对于一个连续的时间序列x(t),希尔伯特变换通过如下公式得到:one of them is the instantaneous phase of the time series x i (t) and x j (t). The Hilbert transform is used to calculate the phase change of the time domain signal. For a continuous time series x (t), the Hilbert transform is passed as follows The formula gets: 其中的PV表示柯西主值,相位变化通过如下公式计算:where PV represents the principal value of Cauchy, and the phase change is calculated by the following formula: 10.根据权利要求8所述的驾驶疲劳检测系统,其特征在于,所述计算模块采用时域向量同步计算方法计算每个所述样本向量集合的两个导联的同步性,具体为:10. The driving fatigue detection system according to claim 8, wherein the calculation module adopts a time-domain vector synchronization calculation method to calculate the synchronization of the two leads of each of the sample vector sets, specifically: 其中t是脑电信号样本中的时间分量,N是一个采样周期长度,xi和xj分别表示两个电极的样本时间序列。where t is the time component in the EEG signal sample, N is the length of a sampling period, and x i and x j represent the sample time series of the two electrodes, respectively.
CN201811576142.7A 2018-12-22 2018-12-22 Driving fatigue detection method and system Active CN109394248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811576142.7A CN109394248B (en) 2018-12-22 2018-12-22 Driving fatigue detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811576142.7A CN109394248B (en) 2018-12-22 2018-12-22 Driving fatigue detection method and system

Publications (2)

Publication Number Publication Date
CN109394248A true CN109394248A (en) 2019-03-01
CN109394248B CN109394248B (en) 2022-02-22

Family

ID=65460650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811576142.7A Active CN109394248B (en) 2018-12-22 2018-12-22 Driving fatigue detection method and system

Country Status (1)

Country Link
CN (1) CN109394248B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111450380A (en) * 2020-03-30 2020-07-28 重庆大学 Driving fatigue intelligent detection warning wake-up system based on near-infrared brain functional imaging
CN114435373A (en) * 2022-03-16 2022-05-06 一汽解放汽车有限公司 Fatigue driving detection method, device, computer equipment and storage medium
CN116616794A (en) * 2023-05-18 2023-08-22 中国人民解放军海军特色医学中心 Underwater operator fatigue adjustment method and system based on electroencephalogram signals

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130009761A1 (en) * 2011-07-05 2013-01-10 Saudi Arabian Oil Company Systems, Computer Medium and Computer-Implemented Methods for Monitoring Health and Ergonomic Status of Drivers of Vehicles
CN105286890A (en) * 2015-09-22 2016-02-03 江西科技学院 Driver sleepy state monitoring method based on electroencephalogram signal
CN205582206U (en) * 2016-04-14 2016-09-14 江西科技学院 A brain wave fatigue driving detector
CN206007246U (en) * 2016-06-01 2017-03-15 南京工程学院 A kind of wear-type brain concentration degree monitoring and alarm equipment
US20170071525A1 (en) * 2015-09-16 2017-03-16 National Chiao Tung University Device of drowsiness detection and alarm and method of the same
US20180186234A1 (en) * 2017-01-03 2018-07-05 General Electric Company Control system and method
EP3387995A1 (en) * 2017-04-14 2018-10-17 Hyundai Motor Company Apparatus and method for controlling vehicle based on degree of fatigue
CN108903958A (en) * 2018-05-11 2018-11-30 南京邮电大学 Driver attention evaluates early warning system and its implementation method
CN108926352A (en) * 2017-05-22 2018-12-04 北京大学 A kind of driving fatigue detection method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130009761A1 (en) * 2011-07-05 2013-01-10 Saudi Arabian Oil Company Systems, Computer Medium and Computer-Implemented Methods for Monitoring Health and Ergonomic Status of Drivers of Vehicles
US20170071525A1 (en) * 2015-09-16 2017-03-16 National Chiao Tung University Device of drowsiness detection and alarm and method of the same
CN105286890A (en) * 2015-09-22 2016-02-03 江西科技学院 Driver sleepy state monitoring method based on electroencephalogram signal
CN205582206U (en) * 2016-04-14 2016-09-14 江西科技学院 A brain wave fatigue driving detector
CN206007246U (en) * 2016-06-01 2017-03-15 南京工程学院 A kind of wear-type brain concentration degree monitoring and alarm equipment
US20180186234A1 (en) * 2017-01-03 2018-07-05 General Electric Company Control system and method
EP3387995A1 (en) * 2017-04-14 2018-10-17 Hyundai Motor Company Apparatus and method for controlling vehicle based on degree of fatigue
CN108926352A (en) * 2017-05-22 2018-12-04 北京大学 A kind of driving fatigue detection method and system
CN108903958A (en) * 2018-05-11 2018-11-30 南京邮电大学 Driver attention evaluates early warning system and its implementation method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周展鹏: "基于生物电信号的疲劳驾驶检测", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
胡剑锋等: "基于二阶盲辨识的运动想象脑电信号分类", 《中国组织工程研究与临床康复》 *
胡剑锋等: "基于相位同步的脑电信号分类算法研究", 《微电子学与计算机》 *
菲利普.贝塞纳尔等著: "《电磁混响室》", 31 May 2017, 国防工业出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111450380A (en) * 2020-03-30 2020-07-28 重庆大学 Driving fatigue intelligent detection warning wake-up system based on near-infrared brain functional imaging
CN114435373A (en) * 2022-03-16 2022-05-06 一汽解放汽车有限公司 Fatigue driving detection method, device, computer equipment and storage medium
CN114435373B (en) * 2022-03-16 2023-12-22 一汽解放汽车有限公司 Fatigue driving detection method, device, computer equipment and storage medium
CN116616794A (en) * 2023-05-18 2023-08-22 中国人民解放军海军特色医学中心 Underwater operator fatigue adjustment method and system based on electroencephalogram signals
CN116616794B (en) * 2023-05-18 2024-02-20 中国人民解放军海军特色医学中心 Underwater operator fatigue adjustment method and system based on electroencephalogram signals

Also Published As

Publication number Publication date
CN109394248B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
Olsen The Tobii I-VT fixation filter
Rosazza et al. Functional connectivity during resting-state functional MR imaging: study of the correspondence between independent component analysis and region-of-interest− based methods
Torrielli et al. Extreme wind speeds from long-term synthetic records
CN109394248A (en) Driving fatigue detection method and system
Wen et al. Exploring resting-state functional connectivity with total interdependence
CN107095669A (en) A kind of processing method and system of epileptic's EEG signals
WO2006025504A1 (en) Sensitive state judging method
Mahan et al. White Noise Test: detecting autocorrelation and nonstationarities in long time series after ARIMA modeling.
Zhu et al. An efficient visibility graph similarity algorithm and its application on sleep stages classification
DE102017217438A1 (en) Synchronization of machine vibration data after acquisition
Moser et al. Classification and detection of single evoked brain potentials using time-frequency amplitude features
Sheppard et al. Detecting the harmonics of oscillations with time-variable frequencies
Gospodinova Time series analysis using fractal and multifractal methods
de l'Aulnoit et al. Baseline fetal heart rate analysis: eleven automatic methods versus expert consensus
CN109785924A (en) A kind of cross-platform the oral medical method of inspection and device
TWI685326B (en) Wearable blood pressure detecting device and detecting method thereof
Stevenson et al. A nonlinear model of newborn EEG with nonstationary inputs
Shangkai et al. An Autoregressive Model of the BAEP Signal for Hearng-Threshold Testing
Lennartz et al. Sparse estimation of resting-state effective connectivity from fMRI cross-spectra
CN108388846B (en) Detection and recognition method of EEG alpha wave based on canonical correlation analysis
CN106333677A (en) Method and system for detecting blink activity in sleep state analysis
WO2022111203A1 (en) Heart rate detection method and device
JP6830597B2 (en) Biosignal processing device, biosignal processing system, and control program
Bykhovskaia et al. An algorithm for high-resolution detection of postsynaptic quantal events in extracellular records
US10457144B2 (en) Real time prediction device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant