音频采集和传输设备研究与设计

 2022-07-14 02:07

论文总字数:27737字

摘 要

在很多设计领域如各类游戏设计行业,为了实现故障诊断,系统维护,后期调试等目的,需要进行高精度高速的音频采集和监测。音频数据采集与监测需要对音频输出口的小电流信号进行电流电压转换,然后使用电压调理电路和模数转换电路把音频数据采集到处理器中,后续进行数字滤波等操作。在本项目中,使用片上系统技术提出了一种基于FPGA的系统设计和实现。

在本项目中,提出并实现了基于FPGA的高精度高速的数字音频采集设备及传输系统,完成了多路音频信号的高精度高速采集、处理及传输,系统采用了高性能的专业音频采样芯片PCM1860,处理器采用FPGA设计来实现高速同步采集,最终完成一个多精度(8/16/24位可选)、多通道(5通道)、多采样率(32KHz/44.1KHz/48KHz可选)的高精度高速多通道音频同步采集及传输设备。该设备具有成本低、功能丰富、性能稳定、数据传输速率快、吞吐量大、等优点。

本文详细阐述了系统设计架构,包括采集模块、FPGA模块、数据传输模块及上位机。重点说明了音频采样及传输系统的硬件底层及上位机的设计与实现方案,最后对相关技术进行总结。

关键词:FPGA,音频采集,PCM1860,ADC

Abstract

With the rapid development of wireless communication technologies, people's demand for sensory information is correspondingly increasing. This is not only reflected in daily life and consumption. In many current practical engineering projects and industries, real-time audio data is needed to understand and monitor the actual situation. Situation, or for other emergency situations, etc. Although there are many audio and video data transmission applications on the market and the development and use of some common portable devices, technologies and devices that can transmit in parallel and use multi-channel technology to transmit multiple audio data still require further research.

The FPGA-based digital audio acquisition equipment and transmission system involved in this project realizes the collection, processing and transmission of multi-channel audio signals. The system uses a high-performance professional audio sampling chip PCM1860, which specifically combines the design of the chip and FPGA (Verilog HDL Language). Design a multi-precision (8/16/24-bit), multi-channel ( 5 channels), multi-rate (32KHz/44.1KHz/48KHz) audio acquisition and transmission equipment. The device has the advantages of low cost, rich functions, stable performance, fast data transmission rate, large data throughput, low power consumption, and high real-time performance.

This proposed system describes the system design architecture in detail, and focuses on the design and implementation of the bottom layer and upper computer of the audio sampling and transmission system. Finally, the relevant technologies are summarized.

KEY WORDS: FPGA, ADC, Audio Sampling, PCM1860

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1 课题研究背景及意义 1

1.2 数字音频技术发展状况 1

1.3 主要研究内容与章节安排 3

1.3.1 要解决的技术问题 3

1.3.2 技术方案及章节安排 3

第二章 音频采集及传输设备硬件设计 5

2.1 硬件系统设计框图 5

2.2 音频采集模块方案介绍与论证 5

2.2.1 PCM186x 音频前端 5

2.2.2 FPGA模块 9

2.3 数据传输模块 10

2.3.1 主要特点 11

2.3.2 传输方案 11

2.4 音频采集及传输模块PCB 11

2.4.1 硬件原理图 11

2.5 本章小结 15

第三章 FPGA设计 16

3.1 FPGA选型 16

3.2 模块设计 17

3.2.1 PCM1860模块 17

3.2.2 FT2232H数据传输模块 18

3.2.3 频率切换模块 20

3.3 总体设计 20

3.4 本章小结 21

第四章 上位机软件设计 22

4.1 功能概述 22

4.2 FIFO 22

4.2.1 FIFO简介 22

4.2.2 FIFO设计难点 22

4.3 读取底层音频数据 23

4.3.1 FT_OpenEx 23

4.3.2 FT_GetStatus 23

4.3.3 FT_Open 23

4.3.4 FT_Close 23

4.4 音频数据解析 23

4.4.1 循环队列 24

4.4.2 数据解析 26

4.5 通过TCP/IP协议发送到终端 27

4.6 多线程的实现 28

4.7 本章小结 29

第五章 音频采集与传输设备调试与功能测试 30

5.1 硬件实物 30

5.2 音频采集与传输系统功能调试 30

5.2.1 PCM1860音频采集前端及FT2232H模块测试 31

5.2.2 电源模块调试 35

5.2.3 FPGA模块调试 35

5.2.4 终端播放调试 35

5.3 本章小结 39

第六章 总结与展望 40

6.1 总结 40

6.2 展望 40

致 谢 41

参考文献 42

绪论

课题研究背景及意义

随着技术的发展,我们可以看到,由于ASIC成本不断增加,现场可编程门阵列(FPGA)与专用集成电路(ASIC)相比而言在应用领域内的应用比例增加了。而且FPGA可以用于多媒体、图像处理、高速通信、网络设备、数据采集以及微型外设控制器等领域[1]。与ASIC一样,FPGA中的所有逻辑元件都是并行工作的[13],例如硬件乘法器。相反,可编程DSP必须按照顺序逻辑进行操作。

FPGA相对于通用可编程处理器能够更快地执行实时数字信号处理的任务,并且可以为其他系统组件提供极高速度的接口。FPGA具有专用的串行和并行接口,从而满足最近设备对高速外设和总线的要求。随着技术的发展, FPGA的开发周期逐渐变短、开发软件的投入愈来愈小,芯片及开发成本的不断降低[2]

剩余内容已隐藏,请支付后下载全文,论文总字数:27737字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;