基于Davinci技术的智能家庭监控系统的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着视频信号处理器的发展,嵌入式视频监控系统的应用越来越广泛,对视频监控智能性的要求也变得越来越高。本文在深入研究Texas Instrument(TI)公司最新的Davinci技术后,针对家庭监控环境设计并实现了一种基于Davinci技术的智能监控系统的基础框架。主要研究内容涉及Davinci技术的硬件系统架构、软件系统架构及Linux下的应用程序开发等。
     嵌入式视频处理系统的运行方式通常为通用嵌入式处理器与数字信号处理器协同工作的模式。在Davinci技术推出以前,都采用分离式处理器构成视频监控系统,Davinci技术的硬件产品TMS320DM6446在一个芯片封装内集成了ARM嵌入式处理器内核与C64x+数字信号处理器内核,提高了系统集成度、降低了系统板级成本,双处理器的协同运作效率也有很大提高。本文在对需要实现系统的功能作出分析后,采用TMS320DM6446作为系统的核心处理器,并设计了智能家庭监控系统的硬件系统。主要工作涉及芯片选型、视频输入输出接口设计、DDR2动态存储器接口设计、Flash存储器接口设计、ATA硬盘接口设计、串行存储器接口设计、音频接口设计、以太网接口设计、USB接口设计、UART接口设计、外围控制接口设计及系统电源设计,本文还对系统的各个组成部分的功能及特点作了详细的介绍。系统充分应用TMS320DM6446的视频处理优势,具有处理速度快、板级成本较低、硬件上留有扩展接口等特点。
     本系统的软件部分在Davinci技术软件框架下进行开发,该框架结构可应用于各种类型的嵌入式操作系统中。Davinci技术软件框架对复杂性较高的算法部分进行了模块化,大大增强了算法与应用程序的独立性,使得算法部分具有了良好的可扩展性。基于对多种嵌入式操作系统的分析,采用MontaVista Linux作为本系统的操作系统。本文软件部分的工作为系统基础软件框架设计。本文对PAM可插拔认证模块、MiniGUI图形用户接口等作了简要的介绍,探讨了软件各个功能模块的实现方式,最后实现了具有基本监控录像功能的系统应用程序基础软件框架。该框架为智能判别算法模块留出了调用接口,将与智能判别算法功能相关的软件部分模块化,使软件系统具有良好的可扩展性。
     智能家庭监控系统的硬件设计正处在实现阶段,软件的基础部分已经能够正常运行于TI的Davinci视频开发评估板上,相关附属功能正处在完善阶段。
With the development of video signal processor, embedded video monitoring system was used more and more widely, and the demand for intelligent video surveillance has become increasingly high. After studying the latest Davinci technology of Texas Instrument (TI), this thesis, aiming at the family environment, designs an intelligent video monitoring system. The thesis related to Davinci technology hardware architecture, software architecture and linux application design.
     Normally, embedded video monitoring system consist of a general purpose embedded processor and a digital signal processor. The davinci technology integrated an ARM core and a C64x+ DSP core into one sillicon; it improves the system integration, lowers the board level cost and improves dual-core coordination operation efficiency. This thesis uses davinci technology dual-core processor TMS320DM6446 as the main processor; the hardware system design involves video input and output interface design, DDR2 dynamic memory interface design, Flash Memory Interface Design, ATA hard disk interface, serial memory interface design, audio interface design, Ethernet interface, USB interface, UART interface, the external control interface design and power supply system design. In this paper, the various components of the hardware system's functions and features are also introduced in detail.
     The software is developed under Davinci software framework which can be applied to kinds of embedded operating systems. The algorithm parts of Davinci software framework are highly modularized; greatly enhances the independence of the algorithm and application procedures. This paper analyzes the various embedded operating system, and finally decides to use MontaVista Linux as operating system. The software system design involves the basic software architecture design, the introduction of PAM and MiniGUI, the disgussion of various software functional modules, and finally implementing the basic function of a video monitoring system. It has left a software interface for algorithm modules, makes good system flexibility, and makes the algorithm design and experimental work easier.
引文
[1] 欧扬,付保川.一种嵌入式智能网络视频监控终端的研究与设计[J].微计算机信息, 2005(11-2):55-57
    [2] 王迪焕.Linux 下视频远程监控系统设计与实现:[硕士学位论文],成都:西南交通大学,2006.6,9-11
    [3] 张原,史浩山,范磊.分布式智能视频监控系统设计与实现[J],计算机应用研究,1999(11)
    [4] 徐鹏,邹浩斌.基于达芬奇技术的 TMS320DM6446 视频研究,电子产品世界,2006.2
    [5] 宋磊,方向忠.达芬奇技术的视频应用分析,2006.9.,电路与应用
    [6] TI,TMS320DM6446 Digital Media System-on-Chip (Rev. E),SPRS283,www.ti.com,2006
    [7] TI,TMS320C64x/C64x+ DSP CPU and Instruction Set Reference Guide (Rev. C) SPRU732C,www.ti.com,2006
    [8] TI,TMS320C64x/C64x+ DSP CPU and instruction set reference guide,www.ti.com,2006
    [9] TI,TMS320DM644x DMSoC DSP subsystem reference guide,SPRUE15,www.ti.com,2005
    [10] TI,TMS320C64x+ DSP Two-level Internal Memory Reference Guide,SPRU610C,www.ti.com,2005
    [11] TI,TMS320C64x+ DSP Megamodule Reference Guide,SPRU871F,www.ti.com,2007.2
    [12] TI,EDMA v3.0 (EDMA3) Migration Guide for TMS320DM644x DMSoC,SPRAAA6,www.ti.com,2006
    [13] TI,TMS320DM644x DMSoC Audio Serial Port (ASP) User's Guide,www.ti.com,SPRUE29,2005
    [14] TI,TMS320DM644x DMSoC Multimedia Card (MMC)/Secure Digital (SD) Card Controller User's Guide,SPRUE30A,www.ti.com,2006.1
    [15] TI,TVP5146 DATA SHEET,SLES084A,www.ti.com,2004
    [16] TI,PCA9306 Dual Bidirectional I2C Bus and SMBus Voltage-level Translator,SCPS113,www.ti.com,2005.5
    [17] 赵天云,王洪迅,郭雷,毕笃彦.DDR2 SDRAM 控制器的设计与实现,微电子学与计算机,2005(22-3)
    [18] Micron,DDR2 Package Sizes and Layout Requirements,TN-47-08,www.micron.com,2005.11
    [19] Micron,DDR2 (Point-to-Point) Features and Functionality,TN4719,www.micron.com, 2006.4
    [20] Micron,1Gb:x4,x8,x16 DDR2 SDRAM Features,www.micron.com,2006.4
    [21] TI,TMS320DM644x DMSoC Asynchronous External Memory Interface (EMIF) User's Guide,SPRUE20A,www.ti.com,2006.6
    [22] AMD,Am29LV128MH/L data sheet,www.amd.com,,2005.12
    [23] TI,TMS320DM644x DMSoC ATA Controller User's Guide,SPRUE21,www.ti.com,,2005.12
    [24] Altera,Dedicated Pin Information for the MAX?II EPM240 / EPM240G Devices Version 1.3,www.altera.com,2006.7
    [25] TI,SN74AVCB164245 16-bit Dual-supply Bus Transceiver with Configurable Voltage Translation and 3-State Outputs,SCES394D,www.ti.com,2005.6
    [26] TI,SN74LVT16245B,3.3V ABT 16-bit Bus Transceivers with 3-State Outputs,SCBS715E,www.ti.com,2006.11
    [27] Maxtor Corporation,Information Technology -AT Attachment with Packet Interface – 5 (ATA/ATAPI-5),www.maxtor.com,2000.2
    [28] CompactFlash Association,CF+ and CompactFlash Specification Revision 3.0,www.compactflash.org,2004.12
    [29] TI,TLV320AIC33 Low Power Stereo Audio Codec for Portable Audio/Telephony data sheet,SLAS480,www.ti.com,2006.1
    [30] TI,PLL1705 3.3-V Dual PLL Multiclock Generator data sheet,SLES046A,www.ti.com,2002.12
    [31] TI,TMS320DM644x DMSoC Ethernet Media Access Controller (EMAC)/Management Data Input/Output (MDIO) Module User's Guide,SPRUE24,www.ti.com,2005.12
    [32] Intel,Intel? LXT971A Single-Port 10/100 Mbps PHY Transceiver datasheet,www.intel.com,2005.10
    [33] TI,TMS320DM644x DMSoC Universal Serial Bus (USB) Controller User's Guide,SPRUE35A,www.ti.com,2007.3
    [34] TI,SN74AHC1G08 Single 2-Input Positive-AND gate,SCLS314M,www.ti.com,2005.6
    [35] TI,SN74AVC1T45 Single-bit Dual-supply Bus Transceiver with Configurable Voltage Translation and 3-State Outputs,SCES530F,www.ti.com,2007.1
    [36] Maxim,MAX3221 3-V TO 5.5-V Single-channel RS-232 Line Driver/Receiver,SLLS348H,www.maxim.com,2003.6
    [37] TI,MSP430x15x, MSP430x16x, MSP430x161x Mixed Signal Microcontroller,SLAS368E,www.ti.com,2006.8
    [38] TI,CC2420 2.4 GHz IEEE 802.15.4 / ZigBee-ready RF Transceiver,SWRS041B,www.ti.com,2007
    [39] TI,PCF8574A Remote 8-bit I/O Expander for I2C Bus,SCPS069D,www.ti.com,2005.10
    [40] Vishay Semiconductors,TSOP34840 IR Receiver Modules for Remote Control Systems,www.vishay.com,2003.6
    [41] TI,TMS320DM644x Power Consumption Summary,SPRAAD6,www.ti.com,2006
    [42] TI,TPS54310 3-V to 6-V Input, 3-A Output Synchronous-buck PWM Switcher with Integrated FETs (SWIFTTM),SLVS412B,www.ti.com,2005.5
    [43] TI,TPS3808 Low Quiescent Current Programmable-Delay Supervisory Circuit,SBVS050,www.ti.com,2005.10
    [44] MontaVista,MontaVista Embedded Linux,www.mvista.com
    [45] 鲁莹.基于 ARM 的嵌入式 Linux 和 MiniGUI 的研究与移植实现:[硕士学位论文],昆明:昆明理工大学,2006.3,46
    [46] 飞漫软件,MiniGUI Lite 版本的新改进,www.minigui.com,2001.2
    [47] 聂振华.基于嵌入式操作系统 ARMLinux 的图像传输研究及实现:[硕士学位论文].重庆:重庆大学,2006.5,31-35
    [48] 飞漫软件,MiniGUI 编程指南,www.minigui.com,2006.6
    [49] TI,Codec Engine Application Developer's Guide,SPRUE67,www.ti.com,2006.5
    [50] TI,DSP/BIOS LINK User’s Guide,www.ti.com,2006.2
    [51] Andrew G. Morgan.The Linux-PAM Module Writers' Guide.URL:http://www.kernel.org/pub/linux/fibs/pam/Linux-PAM-html/pam-modules.html
    [52] Vipin Samar,Charlie Lai.Making Login Services Independent of Authentication Technologies,Sun Technical,URL: http://Java.sun.com/security/jaas/doc/pam.html
    [53] Scott Mann,Ellen L. Mitchell.Linux 系统安全实用手册[M],电子工业出版社,2000
    [54]程卫芳.PAM 的应用开发和内部实现源码分析,URL:www.ibm.com/developerworks/cn/linux/l-pamdev/index.html
    [55] TI,TMS320DM644x DMSoC Video Processing Back End (VPBE) User's Guide,SPRUE37,www.ti.com,2005.12
    [56] Bill Dirks.Video for Linux Two - Image Data Formats,URL:www.thedirks.org/v4l2/v4l2fmt.htm,2003.6

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700