원시데이터 수집 시스템
선정목록으로

Differentiable Short-Time Fourier Transform Window Length Selection Driven by Cyclo-Stationarity

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(4) 카시트 모듈

기본 정보

저자
  1. Douw Marx — KU Leuven
  2. Konstantinos Gryllias — KU Leuven
DOI
10.36001/phmconf.2023.v15i1.3566
저널
Annual Conference of the PHM Society
발행년도
2023
발행기관
–
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.36001/phmconf.2023.v15i1.3566
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4388115986

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (4) 카시트 모듈
R&D 측면
분석·모델링
확신도
0.60
근거 용어
condition monitoring, rotating machinery, rolling element bearings, fault detection, Short-Time Fourier Transform
판단 근거
이 논문은 회전 기계(베어링)의 결함을 진단하기 위한 신호 처리 알고리즘(STFT) 최적화에 관한 연구입니다. 코오롱인더스트리의 직접적인 제품은 아니나, 자동차 부품(카시트 모듈 등)이나 산업용 컴파운드/엔지니어링 플라스틱이 적용되는 기계 시스템의 상태 모니터링 및 예지 보전(PHM) 기술에 응용될 수 있습니다.
R&D 활용 포인트
자동차 부품 및 산업용 소재가 적용된 회전 기계 시스템의 고장 진단 및 상태 모니터링 알고리즘 고도화에 활용 가능합니다.
평가 입력
본문 34,246자 중 30,032자 발췌

초록

The Short-Time Fourier transform is widely applied in the condition monitoring of rotating machinery. Even so, selecting the optimal window length for the Short-Time Fourier Transform remains a challenge. This work presents a procedure for adapting the Short Time Fourier Transform algorithm to be differentiable with respect to window length by using continuous window functions defined over the entire input signal duration. Thanks to this modification, a differentiable loss criterion can be defined to measure the Short-Time Fourier quality, and the gradient of the loss criterion with respect to window length can be computed. The optimal window length for a given loss criterion can then be efficiently solved for using a gradient-based optimization algorithm. Results from a simulated bearing dataset and three experimental bearing datasets are used to compare the optimal spectrograms obtained using different loss criteria. Specifically, a sparsity-based loss criterion is compared with two loss criteria inspired by the characteristic cyclo-stationarity machine of faults in rotating machinery. The results demonstrate the effectiveness of the differentiable window length selection method and highlight the importance of selecting appropriate loss criteria for defining STFT quality. Loss criteria that account for the cyclo-stationary nature of the signals are shown to be less likely to target single high-amplitude impulsive events compared to the sparsity-based loss criterion.

본문 34,246자

본문 펼치기
# Differentiable Short-Time Fourier Transform Window Length Selection Driven by Cyclo-Stationarity Douw Marx <sup>1,2</sup> and Konstantinos Gryllias <sup>1,2</sup> 1 _Department of Mechanical Engineering, Division LMSD, KU Leuven,_ _Celestijnenlaan 300, Box 2420, 3001 Leuven, Belgium_ _douw.marx@kuleuven.be_ _konstantinos.gryllias@kuleuven.be_ 2 _Flanders Make@KU Leuven, Belgium_ ABSTRACT The Short-Time Fourier transform is widely applied in the condition monitoring of rotating machinery. Even so, selecting the optimal window length for the Short-Time Fourier Transform remains a challenge. This work presents a procedure for adapting the Short Time Fourier Transform algorithm to be differentiable with respect to window length by using continuous window functions defined over the entire input signal duration. Thanks to this modification, a differentiable loss criterion can be defined to measure the Short-Time Fourier quality, and the gradient of the loss criterion with respect to window length can be computed. The optimal window length for a given loss criterion can then be efficiently solved for using a gradient-based optimization algorithm. Results from a simulated bearing dataset and three experimental bearing datasets are used to compare the optimal spectrograms obtained using different loss criteria. Specifically, a sparsity-based loss criterion is compared with two loss criteria inspired by the characteristic cyclo-stationarity nature of faults in rotating machinery. The results demonstrate the value of a continuous and differentiable window length selection method and highlight the importance of selecting appropriate loss criteria for defining STFT quality. Further, loss criteria that account for the cyclo-stationary nature of the signals are shown to be less likely to target single high-amplitude impulsive events compared to the sparsity-based loss criterion. 1. OPTIMAL WINDOW SELECTION FOR THE SHORT- TIME FOURIER TRANSFORM The Short-Time Fourier transform (STFT) is a widely used method for analysing non-stationary signals as encountered in rotating machinery. It yields an informative time-frequency Douw Marx et al. This is an open-access article distributed under the terms of the Creative Commons Attribution 3.0 United States License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. representation by segmenting a signal with time-varying properties into consecutive windows and taking the Fourier transform of each window. The Heisenberg Uncertainty principle dictates that the utility of the resulting time-frequency representation is dependent on a trade-off between time and frequency resolution, as governed by the selected STFT window length. Hence, optimal STFT window length selection is a crucial step in the analysis of non-stationary signals as encountered in rotating machinery. As an alternative to searching for the optimal window length by trial and error or by evaluating all possible window lengths, we propose a STFT with associated loss criteria that can efficiently be optimised with respect to window length. The proposed STFT and loss criteria are a function of continuous window length, meaning that many conventional optimisation methods designed for continuous functions can be applied to conveniently solve for optimal window length. Furthermore, the proposed STFT is differentiable, allowing for a particularly efficient search of optimal window length using gradient-based optimizers. A differentiable STFT can be useful for many signal processing tasks, but in this work, we focus on the application of the differentiable STFT to the condition monitoring of rolling element bearings. Specifically, we consider different unsupervised loss criteria for measuring spectrogram quality, including criteria that exploit knowledge of the periodic impulses expected in faulty rolling element bearings. Previous work concerned with optimal STFT window length selection adjusted the window size in the frequency domain by defining the window size as a fixed number of cycles at each frequency (Mateo & Talavera, 2018), adjusted the window length based on the derivative of the instantaneous frequency (Xie, Lin, Lei, & Liao, 2012) or selected the window 1 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 length by optimising the cone kernel distribution (Czerwinski & Jones, 1997). More recent window selection methods exploited modern advances in automatic differentiation (Paszke et al., 2017) that make it possible to differentiate intricate loss criteria and optimise them using gradient-based optimisation methods. Zhao et al. (2021), estimated optimal window parameters for the STFT by computing the gradients of the STFT with respect to window length and solving for the optimal window length by gradient-based optimisation. This differentiable STFT is further combined with neural networks and applied to a sound classification problem both for the case where the optimal window length is constant and for the case where it can vary in time. Similarly, Lieber et al. (2022) proposed a differentiable STFT and applied it to STFT frequency tracking as well as spoken digit classification. In contrast with Zhao et al. (2021), a constant FFT size is used where a Hann window is zero-padded to match the full signal length, thereby making the STFT differentiable. The differentiability of the approach with respect to window length is proven, both for constant hop length and constant overlap. This work was then further extended by optimising for a time-dependent adaptive window length (Leiber, Marnissi, Barrau, & Badaoui, 2023). In other related work, Fang et al. (Fang, Hu, Yang, Cao, & Jia, 2022) employed a differentiable framework for finding optimal filters for the deconvolution of bearing fault signals. In this work, we propose a simplified variant of the differentiable STFT which neither requires a variable FFT size with changing window length (Zhao et al., 2021) nor zero padding (Leiber et al., 2022). We further introduce three unsupervised loss criteria that measure the STFT quality as function of window length. An unsupervised loss criteria implies that labeled samples are not used to solve a supervised problem as in earlier work (e.g. sound classification (Zhao et al., 2021), frequency tracking (Leiber et al., 2022)). Since faulty machine data are generally not available to be used as target labels in the condition monitoring machines, an alternative loss criterion is required to drive the optimal window length optimisation problem. Although kurtosisbased metrics that encourage spectrogram sparsity have successfully been used to measure STFT quality (Zhao et al., 2021), such metrics are often ineffective for signals from rotating machinery that include impulsive signal components (Wodecki, Michalak, & Zimroz, 2021). Therefore, in addition to a differentiable STFT, we introduce three different loss criteria for optimizing the STFT window length. We demonstrate the benefit of accounting for the cyclo-stationarity nature of rolling element bearing signals in the design of the these loss functions, thereby exploiting the knowledge that faults in rolling element bearings cause the resonate fre quency of the machine to be modulated by a characteristic fault frequency (McFadden & Smith, 1984). We finally show that the usefulness of a differentiable STFT depends on selecting an appropriate loss criterion that can appropriately measure the quality of the STFT for a given window length. The paper is structured as follows. In Section 2 we show how the STFT can be made differentiable with respect to window length by multiplying the signal with a set of windows having many values close to zero. Section 3 presents three loss functions for measuring spectrogram quality that can be optimised with respect to window length. Next, the effectiveness of the proposed gradient-based optimisation loss functions is demonstrated in Section 4 using a simulated bearing fault signal. Finally, the same method is applied to three experimental signals in Section 5 and conclusions are drawn in Section 6. 2. A DIFFERENTIABLE STFT The STFT of signal _x_ [ _i_ ] of length _L_ sampled at discrete time index _i_ is defined as: Note that this modification of the STFT is done exclusively for the sake of differentiability and that the corresponding increase in the frequency resolution does not necessarily contribute additional information to the differentiable STFT (Leiber et al., 2022). Ultimately, this procedure corresponds to an element-wise multiplication of the signal _x_ [ _i_ ] with a window function _wθ_ ( _i, m_ ), centred at _m_ and taking values close to zero outside the interval [ _m −_ <sup>_<u>N</u>_</sup> 2 <sup>_, m_</sup> <sup>+</sup> <sup>_<u>N</u>_</sup> 2 <sup>].</sup> <sup>This procedure is demon-</sup> strated graphically in the left hand side of Figure 1, where a 2 _F_ [ _m, k_ ] = _N_ _−_ 1 _n_ =0 _x_ [ _m_ + _n_ ] _w_ [ _n_ ] _e_ <sup>_−j_</sup> <sup><u>2</u></sup> _N_ <sup>_<u>π</u>_</sup> <sup>_kn_</sup> _,_ (1) where _i_, _n_, _k_ and _m_ are the discrete indexes of the signal time, window time, FFT frequency bin and resampled window time respectively, with _w_ a window function of length _N_ . The number of samples in a window, _N_, will determine the time-frequency resolution of the resulting STFT. Longer windows will better capture the frequency content of the signal but will also lead to reduced time resolution. To solve for the optimal window length using gradient-based optimization, Eq. 1 needs to be differentiable with respect to the window length. This is done by making the window function _w_ a function of signal sample time _i_ rather than the conventional window time _n_ . Consequently, the size of the FFT for each of the windows becomes equal to the signal length _L_ : _F_ ˆ _θ_ [ _m, k_ ] = _L−_ 1 _i_ =0 _x_ [ _i_ ] _wθ_ ( _i, m_ ) _e_ <sup>_−j_</sup> <sup><u>2</u></sup> _L_ <sup>_<u>π</u>_</sup> <sup>_ki_</sup> (2) ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 stack of signals are element-wise multiplied with a stack of time-offset windows. In this work, the windowing function _w_ is a Gaussian window, although it could in principle be parameterized by multiple free parameters as for the generalized Gaussian window. _wθ_ ( _i, m_ ) = exp _−_ - <u>6(</u> _<u>i −</u>_ _<u>m</u>_ <u>)</u> _θ_ �2 <sup>�</sup> (3) _L_ 1 aims to find the window length that leads to a maximally sparse STFT. This metric, called the concentration, is based on the kurtosis (Zhao et al., 2021) and is defined as: _L_ 1( _θ_ ) = <sup>_<u>c</u>_</sup> <sup><u>4(</u></sup> <sup>_<u>Sθ</u>_</sup> <sup><u>)</u></sup> with _cp_ ( _v_ ) = _|v|_ <sup>_p_</sup> (7) _c_ 2( _Sθ_ ) _L_ 2 is inspired by cyclostationary analysis in condition monitoring of rotating machinery (Antoni, 2009) and accounts for the periodic impulses of energy characteristic of bearing faults. This is done by maximizing the envelope spectrum over a range of expected fault frequencies. The envelope, _Eθ_ is computed by averaging the magnitude of the spectrogram over the frequency axis. The window function _w_ (bottom left corner of Figure 1) is parameterised by continuous window length _θ_, serving as a proxy for the window length _N_ . In this work a Gaussian window function is used rather than a Hann window as in (Leiber et al., 2022) since the window function is close to zero for large values of _n_, meaning that the window does not require zero padding as the window length changes during optimisation. In Eq. 3, six standard deviations of the Gaussian window are considered as the full window length _N_, with the window function taking very small values outside of this region (Zhao et al., 2021). In this work, _M_ windows are equally spaced over the entire signal duration with window hop length or stride _s_ = - _ML_ �, _Eθ_ [ _m_ ] = <sup><u>1</u></sup> _N_ _N_ _−_ 1 _k_ =0 _Sθ_ [ _m, k_ ] (8) - _<u>L</u>_ _M_ signal duration with window hop length or stride _s_ = - _ML_ �, such that _m ∈{s,_ 2 _s,_ 3 _s, . . ., Ms}._ (4) The number of windows _M_ can be as large as computational resources allow but should be sufficiently large to ensure that the new window sample rate can capture the fault frequency. In this work, we chose the number of windows _M_ such that are at least 15 windows between two fault events. Thanks to the modified STFT formulation in Eq. 2 the STFT is differentiable with the window length proxy _θ_ . The total loss then consists of summing the envelope spectrum Fourier coefficients for a range of cyclic frequency indices _C_ = _{ca, ca_ + 1 _, . . ., cb}_ around the expected fault frequency. A range of frequencies is specified to ensure that the loss function does not fit the envelope to a non-fault-related signal component like the rotation or gear mesh frequency. Similar to _L_ 2, _L_ 3 also accounts for the periodic impulses of energy typical of bearing faults but does not assume that the envelope signal will be sinusoidal as in _L_ 2. Instead, _L_ 3 maximizes the sum of the autocorrelation of the envelope for a range of lag values _P_ = _{pa, pa_ + 1 _, . . ., pb}_ around the expected lag between fault impulses. - _M_ _−_ 1 _m_ =0 _Eθ_ [ _m_ ] _e_ <sup>_−j_</sup> <sup><u>2</u></sup> _M_ <sup>_<u>π</u>_</sup> <sup>_cm_</sup> _L_ 2( _θ_ ) = _c∈C_ (9) _L_ 3( _θ_ ) = (10) _<u>∂F</u>_ <sup>ˆ</sup> _<u>θ</u>_ <u>[</u> _<u>m, k</u>_ <u>]</u> = _∂θ_ _L−_ 1 _i_ =0 <sup><u>(</u></sup> <sup>_<u>i, m</u>_</sup> <sup><u>)</u></sup> _e_ <sup>_−j_</sup> <sup><u>2</u></sup> _L_ <sup>_<u>π</u>_</sup> _∂θ_ _x_ [ _i_ ] <sup>_<u>∂w</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i, m</u>_</sup> <sup><u>)</u></sup> _L_ <sup>_<u>π</u>_</sup> <sup>_ki_</sup> (5) - _M_ _−_ 1 _m_ =0 _Eθ_ [ _m_ ] _Eθ_ [ _m_ + _p_ ] _p∈P_ A differentiable metric for STFT quality can now be computed from the STFT, backpropagating the computed loss function gradients and optimising the windowing parameters (Right hand side of Figure 1). 3. CYCLO-STATIONARY LOSS FUNCTIONS FOR DEFIN- ING STFT QUALITY We consider three loss criteria namely _L_ 1, _L_ 2 and _L_ 3 for quantifying STFT quality for the purpose of bearing fault detection. In all cases, the squared magnitude of the STFT, or spectrogram, is used in the loss function and visualisation. In this work, the range of cyclic frequencies and lag values used in _L_ 2 and _L_ 3 are chosen to span the range [0 _._ 9 _fc,_ 1 _._ 1 _fc_ ] where _fc_ is the expected fault frequency for given rotation speed. Consequently, the range of cyclic frequencies and lag values are defined as: - <u>1</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>1</u> _<u>fcM</u>_ _fs_ - <u>1</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>1</u> _<u>fs</u>_ _fc_ _._ (11) _ca,b_ = _pa,b_ = _Sθ_ [ _m, k_ ] = 2 (6) ��� _F_ ˆ _θ_ [ _m, k_ ]��� All operations required for computing any of the loss func 3 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 Stack signals <u>Stack</u> windows Fourier transform (Differentiable) Elementwise multiplication Compute loss criterion Backpropagate gradients Take optimizer step Windowing parameters Figure 1. Procedure: Multiplication of the signal with a window function that has the same length as the input signal leads to a differentiable STFT. After computing a loss criterion measuring the spectrogram quality, the optimal window length can be solved for using a gradient based optimiser. tions can be conveniently differentiated by automatic differentiation. Since the gradient of the STFT with respect to the window length is known from Eq. 5, the gradient of the loss with respect to the window length can be computed using the chain rule. Table 1. Phenomenological model parameters Simulation parameter Value Sampling Rate 20.48 kHz Signal Duration 0.7 s Transient amplitude mean 1 _m/s_ <sup>2</sup> Transient amplitude standard deviation 0.1 _m/s_ <sup>2</sup> Measurement Noise standard deviation 0.33 _m/s_ <sup>2</sup> Fault mode Outer race Ball diameter 8.4 mm Pitch circle diameter 71.5mm Number of rolling elements 16 Carrier frequency 4230 Hz Transient damping ratio 0.05 Contact angle 15.17 Degrees Operating speed 500 RPM tive function _L_ 2 in Eq. 9. The optimisation trajectory from the optimisation start point, traced by the optimiser, is superimposed on the response surface, demonstrating that the optimiser can find the optimal window length (indicated with _∗_ ) for the prescribed loss function. Further, to demonstrate the time-frequency resolution tradeoff, spectrograms for non-optimal candidate window lengths A and C, annotated in Figure 3a, are shown in Figures 3b and 3c respectively. Candidate A has a low frequency resolution, while candidate C has a low time resolution. All optimal window lengths obtained in this paper for a given loss criterion will necessarily make a compromise between time and frequency resolution, with certain loss criteria favoring higher 4 _<u>∂L</u>_ _<u>∂L∂θ</u>_ <sup>=</sup> _∂_ <sup>_<u>∂L</u>_</sup> _F_ <sup>ˆ</sup> _θ_ _∂F_ <sup>ˆ</sup> _θ_ _<u>∂F</u>_ <sup>ˆ</sup> _<u>θ</u>_ (12) _∂θ_ Finally, the gradient is used in a gradient-based optimiser to update the optimal window until convergence. 4. OPTIMAL STFT WINDOW LENGTH SELECTION FOR A SIMULATED BEARING SIGNAL In this section, the proposed optimisation algorithm is applied to a simulated bearing fault signal. The signal, shown in Figure 2, is based on a phenomenological bearing model (McFadden & Smith, 1984). Periodic excitations of the natural frequency of the machine when a rolling element passes through a fault region is modelled as a a first-order time response convolved with a Dirac comb. Although no slip of rolling elements are present in the simulation, the amplitude _a_ of the bearing impulses are normally distributed, _a ∼N_ ( _µ_ = 1 _, σ_ = 0 _._ 1), and the signal is contaminated with Gaussian noise, _ν_ _∼N_ ( _µ_ = 0 _, σ_ = 0 _._ 1). Further properties of the simulated signal are listed in Table 1. To demonstrate the gradient-based optimization of a STFT loss criteria, Figure 3a shows the loss landscape of the objec ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 is dependent on the selected loss criteria, with the loss criteria inspired by cyclo-stationarity analysis tending to choose optimal window lengths that capture most periodic impulses present in the signal. Figure 2. Synthetic outer race fault bearing signal contaminated with noise. time resolution, and others favoring higher frequency resolution. The choice of loss criterion and the resulting optimal window length can ultimately influence machine diagnosis, either directly, or in downstream signal processing tasks that employ the STFT. For instance, for the bearing diagnostics problem, a window length resulting in a very high frequency resolution but low time resolution could fail to capture all periodic impulses in time. As a result, the periodic fault signature characteristic of a bearing fault might not be detected in the spectrogram. Conversely, a loss criteria that tends to select window lengths with very high time resolution will have a coarse frequency resolution meaning that the specific resonant frequency bands that convey the bearing fault information might not be present in the STFT or downstream signal processing methods that make use of the STFT. After convergence of an optimizer minimizing the example loss function _L_ 2 in Figure 3a, the optimal window length is obtained (B* in Figure 3a) and the spectrogram with optimal window length can be visualized. Spectrograms obtained after solving for the optimal window length according to each of the three loss criteria _L_ 1, _L_ 2 and _L_ 3 are shown in Figures 4a, 4b and 4c respectively. In all cases the fault information is more clearly visible in the spectrogram as compared to the time domain signal shown in Figure 2. However, even though all of the aforementioned time-frequency representations are for exactly the same signal, it is clear that different loss criteria can lead to different optimal spectrograms. For example, the sparsitybased metric _L_ 1 (Figure 4a) tends to magnify single fault impacts in the spectrogram, thereby disregarding weaker impulses present in the signal that could have have confirmed the presence of regular repeating impulses characteristic of a fault. Conversely, metrics that account for the expected cyclostationarity in a faulty bearing, namely _L_ 2 and _L_ 3 (Figures 4b and 4c), have impulses of all transients at a similar intensity, but tend to smear energy in the spectrogram over the time axis. Ultimately, the optimal window length solution Finally, the same simulated signal is used to demonstrate the benefits of having access to gradient information from the differentiable STFT during window length optimisation. For a random starting window length in the continuous range of (0 samples, 200 samples), the median number of function evaluations required to reach a window length optimisation convergence of one signal sample is recorded in Table 2. Four different optimisation methods are applied to each of the proposed loss criteria in Eqs. 7, 9 and 10, with each problem solved 30 times to obtain the median recorded in the table. Table 2. Median (30 trails) number of function evaluations required to converge to a window length tolerance of one sample. Optimisation algorithms that exploit the gradients provided by the differentiable STFT tend to require fewer loss function evaluations to reach convergence. Loss Gradient-based Gradient-free Adam BFGS Nelder-Mead Powell _L_ 1 9.0 20.0 60.5 66.5 _L_ 2 23.0 11.5 63.0 63.5 _L_ 3 16.0 9.5 67.0 67.0 Two of the optimisation algorithms (Adam, BFGS) make use of the gradient of the loss criterion with respect to the window length. Conversely, the other two algorithms (Nelder-Mead, Powell) do not have access to the gradient information made available through the differentiable framework proposed in this work, allthough they still rely on the continuous nature of Eq. 2. The first notable result is that using a continuous window function allows for the use for standard optimisation algorithms that require significantly fewer function evaluations as compared to the 200 function evaluations that would have been required if the full grid of window lengths in the (0 _,_ 200) range (tolerance of one sample) were computed. The second result is that the gradient-based optimisation algorithms requires significantly fewer function evaluations to reach the desired tolerance as compared to the gradient-free methods. In all of the cases tested here, even if the computational cost of computing the gradient equally expensive as computing the loss, the gradient based methods would be more computationally efficient on the whole. Therefore, the formulation presented here does not only yield smooth and continuous optimisation problems that can be solved using standard optimisation algorithms, but additionally, the differentiability of the approach ensures that the window length can efficiently be optimized for using gradient based optimisation. 5 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 (a) Loss landscape (b) Candidate A: Low frequency resolution. (c) Candidate C: Low time resolution. Figure 3. Optimisation landscape and candidate solutions for _L_ 2. The window lengths for non-optimal candidate solutions A and C are indicated on the loss landscape. 5. APPLICATION ON THREE EXPERIMENTAL DATASETS The proposed window length selection method is evaluated on three experimental datasets, including two public datasets (Qiu, Lee, Lin, & Yu, 2006; _Case Western Reserve University_ _Bearing_ _Dataset_, n.d.) and an in-house dataset measured at KU Leuven, Belgium. The dataset specifications are listed in Table 3. Table 3. Experimental dataset specifications. Dataset CWRU IMS KUL Signal name 210 Test 2, Bearing 1 Fault mode Inner Race Outer Race Inner Race Fault frequency [Hz] 159.92 236.43 193.51 Sampling frequency [Hz] 12000 20480 51200 Duration [s] 0.58 0.2 0.2 Models in the rest of this paper are optimised using the Adam optimiser with 100 optimisation steps and a learning rate of 50 to ensure full convergence. The learning rate is comparatively large since the optimisation problem is directly solved for continuous window length in number of samples. Signals are further standardized to have a standard deviation of 1000 to avoid machine precision issues when computing the loss. The optimal spectrograms for a given dataset and loss criterion are shown in Figures 5 to 7. Each set of figures show spectrograms for exactly the same signal from a given data set, but use different loss criteria for defining the window length optimally. Interestingly, the choice of loss criterion has a greater influence on some data sets as compared to others. For example, different loss criteria lead to very similar spectrograms for the IMS dataset (Figure 5), with none of the loss criteria leading to spectrograms that are different from the others. However, for the CWRU (Figure 6) and KUL dataset (Figure 7) the choice of loss criteria can have a significant influence in the resulting optimal spectrogram with some loss criteria defining significantly different optimal time-frequency trade-offs than others. Similar to the results obtained for the simulated data set, the sparsity loss function _L_ 1 tends to favour shorter optimal window lengths that magnify single impulsive events that are not necessarily related to the bearing fault frequency. Of the tested experimental signals, this behaviour is most apparent 6 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 (a) _L_ 1: Sparsity loss (b) _L_ 2: Envelope spectrum loss (c) _L_ 3: Autocorrelation loss Figure 4. Optimal spectrograms for different loss criteria for simulated bearing fault signal. The sparsity-based loss _L_ 1 tends to favour time resolution, magnifying single fault impacts in the spectrogram while the cyclo-stationarity based loss functions _L_ 2 and _L_ 3 smear energy in the spectrogram over the time axis. for the KUL dataset (Figure 7a). Here, the _L_ 1 sparsity loss (Figure 7a) chooses a window length that highlights a small subset of impulses and suppresses other impulses to the extent that they are barely perceptible. In contrast, the loss criteria _L_ 2 and _L_ 3 (Figures 7b and 7c), that account for the cyclostationary nature of the signal, tend to show all individual impulses at a similar intensity, albeit at the cost of having the impulses more smeared over the time axis. Interestingly, for the CWRU data set (Figure 6), the auto correlation loss _L_ 3 (Figure 6c) also suffers from a similar problem as the sparsity loss _L_ 3 with the optimal window length choosing to highlight a selection of high amplitude samples. Ultimately, the results demonstrate that different loss criteria for defining spectrogram quality can lead to very different selected optimal window lengths, highlighting the importance of selecting the correct loss function for a given problem. The choice is however application specific. For instance, one one can argue that for the KUL data (Figure 7) the sparse spectrogram of loss criterion _L_ 1 (Figure 7a) will be most useful for diagnosing a fault visually from the spectogram. On the other hand, for cases where the spectrogram is used in a subsequent signal processing step focused on the periodicity of the impulses in the spectrogram (e.g. cyclic modulation spectrum), loss criterion _L_ 2 and _L_ 3 would be more appropriate. Depending on the desired result in the application, and the data at hand, the most appropriate loss criterion must be be selected. 6. CONCLUSIONS AND FUTURE WORK This paper presented a framework for making the STFT differentiable with respect to window length by using a continuous window over the entire signal duration. Three different loss functions for quantifying the spectrogram quality are applied to a simulated dataset and three experimental datasets. The results demonstrate the value of a continuously variable window length that allows for efficiently solving for the optimal window length using gradient-free or gradient-based optimisers. Further, the importance of the appropriate unsupervised loss criterion is made apparent, with a sparsity-based loss criteria often highlighting isolated, high-amplitude transients, while loss criteria that respect the periodic nature of the bearing fault signals yield impulses with a more uniform power at each fault impact in the spectrogram. In future work, the proposed framework can be generalised to infer multiple window parameters and can be applied for window length selection in popular cyclo-stationary indicators 7 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 (a) IMS, _L_ 1: Sparsity loss (b) IMS, _L_ 2: Envelope spectrum loss (c) IMS, _L_ 3: Autocorrelation loss Figure 5. Optimal spectrograms for different loss criteria: IMS dataset. like the cyclic spectral correlation (Antoni, Xin, & Hamzaoui, 2017). 8 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 (a) CWRU, _L_ 1: Sparsity loss (b) CWRU, _L_ 2: Envelope spectrum loss (c) CWRU, _L_ 3: Autocorrelation loss Figure 6. Optimal spectrograms for different loss criteria: CWRU dataset. (a) KUL, _L_ 1: Sparsity loss (b) KUL, _L_ 2: Envelope spectrum loss (c) KUL, _L_ 3: Autocorrelation loss Figure 7. Optimal spectrograms for different loss criteria: KUL dataset. 9 ANNUAL CONFERENCE OF THE PROGNOSTICS AND HEALTH MANAGEMENT SOCIETY 2023 ACKNOWLEDGMENT The authors gratefully acknowledge the support of the European Commission under the Marie Sklodowska-Curie program through the ETN MOIRA project (GA 955681). REFERENCES Antoni, J. (2009, May). Cyclostationarity by examples. _Me-_ _chanical_ _Systems_ _and_ _Signal_ _Processing_, _23_ (4), 987– 1036. doi: 10.1016/j.ymssp.2008.10.010 Antoni, J., Xin, G., & Hamzaoui, N. (2017, August). Fast computation of the spectral correlation. _Mechanical_ _Systems_ _and_ _Signal_ _Processing_, _92_, 248–277. doi: 10.1016/j.ymssp.2017.01.011 _Case_ _Western_ _Reserve_ _University_ _Bearing_ _dataset._ (n.d.). https://engineering.case.edu/bearingdatacenter. Czerwinski, R., & Jones, D. (1997, February). Adaptive short-time Fourier analysis. _IEEE_ _Signal_ _Processing_ _Letters_, _4_ (2), 42–45. doi: 10.1109/97.554468 Fang, B., Hu, J., Yang, C., Cao, Y., & Jia, M. (2022, Febru ary). A blind deconvolution algorithm based on backward automatic differentiation and its application to rolling bearing fault diagnosis. _Measurement_ _Science_ _and_ _Technology_, _33_ (2), 025009. doi: 10.1088/13616501/ac3fc7 Leiber, M., Barrau, A., Marnissi, Y., & Abboud, D. (2022, August). A differentiable short-time Fourier transform with respect to the window length. In _2022 30th_ _European_ _Signal_ _Processing_ _Conference_ _(EUSIPCO)_ (pp. 1392–1396). Belgrade, Serbia: IEEE. doi: 10.23919/EUSIPCO55093.2022.9909963 Leiber, M., Marnissi, Y., Barrau, A., & Badaoui, M. E. (2023, June). Differentiable Adaptive Short-Time Fourier Transform with Respect to the Window Length. In _ICASSP_ _2023_ _-_ _2023_ _IEEE_ _International_ _Conference_ _on_ _Acoustics,_ _Speech_ _and_ _Signal_ _Processing_ _(ICASSP)_ (pp. 1–5). doi: 10.1109/ICASSP49357.2023.10095245 Mateo, C., & Talavera, J. A. (2018, June). Short-time Fourier transform with the window size fixed in the frequency domain. _Digital_ _Signal_ _Processing_, _77_, 13–21. doi: 10.1016/j.dsp.2017.11.003 McFadden, P., & Smith, J. (1984, September). Model for the vibration produced by a single point defect in a rolling element bearing. _Journal_ _of_ _Sound_ _and_ _Vibration_, _96_ (1), 69–82. doi: 10.1016/0022-460X(84)90595-9 Paszke, A., Gross, S., Chintala, S., Chanan, G., Yang, E., 10 DeVito, Z., ... Lerer, A. (2017). Automatic differentiation in PyTorch. In _NIPS-W._ Qiu, H., Lee, J., Lin, J., & Yu, G. (2006, February). Wavelet filter-based weak signature detection method and its application on rolling element bearing prognostics. _Journal of Sound and Vibration_, _289_ (4-5), 1066– 1090. doi: 10.1016/j.jsv.2005.03.007 Wodecki, J., Michalak, A., & Zimroz, R. (2021, February). Local damage detection based on vibration data analysis in the presence of Gaussian and heavy-tailed impulsive noise. _Measurement_, _169_, 108400. doi: 10.1016/j.measurement.2020.108400 Xie, H., Lin, J., Lei, Y., & Liao, Y. (2012, July). Fast-varying AM–FM components extraction based on an adaptive STFT. _Digital Signal Processing_, _22_ (4), 664–670. doi: 10.1016/j.dsp.2012.02.007 Zhao, A., Subramani, K., & Smaragdis, P. (2021, June). Optimizing Short-Time Fourier Transform Parameters via Gradient Descent. In _ICASSP_ _2021_ _-_ _2021_ _IEEE_ _International_ _Conference_ _on_ _Acoustics,_ _Speech_ _and_ _Signal_ _Processing_ _(ICASSP)_ (pp. 736–740). doi: 10.1109/ICASSP39728.2021.9413704 BIOGRAPHIES Douw Marx received his B.S. and M.Sc degree in mechanical engineering from the Univeristy of Pretoria, South-Africa. He joined the Noise and Vibration Research Group in the Department of Mechanical Engineering, KU Leuven, Belgium as a PhD researcher in 2021. His research interests include fault detection using signal processing and unsupervised deep learning. Konstantinos Gryllias holds a 5 years engineering diploma degree and a PhD degree in Mechanical Engineering from National Technical University of Athens, Greece. He holds an associate professor position on vibroacoustics of machines and transportation systems at the Department of Mechanical Engineering of KU Leuven, Belgium. He is also the manager of the University Core Lab Flanders Make @ KU Leuven MPro of Flanders Make, Belgium. His research interests lie in the fields of condition monitoring, signal processing, prognostics and health management of mech. & mechatronic systems.

섹션 본문 61문단 · 24,937자

(제목 없음)

1The Short-Time Fourier transform is widely applied in the condition monitoring of rotating machinery.Even so, selecting the optimal window length for the Short-Time Fourier Transform remains a challenge.This work presents a procedure for adapting the Short Time Fourier Transform algorithm to be differentiable with respect to window length by using continuous window functions defined over the entire input signal duration.Thanks to this modification, a differentiable loss criterion can be defined to measure the Short-Time Fourier quality, and the gradient of the loss criterion with respect to window length can be computed.The optimal window length for a given loss criterion can then be efficiently solved for using a gradient-based optimization algorithm.Results from a simulated bearing dataset and three experimental bearing datasets are used to compare the optimal spectrograms obtained using different loss criteria.Specifically, a sparsity-based loss criterion is compared with two loss criteria inspired by the characteristic cyclo-stationarity nature of faults in rotating machinery.The results demonstrate the value of a continuous and differentiable window length selection method and highlight the importance of selecting appropriate loss criteria for defining STFT quality.Further, loss criteria that account for the cyclo-stationary nature of the signals are shown to be less likely to target single high-amplitude impulsive events compared to the sparsity-based loss criterion.OPTIMAL WINDOW SELECTION FOR THE SHORT-TIME FOURIER TRANSFORMThe Short-Time Fourier transform (STFT) is a widely used method for analysing non-stationary signals as encountered in rotating machinery.It yields an informative time-frequency Douw Marx et al.This is an open-access article distributed under the terms of the Creative Commons Attribution 3.0 United States License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

2representation by segmenting a signal with time-varying properties into consecutive windows and taking the Fourier transform of each window.

3The Heisenberg Uncertainty principle dictates that the utility of the resulting time-frequency representation is dependent on a trade-off between time and frequency resolution, as governed by the selected STFT window length.Hence, optimal STFT window length selection is a crucial step in the analysis of non-stationary signals as encountered in rotating machinery.

4As an alternative to searching for the optimal window length by trial and error or by evaluating all possible window lengths, we propose a STFT with associated loss criteria that can efficiently be optimised with respect to window length.The proposed STFT and loss criteria are a function of continuous window length, meaning that many conventional optimisation methods designed for continuous functions can be applied to conveniently solve for optimal window length.Furthermore, the proposed STFT is differentiable, allowing for a particularly efficient search of optimal window length using gradient-based optimizers.

5A differentiable STFT can be useful for many signal processing tasks, but in this work, we focus on the application of the differentiable STFT to the condition monitoring of rolling element bearings.Specifically, we consider different unsupervised loss criteria for measuring spectrogram quality, including criteria that exploit knowledge of the periodic impulses expected in faulty rolling element bearings.

6Previous work concerned with optimal STFT window length selection adjusted the window size in the frequency domain by defining the window size as a fixed number of cycles at each frequency (Mateo & Talavera, 2018), adjusted the window length based on the derivative of the instantaneous frequency (Xie, Lin, Lei, & Liao, 2012) or selected the window length by optimising the cone kernel distribution (Czerwinski & Jones, 1997).

7More recent window selection methods exploited modern advances in automatic differentiation (Paszke et al., 2017) that make it possible to differentiate intricate loss criteria and optimise them using gradient-based optimisation methods.Zhao et al. (2021), estimated optimal window parameters for the STFT by computing the gradients of the STFT with respect to window length and solving for the optimal window length by gradient-based optimisation.This differentiable STFT is further combined with neural networks and applied to a sound classification problem both for the case where the optimal window length is constant and for the case where it can vary in time.

8Similarly, Lieber et al. ( 2022) proposed a differentiable STFT and applied it to STFT frequency tracking as well as spoken digit classification.In contrast with Zhao et al. (2021), a constant FFT size is used where a Hann window is zero-padded to match the full signal length, thereby making the STFT differentiable.The differentiability of the approach with respect to window length is proven, both for constant hop length and constant overlap.This work was then further extended by optimising for a time-dependent adaptive window length (Leiber, Marnissi, Barrau, & Badaoui, 2023).

9In other related work, Fang et al. (Fang, Hu, Yang, Cao, & Jia, 2022) employed a differentiable framework for finding optimal filters for the deconvolution of bearing fault signals.

10In this work, we propose a simplified variant of the differentiable STFT which neither requires a variable FFT size with changing window length (Zhao et al., 2021) nor zero padding (Leiber et al., 2022).We further introduce three unsupervised loss criteria that measure the STFT quality as function of window length.An unsupervised loss criteria implies that labeled samples are not used to solve a supervised problem as in earlier work (e.g.sound classification (Zhao et al., 2021), frequency tracking (Leiber et al., 2022)).

11Since faulty machine data are generally not available to be used as target labels in the condition monitoring machines, an alternative loss criterion is required to drive the optimal window length optimisation problem.Although kurtosisbased metrics that encourage spectrogram sparsity have successfully been used to measure STFT quality (Zhao et al., 2021), such metrics are often ineffective for signals from rotating machinery that include impulsive signal components (Wodecki, Michalak, & Zimroz, 2021).Therefore, in addition to a differentiable STFT, we introduce three different loss criteria for optimizing the STFT window length.We demonstrate the benefit of accounting for the cyclo-stationarity nature of rolling element bearing signals in the design of the these loss functions, thereby exploiting the knowledge that faults in rolling element bearings cause the resonate fre-quency of the machine to be modulated by a characteristic fault frequency (McFadden & Smith, 1984).We finally show that the usefulness of a differentiable STFT depends on selecting an appropriate loss criterion that can appropriately measure the quality of the STFT for a given window length.

12The paper is structured as follows.In Section 2 we show how the STFT can be made differentiable with respect to window length by multiplying the signal with a set of windows having many values close to zero.Section 3 presents three loss functions for measuring spectrogram quality that can be optimised with respect to window length.Next, the effectiveness of the proposed gradient-based optimisation loss functions is demonstrated in Section 4 using a simulated bearing fault signal.Finally, the same method is applied to three experimental signals in Section 5 and conclusions are drawn in Section 6.

A DIFFERENTIABLE STFT

13The STFT of signal x[i] of length L sampled at discrete time index i is defined as:

14where i, n, k and m are the discrete indexes of the signal time, window time, FFT frequency bin and resampled window time respectively, with w a window function of length N .

15The number of samples in a window, N , will determine the time-frequency resolution of the resulting STFT.Longer windows will better capture the frequency content of the signal but will also lead to reduced time resolution.To solve for the optimal window length using gradient-based optimization, Eq. 1 needs to be differentiable with respect to the window length.This is done by making the window function w a function of signal sample time i rather than the conventional window time n.Consequently, the size of the FFT for each of the windows becomes equal to the signal length L:

16Note that this modification of the STFT is done exclusively for the sake of differentiability and that the corresponding increase in the frequency resolution does not necessarily contribute additional information to the differentiable STFT (Leiber et al., 2022).

17Ultimately, this procedure corresponds to an element-wise multiplication of the signal x[i] with a window function w θ (i, m), centred at m and taking values close to zero outside the interval

18. This procedure is demonstrated graphically in the left hand side of Figure 1, where a stack of signals are element-wise multiplied with a stack of time-offset windows.

19In this work, the windowing function w is a Gaussian window, although it could in principle be parameterized by multiple free parameters as for the generalized Gaussian window.

20The window function w (bottom left corner of Figure 1) is parameterised by continuous window length θ, serving as a proxy for the window length N .In this work a Gaussian window function is used rather than a Hann window as in (Leiber et al., 2022) since the window function is close to zero for large values of n, meaning that the window does not require zero padding as the window length changes during optimisation.In Eq. 3, six standard deviations of the Gaussian window are considered as the full window length N , with the window function taking very small values outside of this region (Zhao et al., 2021).

21In this work, M windows are equally spaced over the entire signal duration with window hop length or stride s = L M , such that m ∈ {s, 2s, 3s, . . ., M s}.

22The number of windows M can be as large as computational resources allow but should be sufficiently large to ensure that the new window sample rate can capture the fault frequency.

23In this work, we chose the number of windows M such that are at least 15 windows between two fault events.

24Thanks to the modified STFT formulation in Eq. 2 the STFT is differentiable with the window length proxy θ.

25A differentiable metric for STFT quality can now be computed from the STFT, backpropagating the computed loss function gradients and optimising the windowing parameters (Right hand side of Figure 1).

CYCLO-STATIONARY LOSS FUNCTIONS FOR DEFIN-ING STFT QUALITY

26We consider three loss criteria namely L 1 , L 2 and L 3 for quantifying STFT quality for the purpose of bearing fault detection.In all cases, the squared magnitude of the STFT, or spectrogram, is used in the loss function and visualisation.

27L 1 aims to find the window length that leads to a maximally sparse STFT.This metric, called the concentration, is based on the kurtosis (Zhao et al., 2021) and is defined as:

28L 2 is inspired by cyclostationary analysis in condition monitoring of rotating machinery (Antoni, 2009) and accounts for the periodic impulses of energy characteristic of bearing faults.This is done by maximizing the envelope spectrum over a range of expected fault frequencies.The envelope, E θ is computed by averaging the magnitude of the spectrogram over the frequency axis.

29The total loss then consists of summing the envelope spectrum Fourier coefficients for a range of cyclic frequency indices C = {c a , c a + 1, . . ., c b } around the expected fault frequency.A range of frequencies is specified to ensure that the loss function does not fit the envelope to a non-fault-related signal component like the rotation or gear mesh frequency.

30Similar to L 2 , L 3 also accounts for the periodic impulses of energy typical of bearing faults but does not assume that the envelope signal will be sinusoidal as in L 2 .Instead, L 3 maximizes the sum of the autocorrelation of the envelope for a range of lag values P = {p a , p a + 1, . . ., p b } around the expected lag between fault impulses.

31In this work, the range of cyclic frequencies and lag values used in L 2 and L 3 are chosen to span the range [0.9f c , 1.1f c ] where f c is the expected fault frequency for given rotation speed.Consequently, the range of cyclic frequencies and lag values are defined as:

32All operations required for computing any of the loss func- Figure 1.Procedure: Multiplication of the signal with a window function that has the same length as the input signal leads to a differentiable STFT.After computing a loss criterion measuring the spectrogram quality, the optimal window length can be solved for using a gradient based optimiser.

33tions can be conveniently differentiated by automatic differentiation.Since the gradient of the STFT with respect to the window length is known from Eq. 5, the gradient of the loss with respect to the window length can be computed using the chain rule.

34Finally, the gradient is used in a gradient-based optimiser to update the optimal window until convergence.

OPTIMAL STFT WINDOW LENGTH SELECTION FOR A SIMULATED BEARING SIGNAL

35In this section, the proposed optimisation algorithm is applied to a simulated bearing fault signal.The signal, shown in Figure 2, is based on a phenomenological bearing model (McFadden & Smith, 1984).Periodic excitations of the natural frequency of the machine when a rolling element passes through a fault region is modelled as a a first-order time response convolved with a Dirac comb.Although no slip of rolling elements are present in the simulation, the amplitude a of the bearing impulses are normally distributed, a ∼ N (µ = 1, σ = 0.1), and the signal is contaminated with Gaussian noise, ν ∼ N (µ = 0, σ = 0.1).Further properties of the simulated signal are listed in Table 1.

36To demonstrate the gradient-based optimization of a STFT loss criteria, Figure 3a shows the loss landscape of the objec- tive function L 2 in Eq. 9.The optimisation trajectory from the optimisation start point, traced by the optimiser, is superimposed on the response surface, demonstrating that the optimiser can find the optimal window length (indicated with * ) for the prescribed loss function.

37Further, to demonstrate the time-frequency resolution tradeoff, spectrograms for non-optimal candidate window lengths A and C, annotated in Figure 3a, are shown in Figures 3b and 3c respectively.Candidate A has a low frequency resolution, while candidate C has a low time resolution.All optimal window lengths obtained in this paper for a given loss criterion will necessarily make a compromise between time and frequency resolution, with certain loss criteria favoring higher time resolution, and others favoring higher frequency resolution.

38The choice of loss criterion and the resulting optimal window length can ultimately influence machine diagnosis, either directly, or in downstream signal processing tasks that employ the STFT.For instance, for the bearing diagnostics problem, a window length resulting in a very high frequency resolution but low time resolution could fail to capture all periodic impulses in time.As a result, the periodic fault signature characteristic of a bearing fault might not be detected in the spectrogram.Conversely, a loss criteria that tends to select window lengths with very high time resolution will have a coarse frequency resolution meaning that the specific resonant frequency bands that convey the bearing fault information might not be present in the STFT or downstream signal processing methods that make use of the STFT.

39After convergence of an optimizer minimizing the example loss function L 2 in Figure 3a, the optimal window length is obtained (B* in Figure 3a) and the spectrogram with optimal window length can be visualized.Spectrograms obtained after solving for the optimal window length according to each of the three loss criteria L 1 , L 2 and L 3 are shown in Figures 4a, 4b and 4c respectively.

40In all cases the fault information is more clearly visible in the spectrogram as compared to the time domain signal shown in Figure 2.However, even though all of the aforementioned time-frequency representations are for exactly the same signal, it is clear that different loss criteria can lead to different optimal spectrograms.For example, the sparsitybased metric L 1 (Figure 4a) tends to magnify single fault impacts in the spectrogram, thereby disregarding weaker impulses present in the signal that could have have confirmed the presence of regular repeating impulses characteristic of a fault.Conversely, metrics that account for the expected cyclostationarity in a faulty bearing, namely L 2 and L 3 (Figures 4b and 4c), have impulses of all transients at a similar intensity, but tend to smear energy in the spectrogram over the time axis.Ultimately, the optimal window length solution is dependent on the selected loss criteria, with the loss criteria inspired by cyclo-stationarity analysis tending to choose optimal window lengths that capture most periodic impulses present in the signal.

41Finally, the same simulated signal is used to demonstrate the benefits of having access to gradient information from the differentiable STFT during window length optimisation.For a random starting window length in the continuous range of (0 samples, 200 samples), the median number of function evaluations required to reach a window length optimisation convergence of one signal sample is recorded in Table 2. Four different optimisation methods are applied to each of the proposed loss criteria in Eqs. 7, 9 and 10, with each problem solved 30 times to obtain the median recorded in the table.

42Table 2. Median (30 trails) number of function evaluations required to converge to a window length tolerance of one sample.Optimisation algorithms that exploit the gradients provided by the differentiable STFT tend to require fewer loss function evaluations to reach convergence.

43Loss Gradient-based Gradient-free Adam BFGS Nelder-Mead Powell L 1 9.0 20.0 60.5 66.5 L 2 23.0 11.5 63.0 63.5 L 3 16.0 9.5 67.0 67.0 Two of the optimisation algorithms (Adam, BFGS) make use of the gradient of the loss criterion with respect to the window length.Conversely, the other two algorithms (Nelder-Mead, Powell) do not have access to the gradient information made available through the differentiable framework proposed in this work, allthough they still rely on the continuous nature of Eq. 2.

44The first notable result is that using a continuous window function allows for the use for standard optimisation algorithms that require significantly fewer function evaluations as compared to the 200 function evaluations that would have been required if the full grid of window lengths in the (0, 200) range (tolerance of one sample) were computed.The second result is that the gradient-based optimisation algorithms requires significantly fewer function evaluations to reach the desired tolerance as compared to the gradient-free methods.In all of the cases tested here, even if the computational cost of computing the gradient equally expensive as computing the loss, the gradient based methods would be more computationally efficient on the whole.Therefore, the formulation presented here does not only yield smooth and continuous optimisation problems that can be solved using standard optimisation algorithms, but additionally, the differentiability of the approach ensures that the window length can efficiently be optimized for using gradient based optimisation.

APPLICATION ON THREE EXPERIMENTAL DATASETS

45The proposed window length selection method is evaluated on three experimental datasets, including two public datasets (Qiu, Lee, Lin, & Yu, 2006;Case Western Reserve University Bearing Dataset, n.d.) and an in-house dataset measured at KU Leuven, Belgium.The dataset specifications are listed in Table 3. Models in the rest of this paper are optimised using the Adam optimiser with 100 optimisation steps and a learning rate of 50 to ensure full convergence.The learning rate is comparatively large since the optimisation problem is directly solved for continuous window length in number of samples.Signals are further standardized to have a standard deviation of 1000 to avoid machine precision issues when computing the loss.

46The optimal spectrograms for a given dataset and loss criterion are shown in Figures 5 to 7. Each set of figures show spectrograms for exactly the same signal from a given data set, but use different loss criteria for defining the window length optimally.Interestingly, the choice of loss criterion has a greater influence on some data sets as compared to others.For example, different loss criteria lead to very similar spectrograms for the IMS dataset (Figure 5), with none of the loss criteria leading to spectrograms that are different from the others.However, for the CWRU (Figure 6) and KUL dataset (Figure 7) the choice of loss criteria can have a significant influence in the resulting optimal spectrogram with some loss criteria defining significantly different optimal time-frequency trade-offs than others.

47Similar to the results obtained for the simulated data set, the sparsity loss function L 1 tends to favour shorter optimal window lengths that magnify single impulsive events that are not necessarily related to the bearing fault frequency.Of the tested experimental signals, this behaviour is most apparent for the KUL dataset (Figure 7a).Here, the L 1 sparsity loss (Figure 7a) chooses a window length that highlights a small subset of impulses and suppresses other impulses to the extent that they are barely perceptible.In contrast, the loss criteria L 2 and L 3 (Figures 7b and 7c), that account for the cyclostationary nature of the signal, tend to show all individual impulses at a similar intensity, albeit at the cost of having the impulses more smeared over the time axis.Interestingly, for the CWRU data set (Figure 6), the auto correlation loss L 3 (Figure 6c) also suffers from a similar problem as the sparsity loss L 3 with the optimal window length choosing to highlight a selection of high amplitude samples.

48Ultimately, the results demonstrate that different loss criteria for defining spectrogram quality can lead to very different selected optimal window lengths, highlighting the importance of selecting the correct loss function for a given problem.The choice is however application specific.For instance, one one can argue that for the KUL data (Figure 7) the sparse spectrogram of loss criterion L 1 (Figure 7a) will be most useful for diagnosing a fault visually from the spectogram.On the other hand, for cases where the spectrogram is used in a subsequent signal processing step focused on the periodicity of the impulses in the spectrogram (e.g.cyclic modulation spectrum), loss criterion L 2 and L 3 would be more appropriate.

49Depending on the desired result in the application, and the data at hand, the most appropriate loss criterion must be be selected.

CONCLUSIONS AND FUTURE WORK

50This paper presented a framework for making the STFT differentiable with respect to window length by using a continuous window over the entire signal duration.Three different loss functions for quantifying the spectrogram quality are applied to a simulated dataset and three experimental datasets.

51The results demonstrate the value of a continuously variable window length that allows for efficiently solving for the optimal window length using gradient-free or gradient-based optimisers.Further, the importance of the appropriate unsupervised loss criterion is made apparent, with a sparsity-based loss criteria often highlighting isolated, high-amplitude transients, while loss criteria that respect the periodic nature of the bearing fault signals yield impulses with a more uniform power at each fault impact in the spectrogram.

52In future work, the proposed framework can be generalised to infer multiple window parameters and can be applied for window length selection in popular cyclo-stationary indicators

Figure 2 .

53Figure 2. Synthetic outer race fault bearing signal contaminated with noise.

54Candidate A: Low frequency resolution.(c) Candidate C: Low time resolution.

Figure 3 .

55Figure 3. Optimisation landscape and candidate solutions for L 2 .The window lengths for non-optimal candidate solutions A and C are indicated on the loss landscape.

56Figure 4. Optimal spectrograms for different loss criteria for simulated bearing fault signal.The sparsity-based loss L 1 tends to favour time resolution, magnifying single fault impacts in the spectrogram while the cyclo-stationarity based loss functions L 2 and L 3 smear energy in the spectrogram over the time axis.

57Figure 5. Optimal spectrograms for different loss criteria: IMS dataset.

58Figure 6.Optimal spectrograms for different loss criteria: CWRU dataset.

59Figure 7. Optimal spectrograms for different loss criteria: KUL dataset.

Table 1 .

60Phenomenological model parameters

Table 3 .

61Experimental dataset specifications.

참고문헌 13건

  1. Fast-varying AM–FM components extraction based on an adaptive STFT Digital Signal Processing · Elsevier BV · 2012 10.1016/j.dsp.2012.02.007
  2. Cyclostationarity by examples Mechanical Systems and Signal Processing · Elsevier BV · 2008 10.1016/j.ymssp.2008.10.010
  3. Model for the vibration produced by a single point defect in a rolling element bearing Journal of Sound and Vibration · Elsevier BV · 1984 10.1016/0022-460x(84)90595-9
  4. Wavelet filter-based weak signature detection method and its application on rolling element bearing prognostics Journal of Sound and Vibration · Elsevier BV · 2005 10.1016/j.jsv.2005.03.007
  5. Adaptive short-time Fourier analysis IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 1997 10.1109/97.554468
  6. Fast computation of the spectral correlation Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.01.011
  7. Short-time Fourier transform with the window size fixed in the frequency domain Digital Signal Processing · Elsevier BV · 2017 10.1016/j.dsp.2017.11.003
  8. Automatic differentiation in PyTorch 2017
  9. Local damage detection based on vibration data analysis in the presence of Gaussian and heavy-tailed impulsive noise Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.108400
  10. Optimizing Short-Time Fourier Transform Parameters via Gradient Descent ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · 2021 10.1109/icassp39728.2021.9413704
  11. A blind deconvolution algorithm based on backward automatic differentiation and its application to rolling bearing fault diagnosis Measurement Science and Technology · IOP Publishing · 2021 10.1088/1361-6501/ac3fc7
  12. A differentiable short-time Fourier transform with respect to the window length 2021 29th European Signal Processing Conference (EUSIPCO) · 2022 10.23919/eusipco55093.2022.9909963
  13. Differentiable Adaptive Short-Time Fourier Transform with Respect to the Window Length ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · 2023 10.1109/icassp49357.2023.10095245