Resarch on Online CCD Caliper Measure System Based on ARM

Author
WangBinBo
Advisor
WangTao
School
Chongqing University
Major
Optical Engineering
Classification
TP274 Data processing, data processing system
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

As the rapid development of modern industry, and in the process of industrialproduction(especially in the process of steel and wire), according to the tranditionalmeasure tools, the requirement for dimension measurement has produced many higherdemands. The traditional size measuring using measuring tools, such as ruler, verniercaliper and spiral micrometer gauge. But, modern industry requires non-contact, highprecision measurement. The traditional measurement tools can’t meet theserequirements. The ARM processor(STM32F103) was used as the main processor in thispaper to achieve the design of CCD online diameter measurement system. In the system,USB communication was taken as the communication method to communicate withupper machine, with the aid of CCD image sensor, and combined with the necessaryoptical system, and by identifying the size of object imaging CCD image sensor, youcan measure the size of the object according to the magnification of the optical system,to achieve the goal of non-contact and high precision and automatic measurement ofworkpiece diameter in industrial production. According to the traditional serialcommunication, the communication rate of USB communication mode used in thissystem was greatly improved. The main work of this paper is as follows:1. Design a diameter measurement system based on linear CCD image sensordevice. In the system, TCD1206was used as the CCD image sensor. Design the lightpath, and choose appropriate optical devices to construct the light path.2. According to the requirement of CCD image sensor, utilize the internal timer ofARM processor to implement the CCD driving.3. Use AD8031and low-pass filter electric circuit for CCD output signaldifferential amplifier and low-pass filter respectively, and adopts MAX153chip for A/Dconversion, utilize the internal SRAM of ARM processor storage the transformationresults.4. Careful study the USB bus communication principle, utilize the internal USBfunction of ARM processor to develop USB data transmission module, and transmit theCCD video data after A/D conversion to upper machine through USB bus.5. Research the USB driver development plan and the PC software development,and select Libusb-win32as the USB driver development plan. Select Qt libraries todevelop GUI interface, using OpenCV image processing library for CCD image signal processing.6. The thesis has carried on the two parts of hardware and software development,implement the design of CCD driving timing and USB data transmission, processed thePC application program design and development, the function of application programincluding the linear CCD image display and the CCD image signal processing.

Table of contents

Summary 3-4 ABSTRACT 4-9 1 Introduction 9-14 1.1 subject background 9-10 <br / > 1.2 Research purpose and significance of Status 1.3 development abroad gauge 10-11 main work 11-12 1.4 of this paper 12 - 13 1.5 Summary 13-14 2 linear CCD diameter measurement system design 14-28 2.1 caliper system device designed 14 -15 2.1.1 caliper device system design 14 2.1.2 caliper device data acquisition system design 14-15 2.2 CCD Fundamentals 15-22 2.2.1 CCD basic structure 15-19 2.2.2 CCD works 19-20 2.2.3 CCD characteristics 20-22 2.3 linear CCD selection 22-24 2.3.1 TCD1206 features 22 2.3.2 TCD1206 works 22-24 2.4 master chip selection 24-26 2.4.1 Cortex-M3 architecture features 25-26 2.4.2 STM32F103RB characteristics 26 2.5 optical system design 26-27 2.5.1 optics select 26 2.5.2 optical structures 26 - 27 2.6 Summary 27-28 timing 3 TCD1206 drive circuit design 28-37 3.1 TCD1206 driving pulse requirements 28-29 3.2 driver design 29-34 3.2.1 CCD image sensors of various drive mode Introduction 29-30 3.2.2 of TCD1206 drive solutions based STM32F103 30-34 3.3 CCD drive design results 34-36 3.4 Summary 36-37 4 data acquisition and signal processing 37-42 4.1 CCD signal preprocessing 37-38 4.1.1 differential amplifier 37-38 4.1.2 lowpass filtering 38 4.2 A / D conversion 38-40 4.2.1 MAX153 features 39 works 4.2.2 MAX153 's 39 -40 4.2.3 MAX153 in caliper system 40 4.3 data storage 40-41 4.4 Summary 41-42 5 USB data transmission system design 42-51 5.1 USB communication theory 43-45 5.1.1 USB architecture 43-44 5.1.2 USB data transfer mode 44-45 5.2 STM32F103 USB communication module 45-48 5.2.1 USB module Overview 45 5.2.2 Universal USB device programming 45-46 5.2.3 STM32 's USB library 46-48 5.3 USB communication design and implementation 48 -50 5.3.1 USB device initialization 48-49 5.3.2 USB device configuration 49 5.3.3 USB device data transmission 49 -50 5.4 Summary 50-51 6 PC software development 51-63 6.1 C-based PC GUI development programs 51 -52 6.1.1 MFC Profile 51 6.1.2 wxWidgets About 51 6.1.3 Qt Profile 51-52 6.2 system software development solutions - Qt library 52-55 6.2.1 Qt library architecture 52 6.2.2 Qt features 52-54 6.2.3 Qt Creator development environment 54 6.2.4 Qt Creator compilation environment 54-55 6.3 USB driver development 55-59 <br / > 6.3.1 Libusb-win32 Overview 55-56 6.3.2 Libusb-win32 library introduced 56-58 6.3.3 Libusb-win32 -driven development 58-59 6.3.4 USB communication function test 59 6.4 overall software design 59-62 6.4.1 software interface 59 - 60 6.4.2 CCD image sensor image rendering 60 6.4.3 multi-threaded data acquisition 60-61 6.4.4 image filtering 61 -62 6.4.5 edge Detection 62 6.4.6 other features 62 6.5 Summary 62-63 7 summary and Outlook 63-64 7.1 study concluded 63 7.2 Prospect 63-64 Thanks 64-65 <br / > References 65-67 Appendix 67

Related dissertations

  1. Design of Mobile Welding Platform Based on Multi-Sensor
    LiuPei ·Nanchang University ·2013 ·Master's thesis
  2. The Design and Research of Stand-alone Embedded Motion Controller Based on STM32and FreeRTOS
  3. Study on Image Chromaticity Sensor
    YanFuCai ·Zhejiang University ·2013 ·Master's thesis
  4. Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
    XingYan ·Jilin University ·2012 ·Master's thesis
  5. Design of Data Sampling System Based on USB and Ethernet
    JingLei ·West China University ·2008 ·Master's thesis
  6. The Research of Real-Time Detection System Based on Linear Image Sensor
    ShiCheng ·Wuhan University of Technology ·2007 ·Master's thesis
  7. Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
  8. Design of Industrial Equipment State Wireless Monitoring System Based on STM32
    ZhangDongSheng ·Dalian University of Technology ·2013 ·Master's thesis
  9. Design and Implementation of Monitoring System for Lamination Based on PLC and Qt
  10. Embedded Software Design of AC Field Detection Instrument Based on ARM
  11. Surface Defect Detection Based on Laser Scanning Technology for Continuous Casting Slab
    Yang ·Zhejiang University of Technology ·2012 ·Master's thesis
  12. The Design of Data Monitoring and Control System Based on USB and Lab VIEW
  13. Research on Techniques of Network Topologyandad Hoc Network in Cold Chain Transportation Monitoring System
    HanZuo ·Hebei University of Technology ·2013 ·Master's thesis
  14. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  15. Based on the Psd and the Size of Ccd Laser Detection System Design
  16. Usb Without Invasive Data Collection Technology Research
  17. The Research and Design of Infrared Sensor Monitoring System Based on STM32
    WangHuaJie ·Hunan University ·2013 ·Master's thesis
  18. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  19. High-precision In-pipeline Temperature Measurement System Based on STM32
    ShiWeiMing ·Dalian Jiaotong University ·2013 ·Master's thesis
  20. Design and Implementation of a Cooler of Data Acquisition and Control System Based on STM32
    SongYuanZong ·Dalian University of Technology ·2013 ·Master's thesis