Multi-Objective Redundancy Optimization of Continuous-Point Robot Milling Path in Shipbuilding

2023-01-25 02:53JianjunYaoChenQianYikunZhangandGeyangYu

Jianjun Yao,Chen Qian,Yikun Zhang and Geyang Yu

College of Mechanical and Electrical Engineering,Harbin Engineering University,Harbin,150001,China

ABSTRACT The 6-DOF manipulator provides a new option for traditional shipbuilding for its advantages of vast working space,low power consumption,and excellent flexibility.However,the rotation of the end effector along the tool axis is functionally redundant when using a robotic arm for five-axis machining.In the process of ship construction,the performance of the parts’protective coating needs to be machined to meet the Performance Standard of Protective Coatings (PSPC).The arbitrary redundancy configuration in path planning will result in drastic fluctuations in the robot joint angle,greatly reducing machining quality and efficiency.There have been some studies on singleobjective optimization of redundant variables,However,the quality and efficiency of milling are not affected by a single factor,it is usually influenced by several factors,such as the manipulator stiffness,the joint motion smoothness,and the energy consumption.To solve this problem,this paper proposed a new path optimization method for the industrial robot when it is used for five-axis machining.The path smoothness performance index and the energy consumption index are established based on the joint acceleration and the joint velocity,respectively.The path planning issue is formulated as a constrained multi-objective optimization problem by taking into account the constraints of joint limits and singularity avoidance.Then,the path is split into multiple segments for optimization to avoid the slow convergence rate caused by the high dimension.An algorithm combining the non-dominated sorting genetic algorithm (NSGA-II) and the differential evolution (DE) algorithm is employed to solve the above optimization problem.The simulations validate the effectiveness of the algorithm,showing the improvement of smoothness and the reduction of energy consumption.

KEYWORDS Shipbuilding;robot milling;functional redundancy;path optimization;multi-objective

1 Introduction

Recently,industrial robots have been widely used in simple repetitive tasks such as palletizing due to the advantages of large working space,strong flexibility,and low energy consumption.The geometry and surface quality of free edges of hull parts are required in PSPC for shipbuilding.The traditional shipbuilding industry uses grinding to process the free edges of parts,but this machining method is inefficient and wasteful of labor.

CNC machining or robot milling can also be used to machine the free edges of hull sections.However,only a few industrial robots are employed in five-axis milling,owing to the complexity of robot programming for continuous machining compared to simple repetitive operations.

In the robot milling application,the trajectory of the end effector(EE)is usually converted from the cutter location(CL)data,which is generated by the computer-aided manufacturing system(CAM)software.The typical cutter location data usually requires five degrees of freedom,three of which represent the coordinates of the tool center point(TCP)and the other two represent the direction of the tool axis.However,the standard industrial robot usually has 6 degrees of freedom,which will cause that there is a redundant DOF when the industrial robot is used for five-axis milling.

There are usually two methods to deal with the redundant DOF.The first method is to make the spindle coaxial with the last joint of the industrial robot when it is installed,as shown in Fig.1.This method reduces the robot’s degrees of freedom to five,allowing the redundant DOF to be ignored while milling path planning.Another method,the most popular method,is mounting the spindle and the last joint axis of the wrist non-collinearly to improve the dexterity and manipulability of the robot,as shown in Fig.2.The second method provides an opportunity to optimize the path given a specified CL[1].Therefore,the redundancy optimization becomes a major issue in path planning of robot milling.

Figure 1:The milling robot whose last joint is coaxially mounted with the spindle

Figure 2:The milling robot whose last joint is not coaxially mounted with the spindle

Recent studies on the redundant resolution of the industrial robot have proposed many different performance indexes,such as energy[2],smoothness[3],joint torque[4],processing time[5].Zhang et al.proposed energy objective function by the use of dynamic model and Lagrangian formalism[2,6].Based on the velocity and acceleration of the joints,Dolgui et al.[7] proposed an energy objective function and an optimization algorithm for the redundant resolution of robotic laser cutting.On the basis of Alexandre’s research,Zhang et al.[3]established a new energy evaluation function by using the numerical difference of velocity and optimized the path generated by Alexandre’s algorithm even more.Zhang et al.[4]proposed the velocity-level and acceleration-level redundancy resolution schemes to minimize the joint torque of functional redundant industrial robot.Al Khudir et al.[5]established the objective function of the optimization algorithm at the acceleration level to minimize the motion time.All of the studies mentioned above are single-object redundancy optimization.But there are multiple requirements for the machining performance in the actual robot machining application.Single-objective redundancy optimization is not suitable for real robot machining.It is necessary to apply the multi-objective redundancy optimization according to the actual requirement of machining performance.In terms of algorithm,Zhang et al.used the quadratic programming algorithm to optimize the objective function[2,4].Dolgui et al.[7]proposed a redundancy optimization algorithm based on the Graph-based method.Peng et al.[3] used the sequential linearization programming method to accomplish the continuous-point path planning.Doan et al.[8–10] selected the PSO algorithm to optimize the redundancy of the robot.Ruiz et al.[1,11–13] applied the GA algorithm to redundancy resolution.Most of the previous studies were focused on single-point sequential optimization or short continuous-point optimization,which are not suitable for continuous-point milling path planning.Since the optimization results of each point affect each other,single-point sequential optimization cannot obtain the global best solution for continuous-point path planning.The dimension of the heuristic algorithm increases as the number of points in the trajectory increases,the higher the dimension,the lower the efficiency of the algorithm.

As previously stated,previous research on industrial robot redundancy optimization has the following shortcomings:

1.Most research was aimed at single-objective optimization,which is not suitable for actual robot milling.

2.Some solved the multi-objective optimization by putting weights on the objective function,but the values of the weights are difficult to determine.Besides,the quality of the solution is difficult to be guaranteed.

3.Most research was aimed at single-point posture optimization or fewer points optimization,but the milling path contains multiple continuous points.

4.The existing methods for the continuous points path optimization of the redundant robot are not universal for paths consisting of different numbers of points.

During the ship construction,a large number of free edges need to be polished to meet coating requirements.The machining path generated by CNC software consists of multiple points.As a result,the multi-point path planning is more suitable for the milling tasks in shipbuilding.Apart from this,the multi-point path planning can avoid the point-by-point deterioration of the robot pose since it is global optimization considering the entire path.As a result,the optimization algorithm based on multi-point path planning makes it easier to obtain a trajectory with improved smoothness and manipulability,which can improve shipbuilding efficiency.

Owing to the above reasons,the challenge of robot path planning is to put forward an algorithm aimed at multi-objective redundancy optimization of continuous points,which is suitable for any number of points.To solve this problem,this paper proposed a new redundancy optimization algorithm based on the DE and NSGA-II algorithm.First of all,by analyzing the functional redundancy of the robot,the relationship between redundant DOF and machining path was determined.Then we established the optimization model which took the smoothness performance,energy performance,joint-limit,and singularity avoidance into consideration.An optimization method based on DE and NSGA-II was proposed to solve the optimization problem.The optimization algorithm can obtain satisfactory optimization results while avoiding the impact of the number of points.

The remainder of this paper is organized as follows.In Section 2,the formula which presents the relationship between the redundancy and the CLs is given.In Section 3,the optimization which contains the energy performance index and the smoothness performance index is proposed.In Section 4,the redundancy optimization algorithm based on DE and NSGA-II is developed.In Section 5,simulations are conducted to confirm the validity of the proposed approach.Section 6 concludes the paper.

2 Redundancy in the Application of Robot Milling

Fig.3 shows the application of five-axis robot milling.In Fig.3,the{TCP}presents the coordinate system of the tool center point,and{WCS}represents the world coordinate system.The CLidenotes the cutter location of theith point in the milling path.The CL data is usually generated by the CAM software,it can be expressed as CL(x,y,z,i,j,k),in which(x,y,z)is the coordinate of the cutter in{WCS}and(i,j,k)is the unit vector of the cutter axis.

Figure 3:The application of five-axis robot milling

It is easy to know from Fig.3 that the rotation of TCP around the cutter axis does not affect the milling task because it will not change the direction of the cutter axis.But the rotation of TCP will result in a change in the robot’s posture.Rotation of different angles will cause different postures,and different robot postures will cause different robot performance.

Let the six-dimensional vector(x,y,z,α,β,γ)represents the posture of EE of the robot(in this paper,the EE means the milling cutter),the(x,y,z)represents the location of EE and the(α,β,γ)represents the Euler Angles.

Attach the TCP frame to the cutter,with its origin at the TCP and its z-axis coinciding with the cutter axis.So the frame transformation of{TCP}relative to the{WCS}can be described by the posture of EE(x,y,z,α,β,γ).According to the knowledge of coordinate system transformation[14],the transformation matrixwTtcan be deduced as Eq.(1)

where trans and rot denote translational transform and rotation transformation,respectively.The 1st,2nd,3rdcolumn of the matrix denotes the direction of axes of {TCP} and the 4thcolumn denotes the coordinate of the origin of{TCP}.To perform the milling task,the cutter location should be equal to the 4thcolumn ofwTt.And the direction of the cutter axis should be equal to the negative of the 3rdofwTt,which can be written as Eq.(2)

It can be deduced that

Eq.(3) shows that the CL dataCL(x,y,z,i,j,k) is independent of the value ofγ,which also proves the existence of the redundancy mathematically.So the main task of the path planning is to obtain an appropriate value of the redundancy DOFγto ensure the data integrity ofwTt.This can be realized via the optimization algorithm proposed by this paper.

3 Redundancy Optimization

3.1 Performance Indexes

It is clear from Section 1 that defining the appropriate performance for the redundancy optimization model is essential.In this paper,we choose the smoothness performance and energy consumption as the optimization objective,which are adjustable to the requirement of the processing task.

3.1.1 Smoothness Performance Index

A smooth speed curve in the milling process may not only efficiently assure machining accuracy and surface quality,but also satisfy the kinematics and dynamics constraints of the machining system.Vibration and jerk are the main factors affecting the smoothness of the milling path.Small joint angular acceleration can effectively avoid the velocity mutation,reducing vibration and jerk produced by the joint velocity control fundamentally.The feedrate is usually given in the design of the machining scheme.The angular velocity fluctuation of each joint during the machining process will cause spindle vibration and impact,and thus a massive change in feedrate,which will affect the smoothness of the machining path.Angular acceleration is an effective index to measure angular velocity fluctuation,it can be used as a performance index to measure the smoothness of trajectory.So the acceleration is chosen to evaluate the smoothness of the path.

For the milling path made up ofnpoints,letdenotes the angle variable of thejth joint at theith point.In this paper,angular acceleration is selected to evaluate the smoothness of the path.But the accurate calculation of angular acceleration takes a lot of calculation.Interpolating the angle variable of each joint at each point and approximating the acceleration by the interpolation derivative formula is an effective method.According to the Newton interpolation method[15],the angular velocity can be written as Eq.(4)

and the angular acceleration can be written as Eq.(5)

where thewjdenotes the weight coefficient.The more value ofwj,the greater influence ofjth joint onIndexsmoothis.

3.1.2 Energy Consumption Performance Index

According to the joint space dynamic model[14],the joint torque can be calculated as Eq.(7)

where theB(q)denotes the inertia matrix,C(q,)denotes the matrix accounting for Coriolis/centrifugal effects,g(q)is the torque exerted gravitational force,τf()is the friction torque which is calculated asτf()=fcsgn()+fvwithfcandfvthe Coulomb and viscous friction coefficients,respectively,JT(q)hedenotes the contact force.

There is little difference in motion time for different pathways when the milling feedrate is determined.So the energy consumption can be evaluated by the sum of the power at each point in the path,which can be calculated as Eq.(8)

where thedenotes the power of theith point.Thecan be calculated as Eq.(9)

Assume the optimization can achieve a low acceleration.The contact force in the robot milling application is always minimal and does not fluctuate across orders of magnitude as the pathways change due to the robot’s stiffness limit.Compared with the friction torque,the impact of gravity and the Coriolis effect in Eq.(7)is small.So Eq.(9)can be simplified to Eq.(10)

which is called Minimum Velocity Norm(MVN)Scheme.And this scheme has been proved effective in energy-saving optimization[4].The execution of MVN Scheme only needs to calculate angular velocity without dynamic modeling,which can only conduct a qualitative analysis of energy consumption but greatly improves the calculation speed of the optimization algorithm,and it is enough for the optimization.

3.2 The Constraints

Near the singularity,to make the EE achieve the desired speed,the joints must rotate at a very high speed[16],which should not occur in the milling task.The robot posture should be far away from the singularity to maintain suitable manipulability during milling.The further the posture is away from the singularity,the better the manipulability of the robot.

Write the Jacobian in the form of a partitioned matrix,the speed vector of EE can be calculated as Eq.(11)

According to the knowledge of coordinate transformations,Eq.(12)can be changed into Eq.(14)

where the3J11-1and the3denotes the Jacobian and the speed in joint frame{3},and3J11=J11can be obtained by vector product method[14]as Eq.(15)

So the3J11-1can be calculated as Eq.(16)


wherek3=s5.k3is another singular factor.

The robot is at the singularity when the singular factork1= 0 ork2= 0 ork3= 0. So the constraints of singularity can be written as Eq.(19)

where theδ1,δ2,δ3are the critical value for singularity avoidance.The constraint based on the singular factor can avoid solving the Jacobi matrix to reduce the computation of the algorithm.

The constraint based on the hardware of the robot usually contains the joint limit and the adjacent linkage interfere constraint.

The joint limit can be obtained from the parameters of the robot as Eq.(20)

where theBL,qandBHdenotes the vector of joint low bound,the vector of the joint angular variable,and the vector of joint high bound,respectively.

To avoid linkage interference of adjacent linkage,this paper proposed another constraint,which can be written as Eq.(21)

3.3 The Optimization Model

Take the redundancy DOF vectorγas an optimization variable and find the suitableγiin the interval[-π,π]to achieve the optimization goal at theith point.Once the variableγiis determined,the transformation matrixwTtcan be calculated by Eq.(1).And the transformation matrix of the 6thjoint relative to{B}can be calculated as Eq.(22)

where theBTWandTT6denote the be obtained by the transformation matrix of{B}relative to{WCS}and the transformation matrix of the 6thjoint relative to{T},respectively,which can be obtained by the layout of the workspace.TheWTTcan be obtained by the CL data.

The joint variable vectorqcan be calculated in Eq.(23)

where theik(·)means the inverse kinematics function.

The optimization model can be expressed as Eq.(24)

4 Optimization Algorithm

4.1 The Non-Dominated Sorting Genetic Algorithm II

The NSGA-II algorithm(Non-dominated Sorting Genetic Algorithm II)was put forward by Deb et al.[17],it is commonly used in multi-objective optimization.The algorithm stratifies the population by Pareto dominance relation and increases the population diversity by calculating the crowding distance.

In the minimizing multi-objective optimization problems,for the n-objective functionf1(X),f2(X),...fn(X),If the variables Xaand Xbsatisfy the following conditions,we call thatXadominatesXb.



The non-dominated sorting is used to stratify the population and its process is as follows: (1)Find all the non-dominated solutions in the current population mark them as the first layer,then remove them from the initial population.(2) Find all the non-dominated solutions in the current population mark them as the second layer,then remove them from the previous population.(3)Repeat the preceding procedures until the population is fully stratified,as shown in Fig.4.The lower the layer,the better the quality of the solution.

In the same layer,the mass of solutions is compared by crowding distance to increase population diversity.The crowding distance of one point is defined as the sum of the objective function value of adjacent solutions in each dimension.

The offspring population can be obtained by performing crossover and mutation on the parent population.Mix the offspring population and the parent population.The following elite retention strategy was adopted to select individuals to keep the population size atN(Ndenotes the population size):Make a non-dominant order for the mixed-population,then put them into the next generation from the 1stlayer.If all individuals in one layer cannot be completely put into the next generation,put them into the next generation in order of the crowding distance until the next generation containsNindividuals.The complete process of the NSGA-II algorithm is shown in Fig.5.

Figure 4:The pareto set.The vectors in each layer make up the pareto front

Figure 5:Flowchart of NSGA-II II algorithm

4.2 Differential Evolution Algorithm

The NSGA-II algorithm provides a solution for multi-objective optimization.However,due to the high dimensionality caused by too many path points,the convergence rate may be slow.When compared to other evolutionary algorithms for high-dimensional optimization,the DE algorithm has a faster convergence rate,fewer control parameters,and lower space complexity[18].

The individual Xi,gin the parent population in the DE algorithm is called the target individual.Three different individuals in the current population get the mutant individual Vi,gcorresponding to Xi,gthrough the mutation operation as Eq.(25)

where ther1,r2,r3 ∈[1,N]andr1≠r2≠r3=i,F∈(0,1).

Binomial crossover is usually used as the crossover operation of the DE algorithm,which can be expressed as Eq.(26)

whereCR∈(0,1),jrandis an integer andjrand∈[1,D],Ddenotes the dimensions of Xi,gdenotes the individual of child-population corresponding to Xi,g.

4.3 Redundancy Optimization Algorithm

In the redundancy optimization of robot milling,the dimensionality of optimization is determined by the number of points in the path.Too many points result in high dimensionality,which will lead to high complexity,heavy computational burden,and low convergence rate.

Combine the NSGA-II and DE algorithms to fully utilize the benefits of both algorithms.Using the DE algorithm’s crossover and mutation operations in the NSGA-II method,an improved method for solving multi-objective optimization problems with high convergence rate and low complexity was proposed.

Due to the number of path points being uncertain in actual production,changing the number of points will result in a change in optimization dimensionality.Different optimization dimensions have different requirements on algorithm parameters,and the calculation time is also different.To make the optimization algorithm more universal,the path is segmented as shown in Fig.6.Then the segments can be optimized one by one to ensure the same dimensionality of each optimization.

Figure 6:Schematic diagram of path segmentation

The number of pointspin each segment of the path can be reasonably determined based on the computer’s computing performance.As shown in Fig.6,the segmentipresents theith segment in a path.The startpointiand endpointipresent the first point and the last point in segmentirespectively.If the number of points contained in the path is not an integer multiple ofp,the number of points in the path needs to be supplemented.The path can be supplemented by copying the last point of the path.Besides,the supplementary points do not affect the result of the optimization algorithm because they are coincident.To ensure the smoothness between adjacent segments,the velocity of endpointineeds to participate in the calculation of the acceleration of startpointi+1.Adjust Eqs.(4)and(5)to Eqs.(27)and(28)

where thekdenotes the angular velocity,the angular variable,and the angular acceleration ofjth joint at theith point respectively in thekth segment,and theN,Sdenotes the number of points in one segment and the number of segments in one milling path.

Fig.7 depicts the optimization algorithm’s process.Once the milling path is given,the path will be divided into several segments.Each segment is then sequentially optimized individually.Perform the normalization and real-coded operation on the redundancy DOF of each point in the segment,then the optimization variable vector[γ1,γ2,...,γN]is obtained.After initialization,crossover and mutation operation are performed on the population according to Eqs.(25)and(26).According to Section 4.2,we get a set of optimal solutions (Pareto front) for each segment.For the first segment,choose the solution which can make the distance between the startpoint1and the initial position short,this can be expressed as Eq.(29)

where thePdenotes the number of solutions contained in the Pareto front,and thedenotes the angular of thejth joint at the startpoint1in thepth solution.

For the other segments,choose the solution from the Pareto front according to Eq.(30)

This selection principle can further avoid the discontinuity at the junction of each segment caused by the path segmentation.

Figure 7:Flow chart of the algorithm for redundancy optimization

5 Simulations

In this section,the proposed method was used to optimize the redundancy of the milling path generated by the UG processing module,and the optimization results were simulated using the ABB RobotStudio to validate the method’s effectiveness.

5.1 Simulation for Different Milling Paths

As illustrated in Fig.8,the ABB IRB-1600 robot was chosen to build the milling system,its D-H parameter is depicted in Table 1.Fig.9 shows the 100 points milling path and 300 points milling path generated by the commercial CAM software UG NX.

Figure 8:The robot milling system built by ABB IRB-1600

Table 1: D-H parameters of the ABB IRB-1600 robot

Figure 9:The cutter location of the milling path for simulation.(a)The cutter location of the 100-points path.(b)The cutter location of the 300-points path

The optimization results were substituted into Eq.(23)to get the joint vector of each point.The joint vector was established as the joint target and path by RobotStudio.The signal analyzer in the ABB RobotStudio simulation module can obtain instantaneous joint angles at each point in the path.Figs.10a and 10b indicate the joint angle of each joint in the path while machining.It can be seen from Fig.10 that the motion of each joint is smooth except for the fluctuation around 235 s in Fig.10b.The singularity factorsk1=0.07586 andk2=0.0167 are closed to 0 at 235.3 s.Approaching constraint is the main reason for the fluctuation in the curve of the joint angles around 235 s.However,as shown in Fig.11b and Table 2,the joint velocity at 235.3 s is still far below the maximum speed that the robot can reach.So we can say that this path is“relatively smooth”and its fluctuation does not have a great influence on the machining quality.

Figure 10:The joint angles along the milling path.(a)The joint angles along the 100-points path.(b)The joint angles along the 300-points path

Table 2: Maximum speed of each joint in two paths

Figs.11a and 11b display the velocity of each joint The maximum speed is shown in Table 2.According to Table 2,the maximum machining speed of each joint is substantially lower than the maximum speed that the robot can be achieved.As shown in Figs.12a and 12b,the accelerations of the two paths only fluctuate in a few places.And the main reason for the several abrupt changes in velocity and acceleration is the large jumps in the trajectory planned by UG or the joints are close to the robot limits.The total motor energy of the two paths is depicted in Fig.13.

Figure 12: The joint accelerations along the milling path.(a) The joint accelerations along the 100-points path.(b)The joint accelerations along the 300-points path

Figure 13:The total motor energy of two paths.(a)The total motor energy of the 100-points path.(b)The total motor energy of the 300-points path

Bruno Siciliano proposed the manipulability measure to quantify the distance between robot pose and singularity [14].This method is widely used in robot singularity avoidance.In this paper,the manipulability measure is used to prove the validity of the singularity constraint.The formula for the manipulability measure can be expressed as Eq.(31)

where the det(J(q))denotes the determinant of the Jacobi matrix.To make it more intuitive,we plotted the ratio ofω(q)to the maximumω(q)in Fig.14,it can be calculated as Eq.(32)

Figure 14: The κ(q) at each cutter location.(a) The κ(q) of the 100-points path.(b) The κ(q) of the 300-points milling path

The smallerκ(q)is,the closer the robot is to the singularity.When the robot reaches the singularity,κ(q)=0.Theωmax(q)of IRB1600 robot was obtained as 0.4806 by the fminsearch function.As shown in Fig.14,there isκ(q) >0 at any point on the curve.Thus the constraint based on the singularity factors is valid.However,κ(q)cannot be maximized since the singular factors only exist as a constraint of the algorithm in this paper.

5.2 Simulation for Different Optimization Methods

In this section,the proposed method is compared with the graph-based method[7]to prove the superiority of this algorithm.

The essential idea of the graph-based method,as illustrated in Fig.15,is to disseminate the possible solution of redundancy optimization,and use the points of each column to signify the solution of the corresponding CLi.The length of the connecting line between any two points in two adjacent columns is expressed by weight.The goal of this method is to search a path with the minimum weight in the whole search space.

Figure 15:The search space of the graph-based method

The path to be optimized is displayed in Fig.16.Set the optimization parametersCr=0.4,F=0.85 in the proposed algorithm.The joint angle in the path while machining of two methods is shown in Fig.17.It can be noticed that the curves of the 4thjoint are the least smooth of the two algorithms’outcomes.

Figure 16:The milling path of the simulation for the different optimization methods

Figure 17:The joint angles along the path of the simulation for comparison of(a)the proposed method and(b)the comparison method

Fig.18 shows the calculated acceleration of the 4thjoint optimized by the two methods.It is clear that,when compared to the comparison method,the presented method offers significant advantages in terms of acceleration.The main reason is that the number of values ofγin the comparison algorithm is limited.The comparison algorithm can only find the optimal solution among finite solutions,which is similar to the local optimal solution.In addition,increasing the number ofγwill lead to the heavy computational burden,which is the disadvantage of the ergodic algorithm compared with the real number coding in the heuristic optimization algorithm.Table 3 shows the absolute maximum acceleration of each joint optimized by the two algorithms.When compared to the comparison method,it can be shown that the suggested algorithm’s maximum acceleration is small.

The ABB RobotSudio signal analyzer also records the total motor energy of the robot as it moves.The total motor energy of the path generated by the two methods is shown in Fig.19.The total motor energy of the path generated by the proposed method is 44.2% less than the one generated by the method for comparison.Due to the smaller joint velocity fluctuation,the fluctuation of the feedrate of TCP milling is also smaller,which results in a shorter machining time of the path.The machining time of the path generated by the proposed method is 78.11 s while the other one generated by the comparison method is 83.11 s.

Figure 18:The calculated acceleration of the 4th joint optimized by two the methods

Table 3: Maximum absolute acceleration of each joint obtained by the two different methods

Figure 19:The total motor energy of the path generated by the two methods

It is easy to conclude that the proposed algorithm not only consumes less energy than the comparison algorithm but also consumes less time.In addition,as depicted in Fig.18 and Table 3,the path generated by the proposed algorithm has better smoothness than that generated by the comparison algorithm.Therefore,the method proposed in this paper achieves better manufacturing quality than the comparison method.

This algorithm for comparison is essentially a traversal algorithm,whose optimization quality has a great relationship with sampling step length and sampling quantity.Smaller sampling step length and larger sampling quantity will result in better optimization quality but a heavy computational burden.In this paper,the two optimization methods were run on the same computer.The computation time of the graph-based method and the proposed method were 36.9 and 30.7 s,respectively.

From the above simulation results,it can be seen that the algorithm proposed in this paper can effectively solve the problem of milling robot redundancy.It can be concluded from Section 5.1 that the algorithm is not affected by the number of CL in the path,and the quality of the solution does not decrease with the increase of the number of CL.And compared with other algorithms in Section 5.2,the algorithm proposed in this paper also improves the quality of the solution.

6 Conclusion

In this paper,a new optimization method is put forward to optimize the redundant DOF of milling robot in shipbuilding.This method combines NSGA-II and DE algorithms to optimize the milling path of the robot with multiple objectives.A piecewise method is proposed to protect the optimization algorithm’s calculation efficiency from the effect of the number of path points.The simulation results show that the proposed method is efficient for multi-objective redundancy optimization in robot milling applications to improve the path smoothness and reduce the robot energy consumption.This method offers a novel solution to the problem of robot milling redundancy,and it has a wide range of applications in shipbuilding machining.

Acknowledgement:The authors are responsible for the contents of this publication.Besides,the authors would like to thank lab classmates for contribution to the writing quality.

Funding Statement:The authors received no specific funding for this study.

Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.