节点文献

模块化电工电子平台的虚拟仪器实现

【作者】 俞海明

【导师】 史仪凯;

【作者基本信息】 西北工业大学 , 机械电子工程, 2003, 硕士

【摘要】 电工电子实验教学和研究中以综合实验平台取代分立器件和仪器是一种趋势。本文通过研究电工电子实验、现有的实验设备以及综合实验系统的发展现状,提出采用模块化设计思想开发基于虚拟仪器的实验平台。 模块化设计思想是一种在软硬件设计中都被广泛采用的设计思想,它是综合考虑系统对象的基础上,把系统分解成不同用途和性能的模块。本文在这种思想的指导下,对电工电子实验进行了总体的统计分析,将平台设计成模块化的体系结构,实验器材按通用与非通用配置于母板和子板上,接口实现了一定程度标准化,具备了可扩展性,子板实现了系列化。 本系统集成了虚拟仪器完成电压测量,制作了基于增强并行口EPP、以8051为控制核心完成量程自动转换的数据采集板。在LabWindows/CVI环境下,设计了基于多线程的数据采集处理程序。两者协同工作,完成简单虚拟示波器的功能。平台因此具备了一定的独立于其他测试仪器工作的能力,提高了实验测试的自动化程度。 本文对设计制作实验平台时采用的设计方法作了介绍,数据采集部分是一个单片机的嵌入式应用,在设计中引入了常用于软件面向对象分析设计的统一建模语言UML进行设计描述,状态图尤其适合嵌入式系统设计。各模块具体电路设计过程中普遍使用PSpice对电路进行仿真,帮助快速设计。 本文在设计调试单片机嵌入式应用时深感不便,而软硬件协同设计和验证是针对传统设计方法割裂软件和硬件的开发过程存在的缺陷提出的,是一种较好的设计方法,本文介绍了相关理论,并建议采用嵌入式操作系统,简化设计、提高性能。

【Abstract】 It’s the trend that electronic experiment platform takes the place of separated components and instruments in training and study of experiment. Having been familiar with the requirements equipments of the experiment, and the development of experiment platform, we design and implement one which is based on virtual instrument technology and modularization thought.Modularization is widely used in hardware and software design. According to the theory, we design an architecture in modules. All the equipments are divided into two groups, the commons are mounted on master board and the others on separated circuit boards. The interface between the two groups is standardized. Therefor, the integrated platform has a series of modules and can be expanded easily.The virtual oscillograph to measure voltage is brought into the system. Its DAQ board is based on EPP and 8051 is used as the controller. The program on PC is designed into two threads. They work together as a virtual oscillograph.Some methods are introduced, such as UML modeling and circuit simulation. The state diagram in UML is more useful in analysis and design of an embedded system. Simulations help us design with less mistakes and more quickly.The embedded application makes the design more difficult. Co-design and Co-verification are better methodologies and introduced in this paper. To use embedded real-time operationg system is my another suggestion.

  • 【分类号】TP391.9
  • 【下载频次】165
节点文献中: 

本文链接的文献网络图示:

本文的引文网络