- 1、本文档共72页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计-云台控制器的软件设计
摘 要
近年来,视频监控得到了迅速发展,其应用范围越来越广。为扩大监控范围,改善监控视野,可以借助于云台,即把摄像机装在云台上,通过云台转动带动摄像机旋转,同时可以控制摄像机镜头的参数。云台在监控系统中起着关键的作用,它直接反映监控系统的监控指标。
本文设计了一种基于AT89C52单片机的电动云台控制器。该控制器能够接收控制台的控制命令,控制云台的垂直运动和水平运动,以及摄像机的聚焦/散焦,变倍近远、光圈变力小,以调整摄像机的视野.
本文在介绍课题的应用背景的基础上,重点分析了云台所具备的功能,并针对这些功能提出了本设计的实现方案。在软件程序设计中,简要介绍了串行通讯的基本知识和详细说明了应用于云台中的通讯协议PELCO-D和PELCO-P等协议,并在此基础上设计了各部分的软件流程图。最后阐述了本设计所采用的有关软件可靠性方面的措施。
通过调试、系统的实际运行,验证了本设计运行稳定,实现了云台的上下左右旋转,实现了对镜头聚焦、变倍、光圈的控制。达到了预期的应用目标。
关键词:云台,协议,监控系统解码器ABSTRASCT
In recent years, the development of video surveillance is rapid, the range of applications become wide. In order to expand the scope of monitoring and improve the monitoring of vision, The pan/tilt/zoom (PTZ) can be used, which means to put a camera on a PTZ and to control the PTZ camera rotating. At the same time, the parameters of the camera lens can be controlled. The PTZ play a key role in the monitoring system, it reflects the performance of monitoring system.
In this paper, a controller for electric PTZ, which is based on microcomputer AT89C52 and applied in explosion-proof PTZ system, has been designed. It can receive commands from the controller, which control the PTZ motion, the camera, NEAR/FAR, TELE/WIDE, Close/Open. The parameters of the camera can be saved in memory.
First of all, the background of the subject, the classification of PTZ and the development of PTZ Controller are introduced. The functions of PTZ are analyzed. A program for these functions is proposed. Secondly, the entire process in detail about software is described. In the process of software design, the basic concepts of serial communication and both the PELCO-D and PELCO-P protocol are introduced. The main software programs and subroutine are finished. Finally, the reliability design about software is described.
Through the actual running of the system, it is proofed that the system runs stable. The PTZ rotating and the parameters of the camera lens and Preset function can be controlled. The goal of the expected is achieved.
文档评论(0)