The invention discloses a lighter socket matching control method and device, including a data acquisition unit for collecting the first integral contour data at the bottom of the lighter set and the second integral contour data at the insertion position of the waiting insertion position of the waiting insertion position of the lighter set, which is used for entering the first integral contour curve at the bottom of the lighter set and the second integral contour curve at the insertion position of the waiting insertion position of the waiting A data processing unit for row processing is a motion control unit for motion control of a manipulator holding a lighter assembly, so as to realize insertion of the lighter assembly into the position to be inserted into the disc to be inserted or not into the position to be inserted into the disc to be inserted. The data acquisition unit is connected with the data processing unit, and the data processing unit is connected with the motion control unit. The invention can predict whether the lighter assembly can be safely inserted into the insertion position of the waiting disc, prevent the structural damage of the lighter assembly or the waiting disc caused by the forcible insertion action, ensure the continuous operation of the production line, effectively save time cost, labor cost and improve production efficiency.
【技术实现步骤摘要】
一种打火机插盘匹配控制方法及装置
本专利技术涉及工业自动控制领域,具体地,涉及一种打火机插盘匹配控制方法及装置。
技术介绍
打火机是一种小型取火工具,在人们日常生活中普遍使用,在生产、科研、服务领域也普遍使用,全球每年打火机需求量约为160亿支。在打火机的生产工序中,打火机一般在生产线上做单排行进。为方便打火机成品的物流运输或提高产品的可欣赏度,需将相同颜色或不同颜色的一定数量的打火机集合分拣并装入待插装盘后进行包装,例如,通过机械手一次分拣抓取一排共10支打火机插入待插装盘。但是,机械手在抓取一组打火机集合时,由于各种原因,打火机集合中可能出现若干打火机产生一定程度的偏移。这样,从打火机集合的底部投影来看,不能形成一个理想的矩形。同样,待插装盘由于加工误差或挤压变形,其待插装位置从俯视图来看,可能也不是一个理想的矩形。这使得在将打火机集合插入待插装盘时,因两者轮廓不合而损坏打火机或待插装盘,导致生产线停产,从而影响生产效率。如果在将打火机集合插入待插装盘的待插入位置前,能对打火机集合和待插装盘的待插入位置是否匹配做出合理判断,在判断不匹配的情况放弃此次插装动作,将打火机集合堆放于打火机临时放置位置后,重新开始下一个匹配循环,可有效解决上述问题。
技术实现思路
本专利技术的目的是提供一种打火机插盘匹配控制方法及装置,通过识别打火机集合底部的外形和待插装盘的待插入位置的外形,能对打火机集合插入待插装盘的待插入位置过程是否会发生干涉进行预判,防止强行插装导致出现的打火机集合或插装盘结构的损坏。为了实现上述目的,本专利技术提供一种打火机插盘匹配控制方法,该方法包括以 ...
【技术保护点】
1.一种打火机插盘匹配控制方法,其特征在于:所述打火机插盘匹配控制方法包括以下步骤:S1:采集打火机集合底部的第一整体轮廓数据以及待插装盘的待插入位置的第二整体轮廓数据;S2:判断所述第一整体轮廓曲线与所述第二整体轮廓曲线是否匹配;若匹配,进入步骤S3,若不匹配,进入步骤S4;S3:控制所述打火机集合进行插盘动作;S4:控制所述打火机集合不进行插盘动作;S5:待所述步骤S3或所述步骤S4完成后,返回所述步骤S1。
【技术特征摘要】
1.一种打火机插盘匹配控制方法,其特征在于:所述打火机插盘匹配控制方法包括以下步骤:S1:采集打火机集合底部的第一整体轮廓数据以及待插装盘的待插入位置的第二整体轮廓数据;S2:判断所述第一整体轮廓曲线与所述第二整体轮廓曲线是否匹配;若匹配,进入步骤S3,若不匹配,进入步骤S4;S3:控制所述打火机集合进行插盘动作;S4:控制所述打火机集合不进行插盘动作;S5:待所述步骤S3或所述步骤S4完成后,返回所述步骤S1。2.根据权利要求1所述的打火机插盘匹配控制方法,其特征在于:所述步骤S2具体包括:计算所述第一整体轮廓曲线的最大水平宽度Δx1和最大垂向长度Δy1,并计算所述第二整体轮廓曲线的最大水平宽度Δx2和最大垂向长度Δy2;计算出Δx1与Δx2的偏差error_x,并计算出Δy1与Δy2的偏差error_y;比较所述偏差error_x与设置于所述数据处理单元中的阈值limit_x的数值大小关系,并比较所述偏差error_y与设置于所述数据处理单元中的阈值limit_y的数值大小关系;若所述偏差error_x位于所述阈值limit_x的范围内,且error_y位于limit_y的范围内,则判断出所述第一整体轮廓曲线与所述第二整体轮廓曲线匹配;若所述偏差error_x超出了所述阈值limit_x的范围,或所述error_y超出了limit_y的范围,则判断出所述第一整体轮廓曲线与所述第二整体轮廓曲线不匹配。3.根据权利要求1所述的打火机插盘匹配控制方法,其特征在于:所述步骤S3具体包括:先使得夹持所述打火机集合的机械手平移到所述待插装盘的待插入位置正上方,再通过所述机械手的上下移动,将所述打火机集合插入所述待插装盘的待插入位置,所述打火机集合进行插盘动作完成后,所述机械手返回到初始位...
【专利技术属性】
技术研发人员:黄毅,吴云强,黄鑫,
申请(专利权)人:长沙理工大学,
类型:发明
国别省市:湖南,43
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。