开题报告-LabVIEW在电子线路课程中的应用_第1页
开题报告-LabVIEW在电子线路课程中的应用_第2页
开题报告-LabVIEW在电子线路课程中的应用_第3页
开题报告-LabVIEW在电子线路课程中的应用_第4页
开题报告-LabVIEW在电子线路课程中的应用_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

毕业设计(论文)材料之二(2) 安徽工程大学机电学院 本科毕业设计(论文)开题报告题目: LabVIEW在电子线路课程中的应用 课 题 类 型: 设计 实验研究 论文学 生 姓 名: 魏 晨学 号: 3102102245 专 业 班 级: 电信2102教 学 单 位: 电气工程系指 导 教 师: 周 鹏 (讲师) 开 题 时 间: 2014年3月21日 2014年 3月19日一、本课题的研究意义、研究现状和发展趋势(文献综述)研究意义:虚拟仪器(VI)是计算机辅助测试(CAT)的最新发展,它充分利用快速发展的计算机及通信网络技术来提高测试计量仪器设备的功能、性能和应用范围,为用户定义和构造自己的测试仪器系统提供了全新的解决方案。虚拟仪器并不完全等同于计算机辅助测试,它是一种基于信号采集与分析理论、具有标准化软硬件及其接口和良好集成性与柔性的仪器系统,是一种新的测试仪器标准和技术规范。虚拟仪器技术构建的应变测试仪的诸多优点表明,虚拟仪器系统具有重要的现实意义和推广价值, 是传统应变测量仪器的理想替代产品。随着计算机网络技术的迅速发展,将为虚拟仪器提供更强大的功能,即可以实现远距离的网络化虚拟仪器实时测试。只要在应变测量系统中添加网络功能模块,借助于宽带网络技术可以很容易的实现远距离实时测试,这是基于虚拟仪器技术构建的应变测试系统今后的发展方向。相信将来的应变测量系统一定是虚拟仪器技术与计算机网络技术相结合的系统,其测试功能会更强大,精度会更高,应用会更广。本课题研究的主要要求:熟练运用LabVIEW软件,运用G语言实现数据的采集,分析处理并得出结果,并且结合LabVIEW在是模拟电路和数字电路中应用的具体的实例进行分析设计,并写出设计的方案和仿真的结果进行论证。 研究现状和发展趋势:LabVIEW是一种程序开发环境,由美国国家仪器(NI)公司研制开发的,类似于C和Basic开发环境,但是LabVIEW与其他计算机语言的显著区别是:其他计算机语言都是采用基于文本的语言产生代码,而LabVIEW使用的是图形化编辑语言G编写程序,产生的程序是框图的形式。LabVIEW软件是NI设计平台的核心,也是开发测量或控制系统的理想选择。LabVIEW开发环境集成了工程师和科学家快速构建各种应用所需的所有工具,旨在帮助工程师和科学家解决问题、提高生产力和不断创新。虚拟仪器LabVIEW是计算机技术与电子仪器相结合而产生的一种新的仪器模式,它通常是由个人计算机、模块化的功能硬件与用于数据分析、过程通信及图形用户界面的应用软件有机结合构成,使计算机成为一个具有各种测量功能的数字化测量平台。它利用软件在屏幕上生成各种仪器面板,完成对数据的处理、表达、传送、存储、显示等功能。虚拟技术计算机通讯技术和网络技术是信息技术最重要的组成部分。虚拟技术蕴含的巨大潜力使发达国家趋之若鹜,20世纪80年代首先在美国兴起和发展起来的虚拟仪器无疑是虚拟技术领域中的重要组成部分,因此自1982年美国研制成功第一台虚拟仪器以来,虚拟仪器在世界范围内发展十分迅速。如世界著名的NI公司,已经形成了系列化的虚拟函数信号发生器,信号分析仪,存储示波器,及图表记录仪等产品。进入90年代末期,我国一些科研单位及高等院校如清华大学,哈尔滨工业大学,电子科技大学等也十分重视虚拟仪器的开发与研究。虚拟仪器技术经过十几年的发展,而今正沿着总线与驱动程序标准化,软/硬件模块化,编程平台的图形化和硬件模块的即插即用方向进步。以开放式模块化仪器标准为基础的虚拟仪器标准正日趋完善。虚拟仪器技术在发达国家的推广应用也十分普及,不仅在电子测量领域,过程控制领域,包括人们生活的其它许多领域利用虚拟仪器实现复杂的测量与控制系统的例子也很多。虚拟仪器正在继续迅速发展,它可以取代测量技术传统领域的各类仪器。虚拟仪器在组成和改变仪器的功能和技术性能方面具有灵活性和经济性,因而适应于当代科学技术迅速发展和科学研究不断深化所提出的更高更新的测量课题和测量需求。虚拟仪器相比于传统仪器具有诸多优势而这些优势使得虚拟仪器技术非常适用于高等教育实验课程的应用。高等学校特别是理工科学校,教学、科研需要大量的测量分析仪器设备,特别是实验教学,每种仪器都必须配置多套,而且有的仪器设备价格昂贵,因此仪器设备所需投资巨大,一般学校很难满足,造成许多学校仪器设备缺乏和过时陈旧等现象,严重影响教学科研。如果运用虚拟仪器系统,情况就大不一样了。使用虚拟仪器不但可以节约大量仪器设备的经费投入,而且能够提高教学科研的质量与效率。 实验教学是许多专业必须进行的一项教学活动。掌握测量仪器和设备的操作使用方法是每个学生进行科学实验基本前提。传统的教学方法是让学生在教师的指导下进行实际的操作使用,随之而来的问题是教师的工作量很大而很难对所有学生进行指导,既影响教学效果又容易造成仪器损坏。运用LabVIEW辅助实验教学能有效地打到教学目的并且避免仪器的损坏,节约开支。二、主要设计(研究)内容 本次毕业设计要求学生熟练掌握LabVIEW图形化的编程语言G语言,并且用该语言实现电子线路中常用信号的采集、产生、处理等设计功能,引用频率调制和相位调制的具体实例,产生波形,对波形进行计算,分别产生调频和调相信号并且显示在面板上。在仪器面板上对载波,调制波,信号幅度,信号频率等参数任意调整,实现动态显示。完成LabVIEW在电子线路课程中的应用设计。三、研究方案及工作计划(含工作重点与难点及拟采用的途径)I、 研究方案:下面是本毕业设计的研究方案,主要从工作重点与难点及拟采用的途径来分析。1 重点与难点 LabVIEW程序主要包括两部分:前面板(即人机界面)和方框图程序。前面板用于模拟真实仪器的面板操作,可设置输入数值、观察输出值以及实现图表、文本等显示。框图程序应用图形编程语言编写,相当于传统程序的源代码。其用于传送前面板输入的命令参数到仪器以执行相应的操作。LabVIEW的强大功能在于层次化结构,用户可以把创建的VI程序当作子程序调用,以创建更复杂的程序,而且,调用阶数可以是任意的。LabVIEW编程方法与传统的程序设计方法不同,它拥有流程图程序设计语言的特点,摆脱了传统程序语言线性结构的束缚。LabVIEW的执行顺序依方块图间数据的流向决定,而不像一般通用的编程语言逐行执行。在编写方块图程序时,只需从功能模块中选用不同的函数图标,然后再以线条相互连接,即可实现数据的传输。 本设计的重点和难点在于用LabVIEW实现电子线路常规教学中对典型电路实验的仿真与调试,选取LabVIEW在模拟电路和数字电路中应用的实例进行研究,并且给出具体方案。2. 系统软件设计:2.1 LabVIEW在电子线路中运用的实例。基于LabVIEW的频率调制和相位调制 频率调制和相位调制是广泛采用的2种基本调制方式。频率调制(frequency modulation,FM)简称调频,它是使载波信号的频率按调制信号规律变化的一种调制方式;相位调制(phase modulation,PM),简称调相,它是使载波信号的相位按调制信号规律变化的一种调制方式。 首先根据仪器功能要求,利用虚拟仪器开发平台所提供的子模板,确定程序的流程图、主要处理算法和所实现的技术方法。 所用到的数据库(1)数据采集函数库(data acquisition),使用这些函数必须配有数据采集硬件,若只模拟仪器工作原理而不作实际测量,则不必使用。(2)波形函数库(waveform)用于和波形相关的一些操作,如波形产生、波形测量、波形文件输入/输出、波形操作、波形显示等。(3)信号处理函数库(signal processing)用于将信号进行一定的变换处理。包括信号产生、时/频域信号分析、相关分析、曲线拟合、滤波器、窗函数等。 前面板设计4个图形控件来显示波形,4个数字控件输入参数,一个开关控制运行与停止,2个字符串输入控件选择调频与调相。 在程序前面板输入各个参数值,运行程序,可以清楚看到产生的已调信号及其频谱图,并可通过前面板中的参数控件改变调制信号的幅度,可以看到载波信号的瞬时相位随调制信号的幅度改变而改变;另外可以看到产生已调信号的频谱的改变情况。仪器面板可以对载波、调制波、信号幅度、信号频率等参数可以任意调整,实现动态显示。开始设置参数利用公式产生调幅与调频计算频谱输出已调波形停止?显示已调波显示已调波频谱结束角度调制信号发生器原理框图II、工作计划:起止日期(日/月)周 次 进度计划2.172.23 1熟悉课题、收集相关资料2.243.2 2收集、消化相关资料3.33.9 3拟定设计方案、方案比较3103.164撰写开题报告3.173.235提交毕业设计开题报告,参加开题3.243.316设计方案细化、方案改进4.14.147软件调试4.154.218软件调试、软件设计改进4.224.289撰写设计报告书4.295.510撰写设计报告书5.65.1211撰写设计报告书、完成初稿5.135.1912设计报告书修订、完成毕业设计5.205.2613提交正式设计报告书,参加论文互评5.276.214提交正式设计报告书,参加论文答辩 6.36.9 15设计报告书答辩后修订 6.106.16 16毕业设计完成四、主要参考文献1 刘华君基于LabVIEW的虚拟仪器设计M北京电子工业出版社,2003.2 尹妍萍,王健,等LabVIEW在教学测试实验中的应用J. 实验室研究与探索,2002,21(1):63-64.3 孙宁,黄惟公基于LabVIEW与单片机的教学实验系统J中国仪器仪表,2005(12):104-107. 4 Gary W.Johnson.LabVIEW图形编程M北京: 北京大学出版社,2002.5 杨乐平, 李海涛, 肖相生. LabVIEW 程序设计与应用M北京: 电子工业出版社, 2001.6 海燕,杨建新,郁鼎新,等基于LabVIEW的虚拟仪器开发J机械工程师,2000(4):33.7 邓焱,王磊. LabVIEW 7.1 测试技术与仪器应用M北京:机械工业出版社,2004.8 周舒梅动态信号分析及仪器M北京:机械工业出版社,19909 侯国屏,王坤,叶齐鑫. LabVIEW 7.1 编程与虚拟仪器设计M北京:清华大学出版社,2005.10 李刚,林凌LabVIEW易学易用的计算机图形化编程语言M北京:北京航空航天大学出版社,2001.11 李字华虚拟仪器开放平台LabVIEW介绍J计算机自动测量与控制,1996,(3).12 杨乐平,吕英军.虚拟数字示波器的设计与实现J自动化与仪器表,2000 , (7):28-3.13 何瑛,宋利,张伟,等基于LabVIEW 的数据采集卡(DAQ)驱动程序设计J. 电测与仪表,2000,(4):35-3714 郑利峰,杨小雪,张汉全基于LabVIEW频谱分析仪设计J自动化与仪器仪表,2002(5):4=7115 关旭,张春梅,王尚锦.虚拟仪器软件LabVIEW 和数据采集J微机发展,2004 ,14(3):77-7916 帕特森Casmir D Mello,桑德拉D Souza Design and development of a Virtual Instrument for Bio-signal Acquisition and Processing using LabVIEW J.International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering.2013.附录A:英语引文及翻译 Design and development of a Virtual Instrument for Bio-signal Acquisition andProcessing using LabVIEWPatterson Casmir DMello1, Sandra DSouza2Department of Instrumentation & Control Engineering, M.I.T, Manipal1, 2S1, 2Abstract:The increased performance of personal computers and their reduced cost has made it possible for development of PC based signal processing systems. Hospitals need several measurement systems that can measure physiological parameters of the patients. Although diagnostic medical instruments have been widely used, combining virtual instrument technology to achieve the purpose of physiological measurement has several benefits. These systems are efficient and cost-effective for acquiring and analyzing biomedical signals. Utilizing virtual instrumentation to achieve physiological measurement will largely decrease the cost and increase the flexibility of the instruments. This work aims at designing a virtual instrument for acquiring and processing of Electrooculogram signal. Electrooculography (EOG) is a technique for measuring the resting potential of the retina. Keywords: Data acquisition, signal processing, LabVIEW, Virtual Instrument, EOG measurementI. INTRODUCTIONHospitals need several measurement systems that can measure physiological parameters of the patient. Measurement systems should be able to measure accurately the vitals of patient like heart conditions, body temperature, electrical activity of the heart, electrical activity of the brain etc. This information should be readily available to the doctors for diagnosis and proper treatment. PC based signal acquisition, and analysis is an efficient and cost effective method for biomedical signal acquisition and monitoring. Isolation of the subject from the electronic circuitry is very important. Also, since the bio signal level is very low, amplification of signals is important. Hence, a PC based system consists of additional circuits for isolation and amplification of the signals. Combining virtual instrumentation technology for physiological measurements is an upcoming technology that is currently rising up at a faster rate. The cost can be drastically brought down and the flexibility can be increased by use of virtual instrumentation .National Instruments LabVIEW is a platform and development environment for a visual programming. The purpose of such programming is automating the usage of processing and measuring equipment in any laboratory setup. Controls and indicators on the front panel allow an operator to input data into or extract data from a running virtual instrument. A key benefit of LabVIEW over other development environments is the extensive support for accessing instrumentation hardware. The paper is organized as follows: Section I, gives introduction to virtual instrumentation and need of the current work, Section II, explains the bio signal details, Section III discusses the challenges in the design, Section IV explains the performance and results, and the last Section V concludes the paper followed by references used.II. BIOELECTRIC SIGNAL-.ELECTOOCULOGRAMElectric potentials are generated as a result of movement of the eyeballs within the conductive environment of the skull. Electrodes placed on either side of the eyes or above and below them pick up the potentials generated by the motion of the eyeball. This potential varies approximately in proportion to the movement of the eyeballs. This signal is small separately. This requires five electrodes which are placed above and below the eye for vertical movements, and on the sides of the eye (canthi) for horizontal movements. A reference electrode is placed on the forehead of the subject. Considering the cost and reliability makes Silver (Ag)-Silver Chloride (AgCl) electrodes ideal for EOG. An electrolytic gel based on sodium chloride is applied to the skin since the upper layers of the skin are poor conductors of electricity. Several methods have been proposed in literature that use Electrooculograms (EOGs) occurring as a result of eye movements 3-5. An electric wheelchair controlled by eye movements using EOG has been developed as a movement support device. An EOG based hospital alarm system has been successfully tested. An eye gazing system for detecting any point where the eye gazes on the screen has been developed for communication assistance purposes 4, 5。Noise ReductionEOG signals have a range of 0.5Hz to 30Hz. Thus, a low pass filter with 30Hz cutoff could remove most of the high frequency noises. And a high pass filter of 0.5 Hz is required, which together form a band pass of 50 Hz. Other noise artifacts are mostly transients caused, for example, by the turning of an electrical switch on/off in the vicinity of the electrodes, contraction of the facial or neck muscles, slippage of the electrode due to sweat and eye blinking .However, the signals produced by eye blinks are, in fact, quite regular. They appear as sudden spikes with distinguishing amplitudes. Hence it is possible to easily recognize. Changed when the eye is moved and the movement of the eye is translated into electrical change of potential. This potential can be noninvasively recorded by using surface electrodes.,provides an on invasive method for recording full range of eye movements. The resting potential is A pair of electrodes is required for measuring the resting potential of the retina. It Hz). Electrooculography is a technique for (10 to 100microV) and has low frequencies (dc to 30)III.CONSTRUCTION AND CHALLENGESThe main objective of the current work carried on is to develop a virtual instrument which can acquire the EOG signal, perform noise elimination and amplification. Acquiring the signal using NI DAQ, designing the suitable low cost amplifier for amplification and designing of low pass and high pass filters was done. The acquired signal was displayed using LabVIEW front panel. The front panel and block diagram have been designed. The basic block diagram is shown is fig 1. filter of bandwidth 0.5Hz to 30 Hz. Power line frequency can be easily removed, using a notch filter Protection circuit: This circuit includes protection devices so that the high voltages that may appear across the input to the electrooculography under certain conditions do not damage it. Preamplifier: The input preamplifier stage carries out the initial amplification of the EOG. This stage should have very high input impedance and a highCommon-ode-rejection ratio (CMRR). Isolation circuit: The circuitry of this block contains a barrier to the passage of current from the power line (50 Hz). This barrier would prevent dangerous currents from flowing from the patient through the amplifier to the ground of the recorder or Microcomputer. Driver amplifier: Circuitry in this block amplifies the EOG to a level at which it can appropriately record the signal on the recorder. This stage also carries out the band pass filtering of the electrocardiograph to give the frequency characteristics of the signal. A. Signal Acquisition and processing Data acquisition cards for multiple channels for analog input and outputs are available. Using the libraries, programs for the data acquisition are quickly and easily made. Additional noise is filtered using the choice of filters like Butterworth, Bessel, Chebyshev I, and Chebyshev II provided in the LabVIEW software. The installation of the DAQ card includes:1. Installation of the application software 2. Installation of the DAQ card driver first, before assembling DAQ card into the desk top computer. This process can ensure WINDOWS to detect the DAQ card.3. Installing the necessary devices, accessories and cables. 4. Power on the computer. 5. Confirm that the device is recognized. 6. Run the test Panel. In the current work, M Series USB-6221 is used as data acquisition interface.B. Design of front panel Different blocks used in the front panel are:1. Case structure: Only one subdiagram is visible at a time, and the structure executes only one case at a time. An input value determines which subdiagram executes. 2. Time delay: The Wait (ms) function waits until the millisecond counter counts to an amount equal to the input you specify. This function guarantees that the loop execution rate is at least the amount of the input you specify. 3. Filter: The Filter Express VI processes a signal through filters and windows. Filters used include the following: High pass, Low pass, Band pass, Band stop, and Smoothing. Windows used include Butterworth, Chebyshev, Inverse Chebyshev, Elliptical, and Bessel.4. Waveform graph: The waveform graph displays one or more plots of evenly sampled measurements.5. Amplitude and level measurements: he Amplitude and Level Measurements Express VI performs voltage measurements on a signal. These include DC, rms, maximum peak, minimum peak, peak to peak, cycle average, and cycle rms measurements.6. Tone measurements: The Tone Measurements Express VI searches for a single tone with the highest frequency or highest amplitude. It also finds the frequency and amplitude of a single tone. 7. Write to measurement file:The Write to Measurement File Express VI writes a file in LVM or TDM file format. 8. Build table: Converts a signal or signals into a table of data that lists the amplitude of each signal and the time data for each point in the signal.9. Result table: Use the table control to create a table on the front panel. Each cell in a table is a string, and each cell resides in a column and a row. Therefore, a table is a display for a 2D array of strings.10. String: A string is a sequence of displayable or non-displayable ASCII characters. Strings provide a platform independent format for information and data.11. While loop: Repeats the sub-diagram inside it until the conditional terminal, an input terminal, receives a particular Boolean value. 12. Merge signal: Merges two or more signals into a single output. Resize the function to add inputs. This function appears on the block diagram automatically when you wire a signal output to the wire branch of another signal.13. Simulate signal: The Simulate Signal Express VI generates simulated data such as a sine wave.14. Numeric control & indicator: The numeric data type can represent numbers of various types, such as integer or real. The two common numeric objects are the numeric control and the numeric indicator. (courtesy: National Instruments, LabVIEW)翻译:使用LabVIEW为Bio-signal收购设计和开发的虚拟仪器帕特森Casmir D Mello1,桑德拉D Souza2仪表与控制工程系,M.I.T,Manipal1,2S1,2摘要:增加个人电脑的性能和降低成本使个人电脑为基础的信号处理系统的发展。医院需要一些测量系统,可以测量病人的生理参数。尽管诊断医疗仪器已经广泛应用,结合虚拟仪器技术,实现生理测量的目的有几个好处。这些系统是有效的,具有成本效益的获取和分析生物医学信号。利用虚拟仪器实现生理测量将在很大程度上降低了成本和提高仪器的灵活性。这项工作的目的是设计一个虚拟仪器获取和处理的眼电图信号,Electrooculography(EOG)技术测量视网膜的静态电位。关键词:数据采集、信号处理、虚拟仪器、虚拟仪器、EOG测量一 介绍医院需要一些测量系统,可以测量病人的生理参数。测量系统应该能够准确衡量病人的重要器官如心脏病,体温,心脏的电活动,大脑的电活动等。这些信息应该容易获得医生的诊断和适当的治疗。基于个人电脑的信号采集和分析是一个高效和成本有效的方法对生物医学信号采集和监控。电子线路隔离的主题是非常重要的。而且,由于生物信号水平非常低,放大的信号是很重要的。因此,基于PC的系统包括附加电路的隔离和放大信号。结合虚拟仪器技术对生理测量是即将到来的技术,目前正在以更快的速度上升。可以大大降低了成本,使用虚拟仪器可以增加的灵活性。国家仪器的虚拟仪器是一种可视化编程平台和开发环境。这种编程的目的是自动化加工和测量设备的使用在任何实验室设置。前面板上的控件和指标允许操作员输入数据到或从一个运行的虚拟仪器中提取数据。在其他虚拟仪器开发环境的一个关键好处是访问仪器硬件的广泛支持。本文的组织结构如下:第一部分,给介绍虚拟仪器和当前的需要工作;第二部分,解释了生物信号的细节;第三部分讨论了在设计的挑战;第四部分解释了绩效和成果;最后第五部分总结了论文引用使用紧随其后。二 生物信号电动电位产生的眼球运动的导电环境内。电极放置两侧的眼睛或上方和下方接眼球的运动生成的潜力。这种潜在的不同比例大约眼球的运动。这个信号是单独小的。这需要五电极放置上方和下方的垂直运动的眼睛,和的眼睛(眼角)水平运动。一个参考电极放置的额头。考虑到成本和可靠性使得氯化银(Ag)-Silver(AgCl)电极的理想EOG。一个基于氯化钠电解凝胶应用于皮肤自上层是电的不良导体。已经提出了很多方法文献使用Electro

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论