Research on Measurement System for Taper Pipe Thread Parameters Based on Microcontroller
- Author
- ZhangMingDa
- Advisor
- YuDianZuo , ZhengYi
- School
- Xi'an University of Technology
- Major
- Measuring Technology and Instruments
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 60
- Citations
- 0
Abstract
Oil pipeline interconnected taper pipe thread taper pipe thread to qualified essential oil production operations , accurate detection of key parameters are necessary . This paper studies a taper pipe thread key parameter detection system , the system to the resource-rich C8051F005 microcontroller as the core , using both grating and encoder sensor , measured threaded vertical and horizontal directions , respectively, to obtain data , and then collected a series of data to the PC processing to obtain the the measured thread profile , and then through the algorithm model parameters given the relevant thread parameters . The thesis part by the mechanical structure , the hardware circuit portion and a software portion of three parts . The mechanical part of the system to achieve the detection function platform , the platform uses a stepper motor system provides drive motor driven screw rotation , screw drive nut on and move around the measurement path planning . The system hardware mainly including the minimum system microcontroller circuit , the sensor signal acquisition and processing circuit , serial communication circuit , stepper motor control circuits , liquid crystal display circuit and data storage circuit . Sensor signal acquisition circuit includes a subdivision of the grating signal to the signal processing circuit , encoder resolution phase circuit . The stepper motor control circuit is completed from the stepper motor stopping and steering control . Serial communication microcontroller and PC data part of the collected data into the PC via the serial port to save processing functions . The system software is divided into two parts, lower machine software and PC software uses a systematic , modular principle of writing . Lower computer software , including data acquisition , serial communication , stepper motor control , data storage module , these functional modules based on hardware circuit as the basis for writing and debugging . PC software based on Visual C drive control algorithms of data processing, graphics generation , results output . Validated , the system functions perfect , high intelligence , can meet a variety of measurements in the field , has a good application value .
Table of contents
Abstract 3-4
Abstract 4-7
1 Introduction 7-12
1.1 research background
the
the 1.2 thread traditional measurement method 7-9
Research
1.3 thread measuring 9-10
1.3.1 China Research
1.3.2 domestic research 9-10
1.3.3 trends
1.4 This topic research content and research significance 10-12
2 system overall program of research and design 12-19
2.1 overall system design ideas 12-13
2.2 system mechanical schematics 13-15
2.3 system hardware and software of the overall program design 15-18
2.3.1 system overall hardware design 15-16
2.3.2 system overall software design 16-18
2.4 This chapter Summary 18-19
3 system hardware circuit design and development 19-34
3.1 microcontroller and minimum system circuit 19-22
3.1.1 C8051F005 microcontroller introduced 19-20
3.1.2 MCU peripheral circuits 20
3.1.3 power supply and power management module 20-21
3.1.4 system clock circuit 21-22
3.1.5 JTAG interface circuit 22
the 3.2 gratings signal acquisition and processing circuit 22-26
3.2.1 grating sensor works 22-24
3.2.2 grating sensor technology parameters 24-25
3.2.3 grating sensor data processing 25-26
3.3 encoder signal acquisition and processing circuit 26-27
3.3.1 encoder 26-27
3.3.2 encoder data processing 27
3.4 LCD display part of the circuit 27-29
3.5 USB to UART bridge communication circuit 29-30
3.5.1 USB communication technology 29
3.5.2 CP2102 chip Introduction 29-30
3.6 data storage circuit 30-31
3.6.1 I to 2C serial communication technology 30-31
the 3.6.2 memory interface circuit 31
3.7 stepper motor drive circuit 31-33
3.8 This chapter Summary 33-34
4 system software design 34-51
4.1 lower computer software design 34-42
4.1.1 Keil About The 34-35
4.1.2 The main design 35
4.1.3 LCD display program 35-37
the
the 4.1.4 data capture function 37-38
4.1.5 serial communication program 38-39
4.1.6 data access program design 39-41
4.1.7 stepper motor control procedures 41-42
4.2 upper computer software design 42-50
4.2.1 object-oriented programming 42-43
4.2.2 the host machine interface design 43-44
the
the 4.2.3 serial communication module 44-47
4.2.4 motor motion control module 47
4.2.5 real-time data display and graphics module 47-48
4.2.6 sampled data save and read 48-49
4.2.7 Data processing part 49-50
4.3 This chapter Summary 50-51
5 system debugging and experimental validation 51-57
5.1 system hardware debugging 51-53
5.1.1 the electricity before checking 51
5.1.2 power circuit debugging 51-52
5.1.3 smallest single-chip system debugging 52
5.1.4 MCU peripheral circuit debugging 52-53
5.2 system verification 53-56
the 5.2.1 thread geometry parameters measurement 53-54
5.2.2 Experimental validation 54-56
5.3 This chapter Summary 56-57
6 Summary and Outlook 57-58
Acknowledgements 58-59
the
References 59-62
Appendix A 62-65
Appendix B 65-67
studying for a master's degree during the thesis 67
Related dissertations
- Design on Visual Odometry Experiment Bench and Research on Stepper Motor Subdivision Control
- Application of Robot in Profiled Tank Welding Based on DSP Multi-axis Motion Controller
- Research on Batch Testing Platform Technology of the Acceleration Sensor
- Design&Realization of Auto-focusing in FPGA-based Infrared Imaging System
- Design and Experiment of Electric System Is the Rows of Wheat Seeder
- The Design of Automatic Sun Tracking System
- Research on Closed-loop Stepper Motor Drive System Based on CANopen Protocol
- The Experimental Setup Developed of Rotating Magnetic Field for Researching on Organisms
- Sunlight Illumination System by Automatic Solar-tracking
- Reserch of Automatic Focusing Control and Assembly Technolog of Vehicle Camera
- Research on Speed Simulation Technology of Moveing Target
- Control and Implementation of Stepper Motor for Space Optical Remote Sensor
- Study on the Test Method of Solar Array Drive Assembly Torque Characteristics
- Research on Real-time Online Sorting and Weighing System
- The Design and Development of the Digital Mechanical Matrix
- The Design and Realization of Stepper Motor Control Card Based on DSP
- Design and Implementation of the JB Small Main Beam Automatic Welding System Based on CORTEX-M3and CAN Bus
- The Research on Wave Buoys Calibration System Tset Platform Dispacement Control Device
- Study of the On-line System of Oil-water Interface Examination
- Quartz Detecting System Based on LabVIEW