基于labview的信号发生器设计.doc

约41页DOC格式手机打开展开

基于labview的信号发生器设计,虚拟信号发生器的设计摘要   虚拟仪器是将仪器技术、计算机技术、总线技术和软件技术紧密的融合在一起,利用计算机强大的数字处理能力实现仪器的大部分功能,打破了传统仪器的框架,形成一种新的仪器模式。   本设计采用usb6008数据采集卡,将虚拟仪器技术用于信号发生器的设计。该系统具有生成正弦波、方波、三角波、锯齿波,序列...
编号:30-317995大小:1.55M
分类: 论文>通信/电子论文

内容介绍

此文档由会员 道客巴巴 发布

虚拟信号发生器的设计

摘要
   虚拟仪器是将仪器技术、计算机技术、总线技术和软件技术紧密的融合在一起,利用计算机强大的数字处理能力实现仪器的大部分功能,打破了传统仪器的框架,形成一种新的仪器模式。
   本设计采用USB6008数据采集卡,将虚拟仪器技术用于信号发生器的设计。该系统具有生成正弦波、方波、三角波、锯齿波,序列信号及任意波形的功能。其序列信号发生器是在n位寄存器的基础上,根据D触发器原理,加上异或反馈电路构成的。并且实现了存储波形和远程通信控制的功能。本文首先介绍了信号发生器的相关理论,给出了信号发生器的基本原理框图,并了解了虚拟仪器的总线及其标准、框架结构、LABVIEW 开发平台。在分析本系统功能需求的基础上,介绍了数据采集卡、LABVIEW 的编程模式等设计中所涉及到的硬件和技术。
   本设计是虚拟仪器模拟真实仪器的尝试。实践证明虚拟仪器是一种优秀的解决方案,能够实现各种硬件可以完成的任务。
关键词:虚拟仪器,数据采集卡,信号发生器,LABVIEW 
    


The design of signal generator based on virtual instrument

Abstract
Virtual instrument is formed by the instrument technology, computer technology, bus technology and software technology. Powerful digital processing’s ability of computer is used to achieve the main functions of instrument. Virtual instrument broke the framework of the traditional instruments, and built a new device model. 
This design uses USB6008 data acquisition card. The virtual instrument technology has been utilized in the design of signal generator. The system has ability to produce sine wave, square wave, and triangle wave, saw tooth wave, sequence signals and arbitrary waveforms signals. The series generators is on the basis of the n - bit registers, and is under d trigger principle, coupled with the exclusive or of feedback circuit . And the waveform storage and remote communication control function has been realized. This article introduces the theory of signal generator, gives a basic block diagram of signal generator, also the frame structure and LABVIEW development platform of the virtual instrument with the inquiry of the bus’s standard. Based on the analysis of this system’s functional requirements, this article introduces the hardware and technology which involved in design of the data acquisition card and the LABVIEW’s programming modes.
The design is an attempt of virtual instrument to simulate the reality instrument. It shows the virtual instrument is an excellent solution to achieve the task which is achieved by traditional hardware in the past.

Key Words: Virtual Instruments, Data Acquisition Cards, Signal Generators,
LABVIEW


目录
摘要 I
目录 III
1 绪论 1
1.1 引言 1
1.2 信号发生器概述 1
1.2.1 信号发生器简介 1
1.2.2 信号发生器的发展 1
1.3 信号发生器的分类 2
1.3.1 正弦信号发生器 2
1.3.2 函数发生器 3
1.3.3 脉冲信号发生器 4
1.3.4 随机信号发生器 4
1.4 课题的意义 4
2 虚拟仪器和Labview简介 5
2.1 虚拟仪器概述 5
2.1.1 虚拟仪器产生背景 5
2.1.2虚拟仪器概念 6
2.1.3 虚拟仪器的分类 6
2.1.4 虚拟仪器的发展方向 7
2.2 虚拟仪器系统的构成 8
2.3 虚拟仪器与传统仪器的比较 9
2.4 虚拟仪器的开发软件 10
3 系统设计硬件平台 13
3.1 PC 机 13
3.2 数据采集卡的选择 13
3.2.1 数据采集卡的主要性能指标 13
3.2.2 数据采集卡的组成 13
3.2.3 USB6008 14
4 系统总体的设计和实现 16
4.1 基本信号发生器 16
4.1.1传统基本信号发生器 16
4.1.2 虚拟号发生器 16
4.2 档位选择 18
4.3 信号存储 19
4.4 任意波形发生器 20
4.5 序列信号 21
4.5.1 序列信号概念 21
4.5.2 基于虚拟仪器的序列信号产生原理 22
4.6 远程虚拟仪器 24
4.6.1 用TCP/IP协议进行远程通信 25
4.6.2 TCP子模板介绍 25
4.6.3 远程显示模块程序 26
4.7 通道选择 27
4.7.1 基本波形虚拟通道设计 27
4.7.2循环及清除程序 28
4.7.3 选定通道后运行 29
4.8 程序总框图 30
4.9 信号生成过程需要注意的事项 32
5 结论 34
参 考 文 献 35
致 谢 36