The Development and Application of USB Function in the Handheld Digital Storage

Author
WangLingYan
Advisor
GongYueLing
School
Wuhan University of Technology
Major
Power Electronics and Power Drives
Classification
TM935.37 Digital oscilloscope
Degree
Master's thesis
Year
2012
Downloads
139
Citations
0

Request the full text

Abstract

The handheld digital storage oscilloscope is widely used in field maintenance, installation and operation monitoring and so on in industrial and electronic field. In order to facilitate communication with the computer and the peripheral equipment, the communication interface of handheld digital storage oscilloscope is a key link to extern its function.Based on the USB OTG technology, the realization of the interface communication on handheld oscilloscope has gradually become a hot spot of the oscilloscope interface applications.Traditional oscilloscope adopting micro controller to control the special chip USB realizes USB interface communication, additional USB chip will increase the volume of oscilloscope, In the design of the DSO system, select microcontroller STM32F107VC which integrated USB OTG controller to realize the USB OTG interface communication, simplified the hardware structure of handheld digital storage oscilloscope, stand out the portable characteristic of handheld oscilloscope. At the same time, The ST company also offers firmware library of the series of STM chip, improve the efficiency of software development in DSO system. Combined with the chip of STM32F107VC, making for handheld oscilloscope more practical, easier to operate, chose μ C/OS-II operating system and embedded μC/GUI. The technology proposal that applied STM32F107VC+μ C/OS-II+μ C/GUI in this paper mainly make a further study to realize the function of handheld USB OTG oscilloscope interface communication and man-machine interaction.The realization of USB host interface communication in DSO system is the key point and the difficulty in this paper. In order to achieve the goal--he communication between oscilloscope and USB flash disk, design OTG function module and display module on hardware platform, study the enumeration of USB flash disk, the design of mass storage device driver and the load of file system in software. Development of host package provides a reference for embedded USB host’s development and transplant. At the same time, design the Device equipment firmware program and develop Device package from USB Device interface communication in the DSO system. In order to verify the realization of USB OTG interface communication in DSO system, developing the interface and menu of the DSO system and drawing the waveform curves. And then, debug the hardware and software of Host module, Device module based on the USB OTG function and display module in DSO system, then reach the experimental result.The experimental results:when DSO is host, it realizes the waveform curves and interface transmission between the USB flash disk and oscilloscope; when it is Device, the PC can identify DSO equipment. In the USB OTG interface, it can realize the Host function and Device function of the handheld digital storage oscilloscope, achieve the purpose of the digital storage oscilloscope’s miniaturization and multi function.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-14 1.1 Introduction 9-10 <br / > 1.2 research purpose and meaning domestic and foreign research status quo 1.3 10-11 11-12 1.4 The main contents of this thesis 12-14 <br / > Chapter 2 USB OTG systems and communication protocols 14-23 2.1 USB system Architecture 14-17 2.1.1 USB host 15-16 2.1.2 USB hub 16 2.1.3 USB devices 16-17 2.2 USB2.0 communication protocol 17-21 2.2 .1 USB affairs 18-19 2.2.2 USB data transfer 19-21 2.3 USB OTG protocol 21-22 2.3.1 host exchange protocol (HNP) 21-22 2.3.2 Session Request Protocol (SRP) 22 2.4 Summary 22-23 Article Chapter 3 system solutions and hardware design 23-33 3.1 overall system design 23-27 3.1.1 core devices introduce 24-26 <br / > Introduction 3.1.2 embedded operating system 26 3.1.3 system hardware overall framework 26-27 3.2 host controller and peripheral circuits 27 - 29 3.3 USB OTG function module design 29-30 3.4 LCD module design 30-32 3.4.1 LCD interface circuit 31 3.4.2 touch screen interface circuit 31-32 3.5 Summary on 32-33 Chapter 4 of the DSO system USB OTG software Design 33 - 56 4.1 USB OTG software Design 33-36 4.2 USB host software design 36-48 4.2.1 mass storage device enumeration 37 -41 4.2.2 mass storage device driver 41-45 4.2.3 FAT file system 45-48 4.3 USB from computer software design 48-55 4.3.1 slave mode initialization 49-51 4.3.2 USB device firmware design 51-55 4.4 Summary 55-56 Chapter 5 display Module software design 56-68 5.1 μC/OS- Ⅱ device driver design 56-61 5.1.1 LCD driver design 57-59 5.1.2 touchscreen driver design 59-61 5.2 application design 61-67 5.2.1 μC / GUI transplantation of 62-66 5.2.2 LCD touch screen curve display program designed 66 5.2.3 DSO interface and menu program development 66-67 5.3 Summary 67-68 Chapter 6, system debugging and results 68-74 6.1 hardware debug 68 -69 6.2 software debugging and results 69-74 6.2.1 USB OTG function software debugging 69-70 6.2.2 DSO interface and menu development software debugging FBI nbsp 70-72 6.2.3 DSO system ; 72-74 Chapter 7 summary and Outlook 74-76 reference literature 76-79 published during the author 's academic master's degree 79-80 Thanks 80

Related dissertations

  1. Research and Design of a Smart Yield Meter Based on ARM Processor and UCOS-Ⅱ Operating System
  2. The design based on the ultrasonic leak detector
  3. Intelligent Control System of Multi-robot Based on Visual Presen-tation
    TianXiangZhang ·Northeastern University ·2010 ·Master's thesis
  4. Research on Key Technologies of Internet-based Telerobot Control System
    LiDongJie ·Harbin University of Science and Technology ·2009 ·Doctoral dissertation
  5. The Key Technology Research and Implementation of Distributed Virtual Assembly Based on HLA
    WangHuaJiang ·Ocean University of China ·2012 ·Master's thesis
  6. The Design and Implementation of Intelligen Software Control System in Pheumatic Marking System
    XuYongChang ·Shandong University ·2012 ·Master's thesis
  7. Research and design of humanization in old mobile phone
  8. The Research and Realization of the Embedded Home Gateway
  9. With built-in signal source on the oscilloscope System FRA
  10. Operating System Cutting and Data Interface Design of Android Oscilloscope
    SuiPengTao ·Harbin Institute of Technology ·2013 ·Master's thesis
  11. Hardware Design of Andriod Oscilloscope Based on S5PV210
    JiangTieCheng ·Harbin Institute of Technology ·2013 ·Master's thesis
  12. 2GSa/s Mixed Signal Analyzer Oscilloscope Module Design and Implementation
  13. The Design of Wireless Virtual Oscilloscope Based on the Android Platform
  14. A miniature low power USB oscilloscope module hardware design
  15. LXI oscilloscope module hardware design 5GSPS
  16. Optimal Design for Transformer in Wind Power Plant
    LiChangBo ·Hebei University of Technology ·2012 ·Master's thesis
  17. Investigating the Scintillation Properties of New SrI2:Eu and Doping ZnS (Ag) Liquid Scintillation Scintillators
    HuangGuoRui ·Guangxi University ·2013 ·Master's thesis
  18. Research on Man-Machine Interaction Technology for Virtual Assembly System of Large-Scale Products
    LiuGuoHua ·Harbin Institute of Technology ·2006 ·Doctoral dissertation
  19. Inverse Perturbation Method and Human-Computer Interactive Annealing Genetic Algorithm and Their Applications
    MiaoYuBin ·Dalian University of Technology ·2001 ·Doctoral dissertation
  20. Dynamic Virtual Study on the Scene of Fully Mechanized Mining Face and the Collapse of Overlying Strata
    LiJianZhong ·Taiyuan University of Technology ·2010 ·Doctoral dissertation