嵌入式虚拟实验系统内核的设计与实现
发布时间:2018-07-20 14:11
【摘要】:嵌入式技术随着后PC时代的到来得到了迅猛的发展,人才缺口较大。《嵌入式系统》是一门实践性很强的课程,其实验设备更新换代快、投入大,一些高校无力提供足够的实验设备。而远程教育则不能提供真实的设备。采用信息网络技术建立嵌入式课程的虚拟实验系统成为解决此类问题的可行方案。 本文通过对国内外虚拟实验系统以及嵌入式实验教学现状的深入调研,结合嵌入式系统和现有Web虚拟实验教学平台的特点,设计了一个界面和内核相分离的嵌入式技术虚拟实验系统,并针对内核和接口部分的设计和实现过程进行了详细的描述。 系统采用面向对象技术对内核部分进行仿真建模,将其分成虚拟设备系统、指令仿真系统和控制系统三个部分。在虚拟设备系统中建立了通用的设备模型,对设备进行独立设计和实现,方便了设备的扩展和实验的自由搭建;按照解释执行的方式对指令系统进行了仿真,保证了用户透明性;在控制系统中利用消息机制简化了实验运行控制的复杂度,设计了消息的统一格式和调度算法,实现了实验电路信号的传递和用户操作的处理。整个内核部分采用纯软件建模方式实现,具有良好的移植性。系统按照丰富性、方便性和可扩展性要求设计了内核接口,并采用JNA技术进行了实现,使界面部分能够便捷地调用内核提供的功能,从而向用户全面地展示整个实验过程。 本文以8051单片机系统为例,介绍了按照内核模型设计和实现具体设备、处理器及指令系统的过程。并以8051的两个综合实验对系统内核进行了测试,验证了内核模型的合理性。内核部分的良好设计保证了系统扩展性以及后续添加Web界面部分后运行的稳定性,能够满足嵌入式虚拟实验教学平台发展的需要。
[Abstract]:With the arrival of the post-PC era, embedded technology has been developing rapidly, and the talent gap is large. Embedded system is a very practical course, its experimental equipment is updated quickly, and the investment is large. Some colleges and universities are unable to provide enough experimental equipment. Distance education, on the other hand, does not provide real equipment. Using information network technology to set up the virtual experiment system of embedded course is a feasible scheme to solve this kind of problem. In this paper, the characteristics of embedded system and Web virtual experiment teaching platform are analyzed by investigating the present situation of virtual experiment system and embedded experiment teaching at home and abroad, and combining with the characteristics of embedded system and Web virtual experiment teaching platform. A virtual experimental system of embedded technology is designed in which the interface is separated from the kernel, and the design and implementation of the kernel and interface are described in detail. The system uses object-oriented technology to simulate and model the kernel part, which is divided into three parts: virtual device system, instruction simulation system and control system. In the virtual device system, a general device model is established, and the device is designed and implemented independently, which facilitates the expansion of the device and the free construction of the experiment, and simulates the instruction system according to the way of interpretation and execution. In the control system, the complexity of the control is simplified by using the message mechanism, and the unified format and scheduling algorithm of the message are designed, which can realize the signal transmission of the experimental circuit and the processing of the user operation. The whole kernel part is realized by pure software modeling, which has good portability. According to the requirements of richness convenience and expansibility the system designed the kernel interface and implemented it by using JNA technology. The interface part can call the functions provided by the kernel conveniently and show the whole experiment process to the user. Taking 8051 single chip computer system as an example, this paper introduces the process of designing and implementing the specific equipment, processor and instruction system according to the kernel model. The kernel of the system is tested with two comprehensive experiments of 8051, and the rationality of the kernel model is verified. The good design of the kernel ensures the expansibility of the system and the stability of the subsequent operation after adding the Web interface, which can meet the needs of the development of the embedded virtual experimental teaching platform.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP391.9;TP368.1
本文编号:2133798
[Abstract]:With the arrival of the post-PC era, embedded technology has been developing rapidly, and the talent gap is large. Embedded system is a very practical course, its experimental equipment is updated quickly, and the investment is large. Some colleges and universities are unable to provide enough experimental equipment. Distance education, on the other hand, does not provide real equipment. Using information network technology to set up the virtual experiment system of embedded course is a feasible scheme to solve this kind of problem. In this paper, the characteristics of embedded system and Web virtual experiment teaching platform are analyzed by investigating the present situation of virtual experiment system and embedded experiment teaching at home and abroad, and combining with the characteristics of embedded system and Web virtual experiment teaching platform. A virtual experimental system of embedded technology is designed in which the interface is separated from the kernel, and the design and implementation of the kernel and interface are described in detail. The system uses object-oriented technology to simulate and model the kernel part, which is divided into three parts: virtual device system, instruction simulation system and control system. In the virtual device system, a general device model is established, and the device is designed and implemented independently, which facilitates the expansion of the device and the free construction of the experiment, and simulates the instruction system according to the way of interpretation and execution. In the control system, the complexity of the control is simplified by using the message mechanism, and the unified format and scheduling algorithm of the message are designed, which can realize the signal transmission of the experimental circuit and the processing of the user operation. The whole kernel part is realized by pure software modeling, which has good portability. According to the requirements of richness convenience and expansibility the system designed the kernel interface and implemented it by using JNA technology. The interface part can call the functions provided by the kernel conveniently and show the whole experiment process to the user. Taking 8051 single chip computer system as an example, this paper introduces the process of designing and implementing the specific equipment, processor and instruction system according to the kernel model. The kernel of the system is tested with two comprehensive experiments of 8051, and the rationality of the kernel model is verified. The good design of the kernel ensures the expansibility of the system and the stability of the subsequent operation after adding the Web interface, which can meet the needs of the development of the embedded virtual experimental teaching platform.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP391.9;TP368.1
【参考文献】
相关期刊论文 前9条
1 王林涛;浅谈单片机的存储器结构[J];电子世界;2000年03期
2 刘涛;周红玻;;嵌入式系统实验教学改革实践[J];光盘技术;2009年10期
3 汤先云;;基于Multisim 10平台的单片机程序设计与仿真[J];吉首大学学报(自然科学版);2010年05期
4 钱斌,付宇卓;一种基于虚指令集技术构建快速的可重用的指令集仿真器的方法[J];计算机工程与应用;2005年12期
5 文福安;;虚拟实验教学系统的研究与应用[J];中国教育信息化;2008年21期
6 徐朝军,李艺;数字化实验室的建设[J];实验室研究与探索;2003年01期
7 赖晓晨;刘文杰;;高校嵌入式实验室建设探索[J];实验室研究与探索;2007年06期
8 冼进;贾德良;毕盛;;嵌入式系统实验课的教学改革初探[J];实验室研究与探索;2011年08期
9 马刚;李向仓;;用Proteus与Keil整合构建单片机虚拟仿真平台[J];现代电子技术;2006年24期
,本文编号:2133798
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2133798.html