手持式數(shù)字存儲示波器的USB功能開發(fā)與應用
發(fā)布時間:2018-04-26 06:34
本文選題:示波器 + STM32F107; 參考:《武漢理工大學》2012年碩士論文
【摘要】:手持數(shù)字存儲示波器在工業(yè)、電子領域的現(xiàn)場維修、安裝和運行監(jiān)測的應用越來越廣泛,為了方便與計算機、外圍設備進行通信,手持式數(shù)字存儲示波器的接口通信成為擴展其功能的關鍵環(huán)節(jié)。基于USB OTG技術的手持式示波器接口通信已逐漸成為當今手持式示波器接口應用研究的一個熱點。 傳統(tǒng)示波器USB接口通信采用微控制器控制USB專用芯片來實現(xiàn),外加的USB芯片會增加示波器的體積,在本文DSO系統(tǒng)設計中選用了集成USB OTG控制器的微控制器STM32F107VC來實現(xiàn)USB OTG的接口通信,簡化手持示波器的硬件結(jié)構,突出手持示波器便攜的特點。同時STM系列芯片的固件庫,提高DSO系統(tǒng)軟件開發(fā)的效率。結(jié)合STM32F107VC芯片,為使手持式示波器更加實用,更易于操作,選擇了μC/OS-Ⅱ操作系統(tǒng)和嵌入應用的圖形支持軟件μC/GUI。本文應用STM32F107VC+μC/OS-II+μC/GUI的技術方案主要對手持示波器USB OTG接口通信和人機交互功能的實現(xiàn)做了深入研究。 在DSO系統(tǒng)上USB主機接口通信實現(xiàn)是本文研究的重點也是難點,以實現(xiàn)示波器和U盤通信為目標,在硬件上設計OTG功能模塊和顯示模塊,在軟件上研究了U盤的枚舉、大容量存儲類設備驅(qū)動的設計、文件系統(tǒng)的加載。開發(fā)的主機程序包為從事嵌入式USB主機開發(fā)移植提供了借鑒。同時在DSO系統(tǒng)的USB從機接口通信中設計了從機設備固件程序,開發(fā)了從機軟件包。 為驗證DSO系統(tǒng)USB OTG接口通信的實現(xiàn),對DSO系統(tǒng)顯示的界面和菜單進行了開發(fā)以及波形曲線進行了繪制,并在此基礎上,進行了DSO系統(tǒng)上的USB OTG功能設計的HOST模塊、DEVICE模塊和顯示模塊的軟硬件部分的調(diào)試,得出了實驗結(jié)果。 實驗結(jié)果:DSO作為主機時,實現(xiàn)了U盤與示波器的波形和界面?zhèn)鬏;作為從機時,在PC機上能識別DSO設備。在USB OTG口上,實現(xiàn)了手持式數(shù)字存儲示波器的HOST功能和DEVICE功能,進而實現(xiàn)了數(shù)字存儲示波器微型化和多功能化的目的。
[Abstract]:Hand-held digital storage oscilloscopes are more and more widely used in field maintenance, installation and operation monitoring in the industrial and electronic fields. In order to facilitate communication with computers and peripherals, The interface communication of hand-held digital storage oscilloscope becomes the key link to extend its function. The communication of hand-held oscilloscope interface based on USB OTG technology has gradually become a hot spot in the application research of hand-held oscilloscope interface. The traditional oscilloscope USB interface communication uses the microcontroller control USB special chip to realize, the additional USB chip will increase the oscilloscope volume, In the design of DSO system, a microcontroller STM32F107VC integrated with USB OTG controller is used to realize the interface communication of USB OTG, which simplifies the hardware structure of the hand-held oscilloscope and highlights the portable characteristic of the hand-held oscilloscope. At the same time, the firmware library of STM series chips improves the efficiency of DSO system software development. Combined with STM32F107VC chip, in order to make the hand-held oscilloscope more practical and easy to operate, the 渭 C / OS- 鈪,
本文編號:1804921
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1804921.html
最近更新
教材專著