登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 通信工程 > 正文

基于FPGA的数据采集系统设计毕业论文

 2022-07-18 10:07  

论文总字数:20568字

摘 要

随着科学技术的飞速发展,人们需要迅速而又精确的获取大量的数据信息。数据采集在工业控制和科学研究中的应用越来越广泛,数据采集技术也不断地向多路、高速、智能化的方向发展。

本文在FPGA核心单元的基础上,实现了一种多路数据采集系统的设计。该系统利用电脑串口发送命令,多路模拟开关实现多路信号输入;FPGA控制AD采集数据,利用FPGA内部的FIFO实现数据的存储和读取,然后FPGA通过串口将采集得到的数据发送给电脑。

本文首先介绍了数据采集系统的国内外发展现状之后,确定了基于FPGA的多路数据采集系统的总体方案,完成了FPGA与A/D的芯片选型;使用Protel完成了系统硬件电路原理图的设计;然后使用Verilog HDL语言完成了程序的编写,在Quartus II开发工具上完成了对程序的设计、调试和仿真,实现了多路选通模块、数据采集模块、数据存储读取模块和数据发送模块的设计和功能验证。最后将FPGA程序下载到开发板上,通过串口将采集得到的数据在电脑上显示,实现了数据采集的功能。

经过对软硬件的调试,得出结果表明,输入的模拟信号转变成了计算机所能识别的数字信号,实现了FPGA控制多路模拟信号,通过AD进行模数转换并存储在FIFO中,通过串口通信在电脑上显示结果的功能。

关键词: FPGA 多路数据采集 A/D模数转换 Verilog HDL 串口通信

Data Acquisition System Design Based on FPGA

Abstract

With the rapid development of science and technology, people need to get large amounts of data information quickly and accurately. Data acquisition is applied widely in industrial control and scientific research, the technology of data acquisition is also developing towards multi-channel, high-speed, intelligent constantly.

This paper is based on the core unit of FPGA, realizing a design of a data acquisition system. The system sends commands by the serial port, the multi-channel analog switch realizes the input of multi-channel signal, AD devices converts the signals from analog format to digital, FPGA control data acquisition of AD, using the internal FIFO of FPGA to storage and read data, then FPGA send the collection of data through the serial port.

Firstly, the paper introduces the present situation of data acquisition system at home and abroad, confirming the general planning of data acquisition system based on FPGA. It has been completed the chip selection of FPGA and A/D. Complete the design of the hardware circuit of the system principle diagram by using Protel. Then it used the Verilog HDL language to complete the program. Complete the design, the debugging and simulation of the program by using the Quartus II development tools. The system realizes the design and functional verification of the command receiving and processing module, the acquisition control of AD module, the storage and reading of data module, data transmission module. At last, download the FPGA program to the development board, through the serial port to display the collected data on the computer, realizing the function of data acquisition.

Through debugging the hardware and software, the results show that the analog signal turns into the digital signal that computer can be recognized. The FPGA controls multi-channel analog signal, AD converts the signals from analog format to digital and stored in FIFO, realizing the function of displaying results in the computer through the serial port.

Keywords: FPGA; Data acquisition; AD converter; Serial port

目 录

摘 要 I

ABSTRACT II

第一章 绪论 1

1.1 引言 1

1.2 课题背景及意义 1

1.3 国内外的研究现状 2

1.4 本文所做的工作 3

第二章 系统总体实现方案 5

2.1 系统实现方案 5

2.2 系统各模块芯片选型 5

2.2.1 多路模拟开关芯片选型 5

2.2.2 信号调理电路芯片选型 6

2.2.3 AD转换芯片的选型 6

2.2.4 FPGA核心单元芯片选型 7

2.2.5 串口芯片选型 7

第三章 硬件电路设计 9

3.1 系统硬件整体方案设计 9

3.2 子模块设计与分析 9

3.2.1 CD4052模拟开关 9

3.2.2 ADC模块电路 10

3.2.3 FPGA系统核心模块电路 11

3.2.4 FPGA系统时钟和系统复位图 12

3.2.5 下载配置电路 13

3.2.6 串口电路 13

3.2.7 硬件电路整体图 14

第四章 程序的设计与实现 15

4.1 多路选通模块 16

4.2 数据采集模块 17

4.3 数据存储读取模块 19

4.4 数据发送模块 21

4.5 顶层模块设计 25

第五章 系统的调试与测试 28

第六章 总结及展望 31

6.1 总结 31

6.2 展望 31

参考文献 33

致 谢 35

第一章 绪论

1.1 引言

数据采集,也叫数据获取,是利用传感器等装置,从系统外部采集所需的数据,传输到系统内部,以便进一步处理数据的过程。被采集的数据是已经被转换成电信号的物理量,比如温度、湿度、风速、压力、电压等,并且模拟量和数字量均可[1]

数据采集技术已经被广泛运用在工业生产控制和科学研究等各大领域。在工业生产控制中,采用数据采集技术可以对生产现场的各类参数进行采集和记录,便于分析和检验,为降低成本、提高质量提供了非常有效而又实用的技术手段;在科学技术研究中,采用数据采集技术可以获取大量所需的物理量信息,为科学研究提供了方便而有效的技术方法;数据采集系统也已成功的运用到通信、图像处理、智能仪器、遥感、军事应用、消费电子、智能控制、航空电子设备及宇航技术等各个方面[2]

请支付后下载全文,论文总字数:20568字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图