请下载论文,论文或程序为doc或rar格式,只上传部分目录查看,如果需要此论文或程序,请点击-下载论文,下载需要资料或是论文。人机接口设备—开关类部件的仿真实现_论文和
程序及源代码
,因文件夹或是目录太多,只读取部分文件显示,需要就下载参考
包括目录名称:
人机接口设备—开关类部件的仿真实现_论文和程序及源代码 - 2 文件数, 0 目录数.
..\人机接口设备—开关类部件的仿真实现.doc
..\徐爽的
毕业设计代码.rar
br>
人机接口设备--开关类部件的仿真实现
摘 要
本文先简要介绍了仿真的基本理论,现状及发展前景,然后说明本
毕业设计的研究目的和意义。开关类部件的仿真是为了在虚拟的接口实验平台上,以计算机
软件模拟实际环境进行科学实验。本设计中主要研究的是机械类开关,包括单刀单掷开关和单刀双掷开关及键盘开关。详细分析了这些开关的机械物理特性,特别是开关在开、合过程中的瞬态响应特点。利用MFC类库和Visual C++提供的高度可视的应用程序开发工具对开关类部件进行模拟仿真设计:首先由虚拟实验平台统一设计的器件基类,派生出对应的开关器件类,通过重载基类中的一些虚函数,仿真实现开关的相应功能特性,包括对输入输出信号的响应及鼠标响应模拟开关动作,不同的执行动作,会使开关有不同的状态,同时也会改变管脚信息。再将器件类封装成DLL模块,以便在实验时,通过特定的接口调用这些器件功能。根据开关的种类将每个种类写成独立的DLL模块。对于单刀单掷开关和单刀双掷开关,经测试,基本达到设计目标,但对于键盘类开关,由于某些技术上和知识上的不足,在本设计中没有成功
设计出相应的DLL模块,有待以后改进。
最后对设计研究
工作进行了总结,指出了研究上的不足及改进方向,说明了在本次设计中的收获。
关键词: 开关的种类;开关的特点;时间响应;仿真实现
Man-machine interface equipment--Switch parts simulation realization
Abstract
The thesis introduced basic theories, current situation and development prospect of simulation briefly first,then explained research purpose and meaning of this graduation project. Switch emulation is to carry on scientific experiment with simulating the real environment by computer software, at the virtual interface experiment platform. In the thesis, the main research topic is mechanical switch, including SPST (Single Pole Single Throw), SPDT (Single Pole Double Throw) and keyboard switch. It analyzed the mechanical physical characteristics of the switches, especially the transient state in the course of holding, shutting of the switch. Exploiting the developing tools for high degree visualized application provided by MFC and Visual C, it simulated the design of switch. At first, it has to design the basic device class by virtual experiment platform, and derive the relative switch device class. With deriving some virtual functions of basic class, the relative function characteristics of switch can be simulated, including the response of input and output signal, mouse response to emulate different switch activities which produce different switch status, and change the pin information simultaneously. Second, the device class is packed into DLL module for using the functions of the device by particular interface in experiments. According to the type of switch, each switch can be packed as an independent DLL module. For SPST and SPDT switches, through testing, they reach the design object basically. But for the keyboard switch, because of the deficiency on some technology and on knowledge, it has not succeeded in designing corresponding DLL module in this thesis, which needs improving in the future.
Finally, the thesis summarized the research work, pointed out the study deficiency and the improving direction, and explained the harvest in the design.
Key
words: Switch type; Switch characteristics; Time responds; Emulation realization
目 录
论文总页数:19页
1 引言 1
1.1 设计背景 1
1.2 计算机仿真 1
1.2.1
计算机仿真的发展 1
1.2.2 计算机仿真的现状 2
1.3 设计目的及意义 3
1.4 预期成果 3
2 设计知识介绍 3
2.2 虚拟实验平台 3
2.2 基类和派生类 3
3 开关类部件的仿真
方案设计 4
3.1 开发工具的选择 4
3.2 模块的划