[go: up one dir, main page]

CN116160160A - A welding method and system based on robot traversing space curve parameters - Google Patents

A welding method and system based on robot traversing space curve parameters Download PDF

Info

Publication number
CN116160160A
CN116160160A CN202310312006.1A CN202310312006A CN116160160A CN 116160160 A CN116160160 A CN 116160160A CN 202310312006 A CN202310312006 A CN 202310312006A CN 116160160 A CN116160160 A CN 116160160A
Authority
CN
China
Prior art keywords
robot
welding
weld
fitting
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202310312006.1A
Other languages
Chinese (zh)
Inventor
李洪强
赵东宏
罗中峰
蒋煜琪
曹培民
陆裕爽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yangzhou Polytechnic Institute
Original Assignee
Yangzhou Polytechnic Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yangzhou Polytechnic Institute filed Critical Yangzhou Polytechnic Institute
Priority to CN202310312006.1A priority Critical patent/CN116160160A/en
Publication of CN116160160A publication Critical patent/CN116160160A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K37/00Auxiliary devices or processes, not specially adapted for a procedure covered by only one of the other main groups of this subclass
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697Vision controlled systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Robotics (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Manipulator (AREA)

Abstract

本发明属于机器人焊接技术领域,具体是一种基于机器人遍历空间曲线参数的焊接方法及其系统,本发明的系统包括视觉系统、运动控制系统,探针式传感器、曲线拟合算法和路径规划算法组成,其中,机器人视觉系统采用结构光视觉测量技术;运动控制系统可以采用PID控制器;曲线拟合算法采用基于点间法向量变化和切平面线性拟合的方法;路径规划算法采用基于二次多项式拟合的方法,本发明所具有的有益效果是提高焊接精度和稳定性,通过机器人自动走位和视觉传感器测量焊缝曲线,可以实现高精度的焊接控制,提高了焊接质量和稳定性,提高生产效率,通过机器人自动走位和焊接控制,可以实现快速高效的焊接过程,提高了生产效率和生产能力。

Figure 202310312006

The invention belongs to the technical field of robot welding, and specifically relates to a welding method and system based on a robot traversing space curve parameters. The system of the invention includes a vision system, a motion control system, a probe sensor, a curve fitting algorithm and a path planning algorithm Among them, the robot vision system adopts structured light vision measurement technology; the motion control system can adopt PID controller; the curve fitting algorithm adopts the method based on the change of normal vector between points and the linear fitting of tangent plane; The method of polynomial fitting, the beneficial effect of the present invention is to improve the welding accuracy and stability, through the automatic positioning of the robot and the measurement of the weld seam curve by the visual sensor, high-precision welding control can be realized, and the welding quality and stability are improved. Improve production efficiency, through the robot's automatic positioning and welding control, a fast and efficient welding process can be realized, which improves production efficiency and production capacity.

Figure 202310312006

Description

一种基于机器人遍历空间曲线参数的焊接方法及其系统A welding method and system based on robot traversing space curve parameters

技术领域Technical Field

本发明涉及机器人焊接技术领域,具体涉及一种基于机器人遍历空间曲线参数的焊接方法及其系统。The present invention relates to the technical field of robot welding, and in particular to a welding method and a system thereof based on robot traversal of space curve parameters.

背景技术Background Art

焊接是一种将金属、塑料等材料通过热力或压力连接起来的工艺。焊接的主要目的是在接头处形成连续的结构,从而达到强度和密封的效果。Welding is a process that joins materials such as metals and plastics by heat or pressure. The main purpose of welding is to form a continuous structure at the joint to achieve strength and sealing.

在相关技术中,传统的焊接过程中,需要人工操作焊枪进行焊接,不仅效率低下,而且焊接精度受到人员技能和经验的影响,存在一定的风险和误差。因此,如何实现焊接过程的自动化操作,提高焊接效率和精度,降低人力成本和操作风险,成为了一个重要的技术难题,为此,我们提出一种基于机器人遍历空间曲线参数的焊接方法及其系统。In the related technology, the traditional welding process requires manual operation of the welding gun, which is not only inefficient, but also the welding accuracy is affected by the skills and experience of the personnel, and there are certain risks and errors. Therefore, how to realize the automation of the welding process, improve welding efficiency and accuracy, and reduce labor costs and operational risks has become an important technical problem. To this end, we propose a welding method and system based on robot traversal of spatial curve parameters.

本背景技术部分中公开的以上信息仅用于理解本发明构思的背景技术,并且因此,它可以包含不构成现有技术的信息。The above information disclosed in this Background section is only for understanding the background of the present inventive concept and therefore it may contain information that does not constitute prior art.

发明内容Summary of the invention

为了克服现有技术的不足,本发明提供了一种基于机器人遍历空间曲线参数的焊接方法及其系统以解决上述背景技术中提出的传统的焊接过程中,需要人工操作焊枪进行焊接,不仅效率低下,而且焊接精度受到人员技能和经验的影响,存在一定的风险和误差的问题。In order to overcome the shortcomings of the prior art, the present invention provides a welding method and a system based on robot traversal of spatial curve parameters to solve the problem that in the traditional welding process proposed in the above background technology, manual operation of the welding gun is required for welding, which is not only inefficient, but also the welding accuracy is affected by the skills and experience of the personnel, and there are certain risks and errors.

本发明解决其技术问题所采用的技术方案是:一种基于机器人遍历空间曲线参数的焊接方法,包括以下步骤:The technical solution adopted by the present invention to solve the technical problem is: a welding method based on robot traversal of space curve parameters, comprising the following steps:

S1:机器人视觉系统获取焊缝空间曲线参数,包括焊缝的起始点、终止点、方向和曲率等信息;S1: The robot vision system obtains the weld space curve parameters, including the weld start point, end point, direction, curvature and other information;

S2:采用探针式传感器来获取焊缝的深度、宽度和电焊点等信息;S2: Use probe sensor to obtain information such as weld depth, width and welding point;

S3:运动控制系统控制机器人沿着焊缝进行走位,实现精确的运动控制和运动轨迹跟踪;S3: The motion control system controls the robot to move along the weld to achieve precise motion control and motion trajectory tracking;

S4:曲线拟合算法将采集到的焊缝空间曲线参数进行拟合,得到焊缝的几何模型,将焊缝深度、宽度和电焊点等信息加入到几何模型中,得到修正后的焊缝曲线模型;S4: The curve fitting algorithm fits the collected weld space curve parameters to obtain a geometric model of the weld, and adds information such as weld depth, width, and electric welding points to the geometric model to obtain a corrected weld curve model;

S5:路径规划算法规划焊接机器人的行进路线,考虑机器人的运动学和动力学特性,并进行路径优化;S5: The path planning algorithm plans the travel route of the welding robot, taking into account the kinematic and dynamic characteristics of the robot and performing path optimization;

S6:焊接机器人根据获取的空间参数确定焊机行进路线,规划焊接程序参数,实现焊接过程的自动化操作;S6: The welding robot determines the welding machine travel route according to the acquired spatial parameters, plans the welding program parameters, and realizes the automated operation of the welding process;

其中,所述机器人视觉系统采用结构光测量技术来获取焊缝空间曲线参数,所述机器人视觉系统采用三角测量算法,其公式为:The robot vision system adopts structured light measurement technology to obtain the weld space curve parameters, and the robot vision system adopts a triangulation algorithm, and its formula is:

Figure BDA0004148825050000021
Figure BDA0004148825050000021

其中,XA、YA、ZA、XB、YB、ZB、XC、YC、ZC为三个三维点的坐标,Z为待测点的深度值;Wherein, XA , YA , ZA, XB , YB , ZB , XC , YC , ZC are the coordinates of three three-dimensional points, and Z is the depth value of the point to be measured;

所述运动控制系统采用PID控制器,PID控制器通过比较实际运动轨迹和期望运动轨迹,根据误差大小调整机器人的运动控制参数;The motion control system adopts a PID controller, which adjusts the motion control parameters of the robot according to the error size by comparing the actual motion trajectory with the expected motion trajectory;

所述曲线拟合算法采用基于点间法向量变化和切平面线性拟合的方法,在基于点间法向量变化和切平面线性拟合的方法中,可以采用最小二乘法进行拟合,该方法主要涉及到点云数据的处理和曲面拟合,其中,计算相邻点之间的法向量变化可以使用以下公式为:The curve fitting algorithm adopts a method based on the change of normal vectors between points and the linear fitting of the tangent plane. In the method based on the change of normal vectors between points and the linear fitting of the tangent plane, the least square method can be used for fitting. The method mainly involves the processing of point cloud data and surface fitting. Among them, the change of normal vectors between adjacent points can be calculated using the following formula:

Figure BDA0004148825050000031
Figure BDA0004148825050000031

其中,Pi表示点云数据中第i个点的坐标,Ni表示第i个点的法向量,对于每个点的切平面,可以使用线性拟合的方法,假设点(xi,yi,zi)在切平面上,那么可以得到以下公式:Among them, Pi represents the coordinates of the i-th point in the point cloud data, Ni represents the normal vector of the i-th point, and for the tangent plane of each point, the linear fitting method can be used. Assuming that the point (xi, yi, zi) is on the tangent plane, the following formula can be obtained:

zi=Axi+Byi+C其中,A、B、C为拟合系数; zi = Axi + Byi +C, where A, B, and C are fitting coefficients;

所述路径规划算法采用基于二次多项式拟合的方法,该方法使用二次多项式来拟合点云数据,拟合公式为:The path planning algorithm adopts a method based on quadratic polynomial fitting, which uses a quadratic polynomial to fit the point cloud data. The fitting formula is:

z=ax2+by2+cxy+dx+Ey+f其中,a、b、c、d、e、f为拟合系数。z=ax 2 +by 2 +cxy+dx+Ey+f wherein a, b, c, d, e, and f are fitting coefficients.

作为一种优化的技术方案,所述结构光视觉测量技术,其操作步骤如下:As an optimized technical solution, the structured light vision measurement technology has the following operating steps:

步骤1:在焊缝附近设置一组光源和相机,通过光源发射光束,形成一组光斑;Step 1: Set up a set of light sources and cameras near the weld, and emit a light beam through the light source to form a set of light spots;

步骤2:利用相机获取光斑在三维空间中的位置信息,通过计算光斑的空间坐标,获取焊缝的空间曲线参数。Step 2: Use the camera to obtain the position information of the light spot in three-dimensional space, and obtain the spatial curve parameters of the weld by calculating the spatial coordinates of the light spot.

作为一种优化的技术方案,所述基于点间法向量变化和切平面线性拟合的方法,所述基于点间法向量变化和切平面线性拟合的方法包括以下步骤:As an optimized technical solution, the method based on the change of normal vectors between points and the linear fitting of the tangent plane comprises the following steps:

A1:将采集到的焊缝空间曲线参数转换为离散点集,即将曲线离散化,并且将记录焊缝深度、宽度和电焊点等信息与空间曲线参数一起保存在离散点集中;A1: Convert the collected weld space curve parameters into a discrete point set, that is, discretize the curve, and save the information such as weld depth, width and electric welding point together with the space curve parameters in the discrete point set;

A2:对离散点集进行坐标系变换,将离散点集转换为以任意一点为原点的局部坐标系;A2: Perform coordinate system transformation on the discrete point set, and convert the discrete point set into a local coordinate system with any point as the origin;

A3:根据离散点集,计算每个点的法向量和切平面方程,对于焊缝宽度和电焊点信息,可以将其作为额外的点信息加入到离散点集中;A3: Based on the discrete point set, calculate the normal vector and tangent plane equation of each point. For the weld width and electric welding point information, they can be added to the discrete point set as additional point information;

A4:对每个点的切平面方程进行线性拟合,得到焊缝的几何模型。A4: Perform linear fitting on the tangent plane equation of each point to obtain the geometric model of the weld.

作为一种优化的技术方案,所述二次多项式拟合方法,包括以下步骤:As an optimized technical solution, the quadratic polynomial fitting method comprises the following steps:

B1:根据焊缝的几何模型,建立二次多项式模型;B1: Establish a quadratic polynomial model based on the geometric model of the weld;

B2:利用二次多项式模型,计算机器人在焊接过程中的运动轨迹;B2: Use the quadratic polynomial model to calculate the robot's motion trajectory during the welding process;

B3:将机器人的运动轨迹与焊接程序参数相结合,实现焊接机器人的自动化控制。B3: Combine the robot's motion trajectory with the welding program parameters to achieve automatic control of the welding robot.

作为一种优化的技术方案,所述PID控制器根据机器人的云端控制系统当前输出与期望值之间的差异,分别计算三个部分的控制信号:As an optimized technical solution, the PID controller calculates the control signals of the three parts respectively according to the difference between the current output of the robot's cloud control system and the expected value:

比例部分(P):比例控制器输出与误差成正比,通过增加或减少控制信号来减少误差;Proportional part (P): The output of the proportional controller is proportional to the error, and the error is reduced by increasing or decreasing the control signal;

积分部分(I):积分控制器输出与误差积分成正比,用于消除误差偏差;Integral part (I): The integral controller output is proportional to the integral of the error and is used to eliminate the error deviation;

微分部分(D):微分控制器输出与误差变化率成正比,用于减少过冲和震荡;Derivative part (D): The output of the derivative controller is proportional to the rate of change of the error and is used to reduce overshoot and oscillation;

PID控制器通过将这三个部分的机器人控制信号相加,产生最终的输出控制信号,以调节机器人系统的输出并使其稳定在期望值附近。The PID controller generates a final output control signal by adding the robot control signals of these three parts to adjust the output of the robot system and stabilize it near the desired value.

作为一种优化的技术方案,所述机器人在坐标系中的位置为(x,y),其运动方向的旋转角度为θ,路径规划算法可以通过二次多项式拟合来获得机器人的运动轨迹,其计算公式为:As an optimized technical solution, the position of the robot in the coordinate system is (x, y), and the rotation angle of its motion direction is θ. The path planning algorithm can obtain the motion trajectory of the robot by quadratic polynomial fitting, and its calculation formula is:

x=a0+a1*t+a2*t^2x=a0+a1*t+a2*t^2

y=b0+b1*t+b2*t^2y=b0+b1*t+b2*t^2

θ=arctan(2*a2*t+a1),其中,t为时间参数,a0、a1、a2、b0、b1、b2为拟合系数。θ=arctan(2*a2*t+a1), where t is the time parameter, and a0, a1, a2, b0, b1, and b2 are fitting coefficients.

一种基于机器人遍历空间曲线参数的焊接系统,包括机器人视觉系统、机器人运动控制系统、曲线拟合算法和路径规划算法,其中,所述机器人视觉系统包括:A welding system based on robot traversal of space curve parameters, comprising a robot vision system, a robot motion control system, a curve fitting algorithm and a path planning algorithm, wherein the robot vision system comprises:

激光扫描仪:用于获取工件表面的几何信息;Laser scanner: used to obtain geometric information of the workpiece surface;

采集卡:用于将摄像头或激光扫描仪的信号转化为数字信号,并传输到计算机上进行处理;Capture card: used to convert the signal from the camera or laser scanner into a digital signal and transmit it to the computer for processing;

计算机:用于进行点云数据处理和算法计算;Computer: used for point cloud data processing and algorithm calculation;

三维点云处理软件:用于对采集到的点云数据进行滤波、去噪、配准、重建等操作,生成完整的点云模型;3D point cloud processing software: used to filter, denoise, register, reconstruct and perform other operations on the collected point cloud data to generate a complete point cloud model;

点云处理算法:例如基于点间法向量变化的曲率检测算法和切平面线性拟合算法,用于对点云数据进行处理和分析;Point cloud processing algorithms: such as curvature detection algorithms based on the change of normal vectors between points and tangent plane linear fitting algorithms, which are used to process and analyze point cloud data;

所述机器人运动控制系统包括:The robot motion control system comprises:

机器人臂:用于控制焊枪或其他工具的运动;Robotic arm: used to control the movement of welding guns or other tools;

伺服电机:用于驱动机器人臂的关节;Servo motor: used to drive the joints of the robot arm;

控制器:用于接收计算机或外部设备的指令,并控制伺服电机运动;Controller: used to receive instructions from computers or external devices and control the movement of servo motors;

传感器:用于实时监测机器人臂的运动状态和反馈机器人运动数据;Sensor: used to monitor the motion status of the robot arm in real time and feedback the robot motion data;

运动规划算法:例如基于二次多项式拟合的路径规划算法、遗传算法等,用于规划机器人的运动轨迹;Motion planning algorithms: such as path planning algorithms based on quadratic polynomial fitting and genetic algorithms, used to plan the robot's motion trajectory;

闭环控制算法:采用PID控制算法,用于保证机器人的运动精度和稳定性;Closed-loop control algorithm: PID control algorithm is used to ensure the robot's motion accuracy and stability;

所述探针式传感器,包括一个探针、一个深度传感器和一个宽度传感器,其中探针用于接触焊缝,深度传感器用于测量焊缝深度,宽度传感器用于测量焊缝宽度。The probe type sensor comprises a probe, a depth sensor and a width sensor, wherein the probe is used to contact the weld, the depth sensor is used to measure the weld depth, and the width sensor is used to measure the weld width.

作为一种优化的技术方案,对于所述曲线拟合算法,需要结合激光扫描仪,对工件表面进行采集和处理,获取点云数据,然后通过算法对点云数据进行处理,拟合出合适的曲线模型,将拟合出的曲线模型与机器人运动控制系统进行结合,规划机器人的运动轨迹和控制机器人的姿态,以保证焊接质量和稳定性;As an optimized technical solution, the curve fitting algorithm needs to be combined with a laser scanner to collect and process the workpiece surface, obtain point cloud data, and then process the point cloud data through an algorithm to fit a suitable curve model. The fitted curve model is combined with the robot motion control system to plan the robot's motion trajectory and control the robot's posture to ensure welding quality and stability.

对于所述路径规划算法,需要将机器人的运动控制系统与路径规划算法进行集成,以确定机器人的运动轨迹和运动速度,并通过伺服电机和编码器进行控制,考虑机器人的姿态、避障、安全因素,确保机器人的运动轨迹安全稳定。For the path planning algorithm, it is necessary to integrate the robot's motion control system with the path planning algorithm to determine the robot's motion trajectory and speed, and control it through servo motors and encoders, taking into account the robot's posture, obstacle avoidance, and safety factors to ensure that the robot's motion trajectory is safe and stable.

本发明所具有的有益效果是:The beneficial effects of the present invention are:

相比现有技术,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:

(1)、提高焊接精度和稳定性:传统的焊接方法往往需要依靠人工操作,容易出现误差,而该发明通过机器人自动走位和视觉传感器测量焊缝曲线,使用探针传感器测量焊缝的深度和宽度等信息,可以实现高精度的焊接控制,提高了焊接质量和稳定性。(1) Improve welding accuracy and stability: Traditional welding methods often rely on manual operation and are prone to errors. This invention uses the robot to automatically move and visual sensors to measure the weld curve, and uses probe sensors to measure information such as the depth and width of the weld. This can achieve high-precision welding control and improve welding quality and stability.

(2)、提高生产效率:传统的焊接方法需要人工操作,速度较慢,而该发明通过机器人自动走位和焊接控制,可以实现快速高效的焊接过程,提高了生产效率和生产能力。(2) Improve production efficiency: Traditional welding methods require manual operation and are slow. However, this invention can achieve a fast and efficient welding process through automatic robot movement and welding control, thereby improving production efficiency and production capacity.

(3)、降低人工成本和风险:传统的焊接方法需要依靠人工操作,需要大量的人力和时间成本,并且在高温、高压等恶劣的环境下存在安全风险,而该发明通过机器人自动走位和控制,可以降低人工成本和风险。(3) Reduce labor costs and risks: Traditional welding methods rely on manual operation, which requires a lot of manpower and time costs, and there are safety risks in harsh environments such as high temperature and high pressure. This invention can reduce labor costs and risks through automatic positioning and control of robots.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明提供的一种基于机器人遍历空间曲线参数的焊接的系统。FIG. 1 is a welding system based on robot traversal of space curve parameters provided by the present invention.

具体实施方式DETAILED DESCRIPTION

下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.

需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,或者是该发明产品使用时惯常摆放的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。It should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, or are the directions or positional relationships in which the inventive product is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.

在本发明的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

实施例1:Embodiment 1:

本实施例中的一种基于机器人遍历空间曲线参数的焊接方法,包括以下步骤:A welding method based on robot traversal of space curve parameters in this embodiment includes the following steps:

S1:机器人视觉系统获取焊缝空间曲线参数,包括焊缝的起始点、终止点、方向和曲率等信息;S1: The robot vision system obtains the weld space curve parameters, including the weld start point, end point, direction, curvature and other information;

S2:采用探针式传感器来获取焊缝的深度、宽度和电焊点等信息;S2: Use probe sensor to obtain information such as weld depth, width and welding point;

S3:运动控制系统控制机器人沿着焊缝进行走位,实现精确的运动控制和运动轨迹跟踪;S3: The motion control system controls the robot to move along the weld to achieve precise motion control and motion trajectory tracking;

S4:曲线拟合算法将采集到的焊缝空间曲线参数进行拟合,得到焊缝的几何模型,将焊缝深度、宽度和电焊点等信息加入到几何模型中,得到修正后的焊缝曲线模型;S4: The curve fitting algorithm fits the collected weld space curve parameters to obtain a geometric model of the weld, and adds information such as weld depth, width, and electric welding points to the geometric model to obtain a corrected weld curve model;

S5:路径规划算法规划焊接机器人的行进路线,考虑机器人的运动学和动力学特性,并进行路径优化;S5: The path planning algorithm plans the travel route of the welding robot, taking into account the kinematic and dynamic characteristics of the robot and performing path optimization;

S6:焊接机器人根据获取的空间参数确定焊机行进路线,规划焊接程序参数,实现焊接过程的自动化操作;S6: The welding robot determines the welding machine travel route according to the acquired spatial parameters, plans the welding program parameters, and realizes the automated operation of the welding process;

其中,机器人视觉系统采用结构光测量技术来获取焊缝空间曲线参数,机器人视觉系统采用三角测量算法,其公式为:Among them, the robot vision system uses structured light measurement technology to obtain the weld space curve parameters. The robot vision system uses a triangulation algorithm, and its formula is:

Figure BDA0004148825050000081
Figure BDA0004148825050000081

其中,XA、YA、ZA、XB、YB、ZB、XC、YC、Zc为三个三维点的坐标,Z为待测点的深度值;Wherein, XA , YA , ZA, XB , YB , ZB , XC , YC , Zc are the coordinates of three three-dimensional points, and Z is the depth value of the point to be measured;

运动控制系统采用PID控制器,PID控制器通过比较实际运动轨迹和期望运动轨迹,根据误差大小调整机器人的运动控制参数;The motion control system uses a PID controller, which adjusts the robot's motion control parameters according to the error size by comparing the actual motion trajectory with the expected motion trajectory;

曲线拟合算法采用基于点间法向量变化和切平面线性拟合的方法,在基于点间法向量变化和切平面线性拟合的方法中,可以采用最小二乘法进行拟合,该方法主要涉及到点云数据的处理和曲面拟合,其中,计算相邻点之间的法向量变化可以使用以下公式为:The curve fitting algorithm adopts a method based on the change of normal vectors between points and the linear fitting of the tangent plane. In the method based on the change of normal vectors between points and the linear fitting of the tangent plane, the least square method can be used for fitting. This method mainly involves the processing of point cloud data and surface fitting. Among them, the change of normal vectors between adjacent points can be calculated using the following formula:

Figure BDA0004148825050000091
Figure BDA0004148825050000091

其中,Pi表示点云数据中第i个点的坐标,Ni表示第i个点的法向量,对于每个点的切平面,可以使用线性拟合的方法,假设点(xi,yi,zi)在切平面上,那么可以得到以下公式:Among them, Pi represents the coordinates of the i-th point in the point cloud data, Ni represents the normal vector of the i-th point, and for the tangent plane of each point, the linear fitting method can be used. Assuming that the point (xi, yi, zi) is on the tangent plane, the following formula can be obtained:

zi=Axi+Byi+C其中,A、B、C为拟合系数; zi = Axi + Byi +C, where A, B, and C are fitting coefficients;

路径规划算法采用基于二次多项式拟合的方法,该方法使用二次多项式来拟合点云数据,拟合公式为:The path planning algorithm uses a method based on quadratic polynomial fitting. This method uses a quadratic polynomial to fit the point cloud data. The fitting formula is:

z=ax2+by2+cxy+dx+ey+f其中,a、b、c、d、e、f为拟合系数。z=ax 2 +by 2 +cxy +dx +ey +f wherein a, b, c, d, e, and f are fitting coefficients.

作为一种优化的技术方案,结构光视觉测量技术,其操作步骤如下:As an optimized technical solution, structured light vision measurement technology has the following operating steps:

步骤1:在焊缝附近设置一组光源和相机,通过光源发射光束,形成一组光斑;Step 1: Set up a set of light sources and cameras near the weld, and emit a light beam through the light source to form a set of light spots;

步骤2:利用相机获取光斑在三维空间中的位置信息,通过计算光斑的空间坐标,获取焊缝的空间曲线参数。Step 2: Use the camera to obtain the position information of the light spot in three-dimensional space, and obtain the spatial curve parameters of the weld by calculating the spatial coordinates of the light spot.

基于点间法向量变化和切平面线性拟合的方法,所述基于点间法向量变化和切平面线性拟合的方法包括以下步骤:The method based on the change of normal vector between points and the linear fitting of tangent plane comprises the following steps:

A1:将采集到的焊缝空间曲线参数转换为离散点集,即将曲线离散化,并且将记录焊缝深度、宽度和电焊点等信息与空间曲线参数一起保存在离散点集中;A1: Convert the collected weld space curve parameters into a discrete point set, that is, discretize the curve, and save the information such as weld depth, width and electric welding point together with the space curve parameters in the discrete point set;

A2:对离散点集进行坐标系变换,将离散点集转换为以任意一点为原点的局部坐标系;A2: Perform coordinate system transformation on the discrete point set, and convert the discrete point set into a local coordinate system with any point as the origin;

A3:根据离散点集,计算每个点的法向量和切平面方程,对于焊缝宽度和电焊点信息,可以将其作为额外的点信息加入到离散点集中;A3: Based on the discrete point set, calculate the normal vector and tangent plane equation of each point. For the weld width and electric welding point information, they can be added to the discrete point set as additional point information;

A4:对每个点的切平面方程进行线性拟合,得到焊缝的几何模型;A4: Linearly fit the tangent plane equation of each point to obtain the geometric model of the weld;

点间法向量变化的计算公式:The calculation formula for the change of normal vector between points is:

假设离散点集中的第i个点为pi,其法向量为Ni,pi与相邻点pj之间的距离为d,则点pi的法向量变化量可以表示为:Assuming that the i-th point in the discrete point set is pi, its normal vector is Ni, and the distance between pi and the adjacent point pj is d, the change in the normal vector of point pi can be expressed as:

Ni=(pi-pj)/dNi=(pi-pj)/d

其中,pi和pj为离散点集中的相邻点,Ni为pi点的法向量,d为点间距离。Among them, pi and pj are adjacent points in the discrete point set, Ni is the normal vector of point pi, and d is the distance between points.

切平面线性拟合的计算公式:The calculation formula of the tangent plane linear fitting is:

假设离散点集中的第i个点为pi,其切平面为Ti,则离散点集中所有点的切平面可以通过如下的线性拟合来获得:Assuming that the i-th point in the discrete point set is pi and its tangent plane is Ti, the tangent planes of all points in the discrete point set can be obtained by the following linear fitting:

Ti=ci1*xi+ci2*yi+ci3Ti=ci1*xi+ci2*yi+ci3

其中,xi、yi为机器人在坐标系中的位置和运动方向的旋转角度,ci1、ci2、ci3为拟合系数。Among them, xi and yi are the position of the robot in the coordinate system and the rotation angle of the movement direction, and ci1, ci2, and ci3 are fitting coefficients.

作为一种优化的技术方案,所述二次多项式拟合方法,包括以下步骤:As an optimized technical solution, the quadratic polynomial fitting method comprises the following steps:

B1:根据焊缝的几何模型,建立二次多项式模型;B1: Establish a quadratic polynomial model based on the geometric model of the weld;

B2:利用二次多项式模型,计算机器人在焊接过程中的运动轨迹;B2: Use the quadratic polynomial model to calculate the robot's motion trajectory during the welding process;

B3:将机器人的运动轨迹与焊接程序参数相结合,实现焊接机器人的自动化控制;B3: Combine the robot's motion trajectory with the welding program parameters to achieve automatic control of the welding robot;

所述机器人在坐标系中的位置为(x,y),其运动方向的旋转角度为θ,路径规划算法可以通过二次多项式拟合来获得机器人的运动轨迹,其计算公式为:The position of the robot in the coordinate system is (x, y), and the rotation angle of its motion direction is θ. The path planning algorithm can obtain the motion trajectory of the robot by fitting a quadratic polynomial, and the calculation formula is:

x=a0+a1*t+a2*t^2x=a0+a1*t+a2*t^2

y=b0+b1*t+b2*t^2y=b0+b1*t+b2*t^2

θ=arctan(2*a2*t+a1),其中,t为时间参数,a0、a1、a2、b0、b1、b2为拟合系数。θ=arctan(2*a2*t+a1), where t is the time parameter, and a0, a1, a2, b0, b1, and b2 are fitting coefficients.

作为一种优化的技术方案,所述PID控制器根据机器人的云端控制系统当前输出与期望值之间的差异,分别计算三个部分的控制信号:As an optimized technical solution, the PID controller calculates the control signals of the three parts respectively according to the difference between the current output of the robot's cloud control system and the expected value:

比例部分(P):比例控制器输出与误差成正比,通过增加或减少控制信号来减少误差;Proportional part (P): The output of the proportional controller is proportional to the error, and the error is reduced by increasing or decreasing the control signal;

积分部分(I):积分控制器输出与误差积分成正比,用于消除误差偏差;Integral part (I): The integral controller output is proportional to the integral of the error and is used to eliminate the error deviation;

微分部分(D):微分控制器输出与误差变化率成正比,用于减少过冲和震荡;Derivative part (D): The output of the derivative controller is proportional to the rate of change of the error and is used to reduce overshoot and oscillation;

PID控制器通过将这三个部分的机器人控制信号相加,产生最终的输出控制信号,以调节机器人系统的输出并使其稳定在期望值附近,PID控制器包括比例控制、积分控制和微分控制,比例控制是指控制器输出与误差成正比,即控制信号的大小与被控制系统当前误差的大小成正比。比例控制器对于快速响应、无需考虑历史数据的控制系统非常有效,积分控制是指控制器输出与误差积分成正比,即控制信号的大小与被控制系统历史误差的总和成正比。积分控制器可以消除误差偏差,并可以应用于需要持续调整控制系统的场合,微分控制是指控制器输出与误差变化率成正比,即控制信号的大小与被控制系统误差变化速率的大小成正比,微分控制器可以减少过冲和震荡,并可以应用于需要快速响应控制系统的场合,在本发明中,PID控制器通常将比例、积分和微分控制三种算法结合起来使用,以达到更好的控制效果。The PID controller generates a final output control signal by adding the robot control signals of these three parts to adjust the output of the robot system and stabilize it near the expected value. The PID controller includes proportional control, integral control and differential control. Proportional control means that the controller output is proportional to the error, that is, the size of the control signal is proportional to the size of the current error of the controlled system. The proportional controller is very effective for control systems that respond quickly and do not need to consider historical data. The integral control means that the controller output is proportional to the integral of the error, that is, the size of the control signal is proportional to the sum of the historical errors of the controlled system. The integral controller can eliminate error deviations and can be applied to occasions where continuous adjustment of the control system is required. The differential control means that the controller output is proportional to the error change rate, that is, the size of the control signal is proportional to the size of the error change rate of the controlled system. The differential controller can reduce overshoot and oscillation and can be applied to occasions where a fast response control system is required. In the present invention, the PID controller usually combines the three algorithms of proportional, integral and differential control to achieve better control effects.

在本实施例中,提出一种基于机器人视觉系统和运动控制系统的焊接方法,其主要应用于对焊缝曲线进行测量、路径规划和焊接控制。通过机器人沿着焊缝进行走位,使用视觉传感器采集走位过程中的焊缝空间曲线参数,并根据参数确定焊机行进路线和焊接程序参数,以保证焊接质量和稳定性。In this embodiment, a welding method based on a robot vision system and a motion control system is proposed, which is mainly used for measuring the weld curve, path planning and welding control. The robot moves along the weld, uses a visual sensor to collect the weld space curve parameters during the movement, and determines the welding machine travel route and welding program parameters according to the parameters to ensure welding quality and stability.

实施例2:Embodiment 2:

在本实施例中,还提供了一种基于机器人遍历空间曲线参数的焊接系统,包括机器人视觉系统、机器人运动控制系统、曲线拟合算法和路径规划算法,其中,所述机器人视觉系统包括:In this embodiment, a welding system based on robot traversal of space curve parameters is also provided, including a robot vision system, a robot motion control system, a curve fitting algorithm and a path planning algorithm, wherein the robot vision system includes:

激光扫描仪:用于获取工件表面的几何信息;Laser scanner: used to obtain geometric information of the workpiece surface;

采集卡:用于将摄像头或激光扫描仪的信号转化为数字信号,并传输到计算机上进行处理;Capture card: used to convert the signal from the camera or laser scanner into a digital signal and transmit it to the computer for processing;

计算机:用于进行点云数据处理和算法计算;Computer: used for point cloud data processing and algorithm calculation;

三维点云处理软件:用于对采集到的点云数据进行滤波、去噪、配准、重建等操作,生成完整的点云模型;3D point cloud processing software: used to filter, denoise, register, reconstruct and perform other operations on the collected point cloud data to generate a complete point cloud model;

点云处理算法:例如基于点间法向量变化的曲率检测算法和切平面线性拟合算法,用于对点云数据进行处理和分析;Point cloud processing algorithms: such as curvature detection algorithms based on the change of normal vectors between points and tangent plane linear fitting algorithms, which are used to process and analyze point cloud data;

所述机器人运动控制系统包括:The robot motion control system comprises:

机器人臂:用于控制焊枪或其他工具的运动;Robotic arm: used to control the movement of welding guns or other tools;

伺服电机:用于驱动机器人臂的关节;Servo motor: used to drive the joints of the robot arm;

控制器:用于接收计算机或外部设备的指令,并控制伺服电机运动;Controller: used to receive instructions from computers or external devices and control the movement of servo motors;

传感器:用于实时监测机器人臂的运动状态和反馈机器人运动数据;Sensor: used to monitor the motion status of the robot arm in real time and feedback the robot motion data;

运动规划算法:例如基于二次多项式拟合的路径规划算法、遗传算法等,用于规划机器人的运动轨迹;Motion planning algorithms: such as path planning algorithms based on quadratic polynomial fitting and genetic algorithms, used to plan the robot's motion trajectory;

闭环控制算法:采用PID控制算法,用于保证机器人的运动精度和稳定性;Closed-loop control algorithm: PID control algorithm is used to ensure the robot's motion accuracy and stability;

所述探针式传感器,包括一个探针、一个深度传感器和一个宽度传感器,其中探针用于接触焊缝,深度传感器用于测量焊缝深度,宽度传感器用于测量焊缝宽度。The probe type sensor comprises a probe, a depth sensor and a width sensor, wherein the probe is used to contact the weld, the depth sensor is used to measure the weld depth, and the width sensor is used to measure the weld width.

具体的,对于曲线拟合算法,需要结合激光扫描仪,对工件表面进行采集和处理,获取点云数据,然后通过算法对点云数据进行处理,拟合出合适的曲线模型,将拟合出的曲线模型与机器人运动控制系统进行结合,规划机器人的运动轨迹和控制机器人的姿态,以保证焊接质量和稳定性;Specifically, for the curve fitting algorithm, it is necessary to combine with a laser scanner to collect and process the workpiece surface, obtain point cloud data, and then process the point cloud data through an algorithm to fit a suitable curve model. The fitted curve model is combined with the robot motion control system to plan the robot's motion trajectory and control the robot's posture to ensure welding quality and stability;

对于路径规划算法,需要将机器人的运动控制系统与路径规划算法进行集成,以确定机器人的运动轨迹和运动速度,并通过伺服电机和编码器进行控制,考虑机器人的姿态、避障、安全因素,确保机器人的运动轨迹安全稳定。For the path planning algorithm, it is necessary to integrate the robot's motion control system with the path planning algorithm to determine the robot's motion trajectory and speed, and control it through servo motors and encoders, taking into account the robot's posture, obstacle avoidance, and safety factors to ensure that the robot's motion trajectory is safe and stable.

本发明的工作过程如下:The working process of the present invention is as follows:

1、焊接机器人根据预设的焊接程序和路径,沿着焊缝进行自动走位;1. The welding robot automatically moves along the weld according to the preset welding program and path;

2、机器人视觉系统采集焊缝曲线点云数据,并使用点间法向量变化和切平面线性拟合等算法,对焊缝曲线进行拟合和分析,得到焊缝空间曲线参数;2. The robot vision system collects the weld curve point cloud data, and uses algorithms such as the normal vector change between points and the tangent plane linear fitting to fit and analyze the weld curve to obtain the weld space curve parameters;

3、基于焊缝空间曲线参数,机器人运动控制系统确定焊机行进路线和焊接程序参数,进行焊接控制;3. Based on the weld space curve parameters, the robot motion control system determines the welding machine travel route and welding program parameters to perform welding control;

4、焊接完成后,机器人视觉系统再次采集焊缝曲线点云数据,与预设的焊缝曲线进行比较和分析,确保焊接质量和稳定性。4. After welding is completed, the robot vision system collects the weld curve point cloud data again, compares and analyzes it with the preset weld curve to ensure the welding quality and stability.

上述实施方式仅为本发明的优选实施方式,不能依次来限定本发明保护的范围,本领域的技术人员对本发明的技术方案进行各种组合、修改或者等同替换,都不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。The above-mentioned embodiments are only preferred embodiments of the present invention and cannot limit the scope of protection of the present invention in turn. Various combinations, modifications or equivalent substitutions of the technical solutions of the present invention by technicians in this field do not depart from the spirit and scope of the technical solutions of the present invention, and should be included in the scope of the claims of the present invention.

Claims (8)

1.一种基于机器人遍历空间曲线参数的焊接方法,其特征在于,包括以下步骤:1. A welding method based on robot traversal space curve parameters, characterized in that, comprising the following steps: S1:机器人视觉系统获取焊缝空间曲线参数,包括焊缝的起始点、终止点、方向和曲率等信息;S1: The robot vision system obtains the parameters of the weld space curve, including the starting point, ending point, direction and curvature of the weld; S2:采用探针式传感器来获取焊缝的深度、宽度和电焊点等信息;S2: Use probe sensors to obtain information such as the depth, width and welding points of the weld; S3:运动控制系统控制机器人沿着焊缝进行走位,实现精确的运动控制和运动轨迹跟踪;S3: The motion control system controls the robot to move along the weld seam to achieve precise motion control and motion trajectory tracking; S4:曲线拟合算法将采集到的焊缝空间曲线参数进行拟合,得到焊缝的几何模型,将焊缝深度、宽度和电焊点等信息加入到几何模型中,得到修正后的焊缝曲线模型;S4: The curve fitting algorithm fits the collected weld space curve parameters to obtain the geometric model of the weld, and adds information such as weld depth, width and welding points to the geometric model to obtain the corrected weld curve Model; S5:路径规划算法规划焊接机器人的行进路线,考虑机器人的运动学和动力学特性,并进行路径优化;S5: The path planning algorithm plans the travel route of the welding robot, considers the kinematics and dynamics characteristics of the robot, and performs path optimization; S6:焊接机器人根据获取的空间参数确定焊机行进路线,规划焊接程序参数,实现焊接过程的自动化操作;S6: The welding robot determines the travel route of the welding machine according to the acquired spatial parameters, plans the welding program parameters, and realizes the automatic operation of the welding process; 其中,所述机器人视觉系统采用结构光测量技术来获取焊缝空间曲线参数,所述机器人视觉系统采用三角测量算法,其公式为:Wherein, the robot vision system uses structured light measurement technology to obtain weld space curve parameters, and the robot vision system uses a triangulation algorithm, the formula of which is:
Figure FDA0004148825040000011
Figure FDA0004148825040000011
其中,XA、YA、ZA、XB、YB、ZB、XC、YC、ZC为三个三维点的坐标,Z为待测点的深度值;Among them, X A , Y A , Z A , X B , Y B , Z B , X C , Y C , Z C are the coordinates of three three-dimensional points, and Z is the depth value of the point to be measured; 所述运动控制系统采用PID控制器,PID控制器通过比较实际运动轨迹和期望运动轨迹,根据误差大小调整机器人的运动控制参数;The motion control system adopts a PID controller, and the PID controller adjusts the motion control parameters of the robot according to the size of the error by comparing the actual motion trajectory with the desired motion trajectory; 所述曲线拟合算法采用基于点间法向量变化和切平面线性拟合的方法,在基于点间法向量变化和切平面线性拟合的方法中,采用最小二乘法进行拟合,该方法主要涉及到点云数据的处理和曲面拟合,其中,计算相邻点之间的法向量变化可以使用以下公式为:The curve fitting algorithm adopts the method based on the change of the normal vector between points and the linear fitting of the tangent plane. In the method based on the change of the normal vector between the points and the linear fitting of the tangent plane, the method of least squares is used for fitting. The method mainly It involves the processing and surface fitting of point cloud data, where the following formula can be used to calculate the normal vector change between adjacent points:
Figure FDA0004148825040000021
Figure FDA0004148825040000021
其中,Pi表示点云数据中第i个点的坐标,Ni表示第i个点的法向量,对于每个点的切平面,可以使用线性拟合的方法,假设点(xi,yi,zi)在切平面上,那么可以得到以下公式:Among them, Pi represents the coordinates of the i-th point in the point cloud data, and Ni represents the normal vector of the i-th point. For the tangent plane of each point, a linear fitting method can be used, assuming points (xi, yi, zi) On the tangent plane, then the following formula can be obtained: zi=Axi+Byi+C其中,A、B、C为拟合系数;z iAxi +By i +C Among them, A, B, C are fitting coefficients; 所述路径规划算法采用基于二次多项式拟合的方法,该方法使用二次多项式来拟合点云数据,拟合公式为:The path planning algorithm adopts a method based on quadratic polynomial fitting, which uses a quadratic polynomial to fit point cloud data, and the fitting formula is: z=ax2+by2+cxy+dx+ey+f其中,a、b、c、d、e、f为拟合系数。z=ax 2 +by 2 +cxy+dx+ey+f where a, b, c, d, e, f are fitting coefficients.
2.根据权利要求1所述的一种基于机器人遍历空间曲线参数的焊接方法,其特征在于:所述结构光视觉测量技术,其操作步骤如下:2. A kind of welding method based on robot traversing space curve parameters according to claim 1, characterized in that: the structured light vision measurement technology, its operation steps are as follows: 步骤1:在焊缝附近设置一组光源和相机,通过光源发射光束,形成一组光斑;Step 1: Set up a group of light sources and cameras near the weld, and emit light beams through the light source to form a group of light spots; 步骤2:利用相机获取光斑在三维空间中的位置信息,通过计算光斑的空间坐标,获取焊缝的空间曲线参数。Step 2: Use the camera to obtain the position information of the spot in three-dimensional space, and obtain the space curve parameters of the weld by calculating the spatial coordinates of the spot. 3.根据权利要求1所述的一种基于机器人遍历空间曲线参数的焊接方法,其特征在于:所述基于点间法向量变化和切平面线性拟合的方法包括以下步骤:3. A kind of welding method based on robot traversing space curve parameters according to claim 1, characterized in that: the method based on the change of normal vector between points and the linear fitting of tangent plane comprises the following steps: A1:将采集到的焊缝空间曲线参数转换为离散点集,即将曲线离散化,并且将记录焊缝深度、宽度和电焊点等信息与空间曲线参数一起保存在离散点集中;A1: Convert the collected weld space curve parameters into a discrete point set, that is, discretize the curve, and store the information such as weld depth, width and welding points together with the space curve parameters in the discrete point set; A2:对离散点集进行坐标系变换,将离散点集转换为以任意一点为原点的局部坐标系;A2: Carry out coordinate system transformation on the discrete point set, and transform the discrete point set into a local coordinate system with any point as the origin; A3:根据离散点集,计算每个点的法向量和切平面方程,对于焊缝宽度和电焊点信息,可以将其作为额外的点信息加入到离散点集中;A3: According to the discrete point set, calculate the normal vector and tangent plane equation of each point. For the weld width and welding point information, it can be added to the discrete point set as additional point information; A4:对每个点的切平面方程进行线性拟合,得到焊缝的几何模型。A4: Perform linear fitting on the tangent plane equation of each point to obtain the geometric model of the weld. 4.根据权利要求1所述的一种基于机器人遍历空间曲线参数的焊接方法,其特征在于:所述二次多项式拟合方法,包括以下步骤:4. a kind of welding method based on robot traversal space curve parameter according to claim 1, is characterized in that: described quadratic polynomial fitting method, comprises the following steps: B1:根据焊缝的几何模型,建立二次多项式模型;B1: According to the geometric model of the weld, establish a quadratic polynomial model; B2:利用二次多项式模型,计算机器人在焊接过程中的运动轨迹;B2: Use the quadratic polynomial model to calculate the trajectory of the robot during the welding process; B3:将机器人的运动轨迹与焊接程序参数相结合,实现焊接机器人的自动化控制。B3: Combine the motion trajectory of the robot with the parameters of the welding program to realize the automatic control of the welding robot. 5.根据权利要求1所述的一种基于机器人遍历空间曲线参数的焊接方法,其特征在于:所述PID控制器根据机器人的云端控制系统当前输出与期望值之间的差异,分别计算三个部分的控制信号:5. A welding method based on robot traversal space curve parameters according to claim 1, characterized in that: said PID controller calculates three parts according to the difference between the current output and the expected value of the cloud control system of the robot The control signal: 比例部分(P):比例控制器输出与误差成正比,通过增加或减少控制信号来减少误差;Proportional part (P): The output of the proportional controller is proportional to the error, and the error is reduced by increasing or decreasing the control signal; 积分部分(I):积分控制器输出与误差积分成正比,用于消除误差偏差;Integral part (I): The output of the integral controller is proportional to the error integral, which is used to eliminate the error deviation; 微分部分(D):微分控制器输出与误差变化率成正比,用于减少过冲和震荡;Differential part (D): The output of the differential controller is proportional to the rate of change of the error, which is used to reduce overshoot and oscillation; PID控制器通过将这三个部分的机器人控制信号相加,产生最终的输出控制信号,以调节机器人系统的输出并使其稳定在期望值附近。The PID controller generates the final output control signal by adding the robot control signals of these three parts to adjust the output of the robot system and stabilize it around the desired value. 6.根据权利要求1所述的一种基于机器人遍历空间曲线参数的焊接方法,其特征在于:所述机器人在坐标系中的位置为(x,y),其运动方向的旋转角度为θ,路径规划算法可以通过二次多项式拟合来获得机器人的运动轨迹,其计算公式为:6. A kind of welding method based on robot traversing space curve parameters according to claim 1, characterized in that: the position of the robot in the coordinate system is (x, y), and the rotation angle of its motion direction is θ, The path planning algorithm can obtain the trajectory of the robot through quadratic polynomial fitting, and its calculation formula is: x=a0+a1*t+a2*t^2x=a0+a1*t+a2*t^2 y=b0+b1*t+b2*t^2y=b0+b1*t+b2*t^2 θ=arctan(2*a2*t+a1),其中,t为时间参数,a0、a1、a2、b0、b1、b2为拟合系数。θ=arctan(2*a2*t+a1), where t is a time parameter, and a0, a1, a2, b0, b1, b2 are fitting coefficients. 7.一种基于机器人遍历空间曲线参数的焊接系统,其特征在于:包括机器人视觉系统、机器人运动控制系统、曲线拟合算法和路径规划算法,其中,所述机器人视觉系统包括:7. A welding system based on robot traversal space curve parameters, characterized in that it includes a robot vision system, a robot motion control system, a curve fitting algorithm and a path planning algorithm, wherein the robot vision system includes: 激光扫描仪:用于获取工件表面的几何信息;Laser scanner: used to obtain the geometric information of the workpiece surface; 采集卡:用于将摄像头或激光扫描仪的信号转化为数字信号,并传输到计算机上进行处理;Acquisition card: used to convert the signal of the camera or laser scanner into a digital signal and transmit it to the computer for processing; 计算机:用于进行点云数据处理和算法计算;Computer: used for point cloud data processing and algorithm calculation; 三维点云处理软件:用于对采集到的点云数据进行滤波、去噪、配准、重建等操作,生成完整的点云模型;3D point cloud processing software: used for filtering, denoising, registration, reconstruction and other operations on the collected point cloud data to generate a complete point cloud model; 点云处理算法:例如基于点间法向量变化的曲率检测算法和切平面线性拟合算法,用于对点云数据进行处理和分析;Point cloud processing algorithm: For example, the curvature detection algorithm based on the change of normal vector between points and the tangent plane linear fitting algorithm are used to process and analyze point cloud data; 所述机器人运动控制系统包括:The robot motion control system includes: 机器人臂:用于控制焊枪或其他工具的运动;Robot arm: used to control the movement of welding torches or other tools; 伺服电机:用于驱动机器人臂的关节;Servo motors: used to drive the joints of the robot arms; 控制器:用于接收计算机或外部设备的指令,并控制伺服电机运动;Controller: used to receive instructions from the computer or external equipment, and control the movement of the servo motor; 传感器:用于实时监测机器人臂的运动状态和反馈机器人运动数据;Sensor: used for real-time monitoring of the motion state of the robot arm and feedback of robot motion data; 运动规划算法:例如基于二次多项式拟合的路径规划算法、遗传算法等,用于规划机器人的运动轨迹;Motion planning algorithm: such as path planning algorithm based on quadratic polynomial fitting, genetic algorithm, etc., used to plan the trajectory of the robot; 闭环控制算法:采用PID控制算法,用于保证机器人的运动精度和稳定性;Closed-loop control algorithm: PID control algorithm is used to ensure the motion accuracy and stability of the robot; 所述探针式传感器,包括一个探针、一个深度传感器和一个宽度传感器,其中探针用于接触焊缝,深度传感器用于测量焊缝深度,宽度传感器用于测量焊缝宽度。The probe sensor includes a probe, a depth sensor and a width sensor, wherein the probe is used to contact the weld, the depth sensor is used to measure the depth of the weld, and the width sensor is used to measure the width of the weld. 8.根据权利要求1所述的一种基于机器人遍历空间曲线参数的焊接系统,其特征在于:对于所述曲线拟合算法,需要结合激光扫描仪,对工件表面进行采集和处理,获取点云数据,然后通过算法对点云数据进行处理,拟合出合适的曲线模型,将拟合出的曲线模型与机器人运动控制系统进行结合,规划机器人的运动轨迹和控制机器人的姿态,以保证焊接质量和稳定性;8. A welding system based on robot traversing space curve parameters according to claim 1, characterized in that: for the curve fitting algorithm, it is necessary to combine a laser scanner to collect and process the surface of the workpiece to obtain a point cloud Data, and then process the point cloud data through the algorithm, fit a suitable curve model, combine the fitted curve model with the robot motion control system, plan the robot's trajectory and control the robot's attitude, so as to ensure the welding quality and stability; 对于所述路径规划算法,需要将机器人的运动控制系统与路径规划算法进行集成,以确定机器人的运动轨迹和运动速度,并通过伺服电机和编码器进行控制,考虑机器人的姿态、避障、安全因素,确保机器人的运动轨迹安全稳定。For the path planning algorithm, it is necessary to integrate the motion control system of the robot with the path planning algorithm to determine the trajectory and speed of the robot, and control it through the servo motor and encoder, taking into account the attitude, obstacle avoidance, and safety of the robot. Factors to ensure the safe and stable trajectory of the robot.
CN202310312006.1A 2023-03-28 2023-03-28 A welding method and system based on robot traversing space curve parameters Withdrawn CN116160160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310312006.1A CN116160160A (en) 2023-03-28 2023-03-28 A welding method and system based on robot traversing space curve parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310312006.1A CN116160160A (en) 2023-03-28 2023-03-28 A welding method and system based on robot traversing space curve parameters

Publications (1)

Publication Number Publication Date
CN116160160A true CN116160160A (en) 2023-05-26

Family

ID=86411607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310312006.1A Withdrawn CN116160160A (en) 2023-03-28 2023-03-28 A welding method and system based on robot traversing space curve parameters

Country Status (1)

Country Link
CN (1) CN116160160A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117124326A (en) * 2023-09-22 2023-11-28 浙江省特种设备科学研究院 Spherical tank weld robot operation path planning method and system based on intersection point
CN118513721A (en) * 2024-07-24 2024-08-20 安徽工布智造工业科技有限公司 A welding method, system, device and storage medium for block components
CN118699530A (en) * 2024-07-31 2024-09-27 深圳市优尼特焊接机电有限公司 A welding trajectory analysis method for electric welding machine
CN118989551A (en) * 2024-06-06 2024-11-22 深圳市中顺半导体照明有限公司 Method and system for adjusting wire bonding arc of LED semiconductor device by combining machine vision

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117124326A (en) * 2023-09-22 2023-11-28 浙江省特种设备科学研究院 Spherical tank weld robot operation path planning method and system based on intersection point
CN118989551A (en) * 2024-06-06 2024-11-22 深圳市中顺半导体照明有限公司 Method and system for adjusting wire bonding arc of LED semiconductor device by combining machine vision
CN118513721A (en) * 2024-07-24 2024-08-20 安徽工布智造工业科技有限公司 A welding method, system, device and storage medium for block components
CN118513721B (en) * 2024-07-24 2024-11-15 安徽工布智造工业科技有限公司 Welding method, system and device for block-shaped member and storage medium
CN118699530A (en) * 2024-07-31 2024-09-27 深圳市优尼特焊接机电有限公司 A welding trajectory analysis method for electric welding machine

Similar Documents

Publication Publication Date Title
CN116160160A (en) A welding method and system based on robot traversing space curve parameters
CN112059363B (en) Unmanned wall climbing welding robot based on vision measurement and welding method thereof
CN107443382B (en) Structural parameter error identification and compensation method of industrial robot
CN113798634B (en) Spatial annular welding seam teaching and welding seam tracking method, system and equipment
CN111745267A (en) A real-time tracking system and method for groove weld based on laser displacement sensor
US7272524B2 (en) Method and a system for programming an industrial robot to move relative to defined positions on an object, including generation of a surface scanning program
CN116175035B (en) Intelligent welding method for steel structure high-altitude welding robot based on deep learning
CN113146620A (en) Binocular vision-based double-arm cooperative robot system and control method
Ma et al. A fast and robust seam tracking method for spatial circular weld based on laser visual sensor
CN110370316A (en) It is a kind of based on the robot TCP scaling method vertically reflected
Geng et al. A method of welding path planning of steel mesh based on point cloud for welding robot
Liu et al. Robot path planning with two-axis positioner for non-ideal sphere-pipe joint welding based on laser scanning
CN117047237B (en) Intelligent flexible welding system and method for special-shaped parts
CN117139000A (en) Self-adaptive spraying method, spraying system and spraying robot for working surface
CN113829338B (en) A structured light hand-eye calibration method based on coordinate system servo alignment
Yu et al. Multiseam tracking with a portable robotic welding system in unstructured environments
JP2023528897A (en) Servo control method, processor, storage medium and movable stage
CN107932502A (en) A kind of SCARA method for planning track of robot based on binocular stereo vision
Guan Research on the application of robot welding technology in modern architecture
Ge et al. An efficient system based on model segmentation for weld seam grinding robot
CN111590165A (en) Welding robot and welding method for ship assembling plate based on remote calibration
CN114505865B (en) A method and system for generating a robot path based on posture tracking
CN212218498U (en) Welding robot for ship assembling plate frame structure based on remote calibration
CN118357649A (en) Automatic intelligent welding system of correction
CN117399863A (en) Method and system for adjusting welding process gesture of three-dimensional curved surface welding robot in real time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20230526