Introduction

Coating thickness is considered to be one of the most important characteristics of thermally sprayed coatings. When the coating thickness is out of the prescribed limits, the part needs to be reworked either by additional spraying or by removing of the excess material. This results in longer production times, waste of materials and overall additional costs.

Long-term studies on the repeatability of thermally sprayed coating processes, e.g., by Wroblewski et al. in (Ref 1) and Mauer et al. in (Ref 2), have clearly shown that there is a great variability in the thicknesses of the produced coatings even when the process parameters are kept constant. This variability could be reduced by implementing an online, closed-loop control of the coating thickness. A prerequisite for such a control mechanism is a feedback signal of the coating thickness.

There is a plethora of different options for measuring the thickness of thermally sprayed coatings. These include commonly used standardized methods as listed in (Ref 3). Moreover, there are plenty of more recent techniques that have also been demonstrated to be capable of measuring the thickness of thermally sprayed coatings. These are based for example on eddy currents (Ref 4), evaluations of capacitance (Ref 5), and laser-ultrasonics (Ref 6). Recent papers also discuss the use of thermography (Ref 7) and terahertz (Ref 8) techniques for thickness measurements of thermal barrier coatings. Optical distance measurements have also been used for evaluation of total coating thicknesses (Ref 9, 10) or directly of individual coating layers (Ref 11,12,13).

For a thickness measurement technique to be used as a feedback signal in an online, closed-loop control application, it must fulfil certain requirements. Kuroda et al. in (Ref 9) stipulated those to be: (1) capability of in situ measurement during spraying, (2) nondestructive and (3) non-contact nature of the measurement, as well as (4) insensitivity to changes in the physical properties of the coatings, which depend not only on the coating material but also on the spraying conditions.

The first requirement is self-evident since without in situ information during spraying it is impossible to implement online, closed-loop control. It is important to note here, that this does not imply a continuous measurement throughout the entire spraying process per se. The measurement can be done intermittently. However, in this case, the controller’s responsiveness is limited by the measurement’s sampling rate, which in turn also depends on the measurement technique used. Furthermore, the second requirement of the technique being nondestructive seems to be quite clear; the coating must not be damaged by the measurement. However, this requirement should be understood in an even broader sense. The measurement must not only leave the already deposited coating undamaged but it must also not influence the coating process in a way that would modify the properties of the subsequent coating layers. While this might seem to be easiest achieved with a non-contact technique, a tactile measurement technique with a slight and infrequent contact with the coating might also satisfy this requirement. Moreover, even a non-contact technique might not be able to satisfy the requirement; e.g., if the non-contact measurement requires the process to be interrupted for a long duration due to its slow response time, during which the coating might be cooled down significantly and thus affect the deposition of subsequent layers. The last requirement of the technique being insensitive to changes in the physical properties of the coatings essentially means that the uncertainty contribution to the thickness measurement due to the imprecisely known coating properties must be sufficiently small. If this criterion is not met, the thickness measurement will be subjected to large measurement uncertainties, limiting the possibilities of process control. Besides these inherent requirements for a suitable measurement technique, there is also a practical aspect that needs to be considered for the use in industry applications—the costs of the measurement system.

Currently, techniques based on the optical distance measurements seem to be the closest to satisfying all the requirements for use in online, closed-loop control applications. Kuroda et al. (Ref 9) have already demonstrated their use as a basic control tool for stopping the process when the in situ measured coating thickness reached the target value. Despite this, the coating thicknesses differed from the reference measurements, which was attributed to the coatings’ surface roughness. Furthermore, the optical distance measurement techniques were also tested on industrial parts (Ref 10, 12). This paper expands on these previous works by analyzing the uncertainty associated with the in situ measurement of coating thickness using an optical distance measurement technique based on confocal distance sensors. As an alternative to the non-contact measurement method, pneumatically actuated length gauges were also used in the same in situ measurement configuration. The two sensing techniques were applied during atmospheric plasma spraying of samples in a carousel setup. Their performance is compared, where a destructive coating thickness measurement method serves as a reference measurement. Pros and cons of using different in situ coating thickness measurement techniques for process control applications are discussed.

Materials and Methods

Experimental Setup

The coating setup used in this study is schematically shown in Fig. 1. Steel samples of dimensions 30 mm × 60 mm × 3 mm were mounted on a carousel arrangement with a diameter of 600 mm. An F4MB XL gun (Oerlikon Metco, Wohlen, Switzerland) was used with two injectors placed on opposite sides along the vertical axis. The injectors were offset 7 mm from the spray axis, and 2 mm from the nozzle exit. The nozzle had a diameter of 8 mm. The powder used in this study was yttria-stabilized zirconia (YSZ), 204NS-G (Oerlikon Metco, Wohlen, Switzerland).

Fig. 1
figure 1

Schematics of the coating setup

For the in situ measurement of the coating thicknesses during the spraying, the setup schematically shown in Fig. 2 was added perpendicular to the spray direction. Two distance sensors were used—one to measure the distance to the front side and another to the back side of the sample. In the first half of the investigation, two confocal distance sensors CL-L070 (Keyence, Osaka, Japan) with a working distance of 70 mm, resolution of 0.25 µm and linearity of ± 2.0 µm were used. In the second half, two pneumatically actuated length gauges ST 1287 (Heidenhain, Traunreut, Germany) with a working distance of 12 mm and accuracy of ± 1 µm were used as the distance sensors. In either case, the two sensors were installed on an invar plate to minimize the effect of thermal expansion on the relative positions of the sensors. For compensation of thermal expansion of the sample, a one-color pyrometer IN 5-L plus (LumaSense Technologies, Santa Clara, CA, USA) was used to measure the temperature in the vicinity of the thickness measurement position.

Fig. 2
figure 2

Schematics of the in situ coating thickness measurement setup added to the coating setup

The setup was used to measure the sample thickness before and after the coating. Each of these measurements was repeated 10 times. Before making the measurements after the end of the coating, it was waited for the sample to cool down. The setup was also used to measure the thickness during the coating, but only after spraying every two layers. For these measurements, the turn-table was briefly halted (ca. 5 s) and one measurement repetition performed before continuing with the spraying. The approach of stopping the turn-table instead of continuously measuring served the following purposes:

  1. (1)

    It made it possible to take measurements using the pneumatically actuated length gauges.

  2. (2)

    The plasma gun was moved away from its spraying position during the measurements, reducing the effect of its radiation on the optical sensors.

  3. (3)

    The thickness measurements were less noisy when having a stationary target.

  4. (4)

    The measurement position could be defined more precisely, thus a more accurate comparison with the destructive reference measurement method was made possible. The point at the middle of the sample width, 20 mm from the top was selected as the measurement position.

In order to evaluate the performance of the measurement technique at a wide range of thicknesses, samples with different thicknesses were produced. This was achieved by spraying different number of coating layers—6, 10, 14 and 18. Other process parameters were the same for all the runs as listed in Table 1. Average gun voltage during individual experiments ranged between 56.0 and 57.1 V. No sample preheating or active cooling was used. Before the coating, the samples were grit blasted with Al2O3 grit size #22, at a jet pressure of 3.5 bar, and under approximately 60° angle. For each number of layers (i.e., 6, 10, 14, and 18) two runs were conducted with each pair of sensors, resulting in a total of 16 runs.

Table 1 Process parameters used in experiments

Evaluation of In Situ Coating Thickness Measurements

The coating thickness measurement model used in this research is depicted in Fig. 3. It is based on a differential distance measurement of thicknesses before and after applying one or multiple layers of coating. Based on this model, the following two equations apply:

$${s}_{1}=\left({K}_{1}-{d}_{L1}-{d}_{R1}\right)\mathrm{cos}{\varphi }_{1}$$
(1)
$$c=\left({K}_{2}-{d}_{L2}-{d}_{R2}\right)\mathrm{cos}{\varphi }_{2}-{s}_{2}$$
(2)

where \({s}_{j}\) is the sample thickness; \({d}_{\mathrm{Lj}}\) and \({d}_{\mathrm{Rj}}\) are the measured distances from the left and the right sensors to the sample, respectively; \({K}_{j}\) is the distance between the two distance sensors, which are fixed to an invar plate; \({\varphi }_{j}\) is the misalignment angle between the sensors’ line of sight and the sample’s normal; and \(c\) being the coating thickness. The indices \(j\in \{\mathrm{1,2}\}\) refer to conditions that govern before and after coating of a layer, respectively. It is considered that between the two measurements the sample temperature, the temperature of the invar plate, and the misalignment angle can change by \({\Delta T}_{s}\), \({\Delta T}_{K}\) and \(\Delta \varphi\), respectively. Assuming the thermal expansion of the sample and the fixture to be linear with coefficients \({\alpha }_{s}\) and \({\alpha }_{K}\) respectively, the coating thickness can be expressed as:

Fig. 3
figure 3

Model of coating thickness measurement—a differential distance measurement is performed before and after applying one or multiple layers of coating

$$c={K}_{1}\left({(\alpha }_{K}{ \Delta T}_{K}+1\right)\mathrm{cos}\left({\varphi }_{1}+\Delta \varphi \right)-\left({\alpha }_{s}{ \Delta T}_{s}+1\right)\mathrm{cos}{\varphi }_{1})-\left({d}_{L2}+{d}_{R2}\right)\mathrm{cos}\left({\varphi }_{1}+\Delta \varphi \right)+\left({d}_{L1}+{d}_{R1}\right)\left({\alpha }_{s}{ \Delta T}_{s}+1\right)\mathrm{cos}{\varphi }_{1}$$
(3)

The model from Eq 3 can be used to evaluate directly the thickness of the entire coating or just individual layers. Moreover, the model applies to both distance measurement sensors used in this study—the confocal sensors and the length gauges. The presented model is not complete and makes certain assumptions. Firstly, it is assumed that the two distance sensors are perfectly aligned. A well-executed alignment can result in a negligible contribution to the uncertainty compared to other effects. Secondly, it is assumed that the sample, coating, and fixture are all uniformly heated. Furthermore, only the temperature of the coating was measured due to spatial limitations in the experimental setup. Therefore, it was assumed that the coating and the sample are at the same temperature. Note that Eq 3 provides an estimate of the coating thickness \(c\) at the current temperature of the coating, which might be different from the room temperature at which the reference thickness measurements are done. Similar assumptions about the coating’s linear thermal expansion could be used to make up for this difference. However, since the total coating thicknesses are relatively small (i.e., below 400 µm), and since it was waited for the coating to cool down before measuring the total coating thickness after the spraying has finished, the effect of thermal expansion of the coating is negligible.

With the measurement model Eq 3, it is possible to estimate the uncertainty of the measured coating thickness following the GUM recommendations (Ref 14). The law of propagation of uncertainty is commonly applied. However, in this analysis, the Monte Carlo method (MCM) (Ref 15) was used, which provided a better insight into the probability density functions (PDFs) of the evaluated coating thicknesses. Based on the PDFs, the measurement estimates and the coverage intervals were obtained. The reason for the use of the MCM was to take into account the measurement repeatability more precisely. It was namely observed that the repeated measurements in certain runs displayed asymmetric distributions, which could be attributed to unknown, thus also unmeasured and unmodeled influences.

For the evaluation of the total coating thickness of each run, all 10 × 10 combinations of measurements before and after the coating were considered. For the unmeasured model parameters, it was assumed that they were independent and uniformly distributed. Their estimated ranges are given in Table 2. Explanations for the assumed ranges are also provided. By randomly selecting 104 samples from each parameter distribution, 104 different parameter sets were formed. This resulted in 106 model evaluations for each total coating thickness estimation. It should be noted that for the evaluation of the individual layer thicknesses, there was only one measurement repetition made. In order to get an estimate also of the influence of the measurement repeatability in this case, the same distributions of the measured parameters were assumed as they were observed for the measurements before and after the coating.

Table 2 Estimations of coating thickness model parameters and their ranges

Reference Evaluation of Coating Thickness

To serve as the reference measurements in this study, the coating thicknesses were also measured by taking microscopic images of the coatings’ cross sections. An optical microscope was used with a 50× magnification. For a valid comparison, the images had to be taken at the same position of the sample as the in situ measurements. Therefore, the coated samples were cut along their widths, 20 mm from the top, and the images taken at the middle of the coatings’ cross sections. The preparation of the samples was done as per the ASTM E1920 standard (Ref 16).

Microscopic assessment of the coatings’ cross sections only allows to measure the thickness along one line, while the in situ methods measure the thickness around an area. In order not to rely on the thicknesses measured along just a single line, the coating thicknesses were evaluated with the microscope on both sides of the sample cut. Due to the width of the saw used for cutting of the sample, these two measurement lines were estimated to be a few millimeters apart. In order to evaluate the average coating thickness at each taken image, the thickness was evaluated at 10 equidistantly spaced points around an image, in accordance with the ISO 1463 standard (Ref 17). It is important to note that while the thickness at each of the 10 points of an image was calculated automatically, the points to be considered as the top and bottom of the coating were manually selected.

The reference thickness value at a measurement position was calculated as the average of the evaluated thicknesses at the two sides of the sample cut. The uncertainty in the reference thickness was estimated as the combined uncertainty of the experimental standard deviation of thickness measurements from both sides of the cut, and the uncertainty due to the repeatability of thickness measurement at an individual point of an image. The latter contribution was based on a small internal study with three well-experienced laboratory technicians. It assessed how different technicians judge differently what is considered to be the top and the bottom of the coating, as well as what is the repeatability of their judgements. For this study, each technician received the same 10 coating images in a randomized order. On each image, each technician had to measure the thickness at 10 predefined points, which were the same for all the technicians. The procedure was repeated on two separate days. The results of this study showed this contribution to be comparable in size to the experimental standard deviation, thus it was included in the evaluation. Other contributions to the uncertainty of the microscopic method were assumed to be negligible based on the performed calibration of the microscope.

Results and Discussion

Figure 4 shows the comparison between the reference and the in situ coating thickness measurements of the 16 produced coatings. The coatings where the confocal sensors were used for the in situ measurement are colored orange, and where the length gauges were used are colored blue. The error bars correspond to the intervals estimated to have a level of confidence of 95%. Four data clusters can be distinguished, which correspond to the four different numbers of coating layers applied.

Fig. 4
figure 4

Comparison of the reference and the in situ coating thickness measurements of the 16 produced coatings. The error bars correspond to the intervals estimated to have a level of confidence of 95%

From Fig. 4 it can be seen that the length gauges always measured higher thickness than the reference method. This difference stems from the way the two methods take into account the coating surface roughness. The length gauges were used with steel ball type contacts with a diameter of 3.2 mm. Therefore, what the length gauges measure is closer to the maximum coating thickness than its average, which is measured by the reference method. This means that the higher the coating surface roughness, the larger will be the error of the measurement with the length gauges. The confocal sensors should provide closer measurements to the reference method because they average the effect of the surface roughness better. The confocal sensors used in this study, namely measure the distance at four points around an area with a diameter of 0.6 mm. Nonetheless, from the relatively large measurement uncertainties in certain runs as well as the surprisingly low measurement in one run (i.e., the lowest point in the figure), it seems that the confocal sensors are more sensitive to disturbances than the length gauges.

Figure 5 displays how the thickness of the deposited layers changed during one run. In this run, 18 layers of coating were applied and the length gauges used for the in situ measurement. The thicknesses shown are for two deposited layers due to the measurement approach used. The error bars correspond to the intervals estimated to have a level of confidence of 95%. As already mentioned, the intervals were calculated assuming the same measurement repeatability as was observed in the repeated measurements done before and after the coating.

Fig. 5
figure 5

Example of how the thickness of each two deposited layers changed during one run where a total of 18 layers were sprayed and the length gauges used for the thickness measurements. The error bars correspond to the intervals estimated to have a level of confidence of 95%

Based on Fig. 5, it seems that the thickness of different layers changed significantly during the run despite keeping the process input parameters constant. However, it should be noted that the measurement uncertainty of roughly 6 µm is relatively large compared to the thickness of two layers (more than 10%). Moreover, this uncertainty estimation does not incorporate the dependence of the length gauges’ readings on the coating surface roughness, which further increases the measurement uncertainty. Similarly, the measurement uncertainty of the thickness of individual coating layers was relatively large also in the cases where the confocal sensors were used.

Figure 6 shows the histogram of the measured thicknesses of each two deposited layers from all the conducted experiments. Despite the relatively large measurement uncertainties of both techniques, it can clearly be seen from the figure that the layer thickness significantly varied despite keeping the process parameters constant. These results further confirm the need for online, closed-loop feedback control of the process, which would minimize such variations.

Fig. 6
figure 6

Histogram of thicknesses of each two deposited layers from all experiments

Nonetheless, due to the relatively large uncertainty in the layer thickness measurements of the techniques used in this paper, they might not prove to be the best option for an application of controlling the coating process by monitoring the thickness of the individual deposited layers. For such an application, the thickness measurement technique based on the optical distance measurement of individual coating layers, as described by Nadeau et al. (Ref 11, 12), could prove to be more appropriate. Nadeau et al. reported a measurement precision of layer thickness of about 2 µm that is independent of the surface roughness as well as of thermal expansion, thus should result in a more stable feedback signal for process control. However, the two sensing techniques presented in this paper have an inherent advantage when used for controlling the total coating thickness. Their measurement uncertainties increase only slightly with the thicknesses of the coatings as seen from Fig. 4. For comparison, the technique by Nadeau et al. calculates the total coating thickness \(C\) by summing the thickness of individual layers (Eq 4). The measurement uncertainty \(u\left(C\right)\) of the calculated total thickness in that case depends on the number of layers coated \(N\), according to Eq 5:

$$C=\sum_{i=1}^{N}{L}_{i}$$
(4)
$$u\left(C\right)=\sqrt{N} u(L)$$
(5)

where \({L}_{i}\) are the measured thicknesses of the individual coating layers, \(u\left(C\right)\) the uncertainty in the total coating thickness, and \(u\left(L\right)\) the uncertainty of the individual coating layer thicknesses—assuming they are uncorrelated and the same for each measured value. Therefore, the uncertainty in the total coating thickness might be larger for this method for thicker coatings than the uncertainty when using the length gauges or the confocal sensors as presented in this paper.

Conclusions and Outlook

An optical distance measurement technique based on confocal distance sensors and a contact measurement technique based on pneumatically actuated length gauges were used for in situ coating thickness measurements. Their performance was compared and their measurement uncertainties evaluated. For comparison, a destructive coating thickness measurement method served as a reference measurement.

The comparison showed that the length gauges were subjected to smaller measurement uncertainties than the confocal sensors, hinting that the latter are more sensitive to disturbances. The comparison between the in situ and the reference measurements showed that the length gauges measure higher thicknesses than the reference due to their dependence on the surface roughness.

Despite the limitations of the two sensing techniques, both could be improved upon in the future. Isolating the confocal sensors from the plasma radiation could possibly improve their repeatability due to less disturbances from the environment. The dependence of the measurements with the length gauges on the surface roughness could be compensated for by including an in situ topography sensor.

Furthermore, the uncertainty analysis of different in situ coating thickness measurement techniques showed that the sensing technique applied should be selected based on the targeted control strategy. In the case of process control based on monitoring the thickness of the individual deposited layers, a measurement technique, which measures directly the thickness of the deposited layers, seems to be more suitable than the two sensing techniques used in this research because of the lower measurement uncertainty. However, the techniques from this study are more appropriate for applications of controlling the total coating thickness because their measurement uncertainties are less dependent on the total coating thickness, resulting in overall smaller uncertainty.