Research and Design of Smart photoresistor detection device

Author
QiaoJianLiang
Advisor
ZhangZhongXiong
School
Nanjing University of Technology and Engineering
Major
Communication and Information System
Classification
TM934.1 Resistance measurement and instrumentation
Degree
Master's thesis
Year
2006
Downloads
524
Citations
2

Request the full text

Abstract

Through analyzing the current situation of testing and classifying process in the production of photosensitive resistance, aiming at the practical problems of not high precision, not fine consistency and low efficiency production due to classifying by hand, a kind of new-type intellectual photosensitive resistance measurement device based on USB bus interface technology is developed in this paper.In the hardware respect, according to the characteristics that the data are acquired and processed with in the classifying course of photosensitive resistance, through controlling 12 bits high speed A/D converter AD574 by SCM AT89C52, finished acquiring the data such as bright resistance , dark resistance , etc of the eight channels photosensitive resistances. The sample data is sent to the computer through the USB data transmission module including PDIUSBD12 chip, through analyzing and processing, get the classifying result of the measured resistances, and is showed through the classifying and display circuit.In the software respect, the SCM procedures of data acquiring module and USB data transmission module are designed in C language, USB51S function library of PHILIPS is adopted to explain USB data transmission agreement in the procedure of USB interface SCM. Windows DDK is used to develop the drive program. The application program of the upper computer is designed by making use of EasyD12 library offered by PHILIPS and Visual Basic 2005. The data acquiring module and the classifying and display circuits are controlled accurately , and the measurement result is analyzed by the upper computer and saved in the computer.In the end of the paper, the important points in the courses of the system design and debugging are summarized, and the future of automatic production of photosensitive resistance is looked forward to.

Table of contents

Summary 3-4 ABSTRACT 4-5 directory 5-7 1 Introduction 7-9 2 the intelligent the photoresistor detection device design 9-17 2.1 photoresistor About 9-13 2.1.1 photoresistor type designation 10-11 the 2.1.2 the photoresistor main parameters and its basic characteristics 11-13 2.2 smart the photoresistor detection device designed overall block diagram 13-14 2.3 data acquisition modules 14 2.4 data acquisition the module microcontroller and the computer's USB communication 14-15 the 2.5 driver developers 15-16 2.6 PC machine applications program design and photoresistor sub-file information display 16-17 3 intelligent the photoresistor detection device hardware design 17-43 3.1 light source 17 3.2 data acquisition modules 17-30 3.2.1 on AT89C52 introduction 20-21 3.2.2 AD574 introduced 21-24 3.2 .3 watchdog circuit 24-26 3.2.4 sorting circuit design 26-30 3.3 data acquisition module microcontroller and computer USB communication 30-43 3.3.1 USB Overview 30 3.3.2 USB advantages 30-31 3.3.3 USB communication model 31 -32 3.3.4 USB Electrical Characteristics the 32-33 analysis 3.3.5 USB bus data transfer packet 33-34 3.3.6 the USB bus interface development the 34-35 the 3.3.7 USB data transfer interface module circuit schematics 35-37 3.3.8 USB interface chip PDIUSBD12 37-40 3.3.9 dual-port RAM chip CY7C136 40-43 4 Smart photoresistor detection device software design 43-77 4.1 data acquisition module software design 43-51 4.1.1 the receiving host PC sampling command 43-45 4.1.2 perform sampling test command and store the result 45-47 <br / > 4.1.3, the sampled data is written to the dual-port RAM 47-48 4.1.4 data acquisition module is the main program 48-51 4.2 USB data transfer interface module software design 51-61 4.2.1 USB data transfer interface module data transfer protocol 52-53 4.2.2 USB interface module is sent to the data acquisition module command and test results data frame process the 53-54 4.2.3 data acquisition module microcontroller to the USB interface microcontroller sends sampling data frame process 54-56 4.2.4 USB interface microcontroller program 56-61 4.3 driver development 61-67 4.3.1 USB bus driver characteristics 61-63 4.3.2 driver the model the WDM Profile and development tools choose 63 4.3.3 USB device driver design 63-66 commissioning and installation of 4.3.4 USB drivers are found; 66 -67 4.4 PC application software design 67-77 4.4.1 nbsp use on EasyD12 library; 67-68 4.4.2 the host PC, and USB communication module data transfer protocol between 68-69 4.4.3 PC application program 69-77 the 5 smart photoresistance device design considerations 77-81 5.1 USB interface development 77 5.1.1 firmware programming nbsp the 77 5.1.2 transmission speed; 77 5.2 printed circuit board design 77-79 the 5.2.1 device of the printed circuit board layout and dimensions 77 5.2.2 ground and power line design 77-78 5.2.3 decoupling capacitor configuration 78-79 5.2.4 crystal oscillator circuit design 79 5.3 anti-jamming measures 79-81 5.3.1 hardware measures the 5.3.2 software measures 79 79-81 6 Conclusion 81-82 < br /> Acknowledgements to References 82-83 83-84

Related dissertations

  1. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  2. Usb Without Invasive Data Collection Technology Research
  3. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  4. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  5. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  6. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  7. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  8. Research and design of intelligent 3D pulse peak field strength tester
  9. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  10. Embedded Fingerprint Identification System and Storage Technology
  11. Research on the Digital Broadband Electromagnetic Tomography System
    ChenGuang ·Tianjin University ·2010 ·Doctoral dissertation
  12. VxWorks Migration on VME Bus Embedded Controler
    GuanFei ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Embedded Linux-based USB Encryption Driver Design
  14. Based on ARM Photovoltaic Panel Control System Research and Implementation
  15. Research and Implementation of Usbtmc Specification about Universal Test Instrument
  16. Research Communication Device and Communication Protocols Based on USB Interface
    YuXiaoLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Research and Implementation of Infrared Touch Screen Based on HID Class
    WangYun ·Anhui University ·2014 ·Master's thesis
  18. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis
  19. Design and development of laser gyro and USB interface frequency test system
  20. Analysis and Application of USB3.0High-Speed Signal Integrity