ROBOT-ASSISTED SHEET METAL BENDING LOADING AND UNLOADING PATH PLANNING METHOD BASED ON SVSDF
20260048431 ยท 2026-02-19
Assignee
Inventors
- Fengyu Xu (Nanjing, CN)
- Yiyang MIAO (Nanjing, CN)
- Dawei DING (Nanjing, CN)
- Xingbao LI (Nanjing, CN)
- Pengyu Wang (Nanjing, CN)
- Liang JING (Nanjing, CN)
- Yan HUANG (Nanjing, CN)
- Jingjin Shen (Nanjing, CN)
- Yanyun CHENG (Nanjing, CN)
Cpc classification
International classification
Abstract
A robot-assisted sheet metal bending loading and unloading path planning method based on an SVSDF is provided. The method includes the following steps: Step 1, constructing a two-dimensional pixel coordinate system; Step 2, obtaining an initial motion trajectory of loading and unloading a sheet metal part; Step 3, calculating path safety; Step 4, calculating a path cost; Step 5, calculating a fitness value of the initial motion trajectory of loading and unloading the sheet metal part; Step 6, optimizing the path cost and the path safety to obtain an optimal motion trajectory of loading and unloading the sheet metal part; and Step 7, through derivation of a bending loading and unloading motion relationship, transforming a motion trajectory of loading and unloading a workpiece itself into a motion trajectory of each axis of a bending robot.
Claims
1. A robot-assisted sheet metal bending loading and unloading path planning method based on a Swept Volume Signed Distance Field (SVSDF), comprising the following steps: Step 1, constructing a two-dimensional pixel coordinate system, wherein a two-dimensional map plane is constructed after binarizing side-view images of three-dimensional models of upper and lower dies based on a sheet metal bender, an upper left corner of the two-dimensional map plane is used as an origin, and two adjacent right-angled edges passing through the origin are an x axis and a y axis, respectively, so that the two-dimensional pixel coordinate system is formed; if the sheet metal part is regarded as a moving object, and a bending point of the sheet metal part is regarded as a moving point, a motion path of loading and unloading the sheet metal part comprises several path points, and each path point is denoted as (x, y, ); wherein (x, y) is a position parameter of the sheet metal part in the two-dimensional pixel coordinate system; and is an attitude angle of the sheet metal part; Step 2, obtaining an initial motion trajectory of loading and unloading the sheet metal part, wherein a Rapidly-Exploring Random Tree (RRT)-Connect algorithm is used to initially plan the motion path of loading and unloading the sheet metal part to obtain an initial motion trajectory of loading and unloading the sheet metal part; and the initially planning process is repeated for N.sub.pop times to obtain N.sub.pop initial motion trajectories of loading and unloading the sheet metal part; Step 3, calculating path safety, wherein all pixel points which are prone to colliding with bending motion of the sheet metal part or have a distance less than a safe distance from an upper die and a lower die of the sheet metal bender are found, which are marked as obstacle points of interest; and according to the obstacle points of interest and the initial motion trajectory of loading and unloading the sheet metal part, and based on the SVSDF, the path safety value of each initial motion trajectory of loading and unloading the sheet metal part is calculated; Step 4, calculating path cost, wherein assuming that any initial motion trajectory of loading and unloading the sheet metal part has N path points, the specific calculation formula of the path cost is:
2. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 1, wherein in Step 2, the RRT-Connect algorithm is an improved synchronous bias greedy RRT-Connect algorithm; and the improved synchronous bias greedy RRT-Connect algorithm uses an adaptive elliptical region to sample random points when initially planning the motion path of loading and unloading the sheet metal part, and performs adaptive growth of each tree node based on the influence of an obstacle.
3. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 2, wherein in Step 2, the method of using an adaptive elliptical region to sample each random point comprises the following steps: Step 2A-1, establishing an adaptive elliptical region, wherein a starting point S.sub.start(x.sub.start, .sub.start) and a goal point S.sub.goal(x.sub.goal, y.sub.goal, .sub.goal) of the motion path of loading and unloading the sheet metal part are used as two focal points of the adaptive elliptical region; and the length l from the upper die to the lower die of the bender is used as a length c.sub.short of a short axis of the adaptive elliptical region, so as to construct the adaptive elliptical region which adaptively changes with the starting point and the goal point; Step 2A-2, constructing a unit circle, wherein the origin of the two-dimensional pixel coordinate system in Step 1 is used as the center to construct a unit circle with a radius of one pixel; Step 2A-3, stretching a random point, wherein a point (x.sub.c, y.sub.c, .sub.rand) is randomly generated in the unit circle, and the point is stretched into a point (x, y, .sub.rand) in the adaptive elliptical region; the calculation formula of x and y is:
4. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 3, wherein in Step 2, the adaptive growth method of each search tree node comprises the following steps: Step 2B-1, calculating an expansion direction v.sub.0 of tree nodes without obstacle influence, wherein the specific calculation formula is:
5. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 1, wherein in Step 3, the method of calculating path safety specifically comprises the following steps: Step 3-1, calculating a swept volume, wherein a Shape function is used to calculate the total number of pixel points occupied by any initial motion trajectory of loading and unloading the sheet metal part when moving from the starting point S.sub.start to the goal point S.sub.goal, which is denoted as the swept volume; Step 3-2, constructing a binary image of the swept volume, wherein the swept volume obtained in Step 3-1 is input into a blank two-dimensional map plane by using a Map function, and the binary image is marked as black, thereby forming the binary image of the swept volume; Step 3-3, constructing an SVSDF matrix, wherein any pixel coordinate in the binary image of the swept volume constructed in Step 3-2 is calculated to the SVSDF value of the swept volume, thereby forming the SVSDF matrix; Step 3-4, finding obstacle points of interest, wherein the upper die and the lower die of the sheet metal bender are obstacles in the bending motion of the sheet metal part, all pixel points which are prone to colliding with bending motion of the sheet metal part or have a distance less than a safe distance from an upper die and a lower die are found from the two-dimensional map plane constructed in Step 1, which are marked as obstacle points of interest, and the pixel coordinate of each obstacle point of interest is recorded; Step 3-5, obtaining an SVSDF value of the obstacle point of interest, wherein according to the pixel coordinate of the obstacle point of interest in Step 3-4, the corresponding SVSDF value is found from the SVSDF matrix constructed in Step 3-3, so as to obtain the SVSDF value of each obstacle point of interest; Step 3-6, calculating an average average_sdf of the SVSDF value of the obstacle point of interest; Step 3-7, using normal distribution to determine the position of average_sdf and a probability density value pdf_value; and Step 3-8, calculating path safety, wherein path safety=Kpdf_value; K is a magnitude adjustment coefficient.
6. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 5, wherein in Step 3-1, the t-th initial motion trajectory of loading and unloading the sheet metal part comprises N path points, that is, a starting point S.sub.start, a second path point S.sub.2, a third path point S.sub.3, . . . , an i-th path point S.sub.i, a (N2)-th path point S.sub.N2, and a goal point S.sub.goal; wherein 2iN2; and the pixel point occupied by the sheet metal part at the path point S.sub.i is Shape(S.sub.i).
7. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 6, wherein in Step 3-2, the binary image SV_map of the swept volume of the t-th initial motion trajectory of loading and unloading the sheet metal part is:
8. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 7, wherein in Step 3-3, the calculation formula of the SVSDF is:
9. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 7, wherein in Step 3-4, before finding the obstacle point of interest, the upper die and the lower die of the sheet metal bender are divided into a narrow region and a non-narrow region; the narrow region refers to the region between the protrusion of the bottom of the upper die and the groove of the lower die; the non-narrow region refers to other bending moving regions except the narrow region; and therefore, the obstacle points of interest comprise obstacle points of interest in the narrow region and obstacle points of interest in the non-narrow regions; the obstacle points of interest in the narrow region comprise pixel points located at an outer edge and a periphery of the bottom of the upper die in the narrow region, and pixel points located at an outer edge and a periphery of the top of the lower die in the narrow region; the obstacle points of interest in the non-narrow region comprise pixel points at an outer edge of the upper die or the lower die which are prone to colliding with the sheet metal part in the non-narrow region.
10. The robot-assisted sheet metal bending loading and unloading path planning method based on the SVSDF according to claim 9, wherein in Step 3-6, average_sdf comprises an average average_sdf.sub.1 of the SVSDF of the obstacle points of interest in the narrow region and an average average_sdf.sub.2 of the SVSDF of the obstacle points of interest in the non-narrow region; in Step 3-7, pdf_value comprises the probability density value pdf_value_narrow of the narrow region and the probability density value pdf_value_nonnarrow of the non-narrow region, and the specific calculation formulae are:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105]
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112]
[0113]
[0114]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0115] The present disclosure will be further described in detail with reference to the accompanying drawings and specific preferred embodiments.
[0116] In the description of the present disclosure, it is to be understood that orientation or position relationships indicated by terms left, right, upper, lower, and the like are orientation or position relationships shown based on the accompanying drawings, which are merely intended to facilitate describing the present disclosure and simplifying the description, rather than indicate or imply that indicated devices or elements have to have particular orientations, and constructed and operated in particular orientations. The terms first, second, and the like do not indicate the degree of importance of the components, and therefore, cannot be understood as a limitation on the present disclosure. The specific dimensions used in this embodiment are only for illustrating the technical solution, and do not limit the scope of protection of the present disclosure.
[0117] As shown in
[0118] Step 1, in actual production, due to the narrow channel between the upper and lower dies of the bender, if the path of the robot is not properly controlled when handling the sheet metal part, scraping or collision between a corner of the sheet metal part and the die easily occurs, thereby influencing the bending accuracy and even resulting in device damage. Therefore, it is necessary to perform abstract modelling of the working environment through the two-dimensional pixel coordinate system for subsequent path safety analysis. That is, a two-dimensional pixel coordinate system is constructed: a two-dimensional map plane is constructed after binarizing side-view images of three-dimensional models of upper and lower dies based on a sheet metal bender, an upper left corner of the two-dimensional map plane is used as an origin, and two adjacent right-angled edges passing through the origin are an x axis and a y axis, respectively, so that the two-dimensional pixel coordinate system is formed, as shown in
[0119] Step 2, in a conventional method, random sampling path planning often leads to slow convergence and easily falls into a low-value region due to the limited space and the complex obstacle distribution, which results in a long trajectory, low efficiency and even inability to generate feasible paths. Therefore, it is necessary to obtain an initial motion trajectory of loading and unloading the sheet metal part: a Rapidly-Exploring Random Tree (RRT)-Connect algorithm is used to initially plan the motion path of loading and unloading the sheet metal part to obtain an initial motion trajectory of loading and unloading the sheet metal part; and the initially planning process is repeated for N.sub.pop times to obtain N.sub.pop initial motion trajectories of loading and unloading the sheet metal part.
[0120] The above RRT-Connect algorithm is preferably an improved synchronous bias greedy RRT-Connect algorithm (also referred to as an improved SBG-RRT-Connect algorithm); the improved synchronous bias greedy RRT-Connect algorithm uses an adaptive elliptical region to sample each random point when initially planning the motion path of loading and unloading the sheet metal part, and performs adaptive growth of each search tree node based on the influence of an obstacle.
[0121] The advantage of RRT-Connect is that it is likely to grow trees greedily toward the goal location, showing better performance in terms of computing time. The disadvantage is that a greedy strategy often falls into the dilemma of searching in regions far from the goal. At the same time, the RRT algorithm with bias has the probability of expanding to the goal, but the expansion occurs only once.
[0122] In order to solve this problem, an SBG-RRT-Connect algorithm is proposed, which adds a synchronous bias greedy strategy to improve the path planning performance in the bending loading and unloading task.
[0123] The main improvement of the algorithm lies in the trigger condition of the greedy expansion strategy of the random tree T.sub.b of the goal point, in which the greedy expansion is performed when the randomly sampled point is selected as the relative goal point, that is, the greedy linear expansion is performed towards the goal point with the step size until an obstacle is encountered or two search trees are connected. Otherwise, the tree may only expand once. The synchronous partial greed strategy can be interpreted as gradient descent search with p probability and uniform exploration with i-p probability. The former aims to improve the path quality by reducing the search time, while the latter prevents the algorithm from falling into local minima.
[0124] In the bending operation space, the distribution of obstacles is more fixed, mainly including the upper die and the lower die of the bender, thereby allowing the movement space of the workpiece to be narrow. When a robot is used to assist in handling, the feasibility of the path is more constrained. In order to solve these problems, an improved SBG-RRT-Connect algorithm is proposed for the SBG-RRT-Connect algorithm, which has the following two improvements.
1. Adaptive Elliptic Region Sampling
[0125] The method of using an adaptive elliptical region to sample each random point, as shown in
[0126] Step 2A-1, an adaptive elliptical region is established.
[0127] As shown in
[0128] Step 2A-2, a unit circle is constructed: the origin of the two-dimensional pixel coordinate system in Step 1 is used as the center to construct a unit circle with a radius of one pixel.
[0129] Step 2A-3, a random point is stretched: a point (x.sub.c, y.sub.c, .sub.rand) is randomly generated in the unit circle, and the point is stretched into a point (x, y, .sub.rand) in the adaptive elliptical region; where the calculation formula of x and y is:
[0131] Step 2A-4, a random point is rotated: the point (x, y, .sub.rand) is rotated according to two focuses of the adaptive elliptical region, and the rotated point is a randomly sampled point S.sub.rand (x.sub.rand, .sub.rand, .sub.rand); where the calculation formula of x.sub.rand and .sub.rand is:
2. Adaptive Node Growth
[0134] As shown in
[0135] Step 2B-1, an expansion direction v.sub.0 of tree nodes without obstacle influence is calculated, where the specific calculation formula is:
[0137] In the bending loading and unloading task, the starting point is generally close to the obstacle, so that the influence of the upper die and the lower die of the bender on the growth direction of the node must be taken into account.
[0138] Step 2B-2, the total number N.sub.o of obstacles influencing a newly generated tree node S.sub.new is found.
[0139] As shown in
[0140] In
[0141] Step 2B-3, the influence direction v.sub.obs of the obstacle on S.sub.new is calculated, where the specific calculation formula is:
[0143] Step 2B-4, the expansion direction v of nodes with obstacle influence is calculated, where the specific calculation formula is:
[0145] Step 2B-5, x.sub.new and y.sub.new are calculated: S.sub.nearest which is closest to S.sub.rand is used as the starting point of expansion, and a set equidistant step size r.sub.p is used to expand in the v direction; where the specific calculation formula of x.sub.new and y.sub.ne is:
[0146] Step 2B-6, .sub.new is calculated: .sub.nearest is used as the initial value, and a set equiangular step size r.sub.o is used to expand to .sub.rand, where the specific calculation formula is:
[0148] It is judged whether there is a collision in an expansion process, resampling is performed if there is a collision, and a new node S.sub.new is added to the search tree if there is no collision.
[0149] If the starting point search tree T.sub.a is connected with the goal point search tree T.sub.b, the initial path is obtained through path backtracking. If the starting point search tree T.sub.a is not connected with the goal point search tree T.sub.b, the two search trees continue to alternately repeat the search expansion process until the two search trees are connected.
[0150] In this embodiment, because the random tree T.sub.b of the goal point has a synchronous bias greedy expansion strategy, when the node S.sub.rand (x.sub.rand, y.sub.rand, .sub.rand) randomly sampled in the adaptive elliptical region is not a relative goal point S.sub.start(x.sub.start, .sub.start), each search tree node undergoes the foregoing adaptive growth or expansion only once. When the node S.sub.rand (x.sub.rand, y.sub.rand, .sub.rand) randomly sampled in the adaptive elliptical region is the relative goal point S.sub.start (x.sub.start, y.sub.start, .sub.start), each path node may undergo the foregoing adaptive growth or expansion for many times continuously until the node is connected with or collides with another random tree T.sub.a.
3. Path Cubic Spline Interpolation
[0151] The discreteness of the path obtained based on the sampling algorithm may cause collision detection in some potential states to be omitted. A spline interpolation method (a method of fitting data points using a piecewise cubic polynomial) is used for path interpolation. The method is also helpful to calculate the swept volume later, and the interpolated path is shown in
[0152] Step 3, in the existing path planning, only the path length or energy consumption is usually taken into account, but there is a lack of quantitative safety evaluation. When the sheet metal part moves in a narrow channel, if the minimum safe distance between the sheet metal part and the die is not accurately measured, collision occurs easily. Therefore, it is necessary to calculate the path safety: all pixel points which are prone to colliding with bending motion of the sheet metal part or have a distance less than a safe distance from an upper die and a lower die of the sheet metal bender are found, which are marked as obstacle points of interest; and according to the obstacle points of interest and the initial motion trajectory of loading and unloading the sheet metal part, and based on the Swept Volume Signed Distance Field (SVSDF), the path safety value of each initial motion trajectory of loading and unloading the sheet metal part is calculated.
[0153] The method of calculating path safety, as shown in
[0154] Step 3-1, a swept volume is calculated: a Shape function is used to calculate the total number of pixel points occupied by any initial motion trajectory of loading and unloading the sheet metal part when moving from the starting point S.sub.start to the goal point S.sub.goal, which is denoted as the swept volume, as shown in
[0155] It is assumed that the t-th initial motion trajectory of loading and unloading the sheet metal part includes N path points, that is, a starting point S.sub.start, a second path point S.sub.2, a third path point S.sub.3, . . . , an i-th path point S.sub.i, a (N2)-th path point S.sub.N2, and a goal point S.sub.goal; where 2iN2; and the pixel point occupied by the sheet metal part at the path point S.sub.i is Shape(S.sub.i).
[0156] Step 3-2, a binary image of the swept volume is constructed: the swept volume obtained in Step 3-1 is input into a blank two-dimensional map plane by using a Map function, and the binary image is marked as black, thereby forming the binary image of the swept volume.
[0157] The binary image SV_map of the swept volume of the t-th initial motion trajectory of loading and unloading the sheet metal part is:
[0158] Step 3-3, an SVSDF matrix is constructed: any pixel coordinate in the binary image of the swept volume constructed in Step 3-2 is calculated to the SVSDF value of the swept volume, thus forming the SVSDF matrix as shown in
[0159] The calculation formula of the SVSDF is preferably:
[0162] Step 3-4, obstacle points of interest are found.
[0163] Before finding the obstacle point of interest, the upper die and the lower die of the sheet metal bender are divided into a narrow region and a non-narrow region; where the narrow region refers to the region between the protrusion of the bottom of the upper die and the groove of the lower die; and the non-narrow region refers to other bending moving regions except the narrow region.
[0164] The upper die and the lower die of the sheet metal bender are obstacles in the bending motion of the sheet metal part. All pixel points which are prone to colliding with bending motion of the sheet metal part or have a distance less than a safe distance from an upper die and a lower die are found from the two-dimensional map plane constructed in Step 1, which are marked as obstacle points of interest, and the pixel coordinate of each obstacle point of interest is recorded.
[0165] The obstacle points of interest include obstacle points of interest in the narrow region and obstacle points of interest in the non-narrow regions.
[0166] The obstacle points of interest in the narrow region include pixel points located at an outer edge and a periphery of the bottom of the upper die in the narrow region, and pixel points located at an outer edge and a periphery of the top of the lower die in the narrow region.
[0167] The obstacle points of interest in the non-narrow region include pixel points at an outer edge of the upper die or the lower die which are prone to colliding with the sheet metal part in the non-narrow region.
[0168] Step 3-5, an SVSDF value of the obstacle point of interest is obtained: according to the pixel coordinate of the obstacle point of interest in Step 3-4, the corresponding SVSDF value is found from the SVSDF matrix constructed in Step 3-3, so as to obtain the SVSDF value of each obstacle point of interest.
[0169] Step 3-6, an average average_sdf of the SVSDF value of the obstacle point of interest is calculated.
[0170] average_sdf includes an average average_sdf.sub.1 of the SVSDF of the obstacle points of interest in the narrow region and an average average_sdf.sub.2 of the SVSDF of the obstacle points of interest in the non-narrow region.
[0171] Step 3-7, normal distribution is used to determine the position of average_sdf and a probability density value pdf_value.
[0172] pdf_value preferably includes the probability density value pdf_value_narrow of the narrow region and the probability density value pdf_value_nonnarrow of the non-narrow region, and the specific calculation formulae are:
[0177] Step 3-8, path safety is calculated, specifically: path safety=Kpdf_value; where K is a magnitude adjustment coefficient. The value of K is adjusted, so that path safety and the following path cost can have the same magnitude. In this embodiment, preferably, K=200.
[0178] Step 4, it is not sufficient to ensure the actual feasibility of the path by only relying on the safety indicator. In actual production, if the path is too long or the attitude adjustment is too frequent, the production efficiency may be significantly reduced. Therefore, it is necessary to calculate path cost: assuming that any initial motion trajectory of loading and unloading the sheet metal part has N path points, the specific calculation formula of the path cost is:
[0182] Step 5, most of the existing optimization methods include single-objective optimization, so that the path is too conservative or inefficient, and there is a lack of the balance between safety and efficiency. Therefore, it is necessary to calculate COST.sub.t: a fitness value COST.sub.t of a t-th initial motion trajectory of loading and unloading the sheet metal part is calculated, where 1tN.sub.pop; and the calculation formula of COST.sub.t is:
[0185] Step 6, the conventional optimization algorithm easily falls into the local optimum when making multi-objective trade-off, so that the generated path is unsafe or inefficient. Therefore, it is necessary to obtain an optimal motion trajectory of loading and unloading the sheet metal part: based on a Water Cycle Algorithm (WCA), the minimum value of N.sub.pop COST.sub.t in Step 5 is continuously iteratively optimized and found out, and the motion trajectory of loading and unloading the sheet metal part corresponding to the minimum COST.sub.t is used as the optimal motion trajectory of loading and unloading the sheet metal part.
[0186] Step 7, the kinematic relationship of bending loading and unloading is derived: taking a complex 7-bend workpiece as an example, a general kinematic relationship formula is given. A workpiece coordinate system is defined at each bending point, as shown in the blue coordinate system in
[0187] The workpiece position (x, y) is derived to the position (E.sub.x, E.sub.y) of the adsorption point at the end of the robot, and the direction angle is mapped to the rotation angle .sub.r4 of the fourth joint. The changes of E.sub.x and E.sub.y are determined by the shape of the workpiece near the robot at the current bending point of the workpiece. The dimension parameters of the workpiece provide key information, including the bending angle .sub.bi of each bending section and the length L.sub.i of the side. The starting point coordinate (x, y) only needs to accumulate the increment of each line segment to obtain (E.sub.x, E.sub.y). The direction of each line segment is determined by the angle .sub.i, and cosine and sine ensure the automatic adaptation of an increasing and decreasing relationship without additional judgment of positive and negative values. The formula is:
[0189] In addition, the rotation angle .sub.r4 corresponding to the fourth axis of the bending robot is required to be solved, and the coordinate of the previous bending point N (N.sub.x, N.sub.y) adjacent to the adsorption point E at the end of the robot needs to be obtained. The angle .sub.N can be derived from the coordinate of these two points, and then .sub.r4 can be calculated by the following formula.
[0190]
[0191] Step 8, the motion trajectory of loading and unloading of each axis of the bending robot is obtained: the application structure of the bending robot is a PPPRR gantry robot. The kinematic analysis and modeling of a five-degree-of-freedom bending robot are performed by a D-H method, which includes three moving joints and two rotating joints. The axis z.sub.i denotes the axial direction along joint i; the coordinate origin o.sub.i is on the common normal line passing through axis z.sub.i and axis z.sub.i+1; and x.sub.i axis is along the common normal direction of axis z.sub.i and axis z.sub.i+1, and points from z.sub.i to z.sub.i+1. The y-axis direction is based on a right-hand screw rule. The coordinate system is set as shown in
[0192] a.sub.i denotes a length of a connecting rod, .sub.i denotes a twist angle of the connecting rod, d.sub.i denotes a distance between joints, and .sub.ri denotes the rotation angle of the joint. The D-H parameters of each connecting rod can be obtained as shown in the following table.
TABLE-US-00001 TABLE D-H parameters connecting rod i a.sub.i1 / (mm) .sub.i1 / (rad) d.sub.i / (mm) .sub.ri / (rad) i = 0 0 / 2 0 0 i = 1 181 / 2 d.sub.1 0 i = 2 145 / 2 d.sub.2 / 2 i = 3 133 / 2 d.sub.3 / 2 i = 4 0 / 2 141 .sub.r4 i = 5 0 0 250 .sub.r5
[0193] According to the multiplication of D-H and the matrix, a homogeneous transformation matrix from the coordinate system {i1} to the coordinate system {i} can be obtained:
denotes a rotation matrix of {i} to {i1}, and .sup.i1p.sub.i denotes a position vector. At this time, the homogeneous transformation matrix of the coordinate system {5} at the end of the robot relative to the base coordinate system {0} can be obtained according to the above formula:
[0195] The inverse kinematics of the robot indicates that when the position and the attitude at the end of the robot are known, the rotation angle .sub.ri of the rotating joint that can reach the attitude and the displacement d.sub.i of the translating joint are solved. In the loading and unloading task, the movement of the bending robot mainly relies on the second and third moving joints and the fourth rotating joint. The rotation angle .sub.r4 of the fourth joint of the robot has been derived through Step 7, and the main purpose of the subsequent inverse kinematics is to solve the displacements d.sub.2 and d.sub.3 of the second and third moving joints. Assuming that p.sub.y, .sub.r5 reaches the specified position before the loading and unloading task is executed, and remain unchanged during the whole task.
[0196] The coordinate (E.sub.x, E.sub.y) at the end of the robot in the two-dimensional map coordinate system is given in unit of pixels, which needs to be transformed into the corresponding coordinate (p.sub.x, p.sub.z) at the end of the robot in the world coordinate system in unit of millimeters. The transformation coefficient used is about 10 mm 19 pixels. It is necessary to align the initial position coordinates of the movement at the end of the robot. Therefore, the fourth joint angle of the bending robot is calculated by Step 7, and the displacements d.sub.2 and d.sub.3 of the second axis and the third axis are determined using the following inverse kinematics solution. According to the position vector .sup.0p.sub.5, it can be known that:
[0197] Therefore, the inverse solution expressions of each moving joint of the bending robot can be obtained. The unique solutions of d.sub.2 and d.sub.3 can be obtained by substituting the solved joint angle value .sub.r4 into the above formula.
[0198] Step 9, actual processing movement step is performed.
[0199] Based on the above kinematic parameters, in the practical application process, the unloading movement of a group of sheet metal parts is shown in
[0200] The robot carries the sheet metal part to move from S.sub.start to S.sub.goal along the optimal trajectory. During the movement, the control system detects the position and the speed of each axis and the distance from the die of the bender in real time. If the detected distance is less than the safety threshold, the control system immediately stops and gives an alarm, and the operator troubleshoots the fault. If the detected distance is normal, after unloading is completed, the robot returns to the initial position and prepares for the next loading and unloading task.
[0201] Step 10, experiment verification is performed.
[0202] As shown in
1) RRT-Connect Planning Results
[0203] The greedy strategy may increase the number of iterations and the path cost of the algorithm, especially when the randomly sampled points obviously deviate from the goal position, as shown in
2) SBG-RRT-Connect Planning Results
[0204] The introduced synchronous bias greedy strategy specifies the trigger condition of greedy search, which is limited to the case that randomly sampled points are selected as goal points. The optimization concentrates the algorithm on the goal region, and accelerates the convergence to the effective path. As shown in
[0205] If uncontrolled random sampling causes random points to be never selected as goal points, the search efficiency may be significantly reduced. In this case, the algorithm only expands one node at a time, and does not use the greedy strategy. At the same time, the unrestricted sampling region may produce points far away from the goal or close to the obstacle. The node expansion direction needs to be adjusted heuristically to reduce unnecessary exploration and influence the efficiency and the quality of path planning in practical application.
3) Improved SBG-RRT-Connect Planning Results
[0206] As can be seen from
[0207] The above two groups of experiments are repeated for 50 times, and the experiment results are shown in
[0208] The average path cost of the improved algorithm is 410.08, which is 81.33% lower than the RRT-Connect algorithm and 21.14% lower than the SBG-RRT-Connect algorithm. As shown in
[0209] In terms of iterations, the average number of iterations of the improved algorithm is 189, which is 98.17% lower than the RRT-Connect algorithm and 51.91% lower than the SBG RRT Connect method.
[0210] The results show that the improved SBG-RRT-Connect performs better in terms of the path cost, the number of iterations, and the path search time. The inheritance and improvement of the algorithm results in better stability in the bending process.
[0211] Comparison table of 50 repeated experiment data of three algorithms
TABLE-US-00002 Improved SBG-RRT- SBG-RRT- Algorithm RRT-Connect Connect Connect path cost (min) 389.53 371.97 366.1 path cost (max) 4199.47 1584.69 559.47 path cost (avg) 2196.95 520.02 410.08 time (min)/s 1.45 1.18 0.96 time (max)/s 136.44 50.15 11.55 time (avg)/s 42.84 11.42 3.7 number of 673 106 99 iterations(min) number of 40046 2025 472 iterations(max) number of 10313 393 189 iterations(avg)
[0212]
[0213] In the second group of experiments, the workpiece is planned to perform the unloading movement after the second bending.
[0214] In the third group of experiments, the workpiece is planned to perform the unloading movement after the third bending. At this time, there are three sections on the right side of the workpiece bending point, which is more complex in shape. In addition, the path must pass through the narrow channel between the upper and lower dies, so that the initial path planned by the optimized SBG-RRT-Connect algorithm is more tortuous, as shown in
[0215] By comprehensively considering the path cost and the path safety, the multi-objective path planning is performed by using the water cycle algorithm. The results show that the path optimization method can significantly improve the path quality regardless of the simple or complex shape of the workpiece. From the perspective of the path cost and the safety, first, the path cost is further reduced, and the path becomes smoother. In addition, the method can allow the safety indicator of the path to reach the set expected value, and prevent the path planning from being too conservative while ensuring the safety of the path.
[0216] As shown in
[0217] To sum up, the present disclosure combines the path planning algorithm, the intelligent algorithm and the computer graphics technology to propose a hierarchical path planning method. The method plans the initial path through the improved SBG-RRT-Connect, then formulates the quantitative standard for evaluating the path safety based on the SVSDF, and performs multi-objective optimization on the initial path by using the WCA algorithm. The results show that the method can generate shorter and smoother paths, and at the same time, meet a specific safety indicator. Finally, the path is verified on virtual and physical platforms, which proves the effectiveness of the method. Theoretically, as long as the degree of freedom of the robot is high enough, the method can meet the whole body path planning of the workpiece of any shape under reasonable circumstances.
[0218] The preferred embodiments of the present disclosure have been described in detail above, but the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, various equivalent transformations can be made to the technical solution of the present disclosure. The equivalent transformations belong to the scope of protection of the present disclosure.