CN111209815B - Non-contact fatigue driving detection method based on BP neural network with momentum optimization - Google Patents

Non-contact fatigue driving detection method based on BP neural network with momentum optimization Download PDF

Info

Publication number
CN111209815B
CN111209815B CN201911382375.8A CN201911382375A CN111209815B CN 111209815 B CN111209815 B CN 111209815B CN 201911382375 A CN201911382375 A CN 201911382375A CN 111209815 B CN111209815 B CN 111209815B
Authority
CN
China
Prior art keywords
momentum
neural network
algorithm
driver
weight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911382375.8A
Other languages
Chinese (zh)
Other versions
CN111209815A (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.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201911382375.8A priority Critical patent/CN111209815B/en
Publication of CN111209815A publication Critical patent/CN111209815A/en
Application granted granted Critical
Publication of CN111209815B publication Critical patent/CN111209815B/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/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/41Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00 using analysis of echo signal for target characterisation; Target signature; Target cross-section
    • G01S7/417Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00 using analysis of echo signal for target characterisation; Target signature; Target cross-section involving the use of neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Data Mining & Analysis (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Physiology (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computational Linguistics (AREA)
  • Psychiatry (AREA)
  • Cardiology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Pulmonology (AREA)
  • Fuzzy Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Electromagnetism (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a non-contact fatigue driving detection method based on a BP neural network with momentum optimization, which comprises the following steps: s10, acquiring physiological signals of a driver through a Doppler radar module; s20, classifying physiological signals; s30, filtering the physiological signals and decomposing the physiological signals by using a CEEMD algorithm to obtain signals of which the two sections of heart beat and respiration contain complete time-frequency domain characteristics; s40, designing a BP neural network model with optimized momentum to train the data set, so as to obtain an algorithm model for detecting the fatigue state of the driver; s50, detecting the fatigue state through an algorithm model for detecting the fatigue state of the driver. The invention can efficiently and accurately detect the fatigue state of the driver while avoiding influencing the normal driving of the driver.

Description

一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测 方法A Non-contact Fatigue Driving Detection Based on Momentum Optimized BP Neural Network method

技术领域technical field

本发明属于建模检测领域,具体涉及一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法。The invention belongs to the field of modeling detection, and in particular relates to a non-contact fatigue driving detection method based on a momentum-optimized BP neural network.

背景技术Background technique

疲劳驾驶是世界上导致交通事故最常见的原因之一。根据WHO(世界卫生组织)的报告,每年有超过130万的人死于交通事故,有2千万到5千万的人因为交通事故遭受非致命伤害,这中间约有20%的致命交通事故是由疲劳驾驶引起的。因此,如果能够研发一种自动检测疲劳驾驶的系统,并且能够提前警告驾驶员正处于疲劳驾驶状态,就可以有效避免大量的交通事故,降低交通事故发生率。Drowsy driving is one of the most common causes of traffic accidents in the world. According to the report of WHO (World Health Organization), more than 1.3 million people die in traffic accidents every year, and 20 to 50 million people suffer non-fatal injuries because of traffic accidents, and about 20% of fatal traffic accidents are among them. caused by drowsy driving. Therefore, if a system for automatically detecting fatigue driving can be developed and the driver can be warned in advance that he is in a state of fatigue driving, a large number of traffic accidents can be effectively avoided and the incidence of traffic accidents can be reduced.

目前检测疲劳状态的方法主要分为两大类:1.接触式疲劳状态检测;2非接触式疲劳状态检测。At present, the methods for detecting fatigue state are mainly divided into two categories: 1. Contact fatigue state detection; 2. Non-contact fatigue state detection.

接触式的疲劳检测方法主要是检测驾驶员的生理状态。虽然这种方法得到的数据可靠,误差小,受外界干扰较小,但是这种方法要在驾驶员身上安装相应检测生理信号的装置,对于驾驶员的干扰过于大。为此,研究人员通过使用无线电来测量生理信号,并通过ZigBee,蓝牙等来获取信号,这些技术已经比较成熟,但是精确度会大幅度降低,人为干扰会造成检测假象和错误。The contact fatigue detection method is mainly to detect the physiological state of the driver. Although the data obtained by this method is reliable, the error is small, and it is less affected by external interference, but this method needs to install a corresponding device for detecting physiological signals on the driver, which interferes too much with the driver. To this end, researchers use radio to measure physiological signals and obtain signals through ZigBee, Bluetooth, etc. These technologies are relatively mature, but the accuracy will be greatly reduced, and artificial interference will cause detection artifacts and errors.

非接触式的疲劳检测的方法主要是监测驾驶员的面部特征和车辆参数检测。对于驾驶员面部特征的分析个体差异较大,并且亮度的改变或者驾驶员佩戴墨镜、口罩等遮挡面部的物品都会对检测造成极大的干扰,整套装置所需要的成本也会提高;对于车辆状态和行驶轨迹的检测,所需要的硬件支持较高,价格昂贵。而且对外界的条件的要求比较苛刻(如道路标识,气候和照明条件等)。这种方法的一个很大局限性就是这是对车辆的检测,不是对驾驶员直接的检测,可靠性、精确度大大降低。The non-contact fatigue detection method mainly monitors the driver's facial features and detects vehicle parameters. The analysis of the driver's facial features has great individual differences, and the change of brightness or the driver wearing sunglasses, masks and other items that cover the face will cause great interference to the detection, and the cost of the whole device will also increase; for the vehicle status And the detection of the driving track, the required hardware support is relatively high, and the price is expensive. Moreover, the requirements for external conditions are relatively harsh (such as road signs, climate and lighting conditions, etc.). A big limitation of this method is that it is a detection of the vehicle, not a direct detection of the driver, and the reliability and accuracy are greatly reduced.

综上所述,虽然目前已经有多种方法实时测量驾驶员的疲劳状态,但大多只限于理论研究层次,已经问世的监测装置存在很多的局限性,有很多问题需要解决。每种疲劳驾驶检测方法都有其优点和局限性,因此对于驾驶员疲劳驾驶的检测不应该仅用单一方法。很多研究表明,混合检测方法的可靠性和精确度比单一检测的方法要高。所以,要开发一个有效的疲劳驾驶检测系统,应该将各种检测方法组合在一个混合系统中进行检测。生理状况检测所得到的数据可靠性高,但对驾驶员干扰较大。所以要设计一个非接触式检测驾驶员生理信号的装置,再结合神经网络模型对生理信号训练学习,得到用于检测驾驶员疲劳状态的算法模型。To sum up, although there are many methods to measure the driver's fatigue status in real time, most of them are limited to the theoretical research level. The monitoring devices that have been released have many limitations and many problems need to be solved. Each fatigue driving detection method has its advantages and limitations, so the detection of driver fatigue driving should not only use a single method. Many studies have shown that the reliability and accuracy of mixed detection methods are higher than single detection methods. Therefore, to develop an effective fatigue driving detection system, various detection methods should be combined in a hybrid system for detection. The data obtained by physiological condition detection is highly reliable, but it interferes a lot with the driver. Therefore, it is necessary to design a device for non-contact detection of the driver's physiological signal, and then combine the neural network model to train and learn the physiological signal, and obtain an algorithm model for detecting the driver's fatigue state.

发明内容Contents of the invention

鉴于以上存在的技术问题,本发明实现非接触式检测驾驶员生理状态,避免对驾驶员造成身体上和驾驶上的干扰,提高准确性;能够快速高效的对数据进行处理;算法模型采用动量优化的BP神经网络模型,学习效率相较于传统的BP神经网络要快,准确性高。In view of the above technical problems, the present invention realizes the non-contact detection of the driver's physiological state, avoids causing physical and driving interference to the driver, and improves accuracy; it can process data quickly and efficiently; the algorithm model adopts momentum optimization The BP neural network model has faster learning efficiency and higher accuracy than the traditional BP neural network.

基于上述目的,本发明提供了一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法。Based on the above purpose, the present invention provides a non-contact fatigue driving detection method based on a momentum-optimized BP neural network.

包括以下步骤:Include the following steps:

S10,通过多普勒雷达模块采集驾驶员的生理信号;S10, collecting physiological signals of the driver through the Doppler radar module;

S20,对生理信号分类;S20, classifying the physiological signal;

S30,对生理信号进行滤波及CEEMD算法分解,得到心跳和呼吸两段包含完整时频域特征的信号;S30, filtering the physiological signal and decomposing it with the CEEMD algorithm to obtain two signals including heartbeat and respiration with complete time-frequency domain characteristics;

S40,设计动量优化的BP神经网络模型对数据集进行训练,从而得到驾驶员疲劳状态检测的算法模型;S40, designing a momentum-optimized BP neural network model to train the data set, thereby obtaining an algorithm model for driver fatigue state detection;

S50,通过驾驶员疲劳状态检测的算法模型对疲劳状态进行检测。S50, detecting the fatigue state by using an algorithm model for detecting the fatigue state of the driver.

优选地,所述生理信号至少包括驾驶员的呼吸信号和心跳信号。Preferably, the physiological signals include at least the driver's breathing signal and heartbeat signal.

优选地,所述动量优化的BP神经网络根据误差反向传播算法迭代更新权重矩阵,利用梯度下降来最小化网络实际输出值与期望输出值之间的均方误差,从而得到驾驶员疲劳状态检测的算法模型。Preferably, the momentum-optimized BP neural network iteratively updates the weight matrix according to the error backpropagation algorithm, and uses gradient descent to minimize the mean square error between the actual output value of the network and the expected output value, thereby obtaining driver fatigue state detection algorithm model.

优选地,所述设计动量优化的BP神经网络模型中,BP神经网络权值迭代方程为:Preferably, in the BP neural network model of described design momentum optimization, the BP neural network weight iteration equation is:

其中,α为学习率,m为样本总量,β为动量系数,并且β∈(0,1),为前一次迭代的动量梯度值,/>为权重误差累积值。Among them, α is the learning rate, m is the total sample size, β is the momentum coefficient, and β∈(0,1), is the momentum gradient value of the previous iteration, /> is the cumulative value of the weight error.

优选地,所述多普勒雷达模块采用微波多普勒雷达探测器探头传感器HB100模块。Preferably, the Doppler radar module uses a microwave Doppler radar detector probe sensor HB100 module.

与现有技术相比,本发明所采用的多普勒雷达模块能够实现非接触式准确检测驾驶员的生理信号,且生理信号能够准确反映驾驶员的疲劳状态,能够有效解决不同个体在不同疲劳状态下生理信号的差异性。所使用的动量优化的BP神经网络模型学习效率快,迭代次数少,准确性高,计算量大幅度减少。Compared with the prior art, the Doppler radar module used in the present invention can realize the non-contact and accurate detection of the physiological signal of the driver, and the physiological signal can accurately reflect the fatigue state of the driver, and can effectively solve the problem of different fatigue conditions of different individuals. Differences in physiological signals across states. The momentum-optimized BP neural network model used has fast learning efficiency, fewer iterations, high accuracy, and greatly reduces the amount of calculation.

附图说明Description of drawings

图1为本发明实施例的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法的步骤流程图;Fig. 1 is a flow chart of the steps of a non-contact fatigue driving detection method based on a momentum-optimized BP neural network according to an embodiment of the present invention;

图2为本发明一实施例的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法的专家评测方法标准图;Fig. 2 is a kind of expert evaluation method standard diagram of the non-contact fatigue driving detection method based on the BP neural network of momentum optimization according to an embodiment of the present invention;

图3为本发明一实施例的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法中多普勒雷达采集处理采样的驾驶员生理信号经CEEMD算法分解的心跳信号和呼吸信号时频分析图;Fig. 3 is a kind of non-contact fatigue driving detection method based on the momentum optimized BP neural network according to an embodiment of the present invention, when the physiological signal of the driver is collected and processed by Doppler radar and decomposed by the CEEMD algorithm for the heartbeat signal and breathing signal frequency analysis chart;

图4为本发明一实施例的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法的动量优化的BP神经网络模型图;Fig. 4 is the BP neural network model diagram of the momentum optimization of a non-contact fatigue driving detection method based on the momentum optimized BP neural network according to an embodiment of the present invention;

图5为本发明一实施例的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法的动量优化的BP神经网络网络训练结果图。FIG. 5 is a diagram of a momentum-optimized BP neural network network training result of a non-contact fatigue driving detection method based on a momentum-optimized BP neural network according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的方法包括数据采集、数据处理、数据训练。数据采集部分主要由多普勒雷达模块为核心、模拟驾驶器配套的模拟驾驶软件系统组成,用于采集驾驶员的呼吸和心跳信号。数据处理部分主要是对采集到的呼吸和心跳信号通过专家评判方法进行信号的等级分类,然后对各组信号进行滤波处理,再对信号进行CEEMD算法分解,得到没有相位失真的心跳信号和呼吸信号。数据训练部分主要是设计动量优化的BP神经网络模型,对采集到的数据进行训练,得到驾驶员疲劳状态检测的算法模型。The method of the invention includes data collection, data processing and data training. The data acquisition part is mainly composed of the Doppler radar module as the core and the simulation driving software system supporting the simulation driver, which is used to collect the driver's breathing and heartbeat signals. The data processing part is mainly to classify the collected breathing and heartbeat signals through the expert judgment method, and then filter and process each group of signals, and then decompose the signals by CEEMD algorithm to obtain heartbeat signals and breathing signals without phase distortion . The data training part is mainly to design the momentum-optimized BP neural network model, train the collected data, and obtain the algorithm model of driver fatigue state detection.

实施例1Example 1

参见图1,一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法的步骤流程图,S10,通过多普勒雷达模块采集驾驶员的生理信号;Referring to Fig. 1, a flow chart of the steps of a non-contact fatigue driving detection method based on a momentum-optimized BP neural network, S10, collects the driver's physiological signal through the Doppler radar module;

S20,对生理信号分类;S20, classifying the physiological signal;

S30,对生理信号进行滤波及CEEMD算法分解,得到心跳和呼吸两段包含完整时频域特征的信号x1和x2S30, filtering the physiological signal and decomposing it with the CEEMD algorithm to obtain two signals x 1 and x 2 containing complete time-frequency domain features of heartbeat and respiration;

S40,设计动量优化的BP神经网络模型对数据集进行训练,从而得到驾驶员疲劳状态检测的算法模型;S40, designing a momentum-optimized BP neural network model to train the data set, thereby obtaining an algorithm model for driver fatigue state detection;

S50,通过驾驶员疲劳状态检测的算法模型对疲劳状态进行检测。S50, detecting the fatigue state by using an algorithm model for detecting the fatigue state of the driver.

生理信号至少包括驾驶员的呼吸信号和心跳信号。Physiological signals include at least the driver's breathing signal and heartbeat signal.

动量优化的BP神经网络根据误差反向传播算法迭代更新权重矩阵,利用梯度下降来最小化网络实际输出值与期望输出值之间的均方误差,从而得到驾驶员疲劳状态检测的算法模型。The momentum-optimized BP neural network iteratively updates the weight matrix according to the error back propagation algorithm, and uses gradient descent to minimize the mean square error between the actual output value and the expected output value of the network, so as to obtain the algorithm model of driver fatigue state detection.

设计动量优化的BP神经网络模型中,BP神经网络权值迭代方程为:In designing the BP neural network model optimized by momentum, the weight iteration equation of BP neural network is:

其中,α为学习率,m为样本总量,β为动量系数,并且β∈(0,1),为前一次迭代的动量梯度值,/>为权重误差累积值。Among them, α is the learning rate, m is the total sample size, β is the momentum coefficient, and β∈(0,1), is the momentum gradient value of the previous iteration, /> is the cumulative value of the weight error.

多普勒雷达模块采用微波多普勒雷达探测器探头传感器HB100模块。The Doppler radar module adopts the microwave Doppler radar detector probe sensor HB100 module.

参见图2为疲劳等级的专家评判标准。驾驶员疲劳状态等级分类4个等级:清醒状态、I级疲劳状态、II疲劳状态、III级疲劳状态。每个疲劳等级都有相应的特征表现,如眨眼频率、打哈气次数等,通过专家对视频信息分析,判断该段视频信息中驾驶员的疲劳等级,进而可以得到与该段视频信息相对应的生理信号的疲劳等级。通过该方法将采集的所有的生理信号进行分类。See Figure 2 for the expert judgment criteria for fatigue ratings. There are 4 grades of fatigue state classification for drivers: awake state, level I fatigue state, II fatigue state, and level III fatigue state. Each fatigue level has corresponding characteristics, such as blinking frequency, breathing times, etc. Through the analysis of video information by experts, the fatigue level of the driver in this segment of video information can be judged, and then the driver’s fatigue level corresponding to this segment of video information can be obtained. Physiological signal of fatigue rating. All the collected physiological signals are classified by this method.

参见图3为多普勒雷达模块采集的生理信号以及其频谱特性图。可以看到通过该雷达模块能够成功采集到人体的生理信号。该生理信号包括呼吸信号和心跳信号,经CEEMD算法分解得到心跳和呼吸两段包含完整时频域特征的信号。Refer to FIG. 3 for the physiological signal collected by the Doppler radar module and its spectrum characteristic diagram. It can be seen that the physiological signals of the human body can be successfully collected through the radar module. The physiological signal includes the breathing signal and the heartbeat signal, which are decomposed by the CEEMD algorithm to obtain two signals containing complete time-frequency domain characteristics of the heartbeat and breathing.

参见图4BP神经网络模型图。BP神经网络根据误差反向传播算法迭代更新权重矩阵θ。BP神经网络基本思想是梯度下降算法,利用梯度下降来最小化网络实际输出值与期望输出值之间的均方误差。BP神经网络是基于标准梯度下降算法的训练权重,往往存在局部最优解的问题。通过在BP神经网络基础上做动量优化,能有效地解决局部最优解问题,并且训练更高效。具体模型建立过程如下:See Figure 4 for the BP neural network model diagram. The BP neural network iteratively updates the weight matrix θ according to the error back propagation algorithm. The basic idea of BP neural network is the gradient descent algorithm, which uses gradient descent to minimize the mean square error between the actual output value of the network and the expected output value. The BP neural network is based on the training weight of the standard gradient descent algorithm, and there is often a problem of local optimal solutions. By doing momentum optimization on the basis of BP neural network, the local optimal solution problem can be effectively solved, and the training is more efficient. The specific model building process is as follows:

首先,实现前向传播。设置每一层的权重矩阵为H(l-1)。l为整数,l∈[2,L]。隐藏层和输出层的激活项用a(l)表示,因此:First, implement forward propagation. Set the weight matrix of each layer to H (l-1) . l is an integer, l∈[2,L]. The activations of the hidden and output layers are denoted by a (l) , so:

本网络选择的激活函数是sigmoid函数,定义为:The activation function selected by this network is the sigmoid function, which is defined as:

利用激活函数,可以加入非线性特征,使学习速度更快、效率更高,对于整个样本集有:Using the activation function, nonlinear features can be added to make learning faster and more efficient. For the entire sample set:

a(2)=g(H(1)X(i)) (3)a (2) = g(H (1) X (i) ) (3)

a(l)=g(H(l-1)a(l-1)) (4)a (l) = g(H (l-1) a (l-1) ) (4)

利用正向传播算法计算各层的激活项a(l),根据反向传播算法,需要计算隐藏层和输出层的误差项δ(l),其计算过程如下:Use the forward propagation algorithm to calculate the activation term a (l) of each layer. According to the back propagation algorithm, it is necessary to calculate the error term δ (l) of the hidden layer and the output layer. The calculation process is as follows:

δ(L)=a(L)-T(i) (5)δ (L) = a (L) -T (i) (5)

δ(l)=(H(l))(T)δ(l+1)×g'(H(l)a(l)) (6)δ (l) = (H (l) ) (T) δ (l+1) × g'(H (l) a (l) ) (6)

δ(2)=(H(1))(T)δ(2)×g'(H(1)X(i)) (7)δ (2) =(H (1) ) (T) δ (2) ×g'(H (1) X (i) ) (7)

式中g'(H(l)a(l))为g(H(l)a(l))的一阶导数:where g'(H (l) a (l) ) is the first derivative of g(H (l) a (l) ):

g'(H(l)a(l))=a(l)×(1-a(l)) (8)g'(H (l) a (l) )=a (l) ×(1-a (l) ) (8)

在计算了激活项a(l)和误差项δ(l)之后,根据梯度下降算法,需要通过迭代和更新权重矩阵来获得期望的输出。因此,定义一个新的变量表示神经网络第l层的第r行、第c列的权值误差,即权重误差累积值。After calculating the activation term a (l) and the error term δ (l) , according to the gradient descent algorithm, it is necessary to iterate and update the weight matrix to obtain the desired output. Therefore, define a new variable Indicates the weight error of the rth row and cth column of the first layer of the neural network, that is, the cumulative value of the weight error.

根据反向传播原理,代价函数J(θ)的一阶偏导数具有以下性质:According to the principle of backpropagation, the first-order partial derivative of the cost function J(θ) has the following properties:

根据梯度下降算法得到权值矩阵具体如下:According to the gradient descent algorithm, the weight matrix is obtained as follows:

从式(11)可以看出,每次权重更新仅与当前梯度值相关,而不涉及先前的梯度。动量梯度下降算法利用先前梯度值的指数加权平均值来获得当前梯度值,并利用当前梯度值来更新权重。From Equation (11), it can be seen that each weight update is only related to the current gradient value, not the previous gradient. The momentum gradient descent algorithm uses an exponentially weighted average of previous gradient values to obtain the current gradient value, and uses the current gradient value to update the weights.

来表示动量梯度值。具体算法如下:use to represent the momentum gradient value. The specific algorithm is as follows:

初始化为0:initialization is 0:

随着训练次数的增加,不断更新:With the increase of training times, Constantly updated:

其中,β为动量系数,β∈(0,1);为当前动量梯度值;/>为上一次迭代的动量梯度值;/>为权重误差累积。Among them, β is the momentum coefficient, β∈(0,1); is the current momentum gradient value; /> is the momentum gradient value of the last iteration; /> is the accumulation of weight errors.

使用动量梯度算法代替标准梯度下降算法,得到最终的权重迭代公式:Using the momentum gradient algorithm instead of the standard gradient descent algorithm, the final weight iteration formula is obtained:

通过多次训练,最终确定的网络深度和每层的神经元数量,用NN表示:Through multiple trainings, the final network depth and the number of neurons in each layer are expressed in NN:

NN=[2n 50 60 60 50 4] (15)NN=[2n 50 60 60 50 4] (15)

学习率α=0.3,动量系数β=0.9。参见图5为动量优化的BP神经网络训练结果。在图5中,整个画布被分成四个小部分,每个部分显示每个疲劳等级的输出。横坐标表示疲劳等级,纵坐标表示相应的概率。实际上,对于每个输入,对应的输出是4个点,例如,输入信号的输出表示如下:Learning rate α=0.3, momentum coefficient β=0.9. See Figure 5 for the training results of the momentum-optimized BP neural network. In Figure 5, the entire canvas is divided into four small sections, each showing the output for each fatigue level. The abscissa indicates the fatigue level, and the ordinate indicates the corresponding probability. In fact, for each input, the corresponding output is 4 points, for example, the output of the input signal is represented as follows:

T=(0.2,0.1,0.4,0.3) (16)T = (0.2, 0.1, 0.4, 0.3) (16)

T的含义是:输入信号X对应于疲劳等级为0的概率为0.2,等级I级的概率为0.1,等级II级的概率为0.4,等级III级的概率为0.3,所以这个信号对应的疲劳等级II级。各疲劳等级测试集样本的预测结果和总预测结果如下:The meaning of T is: the probability that the input signal X corresponds to fatigue level 0 is 0.2, the probability of level I is 0.1, the probability of level II is 0.4, and the probability of level III is 0.3, so the fatigue level corresponding to this signal Class II. The prediction results and total prediction results of each fatigue level test set sample are as follows:

1)清醒状态:0.9501) Awake state: 0.950

2)I疲劳状态:0.8972) I fatigue state: 0.897

3)II疲劳状态:0.9173) II fatigue status: 0.917

4)III疲劳状态:0.9434) III fatigue state: 0.943

总概率:0.927。Overall probability: 0.927.

应当理解,本文所述的示例性实施例是说明性的而非限制性的。尽管结合附图描述了本发明的一个或多个实施例,本领域普通技术人员应当理解,在不脱离通过所附权利要求所限定的本发明的精神和范围的情况下,可以做出各种形式和细节的改变。It should be understood that the exemplary embodiments described herein are illustrative and not restrictive. Although one or more embodiments of the present invention have been described in conjunction with the drawings, it will be appreciated by those of ordinary skill in the art that various changes may be made without departing from the spirit and scope of the invention as defined by the appended claims. Changes in form and detail.

Claims (3)

1.一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法,其特征在于,包括以下步骤:1. a non-contact fatigue driving detection method based on the BP neural network optimized by momentum, is characterized in that, comprises the following steps: S10,通过多普勒雷达模块采集驾驶员的生理信号;S10, collecting physiological signals of the driver through the Doppler radar module; S20,对生理信号分类;S20, classifying the physiological signal; S30,对生理信号进行滤波及CEEMD算法分解,得到心跳和呼吸两段包含完整时频域特征的信号;S30, filtering the physiological signal and decomposing it with the CEEMD algorithm to obtain two signals including heartbeat and respiration with complete time-frequency domain characteristics; S40,设计动量优化的BP神经网络模型对数据集进行训练,从而得到驾驶员疲劳状态检测的算法模型;S40, designing a momentum-optimized BP neural network model to train the data set, thereby obtaining an algorithm model for driver fatigue state detection; S50,通过驾驶员疲劳状态检测的算法模型对疲劳状态进行检测;S50, detecting the fatigue state through an algorithm model for driver fatigue state detection; 所述动量优化的BP神经网络根据误差反向传播算法迭代更新权重矩阵,利用梯度下降来最小化网络实际输出值与期望输出值之间的均方误差,从而得到驾驶员疲劳状态检测的算法模型;The momentum-optimized BP neural network iteratively updates the weight matrix according to the error backpropagation algorithm, and uses gradient descent to minimize the mean square error between the actual output value and the expected output value of the network, thereby obtaining an algorithm model for driver fatigue state detection ; 所述设计动量优化的BP神经网络模型中,BP神经网络权值迭代方程为:In the BP neural network model of described design momentum optimization, the BP neural network weight iteration equation is: 其中,α为学习率,m为样本总量,β为动量系数,并且β∈(0,1),为前一次迭代的动量梯度值,/>为权重误差累积值;Among them, α is the learning rate, m is the total sample size, β is the momentum coefficient, and β∈(0,1), is the momentum gradient value of the previous iteration, /> is the cumulative value of weight error; 其中模型建立过程如下:The model building process is as follows: 首先,实现前向传播,设置每一层的权重矩阵为H(l-1),l为整数,l∈[2,L],隐藏层和输出层的激活项用a(l)表示,因此:First, to implement forward propagation, set the weight matrix of each layer to H (l-1) , l is an integer, l∈[2,L], the activation item of the hidden layer and the output layer is represented by a (l) , so : 本网络选择的激活函数是sigmoid函数,定义为:The activation function selected by this network is the sigmoid function, which is defined as: 利用激活函数,加入非线性特征,对于整个样本集有:Using the activation function and adding nonlinear features, for the entire sample set: a(2)=g(H(1)X(i))a (2) = g(H (1) X (i) ) a(l)=g(H(l-1)a(l-1))a (l) = g(H (l-1) a (l-1) ) 利用正向传播算法计算各层的激活项a(l),根据反向传播算法,需要计算隐藏层和输出层的误差项δ(l),其计算过程如下:Use the forward propagation algorithm to calculate the activation term a (l) of each layer. According to the back propagation algorithm, it is necessary to calculate the error term δ (l) of the hidden layer and the output layer. The calculation process is as follows: δ(L)=a(L)-T(i) δ (L) = a (L) -T (i) δ(l)=(H(l))(T)δ(l+1)×g'(H(l)a(l))δ (l) = (H (l) ) (T) δ (l+1) × g'(H (l) a (l) ) δ(2)=(H(1))(T)δ(2)×g'(H(1)X(i))δ (2) =(H (1) ) (T) δ (2) ×g'(H (1) X (i) ) 式中g'(H(l)a(l))为g(H(l)a(l))的一阶导数:where g'(H (l) a (l) ) is the first derivative of g(H (l) a (l) ): g'(H(l)a(l))=a(l)×(1-a(l))g'(H (l) a (l) )=a (l) ×(1-a (l) ) 在计算了激活项a(l)和误差项δ(l)之后,根据梯度下降算法,需要通过迭代和更新权重矩阵来获得期望的输出,因此,定义一个新的变量表示神经网络第l层的第r行、第c列的权值误差,即权重误差累积值,After calculating the activation term a (l) and the error term δ (l) , according to the gradient descent algorithm, it is necessary to iterate and update the weight matrix to obtain the desired output, therefore, define a new variable Represents the weight error of the rth row and cth column of the first layer of the neural network, that is, the cumulative value of the weight error, 根据反向传播原理,代价函数J(θ)的一阶偏导数具有以下性质:According to the principle of backpropagation, the first-order partial derivative of the cost function J(θ) has the following properties: 根据梯度下降算法得到权值矩阵具体如下:According to the gradient descent algorithm, the weight matrix is obtained as follows: 其中,α为学习率,m为样本总量,动量梯度下降算法利用先前梯度值的指数加权平均值来获得当前梯度值,并利用当前梯度值来更新权重,Among them, α is the learning rate, m is the total number of samples, the momentum gradient descent algorithm uses the exponentially weighted average of the previous gradient values to obtain the current gradient value, and uses the current gradient value to update the weight, 来表示动量梯度值,具体算法如下:use To represent the momentum gradient value, the specific algorithm is as follows: 初始化为0:initialization is 0: 随着训练次数的增加,不断更新:With the increase of training times, Constantly updated: 其中,β为动量系数,β∈(0,1);为当前动量梯度值;/>为上一次迭代的动量梯度值;/>为权重误差累积值,Among them, β is the momentum coefficient, β∈(0,1); is the current momentum gradient value; /> is the momentum gradient value of the last iteration; /> is the cumulative value of weight error, 使用动量梯度算法代替标准梯度下降算法,得到最终的权重迭代公式:Using the momentum gradient algorithm instead of the standard gradient descent algorithm, the final weight iteration formula is obtained: 通过多次训练,最终确定的网络深度和每层的神经元数量,用NN表示:Through multiple trainings, the final network depth and the number of neurons in each layer are expressed in NN: NN=[2n 50 60 60 50 4]。NN=[2n 50 60 60 50 4]. 2.如权利要求1所述的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法,其特征在于,所述生理信号至少包括驾驶员的呼吸信号和心跳信号。2. a kind of non-contact fatigue driving detection method based on the BP neural network of momentum optimization as claimed in claim 1, is characterized in that, described physiological signal comprises driver's breathing signal and heartbeat signal at least. 3.如权利要求1所述的一种基于动量优化的BP神经网络的非接触式疲劳驾驶检测方法,其特征在于,所述多普勒雷达模块采用微波多普勒雷达探测器探头传感器HB100模块。3. a kind of non-contact fatigue driving detection method based on the BP neural network optimized by momentum as claimed in claim 1, is characterized in that, described Doppler radar module adopts microwave Doppler radar detector probe sensor HB100 module .
CN201911382375.8A 2019-12-28 2019-12-28 Non-contact fatigue driving detection method based on BP neural network with momentum optimization Active CN111209815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911382375.8A CN111209815B (en) 2019-12-28 2019-12-28 Non-contact fatigue driving detection method based on BP neural network with momentum optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911382375.8A CN111209815B (en) 2019-12-28 2019-12-28 Non-contact fatigue driving detection method based on BP neural network with momentum optimization

Publications (2)

Publication Number Publication Date
CN111209815A CN111209815A (en) 2020-05-29
CN111209815B true CN111209815B (en) 2023-08-22

Family

ID=70789433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911382375.8A Active CN111209815B (en) 2019-12-28 2019-12-28 Non-contact fatigue driving detection method based on BP neural network with momentum optimization

Country Status (1)

Country Link
CN (1) CN111209815B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111968341A (en) * 2020-08-21 2020-11-20 无锡威孚高科技集团股份有限公司 Fatigue driving detection system and method
CN114819046A (en) * 2021-01-29 2022-07-29 华为云计算技术有限公司 Neural network training method and device, computer equipment and storage medium
TWI833125B (en) * 2021-10-29 2024-02-21 緯創資通股份有限公司 Non-contact exercise vital signs detection method and exercise vital signs radar
CN117786513B (en) * 2023-12-26 2024-08-02 深圳市龙华区妇幼保健院(深圳市龙华区妇幼保健计划生育服务中心、深圳市龙华区健康教育所) Method and system for monitoring intelligent ultraviolet lamp capable of timing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106128032A (en) * 2016-07-05 2016-11-16 北京理工大学珠海学院 A kind of fatigue state monitoring and method for early warning and system thereof
CN106297194A (en) * 2016-10-13 2017-01-04 杭州电子科技大学 A kind of fatigue drive of car monitoring system
CN106504475A (en) * 2016-10-15 2017-03-15 北海益生源农贸有限责任公司 Method for detecting fatigue driving based on EEG signals
CN106991531A (en) * 2017-03-30 2017-07-28 国家电网公司 Power distribution network project construction effect Post-assessment Method based on BP neural network
CN108013884A (en) * 2018-01-26 2018-05-11 辽宁工业大学 A kind of fatigue of automobile driver drives active safety monitoring system and its monitoring method
CN109886154A (en) * 2019-01-30 2019-06-14 电子科技大学 Pedestrian appearance attribute recognition method based on multi-dataset joint training based on Inception V3

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10572800B2 (en) * 2016-02-05 2020-02-25 Nec Corporation Accelerating deep neural network training with inconsistent stochastic gradient descent
US20180341851A1 (en) * 2017-05-24 2018-11-29 International Business Machines Corporation Tuning of a machine learning system
US10803565B2 (en) * 2018-07-10 2020-10-13 Intel Corporation Low-light imaging using trained convolutional neural networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106128032A (en) * 2016-07-05 2016-11-16 北京理工大学珠海学院 A kind of fatigue state monitoring and method for early warning and system thereof
CN106297194A (en) * 2016-10-13 2017-01-04 杭州电子科技大学 A kind of fatigue drive of car monitoring system
CN106504475A (en) * 2016-10-15 2017-03-15 北海益生源农贸有限责任公司 Method for detecting fatigue driving based on EEG signals
CN106991531A (en) * 2017-03-30 2017-07-28 国家电网公司 Power distribution network project construction effect Post-assessment Method based on BP neural network
CN108013884A (en) * 2018-01-26 2018-05-11 辽宁工业大学 A kind of fatigue of automobile driver drives active safety monitoring system and its monitoring method
CN109886154A (en) * 2019-01-30 2019-06-14 电子科技大学 Pedestrian appearance attribute recognition method based on multi-dataset joint training based on Inception V3

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于多源信息融合的非接触式疲劳驾驶检测系统研究;杨希宁;《中国优秀硕士学位论文全文数据库信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN111209815A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN111209815B (en) Non-contact fatigue driving detection method based on BP neural network with momentum optimization
CN107886073B (en) A fine-grained vehicle multi-attribute recognition method based on convolutional neural network
CN109124625B (en) A classification method of driver fatigue state level
CN111738337B (en) Driver distraction state detection and identification method in mixed traffic environment
CN111436929B (en) A method for generating and identifying neurophysiological signals
Howe-Patterson et al. Automated detection of sleep arousals from polysomnography data using a dense convolutional neural network
CN110188836A (en) A Classification Method of Brain Functional Networks Based on Variational Autoencoder
Tervonen et al. Personalized mental stress detection with self-organizing map: From laboratory to the field
CN113743471A (en) Driving evaluation method and system
CN111081379B (en) Disease probability decision method and system thereof
CN113180691B (en) Three-channel sleep apnea and hypopnea syndrome recognition device
CN108523907B (en) Fatigue state recognition method and system based on deep shrinkage sparse autoencoder network
CN109512423A (en) A kind of myocardial ischemia Risk Stratification Methods based on determining study and deep learning
CN112581450B (en) Pollen detection method based on expansion convolution pyramid and multi-scale pyramid
CN110781873A (en) Driver fatigue grade identification method based on bimodal feature fusion
CN109902564A (en) A method for abnormal event detection based on structural similarity sparse autoencoder network
CN110796109A (en) Driver distraction behavior identification method based on model fusion
CN108847279A (en) A kind of sleep-respiratory state automatic distinguishing method and system based on pulse wave data
CN107609477A (en) It is a kind of that detection method is fallen down with what Intelligent bracelet was combined based on deep learning
CN109664894A (en) Fatigue driving safety pre-warning system based on multi-source heterogeneous data perception
Wang et al. A real-time driver fatigue identification method based on GA-GRNN
CN114298189A (en) Fatigue driving detection method, device, equipment and storage medium
CN105303771A (en) Fatigue judging system and method
Chen et al. Deep learning approach for detection of unfavorable driving state based on multiple phase synchronization between multi-channel EEG signals
CN119416003B (en) Driving state identification method and system based on multi-mode fusion

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