A Study of the High Performance Software Architecture of the USB Industrial Camera in Linux Operation System

Author
HeShan
Advisor
XiangJianYong
School
Xi'an University of Electronic Science and Technology
Major
Physical Electronics
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2008
Downloads
147
Citations
1

Request the full text

Abstract

The industrial camera is one of the key components in the machine vision system. Only a few domestic companies have the ability to develop their products independently. So the applications of homemade cameras are constrained due to the poor technology both in software and hardware.Most of the domestic industrial cameras have software issues as follows: 1) lacking support in Linux operation system; 2) the performance is not so good for the defective software architecture. Since the USB industrial camera is very popular in China, a kernel device driver for a USB industrial camera in Linux is designed and coded in this paper. Based on the analysis of the common software architecture, a high performance software architecture using the technology of Zero-Copy and buffer pool is proposed and realized.The result shows that the technology of Zero-Copy can lower the CPU load and the technology of buffer pool can improve the parallelism of the software. As a result, the software performance of the industrial camera is obviously enhanced.

Table of contents

Abstract 3-4 Abstract 4-7 Chapter 1 Introduction 7-15 1.1 Introduction 7-8 1.2 digital camera and analog camera 8-9 1.3 digital camera interface 9-10 1.4 industrial camera software 10-11 the characteristics of the 1.5 industrial camera software 11-12 1.6 development status at home and abroad 12-13 1.7 this study topics of significance and main content 13-15 Chapter 2 high-speed USB industrial cameras 15-25 2.1 USB device foundation 15-19 2.1.1 USB system constitutes 15-16 2.1.2 USB logical device architecture 16-18 2.1.3 USB data transfer types 18 2.1.4 USB data transfer model 18-19 2.2 Hi-Speed ??USB industrial camera system structure 19-20 2.3 Hi-Speed ??USB industrial camera software 20-23 2.3.1 industrial camera software structure 20-21 2.3.2 industrial camera software features 21-23 2.4 This chapter Summary 23-25 USB industrial camera drivers under LINUX Chapter 3 25-43 3.1 LINUX Device Manager 25-29 3.1.1 Linux device management model 25-26 3.1.2 unified device model implementations 26-28 3.1.3 unified device access interface 28-29 3.2 LINUX kernel layer device driver 29-31 3.2.1 Linux kernel layer device driver Overview 29 3.2.2 based device drivers nbsp module; 29-30 3.2.3 modules written 30-31 3.3 LINUX operating system USB industrial camera driver 31-40 3.3.1 USB Industrial Camera Driver Overview 31-32 3.3.2 driver function 32 the data objects in the 3.3.3 drivers 32-33 3.3.4 driver initialization function and uninstall function 33-35 3.3.5 device detection function and disconnect function 35-37 3.3.6 device open function on and off function 37-38 3.3.7 devices function control function 38-40 3.4 This chapter Summary 40-43 Chapter 4 the industrial camera efficient software architecture design 43-57 4.1 industrial camera software architecture machine vision system performance 43-44 4.2 industrial camera software architecture performance analysis 44-50 the of 4.2.1 early industrial camera software architecture 44-45 4.2.2 software architecture of the introduction of the double-buffer mechanism 45-46 4.2.3 of the software architecture exists 46-50 the a 4.3 efficient industrial camera software architecture 50-55 4.3.1 zero-copy technology in the the industrial camera software implementations 50-52 the a 4.3.2 multibuffer mechanisms industrial camera software application 52-54 4.3.3 the efficient industrial camera software architecture 54-55 4.4 This chapter Summary 55-57 Chapter 5 USB industrial camera driver test 57-67 5.1 test environment 57 5.2 driver function test 57-60 5.3 drive program performance test 60-64 5.4 This chapter Summary 64-67 Chapter 6 Summary and Outlook 67-69 6.1 summarizes 67-68 6.2 Looking 68-69 Acknowledgements 69-70 the References 70-72 read during research 72-73

Related dissertations

  1. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis
  2. The Designand Implement of Fingerprint Access Controlsystem Based on ARM and Linux
    ShiWeiMing ·Zhejiang University of Technology ·2012 ·Master's thesis
  3. The Research and Development of the USB Color Linear Array CCD Cameras
    HongBingXin ·Huaqiao University ·2012 ·Master's thesis
  4. Design and Implementation of Driver Module Based on Android System
    WeiDeQiong ·Harbin Institute of Technology ·2013 ·Master's thesis
  5. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  6. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  7. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  8. The Research of Household Remote Monitoring Based on Embedded Web Server
  9. Research and Design of Intelligent Video Surveillance System Based on ARM
  10. Design of Video Monitoring System Based on the Embedded
  11. The Design of Embedded Network Video Surveillance System Based on ARM9
  12. Design and Application of the Distributed Monitoring System Based on Embedded Web
  13. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  14. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  15. Embedded Software Design of AC Field Detection Instrument Based on ARM
  16. The Construction Research of Surface Defects Inspecting System for Small Pipes
    HanWenQiang ·Tianjin University ·2012 ·Master's thesis
  17. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  18. Usb Without Invasive Data Collection Technology Research
  19. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  20. Research on Surface Defects Visual Inspection System for Metal Components
    NieZhenYu ·Central South University ·2013 ·Master's thesis