Research and design of data acquisition system based on MSP430
- Author
- SunXueFei
- Advisor
- ShenQunTai
- School
- Central South University
- Major
- Electrical Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 619
- Citations
- 1
Abstract
The data acquisition system is a very important part in the digital signal processing and industrial automation. Base on the mass literature materials and onsale products. This paper designs a data acquisition system based on MSP430F5438which is mainly used for collecting the temperature and pressure values. The system mainly consists of two parts, hardware and software design.MSP430F5438microprocessor is the core in hardware designing. The signal acquisition part contains the collection of the temperature and pressure values. Temperature sensor DS18B20collects the temperature, while the manual input and program-controlled variable gain amplifier amplifies the output voltage signal of the pressure sensor in order to improve the accuracy of signal sampling. After that the LCD screen with touch displays the data and system operating parameters. And the data is stored in SD card in the form of FAT16. The system time is supplied by the external time module. In order to centralized monitor the data acquisition system in different places, a communication system based on RS485interface is designed. Since the static power consumption of the system is too large to design the two-wire transmitter output, the paper designs a three-wire transmitter output based on discrete components. In order to ensure the system stability and reduce the energy consumption, a solarrechargeable battery circuit is designed. In the last the paper puts forward the hardware anti-jamming measures.The software design contains two parts. First is to design the program for each module with C language in Integrated debugging environment Embedded Workbench. These modules include collecting the tempreture and pressure, changing the program-controlled digital potentiometer resistance, displaying thedata, the communication between different devices, writing digital to analog conversion module. The system uses timer interrupt, during the interrupt the system collects pressure data, and storage the data. Second is to use VC++6.0to design the PC program, which is mainly used for Modbus communication and real-time clock calibration.Additionally, This paper also does some research on the system’s low-power. The paper analysis the significance of the low-power design and describes the algorithm detaily. The algorithm contains software filter design, using the Least squares method to celibrate zero and full scare,"three-point method "touch screen calibration.In the last the design tests the functionality of each module of the sy--stem. And verify the rationality of the system parameters.
Table of contents
Summary 3-4
ABSTRACT 4-8
first chapter 8-12
1.1 significance of the topic and the research value 8-9
1.1.1 significance of the topic 8
1.1.2 research value application and Development Trend 8-9
1.2 data acquisition system research topics 9-10
1.3 10-11
1.4 Summary 11-12
Chapter II data acquisition system design and operating parameters 12-16
2.1 topics sources background 12-13
2.2 data acquisition system design 13-14
2.2.1 different design options contrast 13-14
2.2.2 system Design Program 14
2.3 system operating parameters 14-15
2.4 Summary 15-16
Chapter III system hardware design 16-39
3.1 master chip select 16-17
3.2 power Module 17 - 19
3.3 pre-processing of data acquisition module 19-22
3.3.1 programmable variable gain preamp circuit 20-22
3.3.2 hardware filtering 22
3.4 data acquisition and processing module 22-23
3.5 real-time clock module 23-24
3.6 Modbus communication module 24 -26
3.7 three-wire 4-20mA output transmitter module 26-30
3.8 SD card storage module 30-32
3.9 DA converter converter module is 32-33
3.10 relay control module 33-34
3.11 solar rechargeable backup power supply module 34-36
3.12 jamming hardware design 36-38
3.12.1 EMC theory 36
3.12.2 EMC measures 36-37
3.12.3 digital and analog ground 37-38
3.13 Summary 38-39
Chapter IV system software design 39-59
4.1 software development environment and programming Thought About 39-40
4.2 system main design 40-42
4.3 real-time temperature reading software design 42-44
4.3. 1 DS18B20 and single- bus communication protocol 42-43
4.3.2 DS18B20 software design 43-44
4.3.3 DS1820 use precautions 44
4.4 software programmable variable gain amplifier design 44-45
4.5 system clock software design 45-48
4.6 RS485 Modbus communication interface software design achieve 48-54
4.6.1 Modbus communication protocol 48-52
4.6.2 CRC checksum algorithm design and simulation 52-54
4.7 SD card data storage 54-57
4.8 TFT LCD software design 57-58
4.9 Summary 58-59
fifth Chapter theoretical research and systematic algorithm design 59-76
5.1 low-power system research and design 59-60
5.1.1 low-power design sense 59
5.1.2 data acquisition systems , low -power design work under 59-60
5.2 system extreme conditions research 60-61
5.3 Modbus communications Research reliability 61-66
5.3.1 and from the host machine networking topology 62
5.3.2 signal reflections and termination 62 - ground and ground 66
5.3.3 RS485 communication nonlinear compensation algorithm 66
5.4 sensor signal 66-69
5.4.1 requires temperature sensor signal reasons for non-linear compensation 66-67
5.4.2 temperature compensation algorithm based on least squares method 67-69
5.5 touch screen calibration algorithm 69-73
5.5.1 Why do I need a touch screen calibration 69-70
5.5.2 correction algorithm described 70-72
5.5.3 software verification and correction algorithms compared with 72-73
5.6 application software filtering method 73-74
5.6.1 hardware and software filtering filtering comparison 73-74
5.6 nbsp .2 filter design software systems ; 74
5.7 Summary 74-76
Chapter VI system debugging and analysis 76-82
6.1 available variable gain amplifier debug analysis 76
6.2 three-wire transmitter output circuit debugging analysis 76-78
6.3 PC and each slave RS485 communication debugging 78 -79
nbsp 6.4 implementation and experimental validation of the method of least squares ; 79-81
6.5 summary 81-82
Chapter VII summary and Outlook 82-83
7.1 design Summary 82
7.2 design outlook 82-83
References 83-87
Thanks 87-88
studying for a master's degree research during 88
Related dissertations
- Research on the Reform of Taxation Information Management Mechanism in China
- The Ningbo Public Transit Circuit Capacity Model and Practical Research
- The Study on Performance Evaluation about Construction of State Rural Informatization
- Analysis on the Influencing Factors of Commercial Housing Price
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of Alarming Management System about Fireproof and Burglar
- Research on Mechanical Vibration Testing System
- Study on Embedded Data Acquisition System Application
- The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
- Development of ATE Signals On-line Monitoring Equipment
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- Electromagnetic Tomography System for Biological Electrical Impedance Imaging
- Research and Implementation of Meteorological Monitoring System Based on ARM9
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Web Data Acquisition and Display System Based on Data-segment Technology of MDSplus
- Design of the High-speed Data Acquisition System Based on USB Interface
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Implementation of Multi-channel Data Acquisition System