1 Introduction

In the recent decades, a growing interest into improving operational properties of engineering materials with the use of hard anti-wear coatings was seen. One of the films which attracted the most attention is titanium nitride, which has been introduced into the market more than a half century ago [1]. Since then, titanium nitride was used in machine industry in various industrial applications.

However, though thin films can significantly improve reliability of machinery, it was proven that once the protective film is damaged, a substantial intensification in wear processes can be observed [2]. Therefore, it is crucial to be able to detect the changes that occur in the system when the film fails. Nevertheless, regardless of numerous attempts to solving the issue of detection of the film failure and developing sophisticated methods for film damage identification [3, 4], the above problem is still actual.

According to [5], the friction-induced transition between the wear modes of a coupled tribopair is reflected in changes in its oscillations. It was shown that the friction-induced vibrations show different characteristics for different wear mechanisms [5]. Nevertheless, identification of wear-related vibrations of a mechanical system is a complex challenge. In the work by Spurr et al. [6], it was mentioned that oscillations of a tribosystem can fall into two categories. First, the vibrations can be induced due to the geometrical characteristics of a system. When wear between mating surfaces occurs, the kinematic coupling between the variation in normal and friction forces arises. Second, the stick–slip behaviour of a system will produce instabilities of the friction coefficient. According to Sinou et al. [7], transitions between static and dynamic friction will cause the saw-tooth like vibrations of a frictional system.

Therefore, vibrations that are generated in the system, because of friction, provide information that reflect not only the current state, but also the features of a tribological pair [5]. One of the methods for extracting the transient features of a tribosystem is the wavelet analysis. The application of wavelet method for studying the dynamical characteristics of a system has previously been proposed in tribology, e.g. for the purpose of diagnosis of failure of a rolling bearing [8]. In this study, the dynamic characteristics of friction coefficient obtained for TiN-coated 316LVM steel were analysed with the use of the wavelet method.

As the tribological wear is changing and propagating in time, one of the most efficient methods for its analysis is wavelet-based methods. They have already been used in fault diagnostics of plenty of mechanical systems such as gears [9, 10], bearings [11, 12] or shafts [13, 14]. In our case, we consider the tribological problem, which occurs in model ball-on-disc frictional tests. In this type of a frictional study, a simple tribological contact is used. Due to simplicity of the method, as well as repeatability of the obtained data, those types of tests are being done to assess the anti-wear performance of thin films.

Till now, several papers on identification of wear phenomena with wavelet transform were published for different tribosystems. For example, some attention has been paid to wavelet-assisted detection of failure of ball bearings. Attoui et al. proposed the combination of wavelet-discriminant method for the identification of damaged element in ball bearings [15], Puche-Panadero et al. proposed to apply the numerical method combining the wavelet transform, the Wigner Viller distribution and Hilbert transform in fault diagnosis of induction machines [16]. One of the most important issues in the tribological studies is not only the identification of failure caused by wear, but also the relatively early prevention of severe wear of a tribosystem. In our study, we propose the method based on combination of the continuous wavelet analysis (CWT) and scale index, as the measure of the periodicity of the signal. The dynamical response of found tribological state differs from each other, what can be easily detected with CWT, but the scale index provides the crucial and useful information on the severity of wear by quantitative determination of nonlinearities in the system, which correspond to a specific state in the tribological pair.

In this paper, we describe results from experimental data obtained from a wear test, as well as the tribological behaviour of the tribopair. First, in the next section, we describe the experimental setup and data acquisition in the experiment. Then, in Sects. 3 and 4, respectively, we describe the wavelet-based methods (CWT and Scale Index), along with the results from the analysis of the experimental signal for measured coefficient of friction (COF). In the end, in Sect. 5, we, Fig. 1, summarize our conclusions and suggestions for application of proposed methods and future research.

Fig. 1
figure 1

Schematic representation of the ball-on-disc wear test system

2 Experimental setup

For the dry wear test, 316L stainless steel was selected as the substrate material. Mirror-polished, 6-mm-thick discs were fabricated from a Ø25 mm bar. After that, samples were thoroughly cleaned and coated with a commercial titanium nitride film, which has been prepared with the use of physical vapour deposition (PVD) techniques. The film thickness was approximately 2 µm. The surface roughness parameters of the samples were measured after the coating deposition with the use of a contact profilometer. The Ra was equal to 0.044 µm, while Rt = 0.037 µm. The SEM image of the surface state before starting the tribological test is given in Fig. 2. As can be seen in Fig. 2, some surface irregularities are seen on the sample surface. Their presence is caused by the nature of the PVD deposition process.

Fig. 2
figure 2

SEM micrograph of the sample surface obtained prior to starting the wear test

The wear test was conducted on a CSM Instruments (Switzerland) microtribometer, in a ball-on-disc configuration (Fig. 1). The frictional test parameters were based on our previous experiences collected during the wear tests conducted on TiN-coated steels. Therefore, the test was done in dry conditions, in an ambient temperature and humidity. As the counter material, a fixed Ø6 mm WC–Co ball (Ceramit, Poland) was used, while the TiN-coated Ø25 × 6 mm discs were working in the rotating mode. The sliding velocity was equal to 10 cm/s. Before the tribological test, all considered samples were thoroughly cleaned in a sonicator. The following cleaning agents were used: acetone, isopropanol and deionized water.

During the frictional test, a normal load of 10 N was applied on a WC–Co ball, which was fixed in the tribometer arm (Fig. 1). The rotational movement in the clockwise direction was done by a TiN-coated disc. The diameter of the sliding track is equal to 6 mm. The resulting coefficient of friction of the tribological pair was recorded with the frequency of 20 Hz.

3 Wavelet analysis

The approach to the evaluation of the dynamic character of the tribological behaviour obtained in the experiment is the wavelet analysis. The method found its application in many areas of science, such as engineering [17, 18], medicine [19, 20], chemistry [21, 22] or materials science [23, 24] and is especially used in the detection of rapidly changing transient states or intermittencies in the analysed systems. The wavelet transform shows some advantages over the fast Fourier transform (FFT) [25] and its modification based on window analysis, the so-called short-time Fourier transform (STFT). The wavelet transform provides simultaneous analysis in time and frequency domain. FFT instead reveals the characteristic frequencies present in the spectra, but it does not provide the information of how are they changing in time. The STFT approach is very similar in comparison with WT, but it is limited with the fixed-size window [26] taken for signal processing. In the STFT, both the frequency and the time resolution are fixed by the applied window-size in the analysis, so that the periodicities in the time series can be poorly detected, what matters in analysis of transient and rapidly changing states.

The wavelet analysis is an adaptive method to the dynamic situation in the system, depending on the applied type of wavelet, characterizing with the time and frequency resolutions. The applied window narrows when focusing on small-scale or high-frequency features of the signal and broadens on large-scale or low-frequency features, showing it in a compact form on the scalogram. Moreover, wavelets offer revealing aspects of data, such as identification of trends, breakdown points and discontinuities in higher derivatives and self-similarity. The formal definition of a wavelet is that it is a small wave with a compact support and it can be treated as the wavelet, when the function ψ(t) should have zero mean and finite energy. The continuous wavelet transform (CWT) of the experimental time seriesµ(t) with respect to a mother wavelet is given by a convolution of the time series with a scaled and translated version of applied wavelet. It can be described as follows:

$$W_{s,n} \left( \mu \right) = \mathop \sum \limits_{i - 1}^{N} \frac{1}{s}\psi \left( {\frac{i - n}{s}} \right)\frac{{\left( {\mu \left( {t_{i} } \right) - \left\langle \mu \right\rangle } \right)}}{{\sigma_{\mu } }},$$
(1)

where < \(\mu\) > and σµ are the averages and standard deviation of COF, the variables s and n denote the scale and the time indices, respectively. The scale parameter is responsible for the dilation (s > 1) and the contraction (s < 1) of applied mother wavelet. The role of the time index n is finding the position of the wavelet in time.

The wavelet power spectrum [27, 28] is defined as the square modulus of the continuous wavelet transform and is as follows:

$$P_{w} = \left| {W_{s,n} } \right|^{2}$$
(2)

The WPS value is dependent on scales, frequencies and time and can be determined as the variance in specific scale or frequency. This is clearly visible on corresponding scalograms. The measure is useful in the analysis of non-stationary data, as obtained in the experiment. From many different types of wavelets, we applied to the calculations, the complex Morlet wavelet [29,30,31], defined with Gaussian shape and the central frequency ω0 = 6. This value provides a good balance between time and frequency localizations. For ω0 = 6, the Fourier period is approximately equal to the scale s.

One of the promising wavelet-based tools allowing to identify the periodicity of the signal is the scale index (SI) [32, 33]. The inner scalogram of analysed time series μ is described as follows:

$$S\left( s \right) = (\mathop \smallint \limits_{c\left( s \right)}^{d\left( s \right)} \left| {W\mu \left( {u,s} \right)} \right|^{2} du/\left( {d\left( s \right) - c\left( s \right)} \right)^{\frac{1}{2}}$$
(3)

where Wμ(u,s) is the continuous wavelet transform (CWT) of time series at the specified time u and scale s. Next, the scale index in the scale interval [s0,s1], is calculated as the quotient:

$$i_{scale} = \frac{{S\left( {s_{min} } \right)}}{{S\left( {s_{max} } \right) }},$$
(4)

where smax is the maximum estimated in the specified scale interval[s0,s1], and smin is the minimum in the interval [smax s1]. The value of scale index can be from the range [0,1], quantifying the level of non-periodicity of the signal. The result of the SI to it denotes high level of non-periodicity, instead it is equal to 0 or close to it, the signal has periodic character.

4 Results of data analysis

With help of the wavelet-based methods, we obtained qualitative and quantitative changes of the COF response illustrated in Fig. 3. The surface profile of the wear scar collected at the end of the frictional test is shown in Fig. 4. Taking into account the thickness of the TiN film (2 µm), it can be clearly seen that the protective coating was worn off the sample surface as a result of frictional action between the counter sample and the disc.

Fig. 3
figure 3

Time series obtained from the COF measurements in time domain. The three specific tribological states behaviour are marked: A—the running-in (green), B—stabilized friction (blue) and C—instable wear (red)

Fig. 4
figure 4

Cross-sectional profile of the wear scar obtained for TiN-coated 316L steel. The profile was collected with the use of a contact surface profilometer

However, based on the nature of the frictional time series, we distinguished three specific dynamic states (developed in fairly long intervals) that can be observed during a tribological test, i.e. A) running-in, where the initial surface irregularities are being worn out, B) stabilized friction, when wear of the material progresses steadily in time and C) instable wear, when we observe intermittent character of the COF response. The dynamics of the time series were divided accordingly to our previous paper [34]. All three observed states are very similar in quantitative way, that is why it is justified to apply wavelet and scale index analysis in order to define them by the periodicity level of the dynamical response.

On the scalograms (Fig. 5), the changes of the COF signals in every state can be clearly observed in time–frequency domain. Clearly, the dominating characteristic frequency in all cases is close to 8 Hz, but it is caused by sampling frequency. The rest of character of magnitudes in the scalograms differ from case to case. Note that, we observe distributed local intervals of white colour, in the contrast with blue backgrounds. Here, the blue colour represents the smaller, while the white colour—the higher wavelet power levels. The colour scale between them denotes the intermediate power level. The red colour indicates the highest level of wavelet power and it is present as isolated points only in the region of 8 Hz. In case of the running-in state, temporary and intermittent amplification gains are observed at a characteristic frequency, but also at low frequencies, what can be ascribed as the presence of noise in the spectra. During stabilized friction, the intermittences disappear. In the scalogram of the last considered state, the share of intermittent behaviour is significant. In the time domain, we can observe not only the main frequency, but temporary power spectra amplifications in wider range of frequencies. The same, non-periodic character can be observed in the raw signal. However, in order to unambiguously distinguish the states from each other in quantitative way, application of SIA method is needed. The time series (Fig. 3) and wavelet scalograms (Figs. 5a and c) show the nonlinear correlations, presumably induced by friction disturbances. The wavelet analysis indicates some of instabilities. Firstly, in Fig. 5a, we observe the periodic instabilities of low frequency, while in Fig. 5b of about 0.05 Hz. Secondly, in Fig. 5a, the instabilities of broader frequency ranges are localized in the fairly short time intervals, represented by the white colour.

Fig. 5
figure 5

Wavelet results of the COF measurements for cases presented in Fig. 2, a running-in, b stabilized friction, c instable wear. The scale on the right-hand side denotes the increase in the wavelet power. The regions below the U-shape curve denote the cone of influence. Outside this cone, the edge effects are important and such region is removed from the discussion. The cases ac are consistent with cases denoted in Fig. 2 by A, B and C, respectively.

The effects of above instabilities can also be visible in the corresponding return maps [35], plotted in Fig. 6. These plots are close to a circular shape, informing about fairly strong stochastic components in the studied time series. Consequently, the larger circular area in points distribution indicates the higher stochastic influence (as visible in Fig. 6b). Additional distortions caused by the frictional instabilities influence the distributions (Fig. 6a and c) of the signal, in the presence of nonlinear correlations.

Fig. 6
figure 6

Return maps based on the measured friction coefficient μ. Note that, largest circular area in points distribution indicates a high stochastic influence b while distortions in the distributions a and c signal the presence of nonlinear correlations. Colours are consistent with cases denoted in Fig. 2.

In the following step, it is reasonable to perform scale index analysis (SIA). The limit of small scale involves the sampling noise oscillations. Therefore, to estimate the inner scalograms, we limit to lower frequencies from the interval [0.001 Hz, 0.01 Hz]. Consequently, periodic tendencies of the signals can be clearly identified in Fig. 7. The corresponding scale index iscale was estimated as 0.181, 0.198, 0.275, for cases A, B, and C, respectively.

Fig. 7
figure 7

Normalized inner scalograms for the tribological behaviours. The green line denotes the running-in state, blue the stabilized friction and red the instable wear. Colours are consistent with cases denoted in Fig. 2. The scale index iscale was estimated as 0.181, 0.198, 0.275, for cases A, B and C, respectively. The scale interval corresponds to the frequency limits [0.001 Hz, 0.01 Hz].

The highest level of the non-periodicity is obtained for the unstable friction (C). In case of running-in case (A), we observe smaller maximum with respect to C. For the stable wear state (B), the value of scale index has a decreasing trend, proving the presence of lower non-periodicity level in the signal. It is related to the vanishing fluctuations of COF within considered frequency ranges. It is worth to notice that observations based on obtained scalograms and scale index values are convergent. Based on mentioned tools, we are able to roughly identify the current tribological state of a system.

Note that, the investigated time series are very noisy (Fig. 3). In terms of wavelets, this effect is visible as the background. Additional disturbances in the time series (In Fig. 2, 3a and c) show the nonlinear correlations, which can be visible in the corresponding return maps [33]. Note that, largest circular area in points distribution indicates a highly stochastic influence (Fig. 4b), while distortions in the signal distributions (Fig. 6a and c) are a sign of the presence of nonlinear correlations. These correlations influence the time response of the investigated system, which can be identified by the corresponding scale indexes based in inner scalograms (Fig. 7). Note that, the case B (Fig. 3) is characterized by the oscillations without visible scale preferences, besides the fairly small-scale limit.

5 Conclusions

By application of continuous wavelet transform (CWT) and scale index analysis (SIA), we have demonstrated that wavelet-based methods allow to distinguish different tribological states that occur during tribological test of a titanium nitride-coated stainless steel. In obtained scalograms, by changing value of wavelet power spectra (WPS), it was possible to detect the transient states found in the raw signals from measurements of the coefficient of friction (COF). The TiN coating was wearing in time resulting in the non-monotonic changes of roughness. After initial decrease in roughness in a stabilized friction phase, we could obtain higher roughness in an instable wear phase. Due to this effect, friction coefficient is modulated by low-frequency components. This is consistent with the observations in CWT analysis. The proposed methods are very useful not only considering the time-domain analysis, but also analysis at very low frequencies, as we had in the experiment. The results of scale index analysis proved that with the onset of new friction and wear processes, e.g. three-body abrasion, oxidation, removal of oxygen-rich layers and adhesion, as well as their mutual interactions, we obtain the response with higher influences of the nonlinear effects.

Referring to the previous applied methods, i.e. recurrence quantification analysis (RQA) and principal component analysis (PCA) [34], the wavelet-based methods can be their alternative in the manner of the tribological states detection. However, the scale index analysis provides the quantitative information about the level of wear corresponding the COF value. More advanced investigations on the wear of the coated systems, comprising with statistical methods, would allow to create the classification based on results obtained from the scale index analysis. Certainly, proposed direction of the future research could become the part of Industry 4.0 concept and applied exemplary as the neural network in an actual application.