基于S3C2440和Windows CE6.0图像信息采集手持系统设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
早期手持设备技术简单、功能单一、缺乏网络通讯功能,然而随着社会的发展,这样的手持设备已经无法满足人们日常生活信息交换的需求,也不能满足工业的需求。随着嵌入式技术的发展,嵌入式CPU的性能大大提高,使得手持设备的功能越来越丰富,不断满足了人们娱乐消费和工业需求。移动互联网是互联网今后的发展趋势,如今越来越多的移动设备集成了通话、短息、社区消息、浏览网页、收发电子邮件和无线上网功能。
     目前,我国电力需求量越来越多,电力设备和输电线的使用量也急剧增加。输电线和电杆长期暴露在野外的环境中,经常遭遇洪水、地震、狂风、雷击等灾害的损害。这些设施一旦出现事故将会给企业和人民群众造成重大损失。因此,定期巡检输电设备尤为重要。
     本文研究的巡检系统可以通过串口读取GPS数据以及把现场的场景拍成照片保存到设备上。此外,本文使用了ASP+COM方案实现了远程读取数据,提高了电力部门对设备管理的效率。
     本论文具体研究内容有以下几个方面:
     1.介绍Windows CE6.0加载驱动的流程、流驱动的架构和开发方法;使用Visual Studio2005开发Windows CE驱动和应用程序;使用Platform Builder定制内核,选择需要的组件,重新编译下载。
     2.通过研究串口驱动程序的架构,分析了MDD层与PDD层之间的通信机制和标准流接口驱动程序在分层驱动中的作用;通过多个串口函数,实现了数据接收发送和控制串口硬件的功能。
     3.使用Visual Studio2005开发平台,设计了Windows CE应用层界面,并解析且显示来自串口的GPS数据。
     4.为了实现实时读取现场数据,本文采用ASP+COM方案实现远程读取串口数据。深入研究了命令和数据在ASP网页与COM控件,以及COM控件与底层驱动之间相互传输的过程。为COM控件的接口添加了Open、Port、BaudRate、DataBits、StopBits、Parity属性和Close方法。在Open属性的实现函数中调用串口类中OpenPort ()函数打开底层串口驱动程序。从而获取串口GPS数据并判断GPS数据的有效性和解析出经纬度,把这些数据封装成安全数组供网页调用。在Internet网中,任何一台远程客户机(PC机)都可以读取手持设备的串口数据,并以网页形式显示。
     5.研究了Camera摄像头的驱动原理;在应用程序中实现实时视频监控和抓图功能。
The early handheld device is simple technical, single function and being lack of network communication function. With the development of society, the handheld devices have been unable to meet the people's daily needs of information exchange and the needs of industry. However, with the development of embedded technology and the great improvement of the embedded CPU performance, the function of the handheld device becomes more and more rich which continually meet the people's entertainment consumption and industrial demands. The Mobile Internet is the trend of the internet in the future. And now, more and more mobile devices integrate many functions such as conversation, messages, community news, webpage browsing, E-mail functionality and accessing to the Internet through wireless networks.
     At the present time, the demands of electric power in our country increase rapidly as well as the electrical equipments and power lines. Power lines and poles in the wild environment for long-term often encounter the damage to the natural calamities such as flood, earthquake, wild wind,strike of thunderbolt. If these facilities occur accident, they will bring the enterprise and people great loss. Therefore, regular inspection transmission equipment is particularly important.
     The inspection system researched in this thesis can read GPS data through the serial port and take pictures for the scenes and save them to the equipments. Besides, this paper has used the scheme of ASP+COM to achieve reading data in the long range, which improves efficiency of the equipment management in the Electric Power Departments.
     This specific research contents in this paper have some following aspects:
     1. This paper introduces the loading driven process of Windows CE6.0, architecture of the driven and development method of Windows CE6.0. And using Visual Studio2005develop the driver and application of Windows CE. This paper Uses Platform Builder to customize kernel and choose the components you want to recompile and download.
     2. This paper analyses the communication mechanism between the MDD layer and PDD layer and analyses the effects which the driven program of standard stream interfaces have on a layered driver through the study of architecture of serial port driver. This paper realizes the function of sending and receiving data and controlling the hardware of serial ports by a number of serial port functions.
     3. This paper using Visual Studio2005development platform designed Windows CE application layer interface, and the GPS data from the serial port is parsed and displayed.
     4. In order to achieve real-time to read the field data, this article using the scheme of the ASP+COM implemented long-range reading serial port data. This paper made an in-depth study of the transmission of commands and data among ASP page, COM control and the bottom driver. The attributes of Open、Port、BaudRate、DataBits、StopBits、Parity and method of Close were added for COM. In the function of open attribute, this paper calls OpenPort function in serial category in order to open the bottom serial driver program. Hence, we can obtain a serial GPS data and Whereafter, we checked the validity of GPS and parses out its latitude and longitude, which are packaged into a safe array for web calling. In the Internet, any remote client (PC) can read the serial port data of handheld devices and display them in the form of webpage.
     5. This paper researches the driver principle of Camera. The application achieve the functions of real-time video monitoring and capture image.
引文
[1]杨荣超.基于远程网络的掌上巡检及其管理模式研究.郑州:郑州大学,2007.
    [2]谭敦茂,贺贵明.巡检系统模型的研究与技术方案.系统建设,2003(1):17-20.
    [3]胡春雄,布春明,李海峰.智能巡检系统在线路运行中的应用.山西电力,2006,10(135):29-31.
    [4]王越.基于PDA的变电站实时巡检系统在成都双流的应用研究.重庆:重庆大学,2008.
    [5]况军,李志咏.新型智能化输电线路巡检系统的研发.重庆建筑大学学报,2006,2(1):139-142.
    [6]张波.智能巡检管理系统的设计与实现.沈阳:沈阳工业大学,2008.
    [7]崔豫平,姚兆民.变电设备智能巡检系统的开发与应用.山西电力,2006,10(135):35-37.
    [8]申晓留,雷琼,周长玉.变电站_发电厂设备巡检管理系统的发展.现代电力,2003,2(1):76-79.
    [9]蔡卫民ARM9+WinCE嵌入式图像采集系统开发技术研究与实现.学位论文.2009.
    [10]何宗键Windows CE嵌入式系统.北京:北京航空航天大学出版社,2006.
    [11]李大为Windows CE工程实践完全解析.北京:中国电力出版社,2008.
    [12]张冬泉,谭南林Windows CE实用开发技术(第2版).北京:电子工业出版社,2009.
    [13]微软Windows CE6.0操作系统驱动通用程序源代码.2006.11.
    [14]赵京生.城市燃气管网智能巡检系统的应用研究.煤气与热力,2008,1(1):1-5.
    [15]冯(Samuel Phung)(作者),张冬松(译)Windows CE 6.0嵌入式高级编程.北京:清华大学出版社,2009.
    [16]三星电子有限公司.S3C2440芯片手册http://www.samsungsemi.com,2004.
    [17]汪兵Windows CE嵌入式高级编程及其实例详解.北京:中国水利水电出版社,2008.
    [18]潘爱民.COM原理与应用.北京:清华大学出版社,1999.
    [19]余英,梁刚Visual C++实践与提高COM和COM+篇.北京:铁道出版社,2001.
    [20]广州致远电子有限公司.WEB串口远程控制编程示例.广州.2008
    [21]唐红亮,廖建华.ASP动态网页设计应用教程.北京:电子工业出版社,2005.
    [22]王振,崔桦.ASP动态网站建设.北京:国防工业出版社,2002.
    [23]唐红亮,廖建华.ASP动态网页设计应用教程.北京:电子工业出版社,2005.
    [24]广州天嵌计算机科技有限公司.天嵌科技出品--WinCE开发完全手册(V2.3)_20100125.广州:2010.1:194-210
    [25]郭传奇,王明渝.基于GPRS通信技术的电力巡检系统设计.自动化仪表,2007,7(7):39-42.
    [26]郑三力,张锦孚.基于GPS和单片机的智能线路巡检管理系统.电工技术杂志,2004,9:54-57.
    [27]黄伟,王晓莉,王典洪.ARM和GPRS的图像采集系统设计.机械与电子,2009(5):53-55.
    [28]刘甲玉,周鸣争,帅兵.基于S3C2440的图像采集与无线传输系统设计与实现.开发方案,2009,9:
    [29]候娟,王陆林,刘贵如.基于S3C2440和WINCE的无线视频监控系统的设计.计算机与信息技术,2007(22):54-55.
    [30]陈兵飞,吴烙佳.基于GPRS和ARM的嵌入式无线视频采集系统设计.南通职业大学学报:2009(9):81-83.
    [31]关学忠,李洪宇,李国盛.基于WinCE的ARM视频监控系统.应用天地,2006(12):55-57.
    [32]邹意然,王永威,赵龙.嵌入式系统中USB摄像头的图像采集.嵌入式系统应用,2010(26):24-28.
    [33]常慕,洪健,李钟慎.嵌入式机器视觉系统的图像采集及显示技术.自动化仪表,2010(31):16-22.
    [34]廖旭,张文晋.基于嵌入式Linux的视频图像采集与传输.嵌入式系统应用,2010(26):68-70.
    [35]熊迹,吕植勇,刘克中.基于GPRS和ARM的图像采集与控制系统的设计.机械与电子:2010(12)49-52.
    [36]汪晓斌.基于ARM7的图像数据采集系统的研究与应用.微计算机应用,2010(12):64-71.
    [37]魏银库.S3C2440的camera接口特性及WinCE下的驱动.单片机与嵌入式系统应用,2010(7):45-48.
    [38]俞翔,高明煜,何志伟. WinCE6_0的大容量NANDFlash驱动开发.杭州电子科技大学学报.
    [39]鲜于李可,潘永才,田茂WinCE系统下USB摄像头驱动程序开发的研究.科技信息,2009(15):55-56.
    [40]潘宁,杨丹,宋恩民WinCE下基于ARM的USB摄像头图像采集.图像处理,2008(24):272-273.
    [41]梁银丽,苏敏.基于ARM和WinCE的USB视频采集系统的设计.云南大学学报,2009(31):216-218.
    [42]杨会丽,庞志峰,高贵龙.基于WINCE的嵌入式图像处理系统.微计算机信息,2010(26):196-199.
    [43]胡建勇,高超.基于WinCE系统和GPRS的远程车载数据采集与监控系统.农业装备与车辆工程,2010(10):12-14.
    [44]张毅,王海涛.基于S3C2410A的WinCE5_0下触摸屏驱动的实现.重庆邮电大学,2008(20):742-745.
    [45]刘庆亮,刘建成WinCE下多线程串口通信在导航系统中的应用.软件导刊,2010(3):77-79.
    [46]李真芳,王书茂,赵建军.基于WINCE&S3C2410的多串口移植技术.微计算机信息,2008(24):120-122.
    [47]张飞.基于WinCE的大型触饭屏控制忿的设计与实现.
    [48]蔡卫明ARM9_WinCE嵌入式图像采集系统开发技术研究与实现.重庆:重庆大学,2009.
    [49]Jiang Min. A Design of Embedded Terminal Unit Based on ARM and Windows CE. The Eighth International Conference on Electronic Measurement and Instruments.2007,2:336-240.
    [50]Jianmin Duan, Fan Lin, Zhen Liu. Research of key technologies in a Windows CE-based monitoring and control system. IEEE,2008:494-496.
    [51]Wang Shi-Feng, Yang Chong-jun. design and implementation of PDA-based public transport system[J]. Computer Application.2007.1 280-282.
    [52]Wang Shi-Feng, Yang Chong-jun et al. PDA-based public transport system Design and implementation [J]. Computer Application,2007.1 280-282.
    [53]Hu Junhui, Wang Youzhao. Device driver development for embedded Windows CE. Computer Engineering, vol.32, no.16, pp.41-43, August 2006.
    [54]Lihua Song, Jingjing Wang, Yebai Li, Yang Jian. Research on high-resolution camera drivers based on Windows CE.2010 3rd International Conference on Advanced Computer Theory and Engineering(ICACTE). IEEE,2010 V2:412-415.
    [55]Zhou Niannian, Zhao Yuesong. Camera-driver Program based on Quick Capture Technology. Journal of Computer Applications, nol, pp.50-52,2005.
    [56]JIANG. Feng, Research on Operating System s Resource in Serial-Port s Communication. [J]Central South University,2006.11.
    [57]M. Marcu, D. Tudor, S. Fuicu. And H. Moldovan, A View on Mobile Terminal Power Efficiency of Wireless Communication[C]. IEEE Instrumentation and Measurement Technology Conference Proceedings, May.2008, pp.382-387.
    [58]M. Jiang, A Design of Embedded Terminal Unit Based on ARM and Windows CE[C]. In Proc. of 8th International Conference on Electronic Measurement and Instruments, Aug.2007, pp.336-340.

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

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

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