节点文献

基于RMI-IIOP的移动机器人远程监控系统的研究

Research on Remote Monitoring and Control System of Mobile Robot Based on RMI-IIOP

【作者】 牟龙芳

【导师】 李贻斌; 周风余;

【作者基本信息】 山东大学 , 控制理论与控制工程, 2008, 硕士

【摘要】 随着机器人技术的发展,机器人的种类日趋增多。不同种类的机器人往往具有不同的硬件平台、操作系统,使用不同的协议进行通信,采用不同的编程语言进行应用程序开发。所有这些不同都体现了机器人的异构性,阻碍着机器人之间的相互通信。因此,如何构建一个通用的平台来实现机器人之间的互相通信,成为一个非常有意义的研究课题。本文采用RMI-ⅡOP中间件技术的方法解决了移动机器人之间的异构性问题,并在此基础上实现了B/S(浏览器/服务器)模式下的移动机器人远程监控。论文首先介绍CORBA规范与Java RMI技术的基本概念,具体分析两者的优缺点,在此基础上深入研究了结合两者优势的RMI-ⅡOP技术。CORBA(公共对象请求代理体系结构)建立了一个跨语言的分布式对象体系构架,提供了一个多种语言对象间进行交互的分布式操作规范,以支持异构分布应用程序间的互操作性及独立于平台和编程语言的对象重用。CORBA非常复杂,要熟练使用CORBA,开发者通常要经历陡峭的培训曲线。Java RMI(Java远程方法调用)是一种分布式系统技术,通过使用Java语言来编写分布式对象,它允许一个Java虚拟机调用运行在位于网络中另一处Java虚拟机的对象方法,为采用Java对象的分布式计算提供了简单而直接的途径。Java RMI仅仅适用于纯Java应用,跨语言特性差,不能与其他语言实现的对象进行通信。RMI-ⅡOP是企业服务器端Java开发的基础,RMI-ⅡOP克服了RMI和CORBA的缺点,融合了RMI和CORBA各自的优点,兼有Java RMI的简易性和CORBA技术的语言中立特性。开发者只需要极少修改就可以在ⅡOP上运行RMI调用,从而能够更加方便地编写分布式程序设计。其次给出系统的实现目标,并针对该目标设计了B/S模式下基于RMI-ⅡOP的包括数据源、Web服务器、监控终端在内的三层分布式网络控制体系结构。数据源包括移动机器人、声纳传感器、激光传感器、摄像头、车载PC以及数据库服务器,Web服务器采用了免费的开放源代码的Tomcat应用服务器,监控终端是任何一台连接到互联网上的计算机。随后详细展示移动机器人软件系统研发流程。首先设计了通用的移动机器人接口,然后针对MobileRobots机器人具体实现了该通用接口,开发出通用的服务器端和客户端。同时利用JMF技术在服务端实现了视频的实时采集和发送,在客户端实现了视频的实时接收和显示。最终进行系统部署和测试,测试结果表明系统具有良好的可操作性、可移植性和跨平台性。

【Abstract】 With the development of robot technology, the types of robot have been increasing. Different types of robots often have different hardware platforms and operating systems. At the same time, they often use different protocols to communicate and use different programming languages for application developments. These differences exhibit large heterogeneity of the robots and they hamper the mutual communication between the robots. So how to build a common platform to achieve mutual communication between different types of robots has become a valuable research topic.This dissertation uses RMI-IIOP middleware technology to solve the heterogeneous problem between mobile robots, and implements mobile robot remote monitoring under the B/S(Browser/Server) mode.This dissertation first introduces the fundamental concepts of Java RMI and CORBA. Then with a concrete analysis of the advantages and disadvantages of Java RMI and CORBA, the dissertation has an in-depth study on RMI-IIOP which is a combination of the advantages of Java RMI and CORBA. CORBA(Common Object Request Broker Architecture) establishes a cross-language framework of the distributed object system, and provides distributed practices of interaction between multilingual objects to support interoperability between heterogeneous distributed applications and object reuse which is independent of platform and programming language. CORBA is very complicated and developers usually have to undergo steep training curve before skilled using CORBA. Java RMI (Java Remote Method Invocation) is a technology of distributed system. Through using Java language to implement distributed objects, Java RMI allows a Java Virtual Machine to call a function of a remote object at another Java Virtual Machine in the network. So Java RMI provides a simple and direct way for distributed computing to use the Java objects. But Java RMI is only adapted to pure Java applications, and has poor cross-language feature. So the objects implemented in Java can not communicate with the objects implemented in other languages. RMI-IIOP is the basis of server-side Java development for the enterprise. RMI-IIOP overcomes the shortcomings of RMI and CORBA, and integrates the respective merits of RMI and CORBA. It has the simplicity of the Java RMI and language-neutrality of the CORBA. Developers rarely need to modify the applications invocating RMI calls over the IIOP protocol, and they can more easily program for distributed systems.Secondly, the dissertation sets the target of the system and designs a three-tier distributed network architecture based on the RMI-IIOP under the B/S model. The three tiers include data sources, web server and monitoring terminal. Data sources include mobile robot, sonar sensors, laser sensors, cameras, onboard PC and database server. Web server uses free and open-source Tomcat application server. Monitoring terminals can be any computer connected to the Internet.Subsequently the dissertation detailed displays the development process of mobile robots remote monitoring and control system. First a common interface for mobile robots is designed, then a concrete realization of the common interface according to MobileRobots is provided, and a universal server side and client side are developed. At the same time, through using JMF technology, the server side implements the real-time acquisition and delivery of video, and the client side implements real-time receive and display of video. Ultimately deployment and test of the system is implemented and the results show that the system has good workability, portability and cross-platform features.

  • 【网络出版投稿人】 山东大学
  • 【网络出版年期】2009年 01期
节点文献中: