Abstract

The paper presents a motion planning method of redundant manipulator for painting uniform thick coating on the interior of irregular duct of some aircrafts. Discontinuous peripheral painting method is employed by analyzing the restrictions during painting the duct. For improving the longitudinal uniformity of thick coating, the interlacing painting method plans two sets of sweeping paths and an interlacing distance between the starting paths of the two times of painting. The interlacing distance and overlapping distance are optimized by establishing and analyzing the model of longitudinal uniformity. To enhance the transverse uniformity, sweeping speeds for curved surfaces are calculated by the ratio of transfer efficiency after the basic sweeping speed for the plane is determined. The intertwining method, minimizing the sum of the weighed distances between the duct centerline and key points of the manipulator links, is employed for the joint trajectory planning without collision. The simulation and experiment results show that the redundant manipulators can finish painting the internal surface of the irregular S-shaped duct without collision. The maximum relative deviation is 16.3% and the thicknesses of all measurement points satisfy the acceptance criteria of the factory.

1. Introduction

Narrow inlet ducts of some airplanes have S-shaped centerline, whose cross sections transform from circular to irregular quadrangle. Its interior can be seen as a closed surface compounded by several surfaces with different curvatures. It is one of important manufacture processes to paint some inner surfaces of the irregular duct [1, 2]. Finishing this process by a painting robot can enhance the quality of the coating, improve process speed, reduce pollution, and take workers out of hazardous jobs [3]. Presently, redundant robots are used to paint the interior of the irregular duct by extending a manipulator into it [4, 5]. The uniformity of thick coating on the duct interior and the collision-free motion of the manipulator are two key aims needed to be achieved by motion planning.

Motion planning including task planning and joint trajectory planning is the base for designing, operating and controlling redundant manipulators for painting the duct interior. Task planning determines the path (including position and orientation) and speed of spray gun during painting tasks. Joint trajectory planning, which determines the time history of position and velocity for each joint, is the key for realizing collision-free motion during painting operation.

There are numerous researchers dealing with task planning problems of painting robot. Their bases for painting task planning are paint deposition models such as Gaussian model [6], parabolic model [7], distribution model [8], and elliptical dual- model [9]. It is hypothesized that coating thickness distribution would satisfy a certain function for establishing these models. Parabolic model and distribution model can well reflect real situation with simple form and thus are more widely used by the researchers. Paint deposition models are fitted by measuring the paint deposition thickness on a plane. Only when the conditions of painting operation accord with or are approximate to the premises of the above models, the task planning will achieve ideal results.

Based on paint deposition model, researchers proposed several methods for path planning of thin coating. Suh et al. [10] developed an automatic trajectory planning system for painting robots. They chose the sweeping direction with least curvature. This method would cause worse coating uniformity because of the larger curvature in direction orthogonal to the sweeping direction. Asakawa and Takeuchi [11] developed a motion planning method using the parametric surface to paint a bumper. But how to find the spray overlap distance and the painting velocity was not addressed. The coating thickness was between 13 and 28 μm, and maximum relative deviation of the thickness was about 58%. Sheng et al. [12] presented a bounding box method for trajectory generation, which was modified a little by Chen et al. [13]. Its basic concept is that the free surface of the workpiece is divided into many smaller triangles and these generate into some spraying patches with the maximum angular deviation of each area no more than its critical angle, satisfying the requirements of coating thickness deviation. The bounding box method stresses the automation of path planning and the paint coverage on whole surface with little consideration of the optimization of coating uniformity and the influence of shape of complex surfaces. Atkar et al. [14] solved path planning problem on curved surfaces by decomposing it into three subproblems: selecting a seed curve, determining a speed profile along each pass, and selecting the spacing between successive passes. They pointed out that constant sweeping speed caused nonuniform paint deposition near surface boundaries, and in order to solve this problem, they used the paint deposition flux to obtain optimal speed along each pass. But its complex form of the objective function and the presence of the speed and acceleration constraints limit the scope of determining solutions using calculus of variations on a wide class of surfaces, and the experiments showed that the effects of their method on improving coating uniformity seemed not ideal. These researchers only studied the task planning methods for painting once without considering the thick coating which requires multiple times of painting. Therefore, it is desirable to develop an ideal task planning method for uniform thick coating in narrow irregular duct.

Researchers proposed many methods of joint trajectory planning for redundant robots. Potential field is one of the common methods to plan path for redundant manipulators but its biggest problem is that the manipulators can get stuck at local minima. In order to get rid of local minima, search methods are proposed, but when the number of obstacles increases, these methods may cause a manipulator to vibrate between the obstacles [15]. Yoo et al. [16] used a method of computing distance in polyhedron to study motion planning of redundant manipulators. This method is prone to computational complexity, because there would be many points where collision potentially occurs, and these points are subject to change depending on the configuration of the manipulators. Duguleana et al. [17] proposed motion planning of redundant manipulators using neural networks based on reinforcement learning. The principle of neural network method determines that its “solution” can be suboptimal, and even be wrong, but the collision-free problem in the narrow S-shaped duct needs the “solution” to be at least correct. The optimization of the gradient projection method [18] is better than that of the weighted minimum norm solution [19] so that it has been more widely used. When using the gradient projection method to find inverse kinematic solutions of redundant manipulator, one of the key problems to be solved is to find appropriate optimal functions according to task requirements. In this paper, the intertwining method is proposed to establish the optimal function.

The paper aims to find an appropriate motion planning scheme for redundant painting manipulators to achieve uniform thick coating on the interior of irregular S-shaped duct without collision during operation. It is organized as follows. In Section 2, painting task planning scheme is proposed by analyzing two kinds of uniformities. In Section 3, the intertwining method is proposed to generate the trajectories of robot joint. In Section 4, simulations and experiments are carried out to verify the proposed methods. Section 5 concludes the whole study.

2. Painting Task Planning

2.1. Basic Principle of Painting Task Planning

The basic principle of painting task planning is that the axis of spray gun must be perpendicular to the plane of the workpieces or in line with the normal line of the curved surface, with a constant gun standoff. In addition, the paint density must be kept uniform. These principles are important to obtain good surface finish and uniform coating thickness.

Figure 1 shows a sketch of a spray gun painting along a circular path. Painting task planning needs to firstly determine the spray gun orientation, standoff, and sweeping path, and speed and then transfer them to the path and speed of spray gun during painting tasks through coordinate transformation. Sweeping path and speed are defined, respectively, as path and speed of spray pattern center, not those of the spray gun. Gun standoff is determined by the performance of spray gun and paint property, which can be tested through spray experiments. Minimal sweeping speed is restricted by paint property and must insure that the paint would not sag on the surface. Maximum speed is confined by paint property and robot performance and must insure that the vibration of the spray gun is acceptable. The basic sweeping speed for the plane can be determined by calculation formula of coating average thickness and painting experiments. Rotation angle of spray gun when painting the interior of a duct must be bigger than that when painting normal workpieces (such as a flat surface) because the painting cross sections are circle, irregular quadrangle, and so on.

2.2. Path Planning of Painting Task

In this part, by analyzing the restrictions during painting the interior of the irregular S-shaped duct, the discontinuous peripheral painting method is proposed. The coating uniformity is divided into transverse uniformity (along the peripheral sweeping path) and longitudinal uniformity (in the direction perpendicular to the peripheral sweeping path). The interlacing method is developed for better longitudinal uniformity, and the ratio of transfer efficiency of two surfaces is used to plan sweeping speed for better transverse uniformity.

2.2.1. Discontinuous Peripheral Painting Method

When painting a curved surface, the sweeping direction of spray cone must be chosen according to the optimal objective. In order to realize uniform coverage, the curvature of the sweeping direction should be the largest, which lessens the influence of curved surface on the adopted paint deposition model, for the spray pattern is usually elliptically shaped. In addition, the paint and the compressed air pipes connected to the spray gun restrict the rotation of the spray gun about the duct centerline to approximately 420 degrees (clockwise or anticlockwise), so that it cannot paint along a thread trajectory which needs rotating arbitrarily. Lastly, the irregular duct cannot rotate during painting process; otherwise, collision would occur. Therefore, the discontinuous peripheral painting method is proposed to paint the interior of the irregular duct in a set of discrete cross sections.

The sweeping paths generated by discontinuous peripheral method, such as A1, A2, and A3 shown in Figure 2, are a series of discrete intersecting lines of the inner surface of the duct and the cross sections that are perpendicular to the duct centerline. The spray pattern center should successively move along these intersecting lines whose shape varies from circle to irregular quadrangle. The transitional paths such as B1 and B2 shown in Figure 2 bridge the discrete sweeping paths.

The spray pattern center must move clockwise (or anticlockwise) along a peripheral path such as A1 (Figure 2) during a single painting. Then the spray gun switches off and moves to another peripheral path A2 along a transition line B1. After that, the spray pattern center moves anticlockwise (or clockwise) along the path A2. Other cross sections can be painted in accordance with the above method. The spray gun should switch on and off once for uniform painting when it paints along each intersecting line. In addition, the spray gun enters into the duct and exits from it along the duct centerline.

2.2.2. Sweeping Path for Interlacing Painting

The thickness distribution of the coating cross section on the plane resulting from painting once will be like what is shown in Figure 3, where represents the coating thickness, axis is perpendicular to the direction of sweeping path, and refers to the overlapping distance. There are periodic crests and troughs in the cross section of the coating. When painting surface with fixed curvature once, if the sweeping direction is along the largest curvature direction, there will also be similar crests and troughs. When painting the interior of the duct, multiple times of painting must be done to achieve the coating with enough thickness. But when planning a set of sweeping paths and painting the plane for multiple times, even with an optimized magnitude of , there exist similar crests and troughs of the coating thickness (Figure 3(b)), and the coating uniformity thus is undesirable. Aiming at this problem, the paper proposes the interlacing painting method to improve the uniformity of the coating by interlacing crests and troughs in two sequential paintings. This method plans two sets of sweeping paths and makes that the position of crests and troughs resulting from one set of sweeping paths appears at the position of troughs and crests resulting from the other. The workpiece is painted along the two sets of paths in turn.

The model of the interlacing painting is shown as Figure 4, where the heavy line is the cross section of the plane workpiece. The sweeping direction is in line with the cross section normal of the plane workpiece. The broken line and dot line, respectively, represent the coating thickness of every stroke of two times of painting with different sets of sweeping paths. The interlacing painting method adopts two sequential times of painting with the same gun standoff (which makes the same spray pattern width) and the same overlapping distance , but there is an interlacing distance between the starting paths of the two times of painting.

2.2.3. Dimensionless Interlacing Painting Model

The paint thickness distribution resulting from a single painting stroke can be expressed by parabolic distribution model shown as where is the paint thickness distribution of a cross section of the coating, is the coordinate axis perpendicular to the sweeping paths which are a set of lines, is the maximum thickness, and is the width of spray pattern.

In this paper, parameters such as and are determined through experiment and remained constant during painting operation. The parabolic deposition model is nondimensionalized to simplify the calculation process.

Dimensionless parabolic deposition model can be described aswhere is dimensionless coating thickness of painting once, , and ; and .

Dimensionless interlacing painting model can be expressed as Figure 5. represents the dimensionless overlapping distance, , and . is the dimensionless interlacing distance, , and .

2.2.4. Optimized Parameters of Interlacing Painting

Indexes for evaluating the uniformity of coating thickness include relative thickness deviation and thickness variance. Relative thickness deviation is simpler and more explicit, so it is often used as an evaluation method for factories. While thickness variance is more precise and can well reflect the coating uniformity and thus usually employed as coating uniformity evaluation function in theoretical researches. Therefore, based on thickness variance, longitudinal uniformities of interlacing painting with different parameters ( and ) are evaluated. Then the influences of these parameters on the variance of coating thickness are analyzed, and optimized parameters thus are obtained.

Dimensionless longitudinal thickness variance can be described aswhere is the dimensionless coating thickness at a point, represents the dimensionless width of the workpiece, and is the dimensionless mean coating thickness.

The average film thickness of interlacing painting in one coating thickness period is

When and , shown in Figure 5,

When , and , shown in Figure 6,

When , and , shown in Figure 7,

When and , shown in Figure 8,

When , and , shown in Figure 9,

When , , and , shown in Figure 10,

When , , and , shown in Figure 11,

When and , shown in Figure 12,

When , and , shown in Figure 13,

When , and , shown in Figure 14,

When , and , shown in Figure 15,

is such a complicated function of and that it is difficult to perceive their relation. Their relation is shown in Figure 16 by numerical calculation through (4) to (15). The value of is smaller in 4 areas: when and , is around 0.0009; when and , ; when and , ; when and , Better thickness uniformity can be realized theoretically by choosing path parameters within these areas.

From the analysis of Figure 16, and are key influencing factors of longitudinal thickness uniformity. There are three advantages if is set around 0.3 during painting process. It can lessen the influence of starting path on coating uniformity, the influence of path deviation on coating uniformity, and the bad effect on coating uniformity of odd number of painting times. Therefore, the area of and or the area of and should be chosen. The sweeping paths of the two areas are same in essence.

2.3. Planning Painting Speed

In this part, the transverse uniformity is considered to plan sweeping speed. And this uniformity is achieved through keeping the average coating thickness unchanged along a sweeping path.

Suppose that one-stroke painting is done on a surface with constant curvature with the painting flux at the sweeping speed . The stroke length is . The spray pattern width is . The transfer efficiency is , which is the percentage of total coating solids employed by a coating applicator which adheres to the object being coated. During the period of , the average coating thickness on the surface can be expressed as

By substituting in to (16), we obtain

It can be seen that, according to (17), the average coating thickness on the workpiece is proportional to the transfer efficiency and inversely proportional to sweeping speed . Because the painting process adopts constant painting flux and unchanged gun standoff, the volume fraction of solid constituent and the spray pattern width can be seen as invariable. Therefore, the average coating thickness is only related to the values of and . In order to find a way to maintain constant on a surface with changing curvature, the factors affecting the value of should be found.

Transfer efficiency is mainly influenced by the painting angle, gun standoff, sweeping speed, and shape (especially curvature in our research) of workpiece. The painting angle and gun standoff are constant in this research, so they can be neglected. The influence of minor changes of the sweeping speed on can be neglected, because the sweeping speed is usually no more than 20 cm/s when painting the duct and is much lower than the speed of compressed air and paint particulate (close to the sound speed). Therefore, it is enough only to consider the influence of the curvature on the magnitude of . The inner surface with bigger curvature makes greater transfer efficiency.

Figure 17 shows a typical sketch of a spray gun painting along a peripheral path. If the coating thicknesses on sections and are equal, the following equations can be obtained.

Assume that the curvature of section is greater than that of section , then is greater than . Define the ratio of transfer efficiency of two surfaces:

Combining (19) and (20), we obtain

The ratio of transfer efficiency can be obtained by experiments or simulation of computational fluid dynamics. After the basic sweeping speed for the plane is determined, the sweeping speeds of curved surfaces can be calculated.

3. Joint Trajectory Planning

Joint trajectory refers to the position, velocity, and acceleration for each DOF of manipulators at run time. Its planning is the bases for the operation and control of robot.

Coordinate systems from to are attached, respectively, on redundant painting manipulators with joints by using approach. Then, the description of the position and orientation of spray gun in the coordinate system , , can be obtained aswhere is the position and orientation of the coordinate system in the coordinate system , and is the position and orientation of spray gun in the coordinate system .

The differential relation between Cartesian velocities of the redundant manipulators and the joint velocities iswhere is the vector of translational and rotational velocities of the spray gun with reference to base coordinates, is the vector of joint rates, and is the Jacobian matrix ( by , ). denotes the space DOF.

The gradient projection method is used to solve (23), and the result can be expressed aswhere is the Moore-Penrose pseudoinverse of is the unit matrix (), and . is a real scalar constant coefficient, and is the gradient vector of which is the objective function to be optimized.

As the number of the solution of (24) is infinite, some restrictions are needed to obtain a unique solution which is optimistic. The intertwining method is proposed to obtain a unique solution of (24): the distance between the centerline and each part of the manipulators will be controlled so that the manipulators can intertwine the duct centerline closely without collision in the duct. The distance between the inner surface of the duct and each part of the manipulators should be limited to ensure collision-free operation. It is hard to calculate the distance due to the complexity of the duct. But it is much simpler to calculate the distance between the duct centerline and each part of the manipulators. And controlling the distance between each part of the manipulators and the centerline is equivalent to controlling the distance between the inner surface and the parts. If the manipulators intertwine the duct centerline closely, they would work without collision in the duct. Therefore, it can build the collision-free restriction to calculate the distance sum of the duct centerline and all joints of the manipulators. The midpoint and ends of each link are defined to be key points. If these points were all near to the duct centerline, there would be no collision. The weighed distance sum of the duct centerline and the link key points, , can be calculated aswhere , , and are the coordinate of the link key point in the base, , , and are the coordinate of the center point of the duct cross section, , , and are the weighed coefficient in the direction of , , and , and is the key point number.

Then, an objective function can be obtained by minimizing the weighed distance sum of the duct centerline and the link key points:

After (25) and (26) are substituted into (24), we obtain

By solving (27), optimized joint trajectories can be obtained.

Before task planning, preprocessing should be set up. The trajectory of the spray nozzle and the duct center line should be calculated. Suppose that the path points are and that the forward kinematics is . Iteration step size and iteration error should be set, and initial index should be set as 0. Then, the process of joint trajectory planning is as follows.

Step 1. Calculate the velocity of the nozzle in task space by using difference quotient of two consecutive path points, which is .

Step 2. Set the weighed coefficient and real scalar constant coefficient .

Step 3. In the current configuration , calculate the Jacobian matrix, its pseudo inverse , and the optimized vector .

Step 4. Compute the joint velocity by using (25) and the current configuration , where .

Step 5. Calculate position and orientation of the spray nozzle with robot configuration as , where ; calculate the error vector , where . If , the iteration will break and ; if , let and , and then return to Step 3.

Step 6. Check if there is collision during motion. If collision exists, return to Step 2; If not, let and return back to Step 1, until .

Step 7. After obtaining the path points in joint space, calculate the path by using third-order polynomial.

4. Simulation and Experiment

The simulation and experiment adopted a painting robot with a 10-DOF manipulator for painting uniform thick coating in an irregular S-shaped duct. The robot is shown as Figure 18 and its mechanism sketch is shown as Figure 19. The 10-DOF manipulator consists of three prismatic joints (joints 1, 2, and 3) and seven revolute joints (joints 4–10). The axes of joints 1, 2, and 3 are in the same direction. The axes of joints 6, 8, and 10 are perpendicular to the axes of joints 4, 5, 7, and 9. Joint 10 is designed as the last joint of the painting manipulator linking the spray gun.

The motion planning method proposed above was implemented so that the painting path and joint trajectory were generated, and the motion of the robot was firstly simulated in the software. The 3D models of the painting manipulator and the duct were also built according to their real size (Figure 20) by Pro/E. The generated trajectory data were transferred into the Pro/E to check if there would be any motion interference during painting operation. The result of simulation indicated that no collision would occur. Then, during the operation of the painting manipulator in the duct, the minimal distance between the duct and the manipulators was 18 mm, which satisfied the safety requirement.

Three typical parts including the bottom of the front, the top of the front, and the back of the irregular S-shaped duct were chosen to be painted and no collision occurred. The painting experiment was conducted as shown in Figure 21. The pressure for both spray pattern and the atomization was 0.28 MPa. The parameters of dynamic surge suppressor and the paint agitator were set as 0.25 MPa and 0.30 MPa, respectively. The paint flux of the spray gun was 0.17 L/min and the viscosity of the paint was 14.5 s. The operational parameters were set as 23.1 cm of the painting width, 7.1 cm of interlacing distance, 6.0 cm of overlapping distance, 16 cm of the gun standoff, and 12.5 cm/s of the sweeping speed in plane area.

After the coating on the interior had been dry out, thickness gauge was used to measure different parts of the duct. The dimensionless thickness of the coating on different parts of the duct is shown in Table 1. Dimensionless thickness which is defined as the ratio of the measured thickness and designed thickness is used to analyze the experiment data. The dimensionless value of designed thickness is 1. The maximum relative deviation is 16.3% at the front top of the duct. The thicknesses of all measurement points are in tolerance and satisfy the acceptance criteria proposed by the factory.

Although agreeable coating uniformity was obtained, relative deviation of the thickness distribution in the experiment was higher than that in theory, because of the following several reasons. The process of paint deposition on workpieces is influenced by some basic factors which involve spray factors including paint pressure, spray air pressure, and spray pattern pressure, paint factors including paint flow rate, viscosity, and uniformity, and workpiece factors including shape and temperature of the workpiece. But spray factors and paint factors cannot be precisely controlled during the painting operation. In addition, the adopted paint deposition model is obtained through fitting the data of experimental measurements of coating thickness distribution on planar work piece; therefore, some deviations occur when it is applied to painting curved surfaces. Lastly, the precision error of robot can cause some deviations of the actual paths and speeds off from the planned ones. Therefore, the optimal interlacing distance and overlapping distance were affected to some extent.

When painting the back of the duct, the extension of the manipulators is shorter than that painting the front, so the stiffness is higher and the dynamic accuracy is better, which makes the coating uniformity of the back part better. Therefore, the maximum thickness deviation of the front (both the top and bottom part) of the duct is higher than that of the back.

5. Conclusion

It is one of the important manufacture processes to paint some inner surfaces of the irregular duct of some aircrafts. Redundant robots are used to paint the duct by extending a manipulator into it. The paper presents a motion planning method of redundant manipulator for painting uniform thick coating on the interior of the irregular duct.

After analyzing the restrictions during painting the irregular duct, discontinuous peripheral painting method is presented. In order to improve the uniformity of the thick coating on the duct interior, based on the analysis of the longitudinal uniformity and transverse uniformity, the paper proposes the interlacing painting method for sweeping path planning, optimizes its parameters including overlapping distance and interlacing distance, and then presents that sweeping speeds of curved surfaces can be calculated by the ratio of transfer efficiency after the basic sweeping speed for the plane is determined.

The motion of the manipulators is controlled by restricting the distance between the links and the centerline. Joint trajectory is planned through the intertwining method, namely, minimizing the sum of the distances between the centerline of the duct and the key points on the links.

The experiment shows that the redundant manipulators can finish painting the internal surface of the S-shaped irregular duct without collision. And the paint path generated by using the interlacing method can lead to uniform coating.

Although the interlacing method is used for painting the interior of the narrow duct, it can also be practical for painting other products. And the trajectory planning method proposed by the paper can also be useful for the trajectory planning for redundant manipulators in other narrow areas.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This project is supported by National Natural Science Foundation of China (Grant no. 51475469).