1、 课程名称: 虚拟仪器课程设计 题 目: 基于声卡的音频采集分析仪与信号发生器设计 目目 录录 摘要 . 2 第一章 设计选题概述 . 2 第二章 设计内容要求 . 3 2.1 基于计算机声卡完成以下功能 3 第三章 设计思想及原理 . 3 第四章 设计相关理论基础知识 . 4 4.1 声卡采集原理 4 4.2 窗函数原理 5 4.3 耳机接口定义. 错误错误!未定义书签。未定义书签。 4.4 快速傅里叶变换 . 5 4.5 滤波器原理 5 4.6 线性插值 6 4.7 高斯白噪声 6 第五章 程序分析 7 5.1 模拟通道信号发生 VI 的设计: 7 5.2 文本数据读取子程序和数据存储程序
2、的设计 . 8 5.3 插值 VI 的设计. 10 5.4 双通道信号发生器的设计 11 5.5 信号分析仪的设计主程序 1 13 5.5.1 总体设计 13 5.5.2 信号的低通滤波设计 13 5.5.3 加汉宁窗函数的波形设计 . 14 5.5.4 频谱(功率、幅度、相位)分析的设计 15 5.5.5 信号的幅值和电平测量、信号的统计分析、失真分析设计 16 5.6 声卡信号采集主程序 16 5.7 声音的产生 Generate Sound.vi . 18 5.8 数据存储示波器程序设计 . 20 总结 21 附录 21 2 摘要 要在 LABVIEW 环境中进行对声卡采集编程, 就是运
3、用常用周期信号及测试 领域特殊信号的双通道模拟输出。由于专用数据采集卡成本比较昂贵、 而且和 计算机兼容性比较差等缺点,这个论文就是应用性能良好、价格低廉的计算机 声卡设计一套基于 LabVIEW 的信号采集分析系统。该系统具有双通道、高 保真、22K 甚至 44KHz 的采样率,实现了音频信号的实时采集、实时存储、 回放、信号分析(时域分析和频域分析)等多种功能。实验结果表明:该设计 方案具有设计简便、成本低、通用性高、扩展性好、界面大方简洁等优点,可 广泛应用于工程测量和科学实验室等环境。 关键词:关键词:声卡;数据采集;虚拟仪器;LabVIEW Abstract:A study whic
4、h is based on the sound card collection of audio analyzer and a design of signal generator Programming the sound acquisition in the environment of LABVIEW,that is the dual channel analog output which is using the commonly used periodic signal and the special signal of test field. As special acquisit
5、ion card has many disadvantages, such as the cost of it is expensive and the compatibility with computer is bad, and so on. This article is using the computer sound card,which has good performance and is cheap to design a signal collection and analysis system which is based on LABVIEW. The system ha
6、s a sampling rate which is equipped with dual channel, high fidelity, 22HZ and even 44KHZ, and it realizes the real-time collection of audio signal collection, storage real-time playback, signal analysis and other functions. The experimental results show that the design scheme has many advantages such as simple, low cost, high versatility, good extensibility and generous concise interface, and it can be widely used in engineering survey and science laboratory environment.