Introduction

Industrial robots equipped with customized drilling and riveting end effectors can significantly improve the quality and efficiency of aviation manufacturing and assembly (Zeng et al. 2017; Bi and Liang 2011; Frommknecht et al. 2017; Mei et al. 2015). However, compared with the traditional machine tools, high-performance robotic drilling is still a challenging task due to the various types of errors affecting pose accuracy as well as the relatively low stiffness of robotic joints and the end effector (Iglesias et al. 2015; Chen and Dong 2013; Lin et al. 2017). Robotic drilling system is more prone to chatter during the machining process, which will result in poor surface finish, shortened tool life and decreased machining productivity (Yuan et al. 2018; Munoa et al. 2016; Bu et al. 2017). To reduce and eliminate the negative effects on the machining system, many efforts have been devoted to the modelling, predicting, detecting and controlling such undesirable instability (Mousavi et al. 2017; Wang et al. 2017; Lu et al. 2015; Pour and Torabizadeh 2016; Cordes et al. 2019; Qin et al. 2017a, b, 2018; Tong et al. 2019; Somkiat 2011; Yuan et al. 2019).

For the sake of chatter avoidance, researchers have proposed many stability analysis methods to construct the stability lobe diagrams, including numerical methods, analytical methods, and semi-analytical methods (Li and Liu 2008; Insperger and Stepan 2004; Altintas et al. 2008; Qin et al. 2019). However, the accuracy of stability lobe diagrams mainly depends on the dynamics model of machining process, for which errors are always inevitable. Chatter may still occur with the selected stable cutting parameters according to the stability analysis. Meanwhile, it is quite complicated for workshop workers to fully understand and grasp the cutting dynamics. Alternatively, it is practical and essential to detect and recognize chatter as early as possible during the transition stage, so as to adopt appropriate suppression method.

To accurately identify the chatter, it is of vital importance to select the most appropriate and sensitive signals, employ effective processing methods, and extract sensitive chatter indicators. It has been well recognized that vibration signals can most fully reflect the chatter transition process, and have the advantages of low cost and easy measurement (Kuljanic et al. 2009; Tao et al. 2019b). For these reasons, vibration signals are applicable under industrial conditions, and thus commonly used in machining chatter monitoring (Tao et al. 2019a; Ye et al. 2018; Lamraoui et al. 2014a; Fu et al. 2016, 2019; Sun and Xiong 2016; Ji et al. 2017). Besides, scholars have also utilized other sensor signals to monitor and detect chatter, including cutting force signals (Wang et al. 2018; Huang et al. 2013; Tangjitsitcharoen et al. 2015; Liu et al. 2017), motor current signals (Liu et al. 2011, 2016; Aslan and Altintas 2018), angular speed signals (Lamraoui et al. 2014b), and sound signals (Thaler et al. 2014; Cao et al. 2017). Due to the regenerative mechanism, the occurrence of chatter is commonly accompanied by changes in frequency components and energy distribution (Tao et al. 2019a; Ye et al. 2018; Lamraoui et al. 2014a, b; Fu et al. 2016, 2019; Sun and Xiong 2016; Ji et al. 2017; Wang et al. 2018; Huang et al. 2013; Tangjitsitcharoen et al. 2015; Liu et al. 2011, 2016, 2017; Aslan and Altintas 2018; Thaler et al. 2014; Cao et al. 2017). To keenly capture the chatter characteristics, many time–frequency analysis methods have been utilized for cutting status monitoring, including short-time Fourier transform (STFT) (Thaler et al. 2014), wavelet transform (WT) (Sun and Xiong 2016; Tangjitsitcharoen et al. 2015; Liu et al. 2017), empirical mode decomposition (EMD) (Fu et al. 2016; Ji et al. 2017; Liu et al. 2017; Ji et al. 2018) and variational mode decomposition (VMD) (Zhang et al. 2016; Liu et al. 2018; Yang et al. 2019). However, restricted by the Heisenberg uncertainty principle, the classical processing methods suffer from relatively low time–frequency resolution (Yu et al. 2017). In addition, a review of the literature shows that the measured signals during machining processes are usually nonlinear and non-stationary. Therefore, they cannot be competent to characterize the nonstationary behavior of the measured signals accurately.

Recently, some researchers have tried to employ more powerful time–frequency processing methods with higher energy concentration to detect chatter. For instance, Cao et al. (Lamraoui et al. 2014b) presented a chatter detection method for high-speed milling process, in which time–frequency representation of the sound signals was obtained by the synchrosqueezing transform (SST). However, in the synchrosqueezing processing of time–frequency coefficients, the unexpected noise has to be gathered into the SST result. Also, Tao et al. (2019a) proposed a synchroextracting-based method for the early chatter detection of robotic drilling operations. Due to lack of perfect signal reconstruction, the synchroextracting transform (SET) may suffer large reconstruction errors when processing strong non-stationary signals. On the other hand, it has been found that during the early stage of chatter, although the spindle frequency component and its corresponding harmonics still plays a major role, chatter components have appeared and are distributed in a wide frequency band (Liu et al. 2016; Wan et al. 2018). Therefore, it is necessary to eliminate the disturbance of spindle frequency and corresponding harmonic components to the measured acceleration signal. To realize accurate and timely chatter identification, this paper develops a novel identification method combining the notch filter and local maximum synchrosqueezing transform for robotic drilling process, in which weak chatter features during early stage of inoculation can be keenly captured. The rest of this paper is organized as follows. In second section, the optimal matrix notch filter is designed to eliminate the interference of the spindle frequency and corresponding harmonic components to the measured signal. Then, the LMSST is employed to obtain high-resolution time–frequency information of the non-stationary filtered acceleration signal. On this basis, the proposed identification algorithm is proposed in detail. In third section, the experimental setup is presented, and the effectiveness of the proposed approach is validated by a large number of robot drilling experiments with different drilling parameters and workpiece materials. The conclusion is drawn in the last section.

Local maximum synchrosqueezing-based method

Optimal matrix notch filter

As mentioned above, it is of vital importance to accurately remove the spindle frequency and corresponding harmonic components from the measured signals for chatter monitoring. Compared with finite impulse response (FIR) filter, the order of infinite impulse response (IIR) filter is much lower under the same frequency requirement. Notch filter belongs to the IIR filter, and is an effective means of eliminating narrowband or sinusoidal interference (Tseng and Pei 2001). Denote ωN as be the notch frequency, then the transfer function H(z) of the traditional notch filter is defined as:

$$ H(z) = \frac{{1 - 2\cos (\omega_{N} )z^{ - 1} + z^{ - 2} }}{{1 - 2\eta \cos (\omega_{N} )z^{ - 1} + \eta^{2} z^{ - 2} }} $$
(1)

where η denotes the pole radius. The notch bandwidth Bw is defined by Bw = π(1 − η). When the pole radius η approaches 1, the notch filter is close to the ideal one.

However, the traditional notch filter suffers a long transition stage, making it difficult to obtain good filtering performance when processing short data. Consequently, researchers were trying to suppress the transition stage to optimize the conventional notch filter (Piskorowski 2010, 2012). The key to designing the notch filter is obtaining the transfer function with frequency response as close as possible to the ideal notch filter (Vaccaro and Harrison 1996; Han and Zhang 2010). Define the signal of length N to be filtered as si = [si(1), si(2), …, si(N)], the output signal of the notch filter as so = [so(1), so(2), …, so(N)], then the designed optimal notch matrix \( {\text{F}}_{{_{\text{N}} }} \) obtained via certain optimal criterion should satisfy:

$$ {\mathbf{S}}_{o} = {\mathbf{F}}_{{\omega_{N} }} {\mathbf{S}}_{i} $$
(2)

In order to solve the notch matrix \( {\text{F}}_{{_{\text{N}} }} \), we define a complex column vector as q(ω) = [1, e, ej2ω, …, ej(N−1)ω]T. Obviously, the designed optimal notch matrix should approximate the frequency response as close as possible to the ideal notch filter, that is

$$ {\mathbf{F}}_{{\omega_{N} }} {\mathbf{q}}(\omega ) = \left\{ \begin{aligned} & {\mathbf{0}},\quad \omega = \omega_{N} \\ & {\mathbf{q}}(\omega ),\quad \omega \ne \omega_{N} \\ \end{aligned} \right. $$
(3)

Introduce a small enough positive number ξ, the band-pass of the designed notch filter will be Bp = [0, ωN-ξ][0, ωN + ξ]. The first step to solve the notch matrix \( {\text{F}}_{{_{\text{N}} }} \) is discretizing the band-pass Bp into M frequency points of equal distance, i.e.,

$$ \omega_{k} = k(\pi - 2\xi )/M,\quad k = 1,2, \ldots ,M $$
(4)

Substituting the above discrete frequency points and the notch frequency ωN into the complex column vector q(ω), the following matrices can be obtained:

$$ \left\{ \begin{aligned} & {\mathbf{Q}}_{R} = [{\mathbf{q}}_{R} (\omega_{1} ),{\mathbf{q}}_{R} (\omega_{2} ), \ldots ,{\mathbf{q}}_{R} (\omega_{M} )] \\ & {\mathbf{Q}}_{I} = [{\mathbf{q}}_{I} (\omega_{1} ),{\mathbf{q}}_{I} (\omega_{2} ), \ldots ,{\mathbf{q}}_{I} (\omega_{M} )] \\ & {\mathbf{Q}} = [{\mathbf{Q}}_{R} ,{\mathbf{Q}}_{I} ] \\ & {\mathbf{P}} = [{\mathbf{q}}_{R} (\omega_{N} ),{\mathbf{q}}_{I} (\omega_{N} )] \\ \end{aligned} \right. $$
(5)

where the subscripts R and I denote real and imaginary parts of the complex number, respectively. According to the frequency response of ideal notch filter, i.e., Eq. (3), the matrices Q with size N × 2 M, P and \( {\text{F}}_{{_{\text{N}} }} \) should satisfy the following relationship:

$$ \left\{ \begin{aligned} & {\mathbf{Q}} = {\mathbf{F}}_{{\omega_{N} }} {\mathbf{Q}} \\ & {\mathbf{0}} = {\mathbf{F}}_{{\omega_{N} }} {\mathbf{P}} \\ \end{aligned} \right. $$
(6)

Define qi and fi as the i-th column vector of QT and (\( {\text{F}}_{{\omega_{\text{N}} }} \))T, i = 1, 2, …, N. Then, by utilizing the least squares method, the following optimization model can be established:

$$ \begin{aligned} & \hbox{min} \;J_{i} = \left\| {{\mathbf{Q}}^{T} {\mathbf{f}}_{i} - {\mathbf{q}}_{i} } \right\|_{2}^{2} \\ & {\text{s}}.{\text{t}}.\quad {\mathbf{P}}^{T} {\mathbf{f}}_{i} = {\mathbf{0}} \\ \end{aligned} $$
(7)

To simplify the derivation, define a new matrix as G = QQT. Solving Eq. (7) by employing Lagrangian multiplier method, the column vector fi can be obtained:

$$ {\mathbf{f}}_{i} = {\mathbf{G}}^{ - 1} {\mathbf{Q}}_{i} {\mathbf{q}}_{i} - {\mathbf{G}}^{ - 1} {\mathbf{P}}^{T} ({\mathbf{PG}}^{ - 1} {\mathbf{P}}^{T} )^{ - 1} {\mathbf{PG}}^{ - 1} {\mathbf{Q}}_{i} {\mathbf{q}}_{i} $$
(8)

On this basis, the designed optimal notch matrix \( {\text{F}}_{{_{\text{N}} }} \) can be finally obtained as:

$$ {\mathbf{F}}_{{\omega_{N} }} = {\mathbf{I}} - {\mathbf{P}}({\mathbf{P}}^{T} {\mathbf{GP}}){\mathbf{P}}^{T} {\mathbf{G}}^{T} $$
(9)

Local maximum synchrosqueezing transform

The synchroextracting transform (SET) has been proved to be a highly concentrated time–frequency analysis method (Yu et al. 2017). However, due to lack of perfect signal reconstruction, it may suffer large reconstruction errors when processing strong non-stationary signals. Recently, Yu et al. (2019) developed the local maximum synchrosqueezing transform (LMSST), which can be utilized to effectively extract high-precision time–frequency information from signals with heavy noise and perfectly reconstruct the signals.

LMSST belongs to a post-processing technique of the STFT. The STFT of the signal s(u) with respect to the real and even window g(u) is defined as:

$$ STFT_{s} (t,\omega ) = \int_{ - \infty }^{\infty } {s(u)g(u - t)e^{ - j\omega (u - t)} du} $$
(10)

where g denotes the time-domain compactly supported window, and is often chosen as a real couple function whose energy is concentrated at low frequencies. As time t changes continuously, the window g moves on the time axis. As a consequence, the signal s(u) is gradually analyzed.

Define s(u) as a multi-component signal with a certain frequency separation, namely

$$ s(u) = \sum\limits_{k = 1}^{n} {s_{k} } (u) = \sum\limits_{k = 1}^{n} {A_{k} (u)e^{{j\phi_{k} (u)}} } $$
(11)

where Ak(u) and ϕk(u) represent the instantaneous amplitude and the instantaneous angular position of sk(u), respectively.

Mathematically, the STFT is to calculate the Fourier transform of s(u)g(u − t) in a short time. Based on the assumption that \( A^{\prime}_{k} (t) \) and \( \phi^{\prime\prime}_{k} (t) \) are small enough (Yu et al. 2019), we can expand Ak(u) and ϕk(u) at time t using the Taylor expansion, which is written as Ak(u) = Ak(t) and \( \phi_{k} (u) = \phi_{k} (t) + \phi_{k}^{\prime } (t)(u - t) \). Consequently, the signal s(u) can be rewritten as \( s(u) = \sum\nolimits_{k = 1}^{n} {A_{k} (t)e^{{j\phi_{k} (t) + j\phi_{k}^{\prime} (t)(u - t)}}} \). Substitute it into STFT, i.e., Eq. (10), one can obtain:

$$ STFT_{s} (t,\omega) = \sum\nolimits_{k = 1}^{n} {A_{k} (t)e^{{j\phi_{k} (t)}}} \hat{g}(\omega - \phi^{\prime}_{k} (t)) $$
(12)

where \( \hat{g} \) denotes the Fourier transform of window function g.

In-depth analysis of Eq. (12) reveals that the spectrogram concentrates on the time–frequency trajectories with a smeared energy distribution, i.e.,

$$ \left| {STFT_{s} (t,\omega )} \right| = \sum\limits_{k = 1}^{n} {A_{k} (t)} \hat{g}(\omega - \phi^{\prime}_{k} (t)) $$
(13)

By searching for the local maximum of the spectrogram in the frequency direction, a novel frequency-reassignment operator based on Eq. (13) is defined as

$$ \zeta_{m} (t,\omega )\left\{ \begin{aligned} & \mathop {\arg \hbox{max} }\limits_{\omega } \left| {STFT_{s} (t,\omega )} \right|,\quad \omega \in [\omega - \Delta ,\omega + \Delta ],\quad if\left| {STFT_{s} (t,\omega )} \right| \ne 0 \\ & 0,\quad if\left| {STFT_{s} (t,\omega )} \right|{ = }0 \\ \end{aligned} \right. $$
(14)

where Δ denotes the frequency support of the window function g.

Since the Fourier transform of the window function reaches the maximum at zero, Eq. (14) can be further simplified as

$$ \zeta_{m} (t,\omega )\left\{ \begin{aligned} & \phi^{\prime}_{k} (t),\quad if\omega \in [\omega - \Delta ,\omega + \Delta ] \\ & 0,\quad {\text{otherwise}} \\ \end{aligned} \right. $$
(15)

To obtain the ideal time–frequency analysis representation and retain the perfect reconstruction ability, all of the smeared time–frequency coefficients should be reassigned into the time–frequency trajectories along the frequency direction. Consequently, the local maximum synchrosqueezing transform that can generate a more highly concentrated time–frequency representation can be expressed as

$$ LMSST_{s} (t,\eta ) = \int_{ - \infty }^{\infty } {STFT_{s} (t,\omega )\delta (\eta - \zeta_{m} (t,\omega ))d\omega } $$
(16)

where δ represents the Dirac function.

Equation (16) ensures that the time–frequency representation generated by LMSST can be well approximated to ideal time–frequency analysis representation. By integrating function \( LMSST_{s} (t,\eta ) \), one can get the following expression

$$ \begin{aligned} \int_{ - \infty }^{ + \infty } {LMSST_{s} (t,\eta )d\eta } & = \int_{ - \infty }^{ + \infty } {\int_{ - \infty }^{ + \infty } {STFT_{s} (t,\omega )\delta (\eta - \zeta_{m} (t,\omega ))d\omega } d\eta } \\ & = \int_{ - \infty }^{ + \infty } {STFT_{s} (t,\omega )} \int_{ - \infty }^{ + \infty } {\delta (\eta - \zeta_{m} (t,\omega ))d\eta } d\omega \\ & = \int_{ - \infty }^{ + \infty } {STFT_{s} (t,\omega )} d\omega = 2\pi \int_{ - \infty }^{ + \infty } {s(u)g(u - t)\delta (u - t)} du \\ & = (2\pi g(0))s(t) \\ \end{aligned} $$
(17)

Consequently, the original signal can be perfectly recovered by

$$ s(t) = (2\pi g(0))^{ - 1} \int_{ - \infty }^{{{ + }\infty }} {LMSST_{s} (t,\eta )d\eta } $$
(18)

The proposed identification method

Chatter vibration in machining processes arises from a self-excitation mechanism between the tool and the workpiece. Due to the regenerative mechanism, the occurrence of chatter will cause changes in frequency components and energy distribution. With the development of chatter, new dominant frequency component will appear near the natural frequency of the system, and the energy is gradually absorbed by the chatter frequency. During the early stage of chatter, the chatter characteristic is extremely weak. Although the spindle frequency component and its corresponding harmonics still plays a major role, chatter components have appeared and distributed in a wide frequency band at this stage. Therefore, to achieve accurate and timely chatter identification, it is of vital importance to fully remove the spindle frequency and corresponding harmonic components from the vibration signal, obtain high-resolution time–frequency representation and keenly capture the change of energy distribution of the filtered vibration signal.

Inspired by the above analysis, we present a novel robotic drilling chatter identification algorithm based on the matrix notch filter and LMSST. The optimal matrix notch filter is designed to eliminate the disturbance of spindle frequency and corresponding harmonic components to the vibration signal. Then, the LMSST is employed to obtain high-resolution time–frequency information of the non-stationary filtered acceleration signal. On this basis, the filtered vibration signal is divided into finite equal-width frequency bands, and the corresponding sub-signal for each frequency band is obtained by summing the corresponding coefficient of the LMSST. Finally, the energy entropy is calculated and utilized as the indicator to accurately depict the non-uniformity of energy distribution during the chatter incubation process.

The detailed implementation steps of the proposed robotic drilling chatter identification method are specifically explained below. First, the signal length N is determined according to the signal sampling period T and the time interval τ of the chatter identification:

$$ N = 2\tau /T $$
(19)

Let ui be the measured acceleration signal, and ωs1, ωs2, …, ωsk be the spindle frequency and corresponding harmonics. Subsequently, the corresponding notch matrices \( {\mathbf{F}}_{{\omega_{s1} }} ,{\mathbf{F}}_{{\omega_{s2} }} , \ldots ,{\mathbf{F}}_{{\omega_{sk} }} \) are designed by the method presented in “Optimal matrix notch filter” section. By fully removing the spindle frequency and its corresponding harmonics, the filtered vibration signal uo can be acquired as follows:

$$ {\mathbf{u}}_{o} = {\mathbf{Fu}}_{i} = ({\mathbf{F}}_{{\omega_{sk} }} \cdots {\mathbf{F}}_{{\omega_{s2} }} {\mathbf{F}}_{{\omega_{s1} }} ){\mathbf{u}}_{i} $$
(20)

Then, the accurate time–frequency information of the non-stationary filtered acceleration signal is obtained by employing the LMSST, namely

$$ LMSST_{u} (t,\omega ) = \int_{ - \infty }^{\infty } {STFT_{u} (t,\omega )\delta (\omega - \zeta_{m} (t,\omega ))d\omega } $$
(21)

To make full use of the time–frequency information of the filtered acceleration signal and keenly capture its energy distribution changes, it is divided into a finite number of equidistant frequency bands, i.e., fb = (1/T)/2/m, where m denotes the number of bandwidth. Since all of the smeared time–frequency coefficients have been reassigned into their time–frequency regions, the corresponding sub-signal for each frequency band can be reconstructed by summing the corresponding coefficient of the LMSST, that is

$$ u_{h} (t ) { = }(2\pi g(0))^{ - 1} \int_{{(h - 1)f_{b} }}^{{hf_{b} }} {LMSST_{u} (t,\omega )d\omega } ,\quad h = 1,2, \ldots ,m $$
(22)

Finally, to accurately depict the non-uniformity of energy distribution during the chatter incubation process, the statistical energy entropy is calculated and utilized as the indicator to detect chatter online. The energy contained in each reconstructed sub-signal is defined as

$$ E_{h} = \sum\limits_{j = 1}^{N} {u_{h} (t_{j} )^{2} } ,\quad h = 1,2, \ldots ,m $$
(23)

On this basis, the statistical energy entropy LMSSTE can be calculated as

$$ {\text{LMSSTE}} = \sum\limits_{h = 1}^{m} {E_{h} \ln (E_{h} )} $$
(24)

It is noted that the energy entropy of the measured acceleration signal is calculated online during the robotic drilling process by utilizing the proposed identification algorithm, and simultaneously compared with the selected chatter threshold. When the energy entropy exceeds the threshold, chatter is thought to occur in the robotic drilling process and the subsequent chatter suppression should be conducted as soon as possible. Moreover, the determination of chatter threshold is also extremely vital for chatter identification. Therefore, it is determined based on plenty of robotic drilling experiments with different cutting tools, workpiece materials and cutting parameters, ensuring the selected threshold is applicable for different robotic drilling condition.

Validation and analysis

Experimental setup

As illustrated in Fig. 1, the robotic drilling experiments were conducted to verify the proposed method on a self-designed robotic drilling system. It contains a KUKA KR 270 industrial, a sliding guide, a measurement control system, a self-designed drilling end effector, workpiece and corresponding holding fixture. The dedicated end effector mainly consists of a robot flange interface, a feed unit, a spindle unit, a normal detection unit, a visual measurement unit, and a pressure foot unit. The drilling motion is achieved by the feed unit and the spindle unit. The normal detection unit includes four laser displacement sensors uniformly arranged on the circumference, and is utilized for accurately obtaining the normal of the workpiece. The exact position of the reference hole is determined by the visual measurement unit. In order to increase the stiffness of the system as much as possible, the pressure foot is designed to provide a large pressing force during the robot drilling process. Figure 2 illustrates two uncoated hard alloy steel drilling-countersinking tools with different geometric parameters that used in the robotic drilling tests. The tool I has 5 mm diameter and 130° point angle, and the tool II has 6 mm diameter, and 120° point angle. Meanwhile, both the countersink angle of tool I and tool II are 100°. In order to automatically identify robotic drilling chatter online, the vibration signals were measured and acquired by the PCB 356A24 accelerometer and the Crystal Instruments CoCo-80. Besides, the sampling frequency was set as 10,240 Hz.

Fig. 1
figure 1

The experimental setup: a the self-designed robotic drilling system and b the drilling tool with a PCB 356A24 accelerometer and the Crystal Instruments CoCo-80

Fig. 2
figure 2

Geometric parameters of the drilling-countersinking tools: a tool I with 5 mm and 130° point angle and b tool II with 6 mm diameter and 120° point angle

Results and analysis

The effectiveness of the proposed identification method are validated by robotic drilling experiments with different drilling parameters and workpiece materials. It should be noted that to better observe the experimental process and evaluate the experimental results, the robotic drilling tests were conducted without lubrication and cooling. Actually, in the experiments, it is found that whether or not there is cooling and lubrication, the vibration signal has a similar trend when the chatter occurs. Therefore, the proposed method can be used for both with and without lubrication and cooling. The workpiece was aluminum alloy 7075 and 6061. During the robotic drilling tests, the spindle speed varied from 1800 to 4500 rpm and the feed rate from 0.9 to 9.6 mm/s. At the same time, the drilling depth was set as 6 mm and the pressing force was set as 0.12 MPa.

To realize timely and accurate detection of robotic drilling chatter, we present a novel identification method combining the matrix notch filter and local maximum synchrosqueezing transform. First, the matrix notch filter is designed to accurately remove the spindle frequency and its corresponding harmonic components from the measured vibration signals. Subsequently, the local maximum synchrosqueezing transform (LMSST) is employed to obtain high-resolution time–frequency information of the non-stationary filtered acceleration signal. Then, the filtered vibration signal is divided into finite equal-width frequency bands, and the corresponding sub-signal for each frequency band is obtained by summing the corresponding coefficient of the LMSST. Finally, to accurately depict the non-uniformity of energy distribution during the chatter incubation process, the statistical energy entropy is calculated and utilized as the indicator to detect robotic drilling chatter online. During the chatter identification, the measured vibration signal within 50 ms is processed every 25 ms. Since the sampling frequency was set as 10,240 Hz, the length of the sliding window is selected as 512 sample data with overlapping.

To begin with, we conducted robotic drilling tests with tool I and aluminum alloy 7075 under different drilling parameters. Figure 3 illustrates the time-domain diagram, the identification result and the time–frequency spectrogram for the vibration signal. The spindle speed was 3000 rpm, and feed rate was 1.0 mm/s. According to Fig. 3a, it is seen that the amplitude of the vibration signal increases rapidly after t = 0.263 s. Robotic drilling chatter occurs during the drilling process under this cutting parameters, and the amplitude of the vibration signal even reached 185 m/s2 after the chatter was fully developed. At the beginning, energy entropy is relatively small and grows slowly. However, it can be seen from Fig. 3b that the energy entropy of the vibration signal increases rapidly after t = 0.128 s. Look closely at the corresponding time interval in Fig. 3a, it is found that the amplitude of the vibration signal begins to increase after t = 0.128 s. Therefore, the selected statistical energy entropy is very sensitive to the change of energy distribution. According to Fig. 3b, the chatter is recognized at around t1 = 0.220 s by the proposed method. As shown in Fig. 3c, obvious chatter frequency appeared around t = 0.270 s in the high-resolution time–frequency spectrogram. Comparison between the time when chatter is detected and the time when obvious chatter frequency occurs shows that the proposed identification algorithm can effectively recognize the chatter before it is fully developed, which leaves valuable time for the subsequent chatter suppression measures. Moreover, Fig. 3b demonstrates that the proposed identification algorithm recognize the chatter 14 ms earlier than the synchroextracting-based method in reference Tao et al. (2019a).

Fig. 3
figure 3

The monitoring result and SET spectrogram for vibration signal with spindle speed 3000 rpm and feed rate 1.0 mm/s

Then, experimental results with different spindle speed and feed rate combinations were analyzed. The time-domain diagram, the identification result and the time–frequency spectrogram for the vibration signal with spindle speed 4500 rpm and feed rate 3.2 mm/s is presented in Fig. 4. The workpiece was aluminum alloy AL7075 as well. It can be seen from Fig. 4a that the amplitude of the vibration signal increases rapidly after t = 0.281 s, and the robotic drilling chatter occurs. With a short period time of chatter development, the amplitude of the vibration signal has exceeded 70 m/s2. According to the identification result Fig. 4b, the proposed method recognizes the occurrence of chatter near t1 = 0.242 s. At the same time, the corresponding time–frequency spectrum Fig. 4c shows the obvious chatter frequency appears at t = 0.293 s. Consequently, it demonstrates that the vibration state of the robotic drilling system can be well recognized by the proposed chatter identification method. In addition, the result shows that the proposed identification algorithm detects the chatter 17 ms earlier than the synchroextracting-based method, which further verify the effectiveness of the proposed identification method.

Fig. 4
figure 4

The monitoring result and time–frequency spectrogram for the vibration signals with spindle speed 4500 rpm and feed rate 3.2 mm/s

Also, for the sake of further verifying the proposed LMSST-based chatter identification algorithm, robotic drilling tests with tool II and aluminum alloy 6061 under different drilling parameters were conducted. Figure 5 shows the time-domain diagram, the identification result and the time–frequency spectrogram for the vibration signal with spindle speed 3600 rpm and feed rate 3.6 mm/s. According to Fig. 5a, the amplitude of the vibration signal increases substantially after t = 0.257 s, and the chatter occurs during the robotic drilling process. As illustrated in Fig. 5b, the energy entropy is relatively small and grows slightly at the beginning stage. The energy entropy increases faster after t = 0.101 s, but then starts to decrease at t = 0.152 s. A closer look at Fig. 5a, b reveals that the energy entropy is very sensitive to changes in the amplitude of the vibration signal. Then, the energy entropy increases rapidly again after t = 0.202 s. Finally, the chatter is recognized at t1 = 0.215 s by the proposed identification algorithm, and t2 = 0.239 s by method in Tao et al. (2019a). The result demonstrates that the proposed identification algorithm detects the chatter earlier than the synchroextracting-based method. Meanwhile, the corresponding high-resolution time–frequency spectrum Fig. 5c shows the obvious chatter frequency appears near t = 0.295 s. Therefore, the proposed identification method can effectively recognize the chatter at its early transition stage, which is practical for the subsequent chatter suppression.

Fig. 5
figure 5

The time-domain diagrams and SET spectrogram of vibration signals with spindle speed 3600 rpm and feed rate 3.6 mm/s

Figure 6 illustrates the time-domain diagram, the identification result and the high-resolution time–frequency spectrogram for the vibration signals with spindle speed 3000 rpm and feed rate 6.0 mm/s. The workpiece was also aluminum alloy AL6061. As shown in Fig. 6a, the amplitude of the vibration signal increases substantially after t = 0.282 s, and the chatter occurs during the robotic drilling process. After a short period time of rapid development, the amplitude of the vibration signal has exceeded 100 m/s2. It is seen from Fig. 6b that the energy entropy decreases slowly in the beginning, and then remains essentially constant. After t = 0.175 s, it increases rapidly. According to Fig. 6b, the chatter is recognized near t1 = 0.226 s by the proposed identification algorithm. Meanwhile, the obvious chatter frequency appears at t = 0.308 s in the corresponding time–frequency spectrum Fig. 6c. Consequently, it demonstrates that the vibration state of the robotic drilling system can be well recognized by the proposed chatter identification method. In addition, it can be seen that the proposed identification algorithm detects the chatter 27 ms earlier than the synchroextracting-based method.

Fig. 6
figure 6

The detection result and SET spectrogram for the vibration signals with spindle speed 3000 rpm and feed rate 6.0 mm/s

Conclusion

In this study, a novel method based on the matrix notch filter and local maximum synchrosqueezing transform has been proposed for the timely and accurate chatter identification of robotic drilling. The optimal matrix notch filter is designed to fully remove the spindle frequency and corresponding harmonic components from the measured vibration signal. The local maximum synchrosqueezing transform (LMSST) that achieves highly concentrated time–frequency representation and allows for perfect signal reconstruction is employed to obtain high-resolution time–frequency information of the non-stationary filtered acceleration signal. Then, the vibration signal is divided into finite equal-width frequency bands, and the corresponding sub-signal for each frequency band is obtained by summing the corresponding coefficient of the LMSST. Finally, the statistical energy entropy is calculated and utilized to accurately depict the non-uniformity of energy distribution during the chatter incubation process. Robotic drilling experiments with different drilling parameters and workpiece materials have been conducted to verify the effectiveness of the proposed method. The results demonstrate that the proposed method can effectively detect chatter at an early stage, and can detects chatter earlier than the synchroextracting-based method. In conclusion, the proposed robotic drilling chatter identification algorithm has a high potential for industrial applications.