The Hardware and Software Platform Development of Video Server Based on Hi3510 and the Implementation of the Motion Detection Algorithms

Author
YinZhiXin
Advisor
ZhuYuHong
School
Jilin University
Major
Communication and Information System
Classification
TP368.5 Servers, workstations
Degree
Master's thesis
Year
2009
Downloads
149
Citations
1

Request the full text

Abstract

With the comprehensive arrival of the information age, the core technology of the monitor system develops from the traditional analog system towards a new generation of digital and network-based system, the monitoring requirements have become more sophisticated, front-end integration, digital video, monitoring network, and system integration of video surveillance system is recognized as the direction of development, audio and video server technology is a cross subject collecting the audio and video codecs, network communications, streaming media processing, artificial intelligence as a whole, the subject is from Science and Technology Department of Jilin Province, the main contents of the subject is to complete the the development of high-performance audio and video server products, the products use Hi3510 multimedia processing chip provided by Hisilicon as the core processor, use embedded Linux operating system as the system architecture,which can be mixed on the four-way streaming audio and video transmission, use H.264 codec for video, G.726 codec foe voice, the overall use C / S network management model that can accept multi-user online access at the same time, through the RTSP, RTP / RTCP protocol achieve a network of multi-functional on-demand streaming media, through the TCP protocol server and client interact under network monitoring functions, and under such platform the mobile detection function is achieved, which provides solutions for the new generation of intelligent monitoring system.The task of author in the subject is the main server-side hardware and software platform design and the realization of mobile detection algorithm.Firstly study performance characteristics of the multimedia processing chip Hi3510, Hi3510 has the ARM + DSP dual-core SOC architecture, which integrate an ARM926EJ-S and associated peripherals, as well as a high-performance DSP co-processor. The ARM926EJ-S processor works as a master chip,in which a variety of user interface, application software, operating system and protocol-processing software are running. DSP system is responsible for the audio codec processes, co-processor cooperate with video codec module to complete H.261/H.263/H.264 codec.Based on the processing core Hi3510 design the overall of hardware circuit, through the tools of the Protel 99SE complete the schematic circuit design and the realization of 6 layers PCB, the circuit schematic design includes package design, electrical properties of pin settings, connections between components, network configuration label, ERC (Electrical rule checking), netlist generation and so on, then followed the device PCB package design,and build relationship between schematics components and PCB package, the next step is importing netlist into PCB design moudle, followed with the circuit boards planning, placement and routing, DRC (design rule checking), the division of ground and power, and ultimately video and audio server hardware systems come ture.On the hardware platform the embedded Linux system is built, the composition of the system are: bootloader, Linux kernel ,initialization process, the hardware drivers and the application. Bootloader is similar to the computer’s BIOS to boot the system, it will drive CPU, network chips and other basic hardware devices, Linux kernel will be loaded into memory, and make the kernel initialization process control the system, generaly ARM system selected U-boot as bootloader, here use the improved version Hiboot for the hardware system; kernel is the core component of the system, its function include memory management, process management, and timer interrupt management, module management, interface file system, device drivers, inter-process communication, network management, etc.; initialization process, the hardware driver, the application are the upper parts, which depend on kernel scheduling, but have their own separate mechanism to deal with, it is the system’s main components to achieve the functions, they are the root file system’s main components.Linux root file system has many formats, cramfs and jffs2 are commonly used, but they all belong to the binary image file, which need to be written to the FLASH to implement, and during the development stage NFS(Network File System) is a more effective way, it is visited by the target machine by the means of a network shared file system, which is seemed as the root file system for its application to the implementation of this development environment, known as cross-compiler environment, in such an environment can be easily the conduct of drivers and applications debugging. Were carried out in the design of the TW2834, gpio, such as character device driver design, the realization of a four-way All the way to deal with a variety of video output of video processing mode and the alarm signal input and output, and drive through the RS485 PTZ pelco agreement decoder, the realization of computer-controlled PTZ camera rotation and adjustment of program design in which the user using C / S of the network model, using multi-threaded structure of modular design, each functional module, respectively, to achieve the audio and video data collection, coding, network transmission and user control functions, data queue between threads, as well as the amount mutually exclusive mechanisms of communication and synchronization. Which, through RTSP, RTP / RTCP to achieve a real-time streaming media transmission network through TCP / IP protocol and the client server network interaction, remote control in order to achieve a streaming media format NTSC and PAL under the 1D1, 4CIF video format, such as on-demand, as well as alarm input and output device, PTZ control functions such as network monitoring.In addition, the article carried out extensive research for motion detection algorithm, to consider the feasibility of the realization of projects , the difference image algorithm is studied deeply and achieved in the user program. The algorithm achievement is based on TW2834 for its support of motion detection ,the algorithm based on difference image processing method: Detect the differences of the brightness level between the current frame and reference frame, to detect moving objects in images, server-side through the network thread accept and implement the control command of client-side to detect the motion, the client can the set up motion detection region for each video channel, the motion detection alarm information output to the user interface, while the information is also saved to documents in the system for the future calls. In this paper ,the products of the project has passed the inspection, having outstanding performance, to achieve the targets, which has achieved the functions required by the four-way audio and video server, the product can be playing an important role in the new generation of network monitoring systems.

Table of contents

Summary 4-7 Chapter 1 Introduction 7-10 1.1 Project background and significance of 7 1.2 Network Video Server Overview 7-8 1.3 of this article the main content and arrangement 8-10 Chapter 2 of the key technologies of network video server 10-20 2.1 video compression coding technology 10-11 2.1.1 MPEG-2 compression coding 10 2.1.2 MPEG-4 compression 10-11 2.1.3 H.264 compression 11 2.2 audio compression coding technology 11-12 2.2.1 MPEG audio coding 11-12 2.2.2 G Series of audio coding 12 2.3 embedded Linux system development technology 12-17 2.3.1 embedded Linux software system composed of 12-14 2.3.2 Embedded Linux driver 14 2.3.3 networks is data transmission technology 14-17 2.4 network video surveillance technology 17-20 2.4.1 PTZ control 17-18 2.4.2 Motion Detection 18-20 Chapter 3 based on the the Hi3510 network video server system design 20-55 3.1 processor subsystem 20-21 3.2 peripheral hardware circuit solutions 21-26 3.2.1 core control module 21-22 3.2.2 Video Module 22-23 3.2.3 audio processing module 23 3.2.4 network module 23 3.2.5 Alarm signal input module 23 3.2.6 Power, reset, clock, debug circuitry 23-26 3.3 circuit board design and 26-38 3.3.1 schematic design 27-31 3.3.2 PCB design 31-38 3.4 development environment to build 38-39 3.5 device driver design 39-45 3.5.1 video processing module driver design 39-41 3.5.2 the GPIO driver application and alarm input to achieve 41-43 3.5.3 Linux device driver debugging 43-45 3.6 C / S Architecture Design and Implementation of Monitoring System Software 45-55 3.6.1 Business requirements analysis 45-46 3.6.2 server-side application design 46-53 3.6.3 client application design 53-55 Chapter 4 Motion Detection Algorithm and Implementation 55-63 4.1 motion detection algorithm research 55-57 4.1.1 difference image method 55 4.1.2 optical flow method 55-56 4.1.3 Active Contour Model-based methods 56 4.1.4 statistical model-based approach 56 4.1.5 of higher-order statistics-based approach 56-57 4.2 TW2834 chip motion detection algorithm supports 57-58 4.2.1 detection area of ??the split 57-58 4.2.2 Sensitivity of control 58 4.3 motion detection algorithm, the user-level programming 58-61 4.3.1 the underlying data processing 58 4.3.2 Zone Lockdown mode design ideas 58-59 4.3.3 single detection region solution 59 4.3.4 detection area solutions 59-61 4.4 client-side mobile detection implementation 61-63 Chapter 5 projects the test results 63-73 5.1 network connection 66-67 5.2 standard converted 67 5.3 alarm input and output 67-68 5.4 PTZ control 68 5.5 Motion Detection 68-73 Chapter 6, Summary and Outlook 73-75 6.1 summarizes 73 6.2 Looking 73-75 References 75-77 thank 77-78 Summary 78-80 ABSTRACT 80-82

Related dissertations

  1. Based on MPEG-4 digital video surveillance system coding side of software and hardware to achieve
  2. Home Video Automatic Monitoring System Design and Implementation
  3. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  4. Drowsiness Detection System for the Sentry Based on the Surveillance Video
  5. The Design and Validation of the Fire Detection Algorithm for Self-service Bank
    ZhuXingJie ·Harbin Institute of Technology ·2013 ·Master's thesis
  6. Reseach on Video Tracjing of Pedesteains in Natural Scene
  7. The Design of Gesture Recognition System Combined with Motion Detection
    ChenZhiHui ·Hefei University of Technology ·2013 ·Master's thesis
  8. Research and Implementation of Video-Based Pedestrian Counting Algorithms
  9. Study on Moving Object Detection and Tracking in Video Sequences
    LiBo ·Beijing Jiaotong University ·2012 ·Doctoral dissertation
  10. Research on the Algorithm for Fire Smoke Detection in Video Using Dark Channel Prior
    WangYi ·Northeastern University ·2013 ·Master's thesis
  11. The Research of Algorithm of People Counting Base on the Head Detection
  12. The Research and Implementation of Traffic Flow Based on Motion Detection Technology
    JiangBaiJun ·Zhejiang University of Technology ·2013 ·Master's thesis
  13. Technology research and enhance the target detection of LLL video
  14. Robust Motion Detection in Traffic Vision
    DiQiang ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Motion Detecting and Tracking Technology Based on Video
    YangYang ·Zhejiang University ·2014 ·Master's thesis
  16. Research of Several Key Techniques in Intelligent Video Systems
    ZhangChao ·Anhui University ·2014 ·Doctoral dissertation
  17. The Research and Design of Embedded Linux Based on ST-E9500
  18. Research of Embedded Linux Device Drivers Concurrency Control
    ZhangJiHong ·Chang'an University ·2013 ·Master's thesis
  19. Studies on Reconfigurable Wireless Intelligent Video Surveillance Platform
    WangYiMu ·Zhejiang University ·2013 ·Doctoral dissertation
  20. Research of Motion Detection Algorithm Base on Outdoor Video Surveillance
    LengBin ·Central South University ·2013 ·Master's thesis