VC-based software development platform for distributed data acquisition system
- Author
- ChenMingKe
- Advisor
- ZouJiuPeng
- School
- Dalian University of Technology
- Major
- Process Equipment and Control Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2002
- Downloads
- 910
- Citations
- 5
Abstract
A multiple-channel data-acquisition system based on serial communication is presented in this paper. It consists of microcontroller and computer. Microcontroller has the advantages of high integration, powerful control function, single structure, low price and so on. But, as a whole , it has too small storage to save a lot of data, and too low speed to processing data of acquisition quickly. On the other hand, computer makes full use of the powerful function of processing data, analog and emulation, network communication to control Microcontroller , to storage data of acquisition , which will be analysed and printed by means of Microsoft Office serial tools.The main characteristics of the system software are:1. Computer can control Microcontroller, which can select channels data-acquisition discretionarily.2. People can select Baud Rate, Parity Check, Data bits and Stop bits to match with the diverse communication requirements.3. It can show diagram of curves of data-acquisition dynamically, which is a powerful tool for people to control and watch the object acquisition.4. People can select the time discretionarily to save the data into the Microsoft Access Database.5. It is not only fit for data-acquisition of close quarters, but also fit for data-acquisition of telecommunication.6.It is also well transplanted.
Table of contents
0 Introduction 7-8
1 Literature Review 8-22
1.1 data acquisition system basically consists 8-11
1.2 SCM development 11-13
1.3 MCS-51 and 80C51 series Introduction 13-17
1.4 microcontroller applications 17-19 <br / > 1.5 acquisition Software and its development platform 19-20
1.6 the purpose of this study , contents and methods 20-22
1.6.1 microcomputer serial communication software design 21
1.6.2 8051 microcontroller programming for 21-22
2 PC communication software design 22-47 <br / > 2.1 serial communication based on knowledge 22-23
2.1.1 data line 23
2.1.2 control line 23 < br /> 2.2 Win32 communications API 23-31
2.2.1 Win32 programming features 23-24
2.2.2 data Structures 24-26
2.2.3 communications API 26-31
2.3 CSerialPort class 31-38
2.3.1 Introduction multithreading 32
2.3.2 CSerialPort class main function 32-38
2.4 CCommtestDlg class 38-44
2.4 .1 understand the message mechanism 38-41
2.4.2 class main function 41-44
2.5 database storage 44-46 < br /> 2.6 Summary 46-47
3 PC communications software for use 47-58
3.1 software for use 47-52 < br /> 3.2 the use of this system, the temperature of the acquisition example 52-58
3.2.1 acquisition principle introduced 52-54
3.2.2 temperature Acquisition test 54-56
3.2.3 collecting temperature curve 56-58
4 SCM acquisition system hardware configuration and software programming 58-69 < br /> 4.1 acquisition system consisting 58-62
4.2 SCM Acquisition software architecture and compilation 62-69
4.2.1 initialization procedure 63-64
4.2.2 serial interrupt service routine 64
4.2.3 circulation judgment acquisition channel subroutine 64-65
4.2.4 A / D conversion routine 65-66
4.2.5 moving average filter subroutine 66-67
4.2.6 LED display subroutine 67-68
4.2.7 MCU timing sample 68-69
5 Conclusions and Recommendations 69-71
5 .1 Summary 69-70
5.2 system software extensions and suggestions 70-71
Thanks 71-72
References 72-74
Appendix 1 computer communication source 74-84
Appendix 2 MCU source 84-87
Related dissertations
- The Design and Realization of Programming Device Based on the Type of STM8S208Single Chip Microcomputer as the Controller
- Study and Developement on Intelligent Monitoring of Clothing Based on Single Chip
- The Research and Design for the Automatic Measuring of Oven Temperature Based on Microcontroller
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- Research and Design of Intelligent Medical Infusion Monitoring System
- Research on PLC remote monitoring technology based on Internet
- Research of Permeability Testing System for Clay
- Design of an Automatic Test System for Radar
- Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
- Design and Implementation of a Cooler of Data Acquisition and Control System Based on STM32
- Design and Implementation of Information Acquisition System for Industry Field
- Development and design of intelligent residential area centralized control system
- Development of Simple Controller Device
- Development of Automatic Towel Hemming Machine Control System
- Measurement and Control System Design of Intelligent Greenhouse Nutritional Liquid Dripirrigation Device
- PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
- Microcomputer-controled Precision AC High-Voltage Power
- The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
- A Bus Body Control System Design Based on CAN Bus
- Research on Automatic Water Supply Control System of Poultry Farms Based on Mcu Microcontroller