Design and Implementation of a DSP-based Embedded Intelligent Traffic Surveillance System Front-end Equipment
- Author
- YinHang
- Advisor
- LanHai
- School
- Harbin Engineering University
- Major
- Control Theory and Control Engineering
- Classification
- TP368.12 Microprocessor
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 63
- Citations
- 0
Abstract
Increasing congestion on urban streets and freeways boosts the demands of city traffic law enforcement and traffic management. To ensure the accuracy of evidences of traffic violence events, and implementation of uninterrupted traffic surveillance, management and control, it is necessary to bring in automatic traffic manage and surveillance system. The rapid development of computer hardware, digital image and video processing technology make the initiation possible. Currently there have been some urban traffic surveillance applications, but they still have defects such as expensive, poor reliability and isolation of discrete systems. It is required to build an integrated and information sharing intelligent traffic surveillance and management system.The project focuses on urban intersection surveillance system, which belongs to intelligent traffic surveillance systems and covers comparatively most complex scenes in road traffic surveillance. Therefore, it is easy to adapt the intersection surveillance algorithms to the other applications. Due to high costs and low reliability of conventional PC based systems, we proposed a DSP based intelligent traffic surveillance system. This thesis consists of hardware and software. The hardware section includes schematics capturing, printed circuit board layout; the software section covers design of system software architecture, bottom-level operating system porting and introduction of vehicle detection algorithm.In full consideration of application demands, the overall system design is introduced, including layout of system cameras, distribution of video processing software and hardware, processor selection, etc. The detailed design expands to the DDR2 memory, flash memory, peripherals and ports, as well as system power supply. The 594 MHz TMS320DM6446 and utilization of DDR2-533 memory chips can be characterized as high-speed digital circuits, in which signal integrity (SI) issues such as reflection and crosstalk cannot be neglected. A minimum 6-layer PCB is required to fulfill the normal operation of the circuit. We bring Cadence SPB 16.2 and Hyperlynx 8.0 in the design process to aid the system schematic capturing, layout and SI analysis, and high-speed differential signal and DDR2 layout are among the most significant SI issues. Moreover, EMC and EMI problems are fully taken into consideration in the design.On the basis of overall software architecture, the thesis finished porting of user bootloader, embedded Linux operating system and file system, all of which comprises a complete embedded software and hardware development platform. In the software application level, a temporal-mean background modeling and subtraction algorithm is proposed to implement vehicle detection, in which Ostu’s threshold method is used to optimize the process of image binarization. Blob analysis in applied after the separation of foreground and background. With the blob algorithm, it is easy to classify road vehicles and remove the unwanted objects like pedestrians. Moreover, Kalman filter is added to remove noise and optimize the tracking stability. The hardware design succeeds at the first attempt, coupled with successful low-level software porting, set up a complete development platform on the basis of TI Davinci technology; the vehicle detection algorithm is programmed in C language, and well prepared for later porting attempts.
Table of contents
Summary 5-6
Abstract 6-11
Chapter 1 Introduction 11-17
1.1 Background 11-13 < br /> 1.2 Intelligent Traffic Monitoring System Research 13-15
1.2.1 hardware system 13
1.2.2 software system 13-14 <br / > 1.2.3 system utility and 14-15
1.3 topics work papers arrangement 15-16
1.4 Chapter Summary 16-17
Chapter 2 overall system architecture argumentation and design 17-24
the 2.1 overall system technical requirements and demonstration program designed 17-19
2.1.1 image acquisition equipment selection 17-18
the 2.1.2 vehicle detection mode selection and monitoring program designed 18-19
2.2 embedded systems and processor selection 19-21 < br /> 2.2.1 Embedded Systems 19
the 2.2.2 embedded processors Selection 19-21
2.3 hardware circuit overall structural design 21 - 22
2.3.1 video service host 21-22
2.3.2 video analysis module 22
2.3.3 of remaining vital equipment and interface design 22
2.4 software overall structure and processing tasks division of design are found; 22-23
2.5 Chapter Summary 23-24
Chapter 3 system circuit schematic design 24-38
3.1 DDR2-SDRAM design 25-28
3.2 flash circuit design 28-29
3.3 the peripherals interface design 29 - 35
3.3.1 CPLD glue logic design 29-30
3.3.2 ATA hard disk interface design 30-31
3.3.3 USB2.0 interface design 31-32
3.3.4 Ethernet PHY interface design 32-33
3.3.5 the UART Interface Design 33-34
3.3.6 real-time clock design 34
the 3.3.7 video interface design 34-35
3.4 power supply design 35-37
3.4.1 DC-DC conversion circuit design 35-36
3.4.2 power supply monitoring and reset circuit design 36-37
3.5 Chapter Summary 37-38
Chapter 4 hardware circuit signal integrity analysis and test 38-62
4.1 the signal integrity Overview 38-40
4.2 board-level signal integrity analysis and simulation 40 - 60
4.2.1 transmission line theory 40-42
4.2.2 the laminated and layout of printed circuit board design 42-44
4.2.3 DDR2 layout wiring 44-48
4.2.4 reflection and impedance matching 48-52
4.2.5 Crosstalk 52-55
4.2.6 High-speed differential signal wiring and simulation analysis the the 55-57 4.2.7
power integrity 57-60
4.3 system debugging 60-61
4.3.1 the Debugging Overview 60
4.3.2 DDR2 data is written
60 4.3.3 NAND flash memory chips to identify abnormal 60-61
4.4 This chapter Summary 61-62
Chapter 5 software architecture design and development of the operating system and transplant 62-74
5.1 system software architecture design 62-63
5.2 cross-compiler environment to build 63-64
5.2.1 cross compiler Overview 63
5.2.2 the DM6446 cross-compilation environment to build 63-64 <br / > 5.3 bootloader bootstrap transplant 64-68
5.3.1 UBL transplant 66-67
5.3.2 U-boot transplant 67-68
5.4 embedded Linux operating system kernel transplant 68-71
5.4.1 embedded Linux kernel cut, configure and cross-compile 69-70
5.4.2 Embedded Linux kernel programming 70-71
5.5 file system migration 71-73
5.5.1 file system type and choice 72-73
5.5 the .2 file system transplanted 5.6 Chapter Summary 73
73-74
Chapter 6 vehicle video detection algorithm 74-86
6.1 vehicle video detection the algorithm outlined 74-76
6.1.1 optical flow method 74
6.1.2 pixel recursive method 74-75
6.1.3 Time Difference / frame difference method the 6.1.4 background frame difference method 75
the 75-76 6.2 image preprocessing
6.3 Background to build 76-77
mode 77-80
6.3.1 image binarization 78-80
6.3.2 morphological operations 80
6.4 Blob analysis and flow the monitoring algorithm 80-85
6.4.1 Blob analysis the 80-81
6.4.2 Kalman filter to optimize tracking performance 81-84
6.4 .3 the traffic flow statistics 84-85
6.5 Chapter Summary 85-86
conclusion 86-88
Ref. 88 - 91
studying papers and obtained a master's degree during the research results 91-92
Acknowledgements 92-93
Appendix 93-109
1. system circuit schematic 93-107
system printed circuit board layout 107-109
system board kind photo 109
Related dissertations
- Research on Theory and Method of Vehicle Detection Based on Video Images
- The Research on Video-Based Vehicle Detection Technique for Traffic Crossing
- Research and Application on Vehicle Detection and Tracking Algorithms Based on Video Sequence
- Research on Techniques of Video-Based Moving Vehicle Detection and Tracking
- Research and Realization of Vehicle Detection Algorithm in Intelligent Transportation
- Research and Implementation of Vehicle Monitoring Methods in Intelligent Bayonet System
- Research of Low Power Vehicle Detection Technology Based on Mangneto-resistive Sensors
- Moving Object Segmentation in the Video Captured by a Panning Camera
- Vehicle Identification Research in Complex Scenes
- The Design of Vehicle Detection System
- Research on Object Tracking Algorithm Based on Color Image Sequence
- Research on Vehicle Detection Based on Video Technology
- Research on Hardware System of Panoramic Stereo Sphere Vision
- Research on moving object detection algorithm based on background subtraction and frame difference method based on
- Vehicle Detection Method Research Based on Multi-feature Fusion under Complicated Environment
- FPGA and Gigabit Ethernet (GigE) based on the design of image processing system
- Multi DSP parallel processing circuit and application in the research of image fusion
- Research and Design of Red Light Capture System Based on DSP
- Research on Video Moving Object Detection and Tracking
- Research of Object Detection and Tracking Based on Sparse Representation and Compressed Sensing