[go: up one dir, main page]

TWI853549B - Processing condition monitoring method based on sound signal and system thereof - Google Patents

Processing condition monitoring method based on sound signal and system thereof Download PDF

Info

Publication number
TWI853549B
TWI853549B TW112115954A TW112115954A TWI853549B TW I853549 B TWI853549 B TW I853549B TW 112115954 A TW112115954 A TW 112115954A TW 112115954 A TW112115954 A TW 112115954A TW I853549 B TWI853549 B TW I853549B
Authority
TW
Taiwan
Prior art keywords
audio
tool
model
audio file
sound signal
Prior art date
Application number
TW112115954A
Other languages
Chinese (zh)
Other versions
TW202443321A (en
Inventor
蔡明義
陳凱榮
蔡榮財
彭辰皓
Original Assignee
國立勤益科技大學
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 國立勤益科技大學 filed Critical 國立勤益科技大學
Priority to TW112115954A priority Critical patent/TWI853549B/en
Application granted granted Critical
Publication of TWI853549B publication Critical patent/TWI853549B/en
Publication of TW202443321A publication Critical patent/TW202443321A/en

Links

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

A processing condition monitoring method based on sound signal is proposed. The tool wear prediction method based on sound signal includes a signal extracting step, a signal preprocessing step, a feature extracting step, a remaining life predicting step and a model updating step. The signal extracting step includes obtaining the sound signal of the tool wear during processing. The signal preprocessing step includes converting the sound signal into an audio file. The feature extracting step includes extracting the characteristic frequency band of the audio file and performing calculations with the audio characteristic analysis parameters to generate a plurality of characteristic indicators. The remaining life predicting step includes inputting the sound file and the plurality of characteristic indicators into a tool wear processing condition prediction model to generate the tool wear processing condition prediction result corresponding to the sound signal. The model updating step includes obtaining the audio file and comparing the audio file with a plurality of reference audio to generate a feedback results, and marking the audio characteristic analysis parameters according to the feedback results, and making the tool wear processing condition prediction model to reinforce and update a plurality of standard feature.

Description

基於聲音訊號之加工製程狀態監控方法及其系統Processing state monitoring method and system based on sound signal

本發明是關於一種加工製程狀態監控方法及其系統,且特別是關於一種基於聲音訊號之加工製程狀態監控方法及其系統。The present invention relates to a processing state monitoring method and a system thereof, and in particular to a processing state monitoring method and a system thereof based on sound signals.

刀具狀態對加工品質有極大的影響,特別是刀具的製程狀態直接影響工件的加工精度和表面粗糙度,刀具毀損不僅影響工件品質,嚴重時甚至會影響整個加工系統的運作,造成龐大的損失。業界目前常用的刀具更換時機判斷方式是在大量生產的加工中,計數達到固定加工零件數而更換刀具的方式,或是憑藉技術人員的經驗透過加工聲音、工件表面或肉眼觀察刀具狀況而更換刀具的方式。The condition of the tool has a great impact on the processing quality, especially the process condition of the tool directly affects the processing accuracy and surface roughness of the workpiece. Tool damage not only affects the quality of the workpiece, but in serious cases it may even affect the operation of the entire processing system, causing huge losses. The current common method for judging the timing of tool replacement in the industry is to replace the tool when the count reaches a fixed number of processed parts in mass production, or to replace the tool based on the experience of technicians through processing sound, workpiece surface or naked eye observation of the tool condition.

前述方式除了對於刀具使用相對保守,容易提早替換刀具,造成刀具成本浪費之外,以人工方式判斷也增加人力成本。由此可知,目前市場上缺乏一種成本低廉、符合效益且具有一定準確度的加工製程狀態監控方法及其系統,故相關業者均在尋求其解決之道。In addition to being relatively conservative in using tools and easily replacing tools early, resulting in a waste of tool costs, the aforementioned method also increases labor costs by using manual judgment. It can be seen from this that there is currently a lack of a low-cost, cost-effective and certain accurate processing process status monitoring method and system on the market, so relevant industries are looking for solutions.

本發明之目的在於提供一種基於聲音訊號之加工製程狀態監控方法及其系統,其透過分析刀具加工之聲音訊號及不斷更新的刀具製程狀態預測模型取得刀具製程狀態預測結果,除了設備成本低廉之外,亦能夠準確地預測出刀具的剩餘壽命。The purpose of the present invention is to provide a processing state monitoring method and system based on sound signals, which obtains tool process state prediction results by analyzing the sound signals of tool processing and continuously updating the tool process state prediction model. In addition to low equipment cost, it can also accurately predict the remaining life of the tool.

依據本發明的方法態樣之一實施方式提供一種基於聲音訊號之加工製程狀態監控方法,包含一訊號採集步驟、一訊號預處理步驟、一特徵提取步驟、一壽命預測步驟以及一模型更新步驟。訊號採集步驟包含驅動一感測器取得一刀具加工過程之一聲音訊號。訊號預處理步驟包含驅動一運算處理器將聲音訊號轉換為一聲頻檔並儲存至一記憶體。特徵提取步驟包含驅動運算處理器擷取聲頻檔之一特徵頻段並以一聲頻特徵分析參數進行運算,而產生複數特徵指標。壽命預測步驟包含驅動運算處理器將聲頻檔與各特徵指標輸入至一刀具製程狀態預測模型比對各特徵指標與複數基準特徵,而產生對應聲音訊號的一刀具製程狀態預測結果。模型更新步驟包含一聲頻回溯模型更新步驟,聲頻回溯模型更新步驟包含驅動運算處理器自記憶體取得聲頻檔,並將聲頻檔與複數參考聲頻進行比對而產生一回饋結果,運算處理器依據回饋結果標註聲頻特徵分析參數,並使刀具製程狀態預測模型執行一深度學習程序以補強並更新各基準特徵。According to an implementation method of the method aspect of the present invention, a processing process state monitoring method based on sound signals is provided, which includes a signal acquisition step, a signal preprocessing step, a feature extraction step, a life prediction step and a model update step. The signal acquisition step includes driving a sensor to obtain a sound signal of a tool processing process. The signal preprocessing step includes driving a computing processor to convert the sound signal into an audio file and store it in a memory. The feature extraction step includes driving the computing processor to capture a feature frequency band of the audio file and perform calculations with an audio feature analysis parameter to generate a plurality of feature indicators. The life prediction step includes driving a computing processor to input the audio file and each feature index into a tool process state prediction model to compare each feature index with a plurality of reference features, thereby generating a tool process state prediction result corresponding to the sound signal. The model update step includes an audio backtracking model update step, wherein the audio backtracking model update step includes driving a computing processor to obtain an audio file from a memory, and compare the audio file with a plurality of reference audios to generate a feedback result. The computing processor labels the audio feature analysis parameters according to the feedback result, and causes the tool process state prediction model to execute a deep learning program to reinforce and update each reference feature.

依據本發明的結構態樣之一實施方式提供一種基於聲音訊號之加工製程狀態監控系統,包含一感測器、一記憶體以及一運算處理器。感測器用以取得一刀具加工過程之一聲音訊號。記憶體儲存有一聲頻特徵分析參數、複數基準特徵及複數參考聲頻。運算處理器電性連接感測器及記憶體,運算處理器經配置以實施包含以下步驟之操作:一訊號預處理步驟、一特徵提取步驟、一壽命預測步驟及一模型更新步驟。訊號預處理步驟包含將聲音訊號轉換為一聲頻檔並儲存至記憶體。特徵提取步驟包含擷取聲頻檔之一特徵頻段並以聲頻特徵分析參數進行運算,而產生複數特徵指標。壽命預測步驟將聲頻檔與各特徵指標輸入至一刀具製程狀態預測模型,刀具製程狀態預測模型比對各特徵指標與各基準特徵,而產生對應聲音訊號的一刀具製程狀態預測結果。模型更新步驟包含一聲頻回溯模型更新步驟,聲頻回溯模型更新步驟包含自記憶體取得聲頻檔,並將聲頻檔與各參考聲頻進行比對而產生一回饋結果,以依據回饋結果標註聲頻特徵分析參數,並使刀具製程狀態預測模型執行一深度學習程序以補強並更新各基準特徵。According to one implementation method of the structural aspect of the present invention, a processing process state monitoring system based on sound signals is provided, comprising a sensor, a memory and an operation processor. The sensor is used to obtain a sound signal of a tool processing process. The memory stores an audio feature analysis parameter, a plurality of baseline features and a plurality of reference audios. The operation processor is electrically connected to the sensor and the memory, and the operation processor is configured to implement an operation comprising the following steps: a signal preprocessing step, a feature extraction step, a life prediction step and a model updating step. The signal preprocessing step comprises converting the sound signal into an audio file and storing it in the memory. The feature extraction step includes capturing a feature frequency band of the audio file and performing calculations with audio feature analysis parameters to generate a plurality of feature indicators. The life prediction step inputs the audio file and each feature indicator into a tool process state prediction model, and the tool process state prediction model compares each feature indicator with each benchmark feature to generate a tool process state prediction result corresponding to the sound signal. The model updating step includes an audio backtracking model updating step, which includes obtaining an audio file from a memory and comparing the audio file with each reference audio to generate a feedback result, labeling the audio feature analysis parameters according to the feedback result, and causing the tool process state prediction model to execute a deep learning program to reinforce and update each benchmark feature.

藉此,本發明透過分析刀具加工之聲音訊號,搭配能夠以聲頻回溯與預測結果方式不斷更新的刀具製程狀態預測模型取得刀具製程狀態預測結果,而具有設備成本低廉、符合效益且能夠準確地預測出刀具的剩餘壽命之效果。Thus, the present invention obtains tool process state prediction results by analyzing the sound signal of tool processing and using a tool process state prediction model that can be continuously updated by audio backtracking and prediction results, thereby having the effect of low equipment cost, being cost-effective and being able to accurately predict the remaining life of the tool.

以下將參照圖式說明本發明的複數個實施例。為明確說明起見,許多實務上的細節將在以下敘述中一併說明。然而,應瞭解到,這些實務上的細節不應用以限制本發明。也就是說,在本發明部分實施例中,這些實務上的細節是非必要的。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示的;並且重複的元件將可能使用相同的編號表示的。The following will describe several embodiments of the present invention with reference to the drawings. For the sake of clarity, many practical details will be described together in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is to say, in some embodiments of the present invention, these practical details are not necessary. In addition, in order to simplify the drawings, some commonly used structures and components will be shown in the drawings in a simple schematic manner; and repeated components may be represented by the same number.

此外,本文中當某一元件(或單元或模組等)「連接」於另一元件,可指所述元件是直接連接於另一元件,亦可指某一元件是間接連接於另一元件,意即,有其他元件介於所述元件及另一元件之間。而當有明示某一元件是「直接連接」於另一元件時,才表示沒有其他元件介於所述元件及另一元件之間。而第一、第二、第三等用語只是用來描述不同元件,而對元件本身並無限制,因此,第一元件亦可改稱為第二元件。且本文中的元件/單元/電路的組合非此領域中的一般周知、常規或習知的組合,不能以元件/單元/電路本身是否為習知,來判定其組合關係是否容易被技術領域中的通常知識者輕易完成。In addition, in this article, when a certain component (or unit or module, etc.) is "connected" to another component, it may refer to that the component is directly connected to the other component, or it may refer to that the component is indirectly connected to the other component, that is, there are other components between the component and the other component. When it is clearly stated that a certain component is "directly connected" to another component, it means that there are no other components between the component and the other component. The terms first, second, third, etc. are only used to describe different components, and there is no restriction on the components themselves. Therefore, the first component can also be renamed as the second component. Moreover, the combination of components/units/circuits in this article is not a generally known, conventional or known combination in this field. Whether the components/units/circuits themselves are known cannot be used to determine whether their combination relationship is easy to be completed by ordinary knowledgeable people in the technical field.

請一併參閱第1圖與第2圖所示,第1圖係繪示本發明之第一實施例之基於聲音訊號之加工製程狀態監控系統100的示意圖;及第2圖係繪示本發明之第二實施例之基於聲音訊號之加工製程狀態監控方法200的流程示意圖。基於聲音訊號之加工製程狀態監控系統100經配置以實施基於聲音訊號之加工製程狀態監控方法200,而用以監測一刀具並預測刀具之剩餘壽命。必須說明的是,本發明之基於聲音訊號之加工製程狀態監控方法200不限於透過本發明的基於聲音訊號之加工製程狀態監控系統100實施。在本發明實施例中,加工製程狀態監控為刀具磨耗監控。Please refer to FIG. 1 and FIG. 2 together. FIG. 1 is a schematic diagram of a processing state monitoring system 100 based on sound signals according to a first embodiment of the present invention; and FIG. 2 is a flow chart of a processing state monitoring method 200 based on sound signals according to a second embodiment of the present invention. The processing state monitoring system 100 based on sound signals is configured to implement the processing state monitoring method 200 based on sound signals to monitor a tool and predict the remaining life of the tool. It should be noted that the processing state monitoring method 200 based on sound signals according to the present invention is not limited to being implemented through the processing state monitoring system 100 based on sound signals according to the present invention. In the embodiment of the present invention, the machining process status monitoring is tool wear monitoring.

在第1圖中,基於聲音訊號之加工製程狀態監控系統100包含一感測器110、一記憶體120以及一運算處理器130。感測器110用以取得刀具加工過程之一聲音訊號A。記憶體120儲存有一聲頻特徵分析參數121、複數基準特徵122及複數參考聲頻123。運算處理器130電性連接感測器110及記憶體120,運算處理器130經配置以實施基於聲音訊號之加工製程狀態監控方法200。感測器110之可接收頻率為20Hz~30kHz,感測器110可為麥克風或其他可擷取音訊之電子裝置,但本發明不以此為限。記憶體120可為能儲存供運算處理器130執行資訊和指令的隨機存取記憶體(Random Access Memory;RAM)或其它型式的動態儲存裝置,但本發明不以此為限。運算處理器130可為處理器(Processor)、微處理器(Microprocessor)、中央處理器(Central Processing Unit;CPU)、電腦、行動裝置處理器、雲端處理器或其他電子運算處理器,但本發明不以此為限。In FIG. 1 , a processing state monitoring system 100 based on sound signals includes a sensor 110, a memory 120, and an operation processor 130. The sensor 110 is used to obtain a sound signal A of a tool processing process. The memory 120 stores an audio feature analysis parameter 121, a plurality of benchmark features 122, and a plurality of reference audios 123. The operation processor 130 is electrically connected to the sensor 110 and the memory 120, and the operation processor 130 is configured to implement a processing state monitoring method 200 based on sound signals. The sensor 110 can receive frequencies of 20 Hz to 30 kHz. The sensor 110 can be a microphone or other electronic device that can capture audio, but the present invention is not limited thereto. The memory 120 can be a random access memory (RAM) or other type of dynamic storage device that can store information and instructions for the computing processor 130 to execute, but the present invention is not limited thereto. The computing processor 130 can be a processor, a microprocessor, a central processing unit (CPU), a computer, a mobile device processor, a cloud processor, or other electronic computing processors, but the present invention is not limited thereto.

在第2圖中,基於聲音訊號之加工製程狀態監控方法200包含依序執行之一訊號採集步驟S01、一訊號預處理步驟S02、一特徵提取步驟S03、一壽命預測步驟S04以及一模型更新步驟S05。訊號採集步驟S01包含驅動感測器110取得刀具加工過程之聲音訊號A。訊號預處理步驟S02包含驅動運算處理器130將聲音訊號A轉換為一聲頻檔B並儲存至記憶體120。訊號預處理步驟S02包含驅動運算處理器130對聲音訊號A進行波形位移(Waveform Displacement)、諧波失真(Harmonic Distortion)、重新採樣(Resampling)或信噪比控制(SNR Control)而產生聲頻檔B。In FIG. 2 , the processing state monitoring method 200 based on sound signals includes a signal acquisition step S01, a signal preprocessing step S02, a feature extraction step S03, a life prediction step S04, and a model updating step S05. The signal acquisition step S01 includes driving the sensor 110 to obtain the sound signal A of the tool processing process. The signal preprocessing step S02 includes driving the computing processor 130 to convert the sound signal A into an audio file B and store it in the memory 120. The signal pre-processing step S02 includes driving the computational processor 130 to perform waveform displacement, harmonic distortion, resampling or signal-to-noise ratio control (SNR Control) on the sound signal A to generate an audio file B.

詳細地說,參照第1圖至第7B圖所示,其中第3A圖係繪示依照第2圖之聲音訊號A的振幅與時間的關係示意圖;第3B圖係繪示依照第2圖之聲音訊號A的頻率與時間的關係示意圖;第4圖係繪示依照第3A圖之聲音訊號A進行波形位移的聲頻檔B的振幅與時間的關係示意圖;第5A圖係繪示依照第3A圖之聲音訊號A進行諧波失真的聲頻檔B的振幅與時間的關係示意圖;第5B圖係繪示依照第3B圖之聲音訊號A進行諧波失真的聲頻檔B的頻率與時間的關係示意圖;第6A圖係繪示依照第3A圖之聲音訊號A進行重新採樣的聲頻檔B的振幅與時間的關係示意圖;第6B圖係繪示依照第3B圖之聲音訊號A進行重新採樣的聲頻檔B的頻率與時間的關係示意圖;第7A圖係繪示依照第3A圖之聲音訊號A進行信噪比控制的聲頻檔B的振幅與時間的關係示意圖;及第7B圖係繪示依照第3B圖之聲音訊號A進行信噪比控制的聲頻檔B的頻率與時間的關係示意圖。在訊號預處理步驟S02中,運算處理器130自感測器110取得聲音訊號A,並對聲音訊號A進行頻段視覺分析以產生聲頻檔B,而達到數據增強、資料量增大之作用,進而提升一刀具製程狀態預測模型M之魯棒性(Robustness)。在第4圖中,運算處理器130對聲音訊號A(第3A圖所示)進行時間位移調整,將整段波形依需求往前或後遞移。在第5A圖至第5B圖中,運算處理器130對聲音訊號A(第3A圖所示)進行諧波失真,而增強聲音訊號A之主要波形的振福與頻率。在第6A圖至第6B圖中,運算處理器130對聲音訊號A進行重新採樣,而使聲音訊號A頻譜更為細緻。在第7A圖至第7B圖中,運算處理器130對聲音訊號A進行信噪比控制,加入噪聲使刀具製程狀態預測模型M具有抗噪能力。Specifically, referring to FIGS. 1 to 7B, FIG. 3A is a diagram showing the relationship between the amplitude and time of the sound signal A according to FIG. 2; FIG. 3B is a diagram showing the relationship between the frequency and time of the sound signal A according to FIG. 2; FIG. 4 is a diagram showing the relationship between the amplitude and time of the sound file B subjected to waveform displacement according to the sound signal A according to FIG. 3A; FIG. 5A is a diagram showing the relationship between the amplitude and time of the sound file B subjected to harmonic distortion according to the sound signal A according to FIG. 3A; FIG. 5B is a diagram showing the relationship between the amplitude and time of the sound file B subjected to harmonic distortion according to the sound signal A according to FIG. 3B. FIG6A is a diagram showing the relationship between the amplitude and time of the audio file B resampled according to the sound signal A of FIG3A; FIG6B is a diagram showing the relationship between the frequency and time of the audio file B resampled according to the sound signal A of FIG3B; FIG7A is a diagram showing the relationship between the amplitude and time of the audio file B with the signal-to-noise ratio controlled according to the sound signal A of FIG3A; and FIG7B is a diagram showing the relationship between the frequency and time of the audio file B with the signal-to-noise ratio controlled according to the sound signal A of FIG3B. In the signal pre-processing step S02, the operation processor 130 obtains the sound signal A from the sensor 110, and performs a frequency band visual analysis on the sound signal A to generate an audio file B, thereby achieving the effect of data enhancement and data volume increase, thereby improving the robustness of a tool process state prediction model M. In FIG. 4, the operation processor 130 performs time displacement adjustment on the sound signal A (shown in FIG. 3A), shifting the entire waveform forward or backward as required. In FIG. 5A to FIG. 5B, the operation processor 130 performs harmonic distortion on the sound signal A (shown in FIG. 3A), and enhances the vibration and frequency of the main waveform of the sound signal A. In FIGS. 6A to 6B, the computing processor 130 resamples the sound signal A to make the spectrum of the sound signal A more detailed. In FIGS. 7A to 7B, the computing processor 130 controls the signal-to-noise ratio of the sound signal A and adds noise to make the tool process state prediction model M have anti-noise capability.

參閱第1圖與第2圖所示,特徵提取步驟S03包含驅動運算處理器130擷取聲頻檔B之一特徵頻段以記憶體120預存之聲頻特徵分析參數121進行演算法特徵運算與特徵分類,經卷積運算而產生複數特徵指標C。特徵指標C包含均方根、算術平均數、標準差、最大值、峰度及偏度,但本發明不以此為限。Referring to FIG. 1 and FIG. 2, the feature extraction step S03 includes driving the computation processor 130 to capture a feature frequency band of the audio file B and performing algorithm feature computation and feature classification with the audio feature analysis parameter 121 pre-stored in the memory 120, and generating a plurality of feature indicators C through convolution operation. The feature indicators C include root mean square, arithmetic mean, standard deviation, maximum value, kurtosis and skewness, but the present invention is not limited thereto.

參閱第1圖與第2圖所示,壽命預測步驟S04包含驅動運算處理器130將聲頻檔B與各特徵指標C輸入至刀具製程狀態預測模型M(繪示於第8圖),並比對各特徵指標C與記憶體120預存之基準特徵122,而產生對應聲音訊號A的一刀具製程狀態預測結果。在第二實施例中,記憶體120預存之基準特徵122為刀具於不同製程加工下之聲頻特徵指標C。藉此,可依據刀具製程狀態預測結果確認刀具是否接近臨界壽命,以便即時停機而更換刀具,以下為詳細的實施例來說明上述刀具製程狀態預測模型M之細節。Referring to FIG. 1 and FIG. 2, the life prediction step S04 includes driving the computing processor 130 to input the audio file B and each characteristic index C into the tool process state prediction model M (shown in FIG. 8), and comparing each characteristic index C with the reference characteristic 122 pre-stored in the memory 120, thereby generating a tool process state prediction result corresponding to the sound signal A. In the second embodiment, the reference characteristic 122 pre-stored in the memory 120 is the audio characteristic index C of the tool under different process processing. In this way, it is possible to confirm whether the tool is close to the critical life according to the tool process state prediction result, so as to stop the machine immediately and replace the tool. The following is a detailed embodiment to illustrate the details of the above tool process state prediction model M.

配合參照第8圖所示,第8圖係繪示本發明之第三實施例的刀具製程狀態預測模型M架構示意圖。刀具製程狀態預測模型M包含一卷積神經網路(Convolutional Neural Network;CNN)模型及一循環神經網路(Recurrent Neural Network;RNN)模型,其中,卷積神經網路模型與循環神經網路模型為端到端模型。在第8圖中,卷積神經網路模型包含一卷積層L1及一分類層L2。卷積層L1包含複數個最大池化(MaxPooling)單元L11,以進行卷積運算及池化運算並搭配激活函數進行轉換,而濾除聲頻檔B之雜訊並抽取特徵指標C,進而降低資料大小而縮減計算損耗。分類層L2包含複數個全連接(Dense)單元L21,用以分類聲頻檔B是否異常並輸出刀具製程狀態預測結果。循環神經網路模型包含一門控迴圈層L3,門控迴圈層L3包含一門控迴圈(GRU)單元L31,用以抓取經過最大池化單元L11抽取特徵指標C的時間特徵,並將不同長度的時間序列大小統一。在第三實施例中,門控迴圈層L3之門控迴圈單元L31連接於卷積層L1之複數個最大池化單元L11以及分類層L2之複數個全連接單元L21之間,聲頻檔B及各特徵指標C輸入刀具製程狀態預測模型M後,依序經由複數個最大池化單元L11、門控迴圈單元L31與複數個全連接單元L21而取得刀具製程狀態預測結果。With reference to FIG. 8, FIG. 8 is a schematic diagram showing the structure of the tool process state prediction model M of the third embodiment of the present invention. The tool process state prediction model M includes a convolutional neural network (CNN) model and a recurrent neural network (RNN) model, wherein the convolutional neural network model and the recurrent neural network model are end-to-end models. In FIG. 8, the convolutional neural network model includes a convolution layer L1 and a classification layer L2. The convolution layer L1 includes a plurality of maximum pooling units L11 to perform convolution and pooling operations and transform with activation functions, thereby filtering out the noise of the audio file B and extracting the feature index C, thereby reducing the data size and reducing the computational loss. The classification layer L2 includes a plurality of fully connected (Dense) units L21 to classify whether the audio file B is abnormal and output the tool process state prediction result. The recurrent neural network model includes a gated loop layer L3, and the gated loop layer L3 includes a gated loop (GRU) unit L31 to capture the time features of the feature index C extracted by the maximum pooling unit L11 and unify the size of time series of different lengths. In the third embodiment, the gated loop unit L31 of the gated loop layer L3 is connected between the multiple maximum pooling units L11 of the convolution layer L1 and the multiple fully connected units L21 of the classification layer L2. After the audio file B and each feature index C are input into the tool process state prediction model M, the tool process state prediction result is obtained by sequentially passing through the multiple maximum pooling units L11, the gated loop unit L31 and the multiple fully connected units L21.

參閱第1圖至第2圖所示,模型更新步驟S05包含一聲頻回溯模型更新步驟S051及一預測結果模型更新步驟S052。聲頻回溯模型更新步驟S051包含驅動運算處理器130自記憶體120取得聲頻檔B,並將聲頻檔B與記憶體120預存之各參考聲頻123進行比對而產生一回饋結果,運算處理器130依據回饋結果標註聲頻特徵分析參數121,並使刀具製程狀態預測模型M執行一深度學習程序以補強並更新記憶體120之各基準特徵122。預測結果模型更新步驟S052包含驅動運算處理器130依據刀具製程狀態預測結果增強聲頻特徵分析參數121,並使刀具製程狀態預測模型M執行深度學習程序以補強並更新記憶體120之各基準特徵122。藉此,刀具製程狀態預測模型M能夠藉由聲頻回溯訓練及以刀具製程狀態預測結果訓練兩種方式更新基準特徵122,而能夠增強模型分析的準確度。Referring to FIGS. 1 to 2, the model updating step S05 includes an audio backtracking model updating step S051 and a prediction result model updating step S052. The audio backtracking model updating step S051 includes driving the computing processor 130 to obtain the audio file B from the memory 120, and comparing the audio file B with each reference audio 123 stored in the memory 120 to generate a feedback result. The computing processor 130 annotates the audio feature analysis parameter 121 according to the feedback result, and causes the tool process state prediction model M to execute a deep learning program to reinforce and update each benchmark feature 122 of the memory 120. The prediction result model updating step S052 includes driving the computing processor 130 to enhance the acoustic feature analysis parameter 121 according to the tool process state prediction result, and making the tool process state prediction model M execute a deep learning program to enhance and update each benchmark feature 122 of the memory 120. In this way, the tool process state prediction model M can update the benchmark feature 122 by two methods, namely, audio backtracking training and tool process state prediction result training, so as to enhance the accuracy of model analysis.

由上述實施方式可知,本發明具有下列優點:其一,透過分析聲音訊號可取得刀具製程狀態預測結果,設備成本低廉且符合效益。其二,使用聲頻回溯與預測結果兩種方式訓練刀具製程狀態預測模型,能夠更準確地取得刀具製程狀態預測結果,進而避免刀具成本浪費。From the above implementation, it can be seen that the present invention has the following advantages: First, the tool process state prediction result can be obtained by analyzing the sound signal, and the equipment cost is low and cost-effective. Second, the tool process state prediction model is trained by using both audio backtracking and prediction results, which can obtain the tool process state prediction result more accurately, thereby avoiding tool cost waste.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above by the embodiments, they are not intended to limit the present invention. Any person with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be defined by the scope of the attached patent application.

100:基於聲音訊號之加工製程狀態監控系統 110:感測器 120:記憶體 121:聲頻特徵分析參數 122:基準特徵 123:參考聲頻 130:運算處理器 200:基於聲音訊號之加工製程狀態監控方法 S01:訊號採集步驟 S02:訊號預處理步驟 S03:特徵提取步驟 S04:壽命預測步驟 S05:模型更新步驟 S051:聲頻回溯模型更新步驟 S052:預測結果模型更新步驟 A:聲音訊號 B:聲頻檔 C:特徵指標 L1:卷積層 L11:最大池化單元 L2:分類層 L21:全連接單元 L3:門控迴圈層 L31:門控迴圈單元 M:刀具製程狀態預測模型 100: Process state monitoring system based on sound signal 110: Sensor 120: Memory 121: Audio feature analysis parameters 122: Benchmark feature 123: Reference audio 130: Calculation processor 200: Process state monitoring method based on sound signal S01: Signal acquisition step S02: Signal preprocessing step S03: Feature extraction step S04: Life prediction step S05: Model update step S051: Audio backtracking model update step S052: Prediction result model update step A: Sound signal B: Audio file C: Feature index L1: Convolutional layer L11: Max pooling unit L2: Classification layer L21: Fully connected unit L3: Gated loop layer L31: Gated loop unit M: Tool process state prediction model

第1圖係繪示本發明之第一實施例之基於聲音訊號之加工製程狀態監控系統的示意圖; 第2圖係繪示本發明之第二實施例之基於聲音訊號之加工製程狀態監控方法的流程示意圖; 第3A圖係繪示依照第2圖之聲音訊號的振幅與時間的關係示意圖; 第3B圖係繪示依照第2圖之聲音訊號的頻率與時間的關係示意圖; 第4圖係繪示依照第3A圖之聲音訊號進行波形位移的聲頻檔的振幅與時間的關係示意圖; 第5A圖係繪示依照第3A圖之聲音訊號進行諧波失真的聲頻檔的振幅與時間的關係示意圖; 第5B圖係繪示依照第3B圖之聲音訊號進行諧波失真的聲頻檔的頻率與時間的關係示意圖; 第6A圖係繪示依照第3A圖之聲音訊號進行重新採樣的聲頻檔的振幅與時間的關係示意圖; 第6B圖係繪示依照第3B圖之聲音訊號進行重新採樣的聲頻檔的頻率與時間的關係示意圖; 第7A圖係繪示依照第3A圖之聲音訊號進行信噪比控制的聲頻檔的振幅與時間的關係示意圖; 第7B圖係繪示依照第3B圖之聲音訊號進行信噪比控制的聲頻檔的頻率與時間的關係示意圖;及 第8圖係繪示本發明之第三實施例的刀具製程狀態預測模型架構示意圖。 Figure 1 is a schematic diagram of a processing state monitoring system based on sound signals of the first embodiment of the present invention; Figure 2 is a schematic diagram of a process flow of a processing state monitoring method based on sound signals of the second embodiment of the present invention; Figure 3A is a schematic diagram showing the relationship between the amplitude and time of the sound signal according to Figure 2; Figure 3B is a schematic diagram showing the relationship between the frequency and time of the sound signal according to Figure 2; Figure 4 is a schematic diagram showing the relationship between the amplitude and time of the audio file of the sound signal according to Figure 3A for waveform displacement; Figure 5A is a schematic diagram showing the relationship between the amplitude and time of the audio file of the sound signal according to Figure 3A for harmonic distortion; FIG. 5B is a diagram showing the relationship between the frequency and time of the sound file harmonically distorted according to the sound signal of FIG. 3B; FIG. 6A is a diagram showing the relationship between the amplitude and time of the sound file resampled according to the sound signal of FIG. 3A; FIG. 6B is a diagram showing the relationship between the frequency and time of the sound file resampled according to the sound signal of FIG. 3B; FIG. 7A is a diagram showing the relationship between the amplitude and time of the sound file for which the signal-to-noise ratio is controlled according to the sound signal of FIG. 3A; FIG. 7B is a diagram showing the relationship between the frequency and time of the sound file for which the signal-to-noise ratio is controlled according to the sound signal of FIG. 3B; and FIG. 8 is a diagram showing the framework of the tool process state prediction model of the third embodiment of the present invention.

200:基於聲音訊號之加工製程狀態監控方法 200: Processing state monitoring method based on sound signals

S01:訊號採集步驟 S01: Signal collection step

S02:訊號預處理步驟 S02: Signal pre-processing step

S03:特徵提取步驟 S03: Feature extraction step

S04:壽命預測步驟 S04: Life expectancy prediction steps

S05:模型更新步驟 S05: Model update step

S051:聲頻回溯模型更新步驟 S051: Audio backtracking model update step

S052:預測結果模型更新步驟 S052: Prediction result model update step

A:聲音訊號 A: Sound signal

B:聲頻檔 B: Audio file

C:特徵指標 C: Characteristic indicators

Claims (6)

一種基於聲音訊號之加工製程狀態監控方法,包含:一訊號採集步驟,包含驅動一感測器取得一刀具加工過程之一聲音訊號;一訊號預處理步驟,包含驅動一運算處理器將該聲音訊號轉換為一聲頻檔並儲存至一記憶體;一特徵提取步驟,包含驅動該運算處理器擷取該聲頻檔之一特徵頻段並以一聲頻特徵分析參數進行運算,而產生複數特徵指標;一壽命預測步驟,包含驅動該運算處理器將該聲頻檔與該些特徵指標輸入至一刀具製程狀態預測模型比對該些特徵指標與複數基準特徵,而產生對應該聲音訊號的一刀具製程狀態預測結果;以及一模型更新步驟,包含:一聲頻回溯模型更新步驟,包含驅動該運算處理器自該記憶體取得該聲頻檔,並將該聲頻檔與複數參考聲頻進行比對而產生一回饋結果,該運算處理器依據該回饋結果標註該聲頻特徵分析參數,並使該刀具製程狀態預測模型執行一深度學習程序以補強並更新該些基準特徵;其中,該刀具製程狀態預測模型包含:一卷積神經網路模型,包含:一卷積層,包含複數個最大池化單元;及 一分類層,包含複數個全連接單元;及一循環神經網路模型,包含:一門控迴圈層,連接於該些最大池化單元及該些全連接單元之間,並包含一門控迴圈單元。 A method for monitoring the state of a machining process based on sound signals comprises: a signal acquisition step, comprising driving a sensor to obtain a sound signal of a tool machining process; a signal pre-processing step, comprising driving a computing processor to convert the sound signal into an audio file and store it in a memory; a feature extraction step, comprising driving the computing processor to capture a feature of the audio file. The characteristic frequency band is calculated with an audio characteristic analysis parameter to generate a plurality of characteristic indicators; a life prediction step includes driving the calculation processor to input the audio file and the characteristic indicators into a tool process state prediction model to compare the characteristic indicators with a plurality of benchmark characteristics to generate a tool process state prediction result corresponding to the sound signal; and a model update step , comprising: an audio backtracking model updating step, comprising driving the computing processor to obtain the audio file from the memory, and comparing the audio file with a plurality of reference audios to generate a feedback result, the computing processor annotating the audio feature analysis parameters according to the feedback result, and causing the tool process state prediction model to execute a deep learning program to strengthen and update the benchmark features The tool process state prediction model includes: a convolutional neural network model, including: a convolutional layer, including a plurality of maximum pooling units; and a classification layer, including a plurality of fully connected units; and a recurrent neural network model, including: a gated loop layer, connected between the maximum pooling units and the fully connected units, and including a gated loop unit. 如請求項1所述之基於聲音訊號之加工製程狀態監控方法,其中該模型更新步驟更包含:一預測結果模型更新步驟,包含驅動該運算處理器依據該刀具製程狀態預測結果增強該聲頻特徵分析參數,並使該刀具製程狀態預測模型執行該深度學習程序以更新該些基準特徵。 The processing process state monitoring method based on sound signals as described in claim 1, wherein the model updating step further includes: a prediction result model updating step, including driving the computing processor to enhance the audio feature analysis parameters according to the tool process state prediction result, and making the tool process state prediction model execute the deep learning program to update the baseline features. 如請求項1所述之基於聲音訊號之加工製程狀態監控方法,其中該訊號預處理步驟更包含驅動該運算處理器對該聲音訊號進行波形位移、諧波失真、重新採樣或信噪比控制而產生該聲頻檔。 As described in claim 1, the processing state monitoring method based on sound signals, wherein the signal pre-processing step further includes driving the computing processor to perform waveform shift, harmonic distortion, resampling or signal-to-noise ratio control on the sound signal to generate the audio file. 一種基於聲音訊號之加工製程狀態監控系統,包含:一感測器,用以取得一刀具加工過程之一聲音訊號;一記憶體,儲存有一聲頻特徵分析參數、複數基準特徵及複數參考聲頻;以及一運算處理器,電性連接該感測器及該記憶體,該運算處理器經配置以實施包含以下步驟之操作: 一訊號預處理步驟,包含將該聲音訊號轉換為一聲頻檔並儲存至該記憶體;一特徵提取步驟,包含擷取該聲頻檔之一特徵頻段並以該聲頻特徵分析參數進行運算,而產生複數特徵指標;一壽命預測步驟,將該聲頻檔與該些特徵指標輸入至一刀具製程狀態預測模型,該刀具製程狀態預測模型比對該些特徵指標與該些基準特徵,而產生對應該聲音訊號的一刀具製程狀態預測結果;及一模型更新步驟,包含:一聲頻回溯模型更新步驟,包含自該記憶體取得該聲頻檔,並將該聲頻檔與該些參考聲頻進行比對而產生一回饋結果,以依據該回饋結果標註該聲頻特徵分析參數,並使該刀具製程狀態預測模型執行一深度學習程序以補強並更新該些基準特徵;其中,該刀具製程狀態預測模型包含:一卷積神經網路模型,包含:一卷積層,包含複數個最大池化單元;及一分類層,包含複數個全連接單元;及一循環神經網路模型,包含:一門控迴圈層,連接於該些最大池化單元及該些全連接單元之間,並包含一門控迴圈單元。 A processing process status monitoring system based on sound signals includes: a sensor for obtaining a sound signal of a tool processing process; a memory for storing an audio feature analysis parameter, multiple benchmark features and multiple reference audios; and an operation processor electrically connected to the sensor and the memory, the operation processor being configured to implement operations including the following steps: A signal preprocessing step , including converting the sound signal into an audio file and storing it in the memory; a feature extraction step, including capturing a feature frequency band of the audio file and performing calculations with the audio feature analysis parameters to generate a plurality of feature indicators; a life prediction step, inputting the audio file and the feature indicators into a tool process state prediction model, and the tool process state prediction model compares the feature indicators with the benchmarks The invention relates to a method for updating a model of a tool manufacturing process state according to the characteristics of the sound signal; and a model updating step, comprising: an audio backtracking model updating step, comprising obtaining the audio file from the memory, and comparing the audio file with the reference audios to generate a feedback result, annotating the audio characteristic analysis parameters according to the feedback result, and making the tool manufacturing process state prediction model execute a deep learning program. To strengthen and update the baseline features; wherein the tool process state prediction model includes: a convolutional neural network model, including: a convolutional layer, including a plurality of maximum pooling units; and a classification layer, including a plurality of fully connected units; and a recurrent neural network model, including: a gated loop layer, connected between the maximum pooling units and the fully connected units, and including a gated loop unit. 如請求項4所述之基於聲音訊號之加工製程狀態監控系統,其中該模型更新步驟更包含: 一預測結果模型更新步驟,包含依據該刀具製程狀態預測結果增強該聲頻特徵分析參數,並使該刀具製程狀態預測模型執行該深度學習程序以更新該些基準特徵。 The processing process state monitoring system based on sound signals as described in claim 4, wherein the model updating step further includes: A prediction result model updating step, including enhancing the audio feature analysis parameters according to the tool process state prediction result, and making the tool process state prediction model execute the deep learning program to update the baseline features. 如請求項4所述之基於聲音訊號之加工製程狀態監控系統,其中該訊號預處理步驟更包含驅動該運算處理器對該聲音訊號進行波形位移、諧波失真、重新採樣或信噪比控制而產生該聲頻檔。 As described in claim 4, the processing state monitoring system based on sound signals, wherein the signal pre-processing step further includes driving the computing processor to perform waveform shift, harmonic distortion, resampling or signal-to-noise ratio control on the sound signal to generate the audio file.
TW112115954A 2023-04-28 2023-04-28 Processing condition monitoring method based on sound signal and system thereof TWI853549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112115954A TWI853549B (en) 2023-04-28 2023-04-28 Processing condition monitoring method based on sound signal and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112115954A TWI853549B (en) 2023-04-28 2023-04-28 Processing condition monitoring method based on sound signal and system thereof

Publications (2)

Publication Number Publication Date
TWI853549B true TWI853549B (en) 2024-08-21
TW202443321A TW202443321A (en) 2024-11-01

Family

ID=93284317

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112115954A TWI853549B (en) 2023-04-28 2023-04-28 Processing condition monitoring method based on sound signal and system thereof

Country Status (1)

Country Link
TW (1) TWI853549B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004059399A2 (en) * 2002-12-30 2004-07-15 Rsl Electronics Ltd. Method and system for diagnostics and prognostics of a mechanical system
US20110043652A1 (en) * 2009-03-12 2011-02-24 King Martin T Automatically providing content associated with captured information, such as information captured in real-time
US20190137985A1 (en) * 2016-05-09 2019-05-09 Strong Force Iot Portfolio 2016, Llc Methods and systems of diagnosing machine components using neural networks and having bandwidth allocation
CN110100216A (en) * 2016-10-26 2019-08-06 罗伯特·博世有限公司 Mobile and autonomous audio sensing and analysis system and method
TWM583566U (en) * 2019-05-24 2019-09-11 國立虎尾科技大學 Cutting tool service life prediction equipment
CN110597221A (en) * 2018-06-12 2019-12-20 中华电信股份有限公司 Abnormal Analysis and Predictive Maintenance System and Method of Machining Behavior of Machine Tool
US20200058316A1 (en) * 2012-05-04 2020-02-20 Xmos Inc. Methods and systems for improved measurement, entity and parameter estimation, and path propagation effect measurement and mitigation in source signal separation
TW202029183A (en) * 2019-01-21 2020-08-01 美商惠普發展公司有限責任合夥企業 Fault prediction model training with audio data
TW202215483A (en) * 2020-05-12 2022-04-16 新加坡商Aes 全球公司 Event monitoring and characterization
CN115315709A (en) * 2020-11-01 2022-11-08 辉达公司 Model-based reinforcement learning and applications for behavior prediction in autonomic systems
CN115989463A (en) * 2020-08-27 2023-04-18 西门子股份公司 System and method for instantaneous performance management of machine tools

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004059399A2 (en) * 2002-12-30 2004-07-15 Rsl Electronics Ltd. Method and system for diagnostics and prognostics of a mechanical system
US20110043652A1 (en) * 2009-03-12 2011-02-24 King Martin T Automatically providing content associated with captured information, such as information captured in real-time
US20200058316A1 (en) * 2012-05-04 2020-02-20 Xmos Inc. Methods and systems for improved measurement, entity and parameter estimation, and path propagation effect measurement and mitigation in source signal separation
US20190137985A1 (en) * 2016-05-09 2019-05-09 Strong Force Iot Portfolio 2016, Llc Methods and systems of diagnosing machine components using neural networks and having bandwidth allocation
CN110100216A (en) * 2016-10-26 2019-08-06 罗伯特·博世有限公司 Mobile and autonomous audio sensing and analysis system and method
CN110597221A (en) * 2018-06-12 2019-12-20 中华电信股份有限公司 Abnormal Analysis and Predictive Maintenance System and Method of Machining Behavior of Machine Tool
TW202029183A (en) * 2019-01-21 2020-08-01 美商惠普發展公司有限責任合夥企業 Fault prediction model training with audio data
TWM583566U (en) * 2019-05-24 2019-09-11 國立虎尾科技大學 Cutting tool service life prediction equipment
TW202215483A (en) * 2020-05-12 2022-04-16 新加坡商Aes 全球公司 Event monitoring and characterization
CN115989463A (en) * 2020-08-27 2023-04-18 西门子股份公司 System and method for instantaneous performance management of machine tools
CN115315709A (en) * 2020-11-01 2022-11-08 辉达公司 Model-based reinforcement learning and applications for behavior prediction in autonomic systems

Also Published As

Publication number Publication date
TW202443321A (en) 2024-11-01

Similar Documents

Publication Publication Date Title
JP6560707B2 (en) Machined surface quality evaluation device
JP5380362B2 (en) Quality inspection method and quality inspection apparatus
CN113927371A (en) Cutter wear prediction method based on multi-sensor feature fusion
CN112692646B (en) A method and device for intelligent evaluation of tool wear state
CN111037365A (en) Tool Condition Monitoring Dataset Enhancement Method Based on Generative Adversarial Networks
CN113361939B (en) Dynamic association method and system for quality and equipment management of wrapping machine type
JP2019098515A (en) Blade tool state inspection system and method
CN116991146A (en) Control method and system of ultrasonic cleaning device
CN110455397A (en) A kind of shop equipment failure optical fiber sensing method and system based on LSTM
Yuan et al. Energy efficiency state identification of milling processing based on EEMD-PCA-ICA
TWI670138B (en) Method for predicting tool wear in an automatic processing machine
CN108268970A (en) HTM-based conveyor belt fault prediction method, system and device
TWI853549B (en) Processing condition monitoring method based on sound signal and system thereof
CN117628005A (en) A fusion signal hydraulic motor fault diagnosis method and system
CN118617196A (en) Tool wear detection method, device, storage medium and program product
TWI760904B (en) Sound-based mechanical monitoring system and method
CN108921841A (en) Continuous casting of iron and steel base quality determining method, device, equipment and storage medium
CN118152757A (en) A visual fault diagnosis method for vibrating screen based on sound sensor
CN118094421A (en) Abnormal data detection method for machinery condition monitoring
CN116222988A (en) Laser cutting machine rack system fault diagnosis method integrating intelligent learning algorithm
JP2007108107A (en) Equipment diagnostic equipment
JP2004045418A (en) Determination method for abnormality and device therefor
Tran et al. Detecting drill failure in the small short-sound drill dataset
Cosin et al. Bearing failure prognostics using recurrent neural networks: A spectral data based architecture
Bergmann Data Mining for Manufacturing: Preventive Maintenance, Failure prediction, Quality Control