您好,欢迎来到佳博论文网!

基于MSP430单片机的多路数据采集系统的设计

论文编号:JD1025论文字数:11507,页数:28

基于MSP430单片机的多路数据采集系统的设计

摘  要 : 介绍一种以 MSP430 单片机为核心的多路数据采集系统。在文中介绍了多路数据采集系统的设计及其实现方法;对设计中的几个主要技术问题进行了较为详细的论述, 并且具体阐述所用器件的工作原理、主要特点、硬件电路设计和软件设计, 是一个具有完整功能的数据采集系统。系统由集成函数发生器 ICL8038 现场模拟产生一正弦波信号并通过 LM331 实现频率到电压的变换 ,从而供给单片机进行数据采集。系统采用单片机与上位机进行通讯 ,单片机负责对 7 路数据的采集、处理和控制显示 ,同时应答上位机命令。上位机面向用户 ,可以对系统进行控制 ,选择数据采集的方式。设计并实现了一种具有现场采集和显示并且采集方式可控制的多路数据采集器 ,该数据采集器具有硬件电路简单 ,采集精度较高 ,低功耗等特点 ,具有推广应用价值。

关键词: MSP430 ;ICL8038;LM331;串口通讯

Design of a Muti channel Data Collecting System Based on MSP430 Single Chip Computer

Abstract: A muti channel data collecting system with MSP430 single chip as kernel is introduced. In this paper introduces the design and implementation methods of muti channel data acquisition systems,it also discusses a few problems of data acquisition system design in detail, and the operational principle, main features, the design of hardware circuit, the design of software program are expounded in detail, is a data-collecting system with complete functions,A sine wave frequency signal which is generated by integrated circuit ICL8038 is transformed into a voltage signal ,and the signal is used to be collected by a single chip. The single chip can communicate with computer and answer the instruction from computer,and the single chip is mainly used to collect 7 channel data ,process the data and control the display. Consumer can control the system and select the mode of data collecting by computer. A muti channel data collecting device which can collect data and display in real time is designed and realized. The system has these merits such as simple hardware, higher precision and lower power, so it has value of spread and application.

Keywords: MSP430; ICl8038; LM331; serial port communication

目 录

1. 绪论………………………………………………………………………………1

1.1 研究背景与前景……………………………………………………………1

1.2论文主要研究内容和结构…………………………………………………2

2. 基本理论部分……………………………………………………………………3

2.1 MSP430基本介绍…………………………………………………………3

2.1.1 MSP430 系列的内部结构概述…………………………………3

2.1.2 MSP430单片机的端口介绍……………………………………6

2.2 上位机简介………………………………………………………………9

2.3 LM331芯片简介……………………………………………………………9

2.4 ICL8038芯片简介…………………………………………………………11

2.5 电源芯片LM317简介………………………………………………………12

2.6 RS-232简介………………………………………………………………14

3.硬件结构…………………………………………………………………………14

 3.1 系统的基本组成和工作原理……………………………………………14

3.2系统硬件电路设计………………………………………………………15

3.2.1 正弦信号发生模块………………………………………………15

3.2.2 频率电压变换模块………………………………………………16

3.2.3 信号调理模块……………………………………………………17

3.2.4 系统电源模块……………………………………………………17

3.2.5 单片机模块………………………………………………………17

3.3总的接线图………………………………………………………………18

4. 系统软件设计…………………………………………………………………18

4.1软件流程图………………………………………………………………18

4.2 程序部分…………………………………………………………………19

5. 结束语…………………………………………………………………………25

参考文献……………………………………………………………………………26

谢辞…………………………………………………………………………………27

附录…………………………………………………………………………………28

基于MSP430单片机的多路数据采集系统的设计......