经济型喷漆机器人的软件设计

来源 :微计算机应用 | 被引量 : 0次 | 上传用户:JoanFang
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
在经济型喷漆机器人的研究和开发中,控制系统的软件设计是个关键,它往往决定着该系统的控制性能。我们采用Z80汇编语言,设计了一个完整的机器人控制软件。该软件已成功地应用在由TP805微机控制的、五自由度关节式、主从示教再现型、采用步进电机驱动的经济型喷漆机器人上。该软件的主要功能有:①示教;②再现;③初始化;④点动控制。每一功能,由一程序模块所写成。示教程序模块具有数据采集、数据处理、写磁带等功能。在数据采集时,示教程序采集各关节在每个采样点的绝对位置值(由各关节电位器产生的电压模拟信号经模数转换器转换后的数字量)、喷枪的开闭状态及在该点是否暂停等信息。考虑到内存空间的节省,各点的位置信息,都是以相对位移量的形式来存储的。即:在t_(i-1)到t_i这段采样时间间隔内,j关节的位移量为ΔS_j(t_i)=S_j(t_i)-S_j(t_(i-1))。在进行数字滤波时,我们采用了算术平均值法、中值滤波法及程序判断滤波法等有效手段,削弱或滤除了低频信号的干扰,提高了采集数据的准确性。在进行程序判断滤波时,规定相邻两次的采样偏差值ΔS:ΔS≤V_mΔt/360°γ,这里γ为模数转换器的分辨率,Δt为采样周期,V_m为机器人关节的最大速度(°/s)。写磁带的程序设计包括:开启录音机马达,写磁带引导和同步字符到磁带,写字节到磁带,写工作程序结束标志符,关闭录音机马达等。在有盒式磁带机接口的支持下,执行写磁带程序,可实现工作程序的串行异步发送。 In the research and development of economical painting robot, the software design of the control system is the key, which often determines the control performance of the system. We use the Z80 assembly language, designed a complete robot control software. The software has been successfully used in the TP805 computer-controlled, five-degree-of-freedom articulation, master-slave teaching reproduction, the use of stepper motor-driven economy painting robot. The software’s main functions are: ① teaching; ② reproduction; ③ initialization; ④ jog control. Each function, written by a program module. Teach program module with data acquisition, data processing, write tape and other functions. During data acquisition, the teaching program collects the absolute position value of each joint at each sampling point (the digital quantity converted by the voltage analog signal generated by each joint potentiometer through the analog-digital converter), the state of opening and closing of the spray gun, Whether the point is suspended and other information. Taking into account the saving of memory space, the location of each point of information, are stored in the form of relative displacement. That is, the displacement of the joint j is ΔS_j (t_i) = S_j (t_i) -S_j (t_ (i-1)) during the sampling interval t_ (i-1) to t_i. During digital filtering, we use effective methods such as arithmetic average method, median filtering method and program judgment filtering method to weaken or eliminate the interference of low-frequency signals and improve the accuracy of collected data. In the process of judging the filtering of the program, the sampling deviation ΔS between adjacent two is specified: ΔS≤V_mΔt / 360 ° γ, where γ is the resolution of the ADC, Δt is the sampling period, V_m is the maximum speed of the robot joint ° / s). The programming of the tapes includes turning on the recorder motor, writing tapes to guide and synchronize characters to tape, writing bytes to tape, writing a working program end marker, turning off the recorder motor, and the like. With the support of a cartridge drive interface, a write tape program is executed to allow serial asynchronous transfer of work programs.
其他文献
期刊
Objective:To observe the change in the number of antibodies of preneoplastic hepatocellular carcinoma(HCC) using early treatment by Compound Phyllanthus Urinari
国家对种子管理有新规定(一)申请从事种子经营的须按《种子管理条例》的规定,经县以上农业行政部门种子管理机构核发《种子经营许可证》,再凭经营工商行政管理机关核准登记后,方可
(一 )公开招考、选拔领导干部是探索新的干部人事制度的突破口马克思主义基本原理认为:社会的进步是由于生产关系与生产力 ,上层建筑与经济基础的矛盾运动推动的。在这两对矛
期刊
生物活性组织呈现出一种处在光学和紫外范围内的超微弱光子辐射。我们认为这种现象不是普通的生物发光。当我们从单细胞生物转移到较高级的多细胞生物时,这种现象越来越显著
期刊
广大的投资人如能加强“用脚投票”的权利意识,一些饱受诟病的IPO就有可能“O”不出去,体现出投资者运用自己的权利捍卫自身利益的力量目前的新股发行制度改革,除了定价方面
鲨鱼送密信rn1864年7月26日,一艘叫“邓肯号”的新建游船,在苏格兰与北爱尔兰之间的北海海面上试航,船尾的大桅顶上悬挂着一面蓝色小旗,旗上用金线绣着“E.G”两个字母.船主
期刊
芝加哥大学E.费米研究所的R.Winston教授和博士后学生P.Gleckmar成功地设计了一种新型高效太阳能收集器。这种收集器用了一种与一般光学成像透镜完全不同的非成像光学透镜,