基于ONVIF協(xié)議的云臺(tái)控制網(wǎng)絡(luò)監(jiān)控系統(tǒng)
本文選題:云臺(tái)控制 切入點(diǎn):STM32 出處:《西安工程大學(xué)》2016年碩士論文
【摘要】:隨著視頻監(jiān)控技術(shù)的發(fā)展,具有代表性的高速球型網(wǎng)絡(luò)攝像機(jī)的研究,是市場關(guān)注的焦點(diǎn)。該類型的高速球機(jī)通過云臺(tái)轉(zhuǎn)動(dòng)改變攝像機(jī)的角度位置,達(dá)到擴(kuò)大監(jiān)視范圍的用途,云臺(tái)在監(jiān)控系統(tǒng)中起著重要的作用。但是由于不同品牌設(shè)備的接口不統(tǒng)一,造成網(wǎng)絡(luò)視頻監(jiān)控市場一直缺乏開放性,需要解決云臺(tái)控制系統(tǒng)與網(wǎng)絡(luò)攝像機(jī)的接口通信問題。因此,本文在開放型網(wǎng)絡(luò)視頻接口標(biāo)準(zhǔn)ONVIF的研究基礎(chǔ)之上,完成了云臺(tái)控制網(wǎng)絡(luò)監(jiān)控系統(tǒng)的設(shè)計(jì),能與支持ONVIF協(xié)議的網(wǎng)絡(luò)攝像機(jī)通信,實(shí)現(xiàn)了網(wǎng)絡(luò)監(jiān)控的“標(biāo)準(zhǔn)統(tǒng)一、互聯(lián)互通”。本文首先研究分析云臺(tái)的工作原理和ONVIF標(biāo)準(zhǔn)接口PTZ控制的整體架構(gòu),然后對基于ONVIF協(xié)議的云臺(tái)控制網(wǎng)絡(luò)監(jiān)控系統(tǒng)的功能實(shí)現(xiàn)進(jìn)行研究設(shè)計(jì)。硬件方面,互聯(lián)型微控制器STM32F107作為核心,主要完成步進(jìn)電機(jī)驅(qū)動(dòng)模塊的設(shè)計(jì),采用PWM實(shí)現(xiàn)DAC轉(zhuǎn)換控制電壓細(xì)分,保證電機(jī)平穩(wěn)轉(zhuǎn)動(dòng)。重點(diǎn)設(shè)計(jì)以太網(wǎng)控制模塊,采用STM32外接網(wǎng)絡(luò)物理層PHY芯片的方法實(shí)現(xiàn)網(wǎng)絡(luò)接口功能,通過交換機(jī)和隔離變壓器完成系統(tǒng)內(nèi)部網(wǎng)絡(luò)連接,保證云臺(tái)能夠監(jiān)聽ONVIF協(xié)議PTZ控制數(shù)據(jù)包。軟件方面,Free RTOS作為軟件運(yùn)行的平臺(tái),將應(yīng)用程序劃分為多個(gè)重要性不同的任務(wù),提高了系統(tǒng)的實(shí)時(shí)性;網(wǎng)絡(luò)協(xié)議棧Lw IP提供網(wǎng)絡(luò)服務(wù)功能,實(shí)現(xiàn)了ONVIF網(wǎng)絡(luò)命令的傳送解析。主要完成電機(jī)控制模塊程序開發(fā),采用定時(shí)器觸發(fā)的方式實(shí)現(xiàn)PWM波形,查表法改變PWM的占空比,實(shí)現(xiàn)了步進(jìn)電機(jī)的細(xì)分轉(zhuǎn)動(dòng)。重點(diǎn)完成ONVIF協(xié)議PTZ命令解析,采用字符串搜索的方法,獲得相應(yīng)的控制命令和參數(shù),實(shí)現(xiàn)了云臺(tái)監(jiān)聽客戶端發(fā)送給ONVIF網(wǎng)絡(luò)攝像機(jī)的PTZ數(shù)據(jù)包,STM32處理命令并驅(qū)動(dòng)步進(jìn)電機(jī)轉(zhuǎn)動(dòng)的功能。最后將云臺(tái)控制系統(tǒng)與ONVIF網(wǎng)絡(luò)攝像機(jī)進(jìn)行聯(lián)機(jī)測試,調(diào)試結(jié)果表明,本文設(shè)計(jì)的云臺(tái)控制系統(tǒng)能通過網(wǎng)絡(luò)進(jìn)行遠(yuǎn)程訪問,達(dá)到了云臺(tái)控制的接口通信要求,調(diào)整云臺(tái)的旋轉(zhuǎn)從而改變攝像機(jī)的角度位置,實(shí)現(xiàn)了實(shí)時(shí)性全方位精確定位。
[Abstract]:With the development of video surveillance technology, the research of the representative high-speed spherical network camera is the focus of market attention. This type of high-speed ball machine changes the angle position of the camera through the rotation of the cloud head, and achieves the purpose of expanding the scope of surveillance. Cloud head plays an important role in the monitoring system. However, because the interface of different brand equipment is not uniform, the network video surveillance market has been lack of openness. It is necessary to solve the problem of interface communication between the control system of cloud head and the network camera. Therefore, based on the research of the open network video interface standard ONVIF, the design of the control network monitoring system of cloud head is completed in this paper. It can communicate with the network camera which supports ONVIF protocol, and realize the "standard unification, interconnection" of network monitoring. Firstly, this paper studies and analyzes the working principle of cloud head and the whole structure of PTZ control of ONVIF standard interface. Then the function realization of the cloud head control network monitoring system based on ONVIF protocol is studied and designed. In the hardware aspect, the interconnect microcontroller STM32F107 is the core, which mainly completes the design of the stepper motor driving module. PWM is used to realize the subdivision of DAC conversion control voltage to ensure the smooth rotation of the motor. The Ethernet control module is designed emphatically, and the network interface function is realized by using the STM32 external network physical layer PHY chip. Through the switch and isolation transformer to complete the system internal network connection, ensure that the cloud head can monitor the ONVIF protocol PTZ control data packet. As the software running platform, the application program is divided into many tasks of different importance. The network protocol stack Lw IP provides network service function, realizes the transmission and analysis of ONVIF network command, mainly completes the development of motor control module program, and realizes the PWM waveform by timer trigger. The look-up table method changes the duty cycle of PWM and realizes the subdivision rotation of step motor. The analysis of PTZ command of ONVIF protocol is carried out emphatically, and the corresponding control commands and parameters are obtained by using the method of string search. The function of PTZ packet STM32, which is sent to ONVIF network camera by monitoring client, is realized. Finally, the control system of cloud head is tested online with ONVIF network camera, and the debugging results show that, The control system of the cloud head designed in this paper can be accessed remotely through the network, which meets the communication requirements of the interface of the cloud head control, adjusts the rotation of the cloud head to change the angle position of the camera, and realizes the real-time and accurate positioning.
【學(xué)位授予單位】:西安工程大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號(hào)】:TP393.06
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 羅正華;陳紹祥;傅勇;孟源;;基于ONVIF標(biāo)準(zhǔn)的視頻監(jiān)控技術(shù)研究[J];成都大學(xué)學(xué)報(bào)(自然科學(xué)版);2013年04期
2 曹彬乾;程遠(yuǎn)增;孫書鷹;張佩超;;基于STM32步進(jìn)電機(jī)多細(xì)分控制的設(shè)計(jì)[J];科學(xué)技術(shù)與工程;2013年23期
3 黃瑾;洪麗娟;;ONVIF和PSIA——網(wǎng)絡(luò)視頻監(jiān)控標(biāo)準(zhǔn)淺析[J];電視技術(shù);2013年01期
4 張龍彪;張果;王劍平;王剛;;嵌入式操作系統(tǒng)FreeRTOS的原理與移植實(shí)現(xiàn)[J];信息技術(shù);2012年11期
5 郝小江;黃昆;;基于FPGA的步進(jìn)電機(jī)控制設(shè)計(jì)[J];儀表技術(shù);2011年09期
6 孟繁明;;基于CPLD和PWM技術(shù)的信號(hào)發(fā)生器設(shè)計(jì)[J];黑龍江交通科技;2011年06期
7 莊志紅;伍峰;;基于ARM微控器LPC2132嵌入式球機(jī)控制系統(tǒng)設(shè)計(jì)[J];制造業(yè)自動(dòng)化;2010年11期
8 黃松柏;;步進(jìn)電機(jī)在經(jīng)濟(jì)型數(shù)控機(jī)床中的應(yīng)用[J];自動(dòng)化技術(shù)與應(yīng)用;2010年08期
9 張永德;白碩;;基于PROFINET的開放式以太網(wǎng)控制器的設(shè)計(jì)[J];計(jì)算機(jī)工程與設(shè)計(jì);2010年07期
10 趙金龍;;基于ATmega128L的安防智能高速球攝像機(jī)設(shè)計(jì)[J];中國新技術(shù)新產(chǎn)品;2010年05期
相關(guān)碩士學(xué)位論文 前10條
1 祝慶峰;基于STM32的嵌入式網(wǎng)絡(luò)控制器設(shè)計(jì)[D];哈爾濱理工大學(xué);2014年
2 余曉光;基于實(shí)時(shí)操作系統(tǒng)FreeRTOS的Lwip協(xié)議的移植研究[D];昆明理工大學(xué);2013年
3 馬宇昌;網(wǎng)絡(luò)攝像機(jī)應(yīng)用接口的研究與實(shí)現(xiàn)[D];南京郵電大學(xué);2013年
4 秦忠凱;基于ARM的云臺(tái)控制網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)[D];太原科技大學(xué);2012年
5 程小艷;嵌入式STM32F107VCT6微處理器接口模塊開發(fā)及應(yīng)用研究[D];合肥工業(yè)大學(xué);2012年
6 郭秋鑒;基于網(wǎng)絡(luò)的攝像頭云臺(tái)控制系統(tǒng)[D];西安工業(yè)大學(xué);2011年
7 王穎;通信網(wǎng)機(jī)房中“寬視界”視頻監(jiān)控的技術(shù)研究[D];南京理工大學(xué);2011年
8 潘晶晶;網(wǎng)絡(luò)視頻實(shí)時(shí)監(jiān)控系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2010年
9 任廣振;基于ARM的嵌入式高速智能球機(jī)的設(shè)計(jì)與開發(fā)[D];南京林業(yè)大學(xué);2009年
10 梁曉明;基于嵌入式系統(tǒng)的高速數(shù)據(jù)采集的平臺(tái)研究[D];長安大學(xué);2009年
,本文編號(hào):1700352
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1700352.html