# Prediction Model of Coating Growth Rate for Varied Dip-Angle Spraying Based on Gaussian Sum Model

Authors: Yong Zeng; Yakun Zhang; Junxue He; Hai Zhou; Chunwei Zhang; Lei Zheng
Journal: Mathematical Problems in Engineering
 (2016)

---

## Abstract

In automatic spraying of spray painting robot, in order to solve the problems of coating growth rate modeling for varied dip-angle spraying technology, a prediction mode of coating growth rate using the Gaussian sum model is proposed. Based on the Gaussian sum model, a theoretical model for coating growth rate with varied dip-angle spraying is established by using the theory of differential geometry. The coating thickness of the sample points in the distribution range of the coating was obtained by making the experiment of varied dip-angle spraying. Based on the theoretical model, the nonlinear least square method is used to fit the coating thickness of the sample points and the parameter values of the theoretical model are calculated. By analyzing the variation law of the parameters with the spray dip-angle, the prediction model of coating growth rate for varied dip-angle spraying is established. Experiments have shown that the prediction model has good fitting precision; it can satisfy the real-time requirement with varied dip-angle spraying trajectory planning in the offline programming system.


---

## Body

## 1. Introduction

Trajectory planning of spray painting robot for complex free surface has been a hot research topic both at home and abroad. One of the key difficulties in the research of spraying trajectory planning is to establish a coating growth rate model with high accuracy and wide applicability [1–3]. At present, there are two main kinds of models for coating growth rate; a class of Gaussian distribution model [4, 5] and Cauchy distribution model [6] were proposed by Antonio and Freund, both of them belong to an infinite range model, and this kind of model is only suitable for the spray gun perpendicular to the surface of the workpiece. There is also limited range models, for example, piecewise function model [7], β distribution model [8], analytical deposition model [9], parabolic model [10], ellipse dual-β model [11], and Gaussian sum model [12]. The mathematical expressions of these models are usually derived by means of mathematical analysis. At the same time, based on the mathematical expressions, the final model of coating growth rate is approximated by the fitting of the experimental data. These models can be widely used in the case of complicated surface shape if these models meet the error requirement. In these models, the Gaussian sum model has a wide range of application; it can be applied to many kinds of spray gun and its fitting precision is higher.In this paper, a prediction model of coating growth rate for varied dip-angle spraying based on the Gaussian sum model is established by the theory study and spraying experiment. The model can be used to generate the coating growth rate model under a certain spray dip-angle quickly and accurately.


## 2. Theoretical Modeling of the Coating Growth Rate for Varied Dip-Angle Spraying

Spraying process is the coating produced by the spray gun that atomize to the surface of the workpiece; the process is rather complicated. Under the action of the spray gun and the pressure vessel, the paint can realize the atomization and it is sprayed from the spray gun nozzle; the paint is formed in a conical or ellipse-conical shape in space. In this paper, the coating growth rate model is established for varied dip-angle spraying based on a kind of spray gun, the paint space distribution of the spray gun is conical, and the torch of the spray gun is a circular cross section and isotropic. Under the assumptions that the spray distanceH, the spray flow qv, and the cone angle φ are constant when the spray gun is still sprayed, a mathematical model is used to describe the distribution of spray coating on a flat plate. The Gaussian sum model has the advantage of high fitting precision and not affected by the shape of the coating distribution, so it is assumed that the coating on the flat plate is distributed by the Gaussian sum model; its expression is(1)frS=∑i=1Nωiexp⁡-rS-ri22σi2rS≤R0rS>R,where ωi, ri, and σi are the unknown parameters, i=1,2,…,N; R is the radius of spray painting. When N tends to infinity, the function can approximate any form of coating distribution [13], but its complexity has increased dramatically, so generally take N=3.In consideration of the dip-angle spraying, assume that the angle between the axis of the spray gun and the plane normal direction isα, as the spray dip-angle. Using the area amplification theorem of differential geometry, assuming that the small round regions are c1 and c2 by spraying, respectively, in the reference planes P1 and P2 which are perpendicular to the spray direction of the spray gun, as shown in Figure 1(a), the areas of c1 and c2 are SP1 and SP2 respectively, and the corresponding coating thicknesses are f1 and f2. HS is the distance from any point S on the plane to the nozzle along the spray gun axis. Therefore,(2)SP1SP2=HS2H2.So the coating thicknesses of f1 and f2 are satisfied:(3)f1f2=H2HS2.Suppose there are two plane regions at the same cone angle, respectively, which are c1 and c3, as shown in Figure 1(b), where c1 is perpendicular to the spray direction; the angle between c3 and the spray direction is α, so the coating thickness of c3 can be expressed as(4)f3=f1cos⁡α.Combining formulas (2)–(4), the theoretical model of coating growth rate which takes into account the spray dip-angle as a variable can be expressed as(5)fx,y,α=frSHHS2cos⁡α,where(6)HS=H+xsin⁡α,rS=Hx2cos2⁡α+y2H+xsin⁡α.x and y are the horizontal and vertical coordinates of any point S within the coating range.Figure 1
Schematic diagram of the coating growth rate model calculation for dip-angle spray painting.
(a)
Schematic diagram of the dip-angle spraying calculation (b)
Normal deflection angles ofc1–c3


## 3. Fitting Method of Coating Growth Rate Model

To establish the coating growth rate model under the prescribed dip-angle spraying, unknown parameters in formula (5) need to be solved further. Coating thickness data of the sample point is measured in the coating distribution range by doing the spraying experiment of the dip-angle. Fitting these data with the theoretical model by the least square method, unknown parameters can be obtained.The rectangular coordinate systemXOY is established with the intersection point O of the spray gun axis and the spraying plane as the coordinate origin. Since the coating is formed on the plane after the dip-angle spraying, the coating covering range shape is elliptical. Here a rectangle is used to contain the ellipse; the length and width of the rectangle are the long and short axis of the ellipse. Isometric parallel lines parallel to the X-axis and the Y-axis are, respectively, done in the rectangular box; the intersection point between parallel lines is the sampling point of coating thickness, as shown in Figure 2. M sampling points in the measurement range of coating thickness are measured; optimization function is established by using nonlinear least square method, as shown in the following:(7)Eω1,ω2,ω3,r1,r2,r3,σ1,σ2,σ3=min⁡∑i=1MTxi,yi-fxi,yi2,where E is the sum of squares of the difference between the coating thickness of the sampling point and the theoretical calculation value; T(xi,yi) is the coating thickness of the sampling point; f(xi,yi) is the theoretical value calculated by formula (5).Figure 2
Sample points of coating thickness.In this study, the optimization algorithm of Levenberg-Marquardt is used to solve the unknown parameter values; its basic steps are as follows:(1)
Determine the initial values ofp, μ, v, and ε.(2)
Calculate error matrix, corresponding Jacobi matrixJ, and module F of error matrix.(3)
Calculate Hessian matrix and gradientg.(4)
Calculate step sizem and determine whether F is less than convergence value ε; if yes then the iteration ends; otherwise, go to the next step.(5)
Calculatep=p+m and gain ratio ρ.(6)
Determine whetherρ is greater than 0 and update iteration value.(7)
Determine whetherF is less than convergence value ε; if yes then the iteration ends; otherwise, go to the step (4).The above algorithm is used to obtain a series of unknown parameter values of the corresponding coating growth rate model of spray dip-angle by using the finite number of varied dip-angle spraying experiments. With spray dip-angle as variable, the value of these parameters is analyzed with the change of spray dip-angle. Finally, a prediction model of coating growth rate for varied dip-angle spraying is established.


## 4. Application of Prediction Model of Coating Growth Rate for Varied Dip-Angle Spraying

In order to ensure the coating uniformity on the inside-corner surface and reduce the waste of paint on the outside-corner surface, the continuous varied dip-angle spray trajectory planning method can be used to design spray trajectory on the inside-corner or outside-corner surface, as shown in Figure3. If the continuous varied dip-angle spray trajectory parameters were optimized on the inside and outside corners surface, the coating thickness model is needed to establish after the spray gun along the trajectory of the continuous varied dip-angle spraying. In theory, based on the prediction model of coating growth rate, the dynamic coating thickness model can be obtained by integrating it under a certain spraying dip-angle.Figure 3
Sketch of continuous varied dip-angle spraying.Assume the trajectory length of the continuous varied dip-angle spraying isd; spray gun to achieve the maximum dip-angle is αth. In order to reduce the complexity of the problem, the trajectory of the continuous varied dip-angle spraying is divided into i segments by the discrete method, the spray dip-angle of each segment is 1/iαth,2/iαth,…,αth, respectively, and the walking speeds of the spray gun are v1,v2,…, and vi, respectively. At this time, the coating thickness model of each small segment after the spray painting on the point S can be expressed as follows: (8)TSx,y,j=1vj∫j-1/idj/idfx,y,jiαth,γjdz,j∈1,i,jis  a  positive  integer,where(9)γj=Hy2+x-z2cos2⁡j/iαthH+x-zsin⁡j/iαth.Based on formula (8), the dynamic coating thickness model of the whole continuous varied dip-angle spray trajectory can be obtained by the superposition; expression is as follows:(10)TSx,y=∑j=1iTSx,y,j.From the above formula, the dynamic coating thickness model is established by the superposition of coating thickness models of constant dip-angle spraying. According to the prediction model of coating growth rate for varied dip-angle spraying, the coating thickness model of constant dip-angle spraying can be established quickly and meet the demand of the offline programming system for rapid modeling of the constant dip-angle spraying after continuous varied dip-angle spraying; this is also an important reason for the establishment of the prediction model of coating growth rate.


## 5. Experimental Verification

The experimental platform is composed of an automatic spray gun, an air compressor, and a bracket of spray gun with adjustable dip-angle and height. The workpiece to be sprayed is a460∗400 mm steel plate. Adjust the spray height H to be 200 mm and the cone angle φ to be 28°. Spraying time is set to 1 s; the coating thickness of fixed point is measured by thickness gauge after spraying is finished and the coating is completely dried.Adjust the spray dip-angle and in turn 0°, 10°, 20°, 30°, and 40° static spraying experiment, with continuous spraying 3 times in each dip-angle, take a coating covering the best of the experimental sample piece to measure the coating thickness, and thickness gauge MC-2010A is used, as shown in Figure4. The coating thickness of each sampling point was measured 3 times and average value was obtained as the coating thickness of the sampling point.Figure 4
Sample piece and measuring tool.After obtaining the coating thickness of the sampling point for each dip-angle spraying experiment, the unknown parameter values of the model were obtained for each spray dip-angle by using formula (7), as shown in Table 1.Table 1
Parameter values of different spraying dip-angle for Gaussian sum model.
α (°) ω 1 r 1 σ 1 ω 2 r 2 σ 2 ω 3 r 3 σ 3 0 100.6 2.4 13.5 - 45.2 27.4 7.1 91.3 27.3 7.6 10 102.5 2.1 12.2 - 81.6 27.6 6.7 126.5 27.2 8.1 20 100.1 2.1 14.4 - 185.7 27.4 7.3 221.4 27.7 7.8 30 101.0 2.2 13.5 - 302.8 27.3 7.5 342.4 26.9 7.8 40 100.7 2.6 13.3 - 406.8 27.4 7.1 446.0 27.4 7.4By parameter values in Table1, ω2 and ω3 have obvious change with the spray dip-angle, the change law can be obtained by the curve fitting toolbox in MATLAB 2010, and the expressions are as follows:(11)ω2α=3952cos2⁡α-5446cos⁡α+1447,ω3α=-3598cos2⁡α+4841cos⁡α-1151.In addition to ω2 and ω3, the remaining 7 groups of parameters with the change of the dip-angle are not obvious. The reasons of the difference between these parameter values with the dip-angle are mainly caused by the measurement error of coating thickness and the calibration error of spray height and spray dip-angle. It is assumed that these parameter values are not related to the change of the dip-angle. The average values of each parameter are taken here, as follows:(12)ω1=101,r1=2.3,σ1=13.4,r2=27.4,σ2=7.1,r3=27.3,σ3=7.7.The prediction model of coating growth rate for varied dip-angle spraying is established by formulas (11) and (12) into formula (5). In order to verify the validity of the prediction model, under the premise of ensuring that spray height, spray time, and cone angle are the same, spray experiments were done when the spray dip-angle is 25° and 45°, respectively. The coating thicknesses of the sample point were measured at x=0, y=0, x=20 mm, and y=20 mm. The coating thicknesses of the sampling point were compared with the prediction model, where Figure 5 shows the case when α = 25° and Figure 6 shows the case when α = 45°.Figure 5
Fitting of coating thickness whenα = 25°.
(a)
y = 0 (b)
x = 0 (c)
y = 20 (d)
x = 20Figure 6
Fitting of coating thickness whenα = 45°.
(a)
y = 0 (b)
x = 0 (c)
y = 20 (d)
x = 20From Figures5 and 6, the prediction model can be used to well simulate the coating growth rate with varied dip-angle spraying; however, with the increase of spray dip-angle, the fitting precision of the prediction model has declined.


## 6. Conclusion

In this paper, in order to solve the modeling problem of coating growth rate for varied dip-angle spraying technology in the offline programming system of spray painting robot, the Gaussian sum model is used to establish the prediction model of coating growth rate for varied dip-angle spraying. Experiment shows that the Gaussian sum model also has a high fitting precision in describing the coating growth rate for varied dip-angle spraying, the prediction model can be used to reflect the coating growth rate quickly and accurately with varied dip-angle spraying, and it meets the requirements of offline programming system for modeling real-time performance and practicality. There are some advantages in the varied dip-angle spraying technology compared with the vertical spraying technology. For example, the varied dip-angle spraying technology can be a better way to ensure the coating uniformity on the inside-corner surface and reduce the waste of paint on the outside-corner surface. Based on the prediction model established in this paper, when spraying trajectory planning the surface of workpiece with inside and outside-corner feature, a varied dip-angle spraying trajectory optimization model can be established to optimize the coating thickness uniformity in the corners of the surface, so as to achieve the purpose of the best spraying effect for the surface of workpiece with corner feature.



---

*Source: 9369047-2016-12-06.xml*