1 / 95
文档名称:

人机对弈平台开发-毕业论文.docx

格式:docx   大小:2,879KB   页数:95页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

人机对弈平台开发-毕业论文.docx

上传人:lanyou1106 2018/2/25 文件大小:2.81 MB

下载得到文件列表

人机对弈平台开发-毕业论文.docx

相关文档

文档介绍

文档介绍:人机对弈平台开发
摘要
1997年世界首席国际象棋大师卡斯帕罗夫与IBM公司生产的计算机“更深的蓝”经过几轮角逐,“深蓝”终以2:1战胜了卡斯帕罗夫。这是人机博弈史上最伟大的一次较量,自此人机对弈的研究与发展风靡全球。本文所选取的是以井字棋游戏为实例,阐述了如何以单片机、PLC、关节机器人、以及触摸屏开发出的一个人机对弈平台。
首先本文运用极值法、剪枝法以及博弈树理论建立起六轴机器人核心的回棋运算规则并通过STC单片机设计出了回棋程序;然后使用汇编语言编写出关节机器人的基本运动程序使机器人做到了推棋、下棋、收棋等动作。
其次经过ModBusTCP协议以及以太网的通信方式将汇川PLC设置为系统主站,其他系统为从站,建立起的一个整个平台的信息通讯,并运用PLC的梯形图方式编写出了各个系统之间相互协调的控制程序。
最后运用InoTouch Editor软件绘制出游戏的主界面、先手选取、棋盘落子、获胜情况以及游戏结束等界面并通过连接触摸屏可以进行实时的人机对弈。
关键词:PLC 单片机关节机器人触摸屏以太网极值法
Development of puter game platform
Abstract
In 1997, the world's chief chess player Kasparov and IBM produced puter "deeper blue" after several rounds petition, and "deep blue" defeated Kasparov by 2:1. This is the greatest contest in the history of puter game, and the research and development of the man machine game has been popular all over the world. In this paper, we take well play chess as an example to explain how to develop a personal game platform based on MCU, PLC, joint robot and touch screen.
Based on the extremum method and tree pruning method and the game theory to establish six axis robot core of the same operation rules and through the STC microcontroller designed the same program; then using assembly language basic motion program joint robot make robots do chess, chess, chess push close action.
Secondly, through the ModBusTCP protocol and munication mode of will Huichuan PLC is set to the master system, other systems from the station, communication of information to establish a whole platform, and use the PLC ladder way to write a program to control the coordination between the various systems.
Finally, draw the main interface, the game player selection, the board and the end of the game, winning the Lazi interface and connected through the touch screen can be real-time man-machine chess by using InoTouch Editor software.
Keywords: PLC Singlechip Joint robot HMI Extremum method
序言
人工智能的出现绝非偶然,而人机对弈早在人工智能发展初期的20世纪50年代,来自IBM工程研究组的Samuel就开发出了跳棋程序,它具有初步的学****能力,可以在与人对弈的过程中不断地积累经验,提高自己的棋艺。并