




免费预览已结束,剩余12页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
灭 火 机 器 人 设 计指导老师: 设计人员: 设计时间: 摘 要:根据灭火机器人的竞赛规则,给出了灭火机器人的硬件结构设计方案和软件设计流程。所用的机器人处理器为AVR单片机,主要利用红外传感器、声音火焰集成传感器、地面灰度传感器对环境进行检测,使机器人在场地中按照预定的方案寻找火源并扑灭。 关键词:灭火机器人;传感器;ATmega32Abstract: Based on fire-fighting robot contest rules, given the structure of fire-fighting robot design hardware and software design process. Processor of the robot used for AVR microcontroller, the main use of infrared sensors, integrated voice flame sensor, ground-based gray-scale detection sensors on the environment, so that in the space of the robot according to the source program to find and fight the fire. Keywords: fire fighting robot; sensor; ATmega32目录1、引言机器人竞赛是近年来迅速开展起来的一种对抗活动,它涉及人工智能、机械、电子、传感器、精密机械等诸多领域。通过竞赛可以培养学生的创新意识、动手能力、团队写作能力等。其中灭火比赛是开展范围最广、影响最大的机器人竞赛项目之一。 比赛规则为模仿生活中消防员灭火,机器人从H点出发,在四个房间内寻找任意摆放的蜡烛,并且设法将其灭掉。比赛场地的墙壁高33cm,材质为木板,颜色为黑色。尺寸如图1所示。对于比赛,得的分越低成绩越好。另外根据选择的模式不同,计分时要乘上相应的系数。图1 比赛场地平面结构2、系统方案设计2.1 设计思想根据灭火比赛的规则要求,配以碰撞传感器、灰度传感器、火焰传感器和红外传感器。通过两路PWM控制两只电机以驱动灭火机器人,另外一路灭火电机由I/O口通过光电耦合器直接驱动。图2 系统总体框图2.2 部分设计方案选择2.2.1显示模块方案选择在小车运行过程中,系统需要对运行的时间和路程做必要的显示。我们考虑有以下两种显示方案。方案一:采用LED数码管显示2只LED数码管进行动态显示即可达到要求。其优点是价格便宜,寿命长;缺点是只能显示09的数字和一些简单的字符,电路设计繁锁,且占用空间。方案二:液晶显示器以其微功耗、体积小、显示内容丰富、超薄轻巧的诸多优点,在袖珍式仪表和低功耗应用系统中得到越来越广泛的应用。基于上述综合考虑,拟定方案二。2.2.2 避障方案选择方案一:利用碰撞传感器检测障碍物方位来达到避障目的,但需与障碍物碰撞才能返回值,对机器本身是一种损害。方案二:利用红外传感器检测前方障碍物,当后方有障碍物时则无法检测到。方案三:将碰撞传感器与红外传感器结合起来进行避障,无论哪个方向上的障碍都可以成功的避开。选择方案三。2.2.3火焰探测方案选择方案一:利用光敏传感器探测正在发光的蜡烛位置,对光敏感性好,但还是容易出现错误,外界干扰大。方案二:利用火焰传感器探测火焰,火焰传感器利用红外敏感型元件对红外信号强度的检测并将其转换为机器人可以识别的信号,从而来检测火焰信号。准确方便,易于操作。结合以上选择方案二。2.2.4启动风扇的方案选择方案一:利用超声波测距判定开启风扇,利用超声波探测距离火焰的位置,达到一个设定位置后打开风扇,这种方案相对成本高。方案二:利用地面灰度传感器判定是否进入白线区来判定是否开启风扇。灰度传感器是模拟传感器,有一只发光二极管和一只光敏电阻,安装在同一面上。灰度传感器利用不同颜色的检测面对光的反射程度不同,光敏电阻对不同检测面返回的光其阻值也不同的原理进行颜色深浅检测。选择方案二。3、系统硬件的设计与实现3.1 系统硬件的基本组成部分图3 硬件基本组成部分由于我们所用到的机器人是整装的,所以硬件需要我们设计的部分就是传感器和风扇电机。3.2 传感器设计灭火比赛需要机器人在尽量不碰撞墙壁的基础上尽可能快地找到蜡烛并将火灭掉。在完成任务的过程中首先需要不碰撞墙壁,然后需要判断前方是否有火焰。在找到火焰后需要判断蜡烛旁边的白线。如果碰撞墙壁的话,需要机器人能检测出来并进行处理,不然就会发生机器人卡死的情况,那就不能完成任何任务。图4 红外传感器电路图4所示为红外传感器的发射和接收电路。红外射管采用脉宽调制(PWM)驱动,工作在38KHz的频率下,减少发射电路的功耗。脉冲发生器由NE555构成,通过外部的电位器R1来调节占空比和脉冲频率,由于红外肉眼不可见,所以电路中加入一个LED指示灯来指示红外发射管是否在工作。该LED和红外发射管串联,当红外发射管正常工作时,该LED灯会点亮。接收电路采用西门子公司生产的红外专用集成接收芯片SFH506-38,它只有接收到38KHZ的脉冲波时才会作用。它内部集成了选项、滤波、放大电路,对外只有3个引脚:脚为信号输出端;脚为接地端;脚为电源端,所以使用起来非常方便,效果比较理想。图5 灰度传感器和火焰传感器 灰度传感器是模拟传感器,有一只发光二极管和一只光敏电阻,安装在同一面上。灰度传感器利用不同颜色的检测面对光的反射程度不同,光敏电阻对不同检测面返回的光其阻值也不同的原理进行颜色深浅检测。 火焰传感器是模拟传感器。它利用红外敏感型元件对红外信号强度的检测并将其转换为机器人可以识别的信号,从而来检测火焰信号。火焰传感器可以用来探测波长在700nm 1000nm范围内的红外线,探测角度为60º;,其中红外线波长在880nm附近时,其灵敏度达到最大。碰撞传感器使用碰撞开关,通过I/O口可直接作为数字量输入。3.3 风扇电机设计将电机接在数据输出接口上,安装好底座。4、系统的软件设计 场地的四个房间内的任何地方都有可能摆放蜡烛,所以机器人必须能够实现搜索所有的房间,而且在行走的过程中不允许碰撞墙壁。找到火源后,通过灭火装置迅速将火灭掉。根据以上的要求设计机器人的灭火逻辑如图8所示。图8 灭火逻辑 机器人采用左手走规则,左手走规则是指机器人始终沿着左面的墙壁行走,一直走完全程。在行走的过程中按照起点、一号房间、二号房间、三号房间、四号房间的顺序搜索火源并灭火。机器人首先读取传感器信息,然后对传感器的信息进行判断。如果发现火源,则进入灭火子程序,该子程序完成趋光、灭火等功能。5、系统测试5.1 系统指标用蜡烛模拟火灾,然后用手机计时器计时,从出发到找到火源灭火的时间,在此过程中踫撞的次数,行为与程序设计要求的行为的一致性,分析出现问题的原因并作出相应的改进。5.2 结论(任务执行情况及改进建议)6、总结本次项目根据灭火比赛规则的要求,基于单片机及传感器原理,主要目的是让我们初步了解智能机器人的相关知识,智能控制的设计思想,掌握一些传感器的使用,能够灵活的利用所学知识完成基本控制操作,达到相应的要求。参考文献能力风暴智能机器人附录附录1 电路硬件原理图附录2程序清单:付:外文翻译RobotRobot is a type of mechantronics equipment which synthesizes the last research achievement of engine and precision engine, micro-electronics and computer, automation control and drive, sensor and message dispose and artificial intelligence and so on. With the development of economic and the demand for automation control, robot technology is developed quickly and all types of the robots products are come into being. The practicality use of robot products not only solves the problems which are difficult to operate for human being, but also advances the industrial automation program. At present, the research and development of robot involves several kinds of technology and the robot system configuration is so complex that the cost at large is high which to a certain extent limit the robot abroad use. To development economic practicality and high reliability robot system will be value to robot social application and economy development. With the rapid progress with the control economy and expanding of the modern cities, the let of sewage is increasing quickly: With the development of modern technology and the enhancement of consciousness about environment reserve, more and more people realized the importance and urgent of sewage disposal. Active bacteria method is an effective technique for sewage disposal,The lacunaris plastic is an effective basement for active bacteria adhesion for sewage disposal. The abundance requirement for lacunaris plastic makes it is a consequent for the plastic producing with automation and high productivity. Therefore, it is very necessary to design a manipulator that can automatically fulfill the plastic holding. With the analysis of the problems in the design of the plastic holding manipulator and synthesizing the robot research and development condition in recent years, a economic scheme is concluded on the basis of the analysis of mechanical configuration, transform system, drive device and control system and guided by the idea of the characteristic and complex of mechanical configuration, electronic, software and hardware. In this article, the mechanical configuration combines the character of direction coordinate and the arthrosis coordinate which can improve the stability and operation flexibility of the system. The main function of the transmission mechanism is to transmit power to implement department and complete the necessary movement. In this transmission structure, the screw transmission mechanism transmits the rotary motion into linear motion. Worm gear can give vary transmission ratio. Both of the transmission mechanisms have a characteristic of compact structure. The design of drive system often is limited by the environment condition and the factor of cost and technical lever. The step motor can receive digital signal directly and has the ability to response outer environment immediately and has no accumulation error, which often is used in driving system. In this driving system, open-loop control system is composed of stepping motor, which can satisfy the demand not only for control precision but also for the target of economic and practicality. On this basis,the analysis of stepping motor in power calculating and style selecting is also given.The analysis of kinematics and dynamics for object holding manipulator is given in completing the design of mechanical structure and drive system. Kinematics analysis is the basis of path programming and track control. The positive and reverse analysis of manipulator gives the relationship between manipulator space and drive space in position and speed. The relationship between manipulators tip position and arthrosis angles is concluded by coordinate transform method. The geometry method is used in solving inverse kinematics problem and the result will provide theory evidence for control system. The f0unction of dynamics is to get the relationship between the movement and force and the target is to satisfy the demand of real time control. in this chamfer, Newton-Euripides method is used in analysis dynamic problem of七he cleaning robot and the arthrosis force and torque are given which provide the foundation for step motor selecting and structure dynamic optimal ting. Control system is the key and core part of the object holding manipulator system design which will direct effect the reliability and practicality of the robot system in the division of configuration and control function and also will effect or limit the development cost and cycle. With the demand of the PCL-839 card, the PC computer which has a. tight structure and is easy to be extended is used as the principal computer cell and takes the function of system initialization, data operation and dispose, step motor drive and error diagnose and so on. A t the same time, the configuration structure features, task principles and the position function with high precision of the control card PCL-839 are analyzed. Hardware is the matter foundation of the control. System and the software is the spirit of the control system. The target of the software is to combine all the parts in optimizing style and to improve the efficiency and reliability of the control system. The software design of the object holding manipulator control system is divided into several blocks such as system initialization block, data process block and error station detect and dispose model and so on. PCL-839 card can solve the communication between the main computer and the control cells and take the measure of reducing the influence of the outer signal to the control system.The start and stop frequency of the step motor is far lower than the maximum running frequency. In order to improve the efficiency of the step motor, the increase and decrease of the speed is must considered when the step motor running in high speed and start or stop with great acceleration. The increase and decrease of the motors speed can be controlled by the pulse frequency sent to the step motor drive with a rational method. This can be implemented either by hardware or by software. A step motor shift control method is proposed, which is simple to calculate, easy to realize and the theory means is straightforward. The motor s acceleration can fit the torque-frequency curve properly with this method. And the amount of calculation load is less than the linear acceleration shift control method and the method which is based on the exponential rule to change speed. The method is tested by experiment.机器人机器人是典型的机电一体化装置,它综合运用了机械与精密机械、微电子与计算机、自动控制与驱动、传感器与信息处理以及人工智能等多学科的最新研究成果,随着经济的发展和各行各业对自动化程度要求的提高,机器人技术得到了迅速发展,出现了各种各样的机器人产品。机器人产品的实用化,既解决了许多单靠人力难以解决的实际问题,又促进了工业自动化的进程。目前,由于机器人的研制和开发涉及多方面的技术,系统结构复杂,开发和研制的成本普遍较高,在某种程度上限制了该项技术的广泛应用,因此,研制经济型、实用化、高可靠性机器人系统具有广泛的社会现实意义和经济价值。 由于我国经济建设和城市化的快速发展,城市污水排放量增长很快,污水处理己经摆在了人们的议事日程上来。随着科学技术的发展和人类知识水平的提高,人们越来越认识到污水处理的重要性和迫切性,科学家和研究人员发现塑料制品在水中是用于污水处理的很有效的污泥菌群的附着体。塑料制品的大量需求,使得塑料制品生产的自动化和高效率要求成为经济发展的必然。本文结合塑料一次挤出成型机和塑料抓取机械手的研制过程中出现的问题,综述近儿年机器人技术研究和发展的状况,在充分发挥机、电、软、硬件各自特点和优势互补的基础上,对物料抓取机械手整体机械结构、传动系统、驱动装置和控制系统进行了分析和设计,提出了一套经济型设计方案。采用直角坐标和关节坐标相结合的框架式机械结构形式,这种方式能够提高系统的稳定性和操作灵活性。传动装置的作用是将驱动元件的动力传递给机器人机械手相应的执行机构,以实现各种必要的运动,传动方式上采用结构紧凑、传动比大的蜗轮蜗杆传动和将旋转运动转换为直线运动的螺旋传动。机械手驱动系统的设计往往受到作业环境条件的限制,同时也要考虑价格因素的影响以及能够达到的技术水平。由于步进电机能够直接接收数字量,响应速度快而且工作可靠并无累积误差,常用作数字控制系统驱动机构的动力元件,因此,在驱动装置中采用由步进电机构成的开环控制方式,这种方式既能满足控制精度的要求,又能达到经济性、实用化目的,在此基础上,对步进电机的功率计一算及选型问题经行了分析。 在完成机械结构和驱动系统设计的基础上,对物料抓取机械手运动学和动力学进行了分析。运动学分析是路径规划和轨迹控制的基础,对操作臂进行了运动学正、逆问题的分析可以完成操作空间位置和速度向驱动空间的映射,采用齐次坐标变换法得到了操作臂末端位置和姿态随关节夹角之间的变换关系,采用几何法分析了操作臂的逆向运动学方程求解问题,对控制系统设计提供了理论依据。机器人动力学是研究物体的运动和作用力之间的关系的科学,研究的目的是为了满足是实时性控制的需要,本文采用牛顿-欧拉方法对物料抓取机械手动力学进行了分析,计算出了关节力和关节力矩,为步进电机的选型和动力学分析与结构优化提供理论依据。控制部分是整个物料抓取机械手系统设计关键和核心,它在结构和功能上的划分和实现直接关系到机器人系统的可靠性、实用性,也影响和制约机械手系统的研制成本和开发周期。在控制主机的选用上,采用结构紧凑、扩展功能强和可靠性高的PC工业控制计算机作为主机,配以PCL-839卡主要承担系统功能初始化、数据运算与处理、步进电机驱动以及故障诊断等功能;同时对PCL-839卡的结构特点、功能原理和其高定位功能等给与了分析。硬件是整个控制系统以及极限位置功能赖以存在的物质基础,软件则是计算机控制系统的神经中枢,软件设计的目的是以最优的方式将各部分功能有机的结合起来,使系统具有较高的运行效率和较强的可靠性。在物料抓取机械手软件的设计上,采用的是模块化结构,分为系统初始化模块、数据处理模块和故障状态检测与处理等几部分。主控计算机和各控制单元之间全部由PCL-839卡联系,并且由该卡实现抗干扰等问题,减少外部信号对系统的影响。 步进电机的启停频率远远小于其最高运行频率,为了提高工作效率,需要步进电机高速运行并快速启停时,必须考虑它的升,降速控制问题。电机的升降速控制可以归结为以某种合理的力一式控制发送到步进电机驱动器的脉冲频率,这可由硬件实现,也可由软件方法来实现。本文提出了一种算法简单、易于实现、理论意义明确的步进电机变速控制策略:定时器常量修改变速控制方案。该方法能使步进电机加速度与其力矩频率曲线较好地拟合,从而提高变速效率。而且它的计算量比线性加速度变速和基于指数规律加速度的变速控制小得多。通过实验证明了该方法的有效性。 09/20 11:46 102机体齿飞面孔双卧多轴组合机床及CAD设计09/08 20:02 3kN微型装载机设计09/20 15:09 45T旋挖钻机变幅机构液压缸设计08/30 15:32 5吨卷扬机设计10/30 17:12 C620轴拨杆的工艺规程及钻2-16孔的钻床夹具设计09/21 13:39 CA6140车床拨叉零件的机械加工工艺规程及夹具设计83100308/30 15:37 CPU风扇后盖的注塑模具设计09/20 16:19 GDC956160工业对辊成型机设计08/30 15:45 LS型螺旋输送机的设计10/07 23:43 LS型螺旋输送机设计09/20 16:23 P-90B型耙斗式装载机设计09/08 20:17 PE10自行车无级变速器设计10/07 09:23 话机机座下壳模具的设计与制造09/08 20:20 T108吨自卸车拐轴的断裂原因分析及优化设计09/21 13:39 X-Y型数控铣床工作台的设计09/08 20:25 YD5141SYZ后压缩式垃圾车的上装箱体设计10/07 09:20 ZH1115W柴油机气缸体三面粗镗组合机床总体及左主轴箱设计09/21 15:34 ZXT-06型多臂机凸轮轴加工工艺及工装设计10/30 16:04 三孔连杆零件的工艺规程及钻35H6孔的夹具设计08/30 17:57 三层货运电梯曳引机及传动系统设计10/29 14:08 上盖的工工艺规程及钻6-4.5孔的夹具设计10/04 13:45 五吨单头液压放料机的设计10/04 13:44 五吨单头液压放料机设计09/09 23:40 仪表外壳塑料模设计09/08 20:57 传动盖冲压工艺制定及冲孔模具设计09/08 21:00 传动系统测绘与分析设计10/07 23:46 保护罩模具结构设计09/20 15:30 保鲜膜机设计10/04 14:35 减速箱体数控加工工艺设计10/04 13:20 凿岩钎具钎尾的热处理工艺探索设计09/08 21:33 分离爪工艺规程和工艺装备设计10/30 15:26 制定左摆动杠杆的工工艺规程及钻12孔的夹具设计10/29 14:03 前盖板零件的工艺规程及钻8-M16深29孔的工装夹具设计10/07 08:44 加油机油枪手柄护套模具设计09/20 15:17 加热缸体注塑模设计10/07 09:17 动模底板零件的工艺规程及钻52孔的工装夹具设计10/08 20:23 包缝机机体钻孔组合机床总体及夹具设计09/21 15:19 升板机前后辅机的设计09/09
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年度市政工程土石方工程居间费管理协议
- 2025版智慧农业水果园承包种植合作协议
- 2025年度夫妻共同财产分割补充协议书
- 诸葛亮课件简介
- 诸城电脑知识培训班课件
- 2025冰箱维修维护合同范本
- 2025年个体房屋租赁合同范本
- 2025民办学校聘用专任教师合同
- 语文知识培训班开班讲话课件
- 2025年手工鞋安全生产合同
- (英文简单)皇帝的新装英文剧本
- 《康复护理学》3章康复评定(第二节心肺功能评定)
- YY/T 1421-2016载脂蛋白B测定试剂盒
- 照相凹版制版法课件
- 《无人机组装与调试》课件 第一章
- 轨行区作业安全专项方案
- 科技创新领军人才申请表
- 云南省食品经营许可申请表
- 校园管制刀具排查记录表
- 财务管理学及财务知识分析笔记串讲
- 07FK02防空地下室通风设备安装PDF高清图集
评论
0/150
提交评论