Designing and Implementation of Fatigue Driving Detection System Based on FPGA

Author
LuYang
Advisor
GaoChao
School
Chongqing University
Major
Instrument Science and Technology
Classification
U495 Computer applications in road transport and highway projects
Degree
Master's thesis
Year
2013
Downloads
2
Citations
0

Request the full text

Abstract

In many countries, investigation and analysis of traffic accidents indicated that thecauses are drink driving, fatigue driving, overloading driving and illegal driving and soon. By further analysis of the statistical data, we can find that the fatigue driving is oneof the most important reasons caused traffic accidents. The annual number of trafficaccidents caused by fatigue driving now is no less than the number caused by drunkdriving and speeding driving. In order to reduce the traffic accidents, decrease theglobal economic losses and protect the life safety of people, preventing fatigue drivingwill be an effective means, and the detection of fatigue driving is the key to preventfatigue driving. The purpose of this paper is to research and develop a kind of devicethat can implement the real-time detection of driver’s fatigue state. In the premise of notaffecting the driver’s operation and attention, we detect the driver’s fatigue state by thereal-time monitoring the eyes of the driver and alarm the driver if the result of detectionis fatigue, so as to effectively achieve the goal of avoiding the traffic accidents causedby fatigue driving.This paper designs and develops the real-time fatigue driving detection systembased on FPGA, the system mainly includes three parts: infrared light source system,video collection and displaying system, accomplishments system of image processingalgorithms and fatigue evaluation algorithm. At the beginning of the designing, wechoose the best appropriate strategy–single camera infrared image acquisition based onFPGA to achieve the detection system by designing and proving the variousexperiments that achieved the aims of fatigue detection, which are presented byresearchers at home and abroad. According to the “bright pupil” effect phenomenonemerged when the pupil reflect90%of the incident infrared light with wavelength of850nm, the detection system can collect the video image with gray eyes of more salientinformation. The camera can capture the infrared images with small backgroundinterference by leading the optical filter of850nm peak transmittance into the detectionsystem. The designs and accomplishments of all the functions of the detection systemare based on FPGA platform. Firstly, the system stores the video image into the FPGA’sBlock Ram gathered from the camera, and then sends the stored image to the imageprocessing module to segment the eyes of the driver by using the ping-pang operation,at last sends the segmentation results to the display module and fatigue judge module to display and judge the fatigue state, and decides to alarm the driver or not according tothe fatigue judgment. The image processing module designed in this paper adopts twosegmentation algorithms to finish the segmentation of driver’s bright pupil; onesegmentation method is based on the improved threshold, the other is based onimproved PCNN (Pulse Coupled Neural Network) segmentation method using thenearest neighbor clustering criterion. The fatigue judging module uses the PERCLOSfatigue detection algorithm, and judges the driver is fatigue or not by the PERCLOSvalue computed in this module.This paper achieves the real-time fatigue driving detection system in the FPGAplatform by non-contact image acquisition methods and using the digital imageprocessing technology. The final designed internal modules of the detection system andits experimental results indicate that the detection system is stable operation with highspeed processing, has correct functions, segmentation results and fatigue detectionresults, has good ability of real-time processing and achieves the processing speed of25frames/s, which is the camera’s collecting speed. At the same time, the system has gooduniversality, easy to transplant, high integration, and provides an important referencemodel for other designs in related fields based on FPGA.

Table of contents

Summary 3-5 ABSTRACT 5-10 1 Introduction 10-16 1.1 research background and significance 10 <br / > 1.2 driver fatigue research status of 10-13 1.2.1 driver fatigue is defined 10-11 1.2.2 driver fatigue detection methods 11 <br / > 1.2.3 foreign research status 11-12 1.2.4 domestic research status 12-13 1.3 content of this paper 13-16 <br / > 2 driver fatigue detection system design 16-30 2.1 complexion face segmentation method based 16-18 2.2 image acquisition based on a dual -channel differential method of infrared light 18-26 design nbsp 2.2.1 dual-channel differential image acquisition program ; 18-23 2.2.2 difference method based on a dual -channel infrared light design 23 -26 2.3 based on single-channel image capture bright pupil segmentation infrared light 26-28 2.4 Summary 28-30 3 video image acquisition and display system FPGA implementation 30-72 3.1 FPGA Overview 30-31 3.2 Xilinx Virtex II Pro development board resources 31-32 3.3 infrared light system 32-33 3.4 video image acquisition and storage 33-51 3.4.1 video decoder chip 33-36 3.4.2 storage unit 36-38 3.4.3 grayscale video image acquisition and storage module FPGA implementation 38-45 3.4.4 color video image acquisition and storage module FPGA implementation 45-47 3.4.5 dual-channel acquisition and storage module FPGA implementation 47-51 3.5 video display system 51-64 3.5.1 VGA interface definitions and data conversion 51-52 3.5.2 VGA timing analysis 52-54 3.5.3 system processing speed display 54-56 FPGA design 3.5.4 grayscale image display system to achieve FPGA design 56-62 3.5.5 color image display system to achieve 62-64 3.6 acquisition System experimental results and display system 64-70 3.6.1 unused filters and single-channel infrared light color and grayscale image acquisition and display results 65-66 3.6. 2 unused filters and dual-channel infrared light gray image acquisition and display results 66-67 3.6.3 using filters and infrared light single-channel grayscale image acquisition and display results 67-68 3.6.4 using infrared light filters and dual-channel grayscale image acquisition and display results 68-70 3.7 Summary 70-72 4 image processing algorithms driver fatigue detection system design and FPGA implementation 72-102 4.1 language 72-73 4.2 FPGA development environment and development process 73-74 4.3 image segmentation 74-75 4.4 image feature analysis 75-77 4.5 threshold segmentation algorithm and MATLAB verification 77 - 81 4.5.1 thresholding algorithm principle 77-78 4.5.2 MATLAB in the threshold segmentation algorithm validation 78-81 theory and MATLAB algorithm verification 4.6 PCNN 81-85 4.6.1 PCNN algorithm principle 81-83 4.6.2 nearest neighbor classification criteria based on improved PCNN algorithm 83-84 4.6.3 MATLAB in PCNN segmentation algorithm validation 84-85 4.7 fatigue detection algorithm 85-88 4.7.1 PERCLOS algorithm principle 85 - 87 4.7.2 PERCLOS algorithms on FPGA 87-88 4.8 threshold segmentation algorithm based on fatigue detection system FPGA 88-93 4.8.1 histogram Figure projection module 88-90 4.8.2 improved threshold segmentation module 90-92 4.8.3 fatigue detection system to achieve an overall block diagram of the FPGA 92 - 93 4.9 algorithm based on improved PCNN fatigue detection system FPGA 93-100 4.9.1 improved PCNN algorithm first ignition module 93-95 <br / > 4.9.2 improved PCNN algorithm module 95-98 4.9.3 cleared eyes closed image segmentation module 98-99 4.9.4 fatigue detection system on FPGA the overall block diagram of 99-100 4.10 chapter sections experimental results 100-102 5 driver fatigue detection system and analysis 102-110 5.1 the results improved threshold segmentation algorithm fatigue detection system 102-105 5.2 results improved PCNN algorithm fatigue detection system 105-107 5.3 two the results of the fatigue detection algorithms to achieve systematic analysis 107-110 6 summary and Outlook 110-112 6.1 This work summarizes 110 6.2 future Prospect 110-112 Thanks 112-114 References 114-118 Appendix authors of papers published during the degree program directory 118

Related dissertations

  1. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  2. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  3. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  4. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  5. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  6. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  7. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  9. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  10. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  11. The Design of Digital Ultrasonic Nondestructive Testing System
  12. Design and Implementation of High Speed Data Recorder Based on FPGA
  13. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  15. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  16. The Design and Research of PCI Data Acquisition Card Based on FPGA
  17. Usb Without Invasive Data Collection Technology Research
  18. Research on On-line Diameter Measurement System Based on FPGA
  19. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Realize of a Type of Automatic Target-scoring System