TWI775059B - Tool wear prediction system using evolutionary fuzzy neural network and method thereof - Google Patents
Tool wear prediction system using evolutionary fuzzy neural network and method thereof Download PDFInfo
- Publication number
- TWI775059B TWI775059B TW109109057A TW109109057A TWI775059B TW I775059 B TWI775059 B TW I775059B TW 109109057 A TW109109057 A TW 109109057A TW 109109057 A TW109109057 A TW 109109057A TW I775059 B TWI775059 B TW I775059B
- Authority
- TW
- Taiwan
- Prior art keywords
- tool wear
- module
- sub
- neural network
- fuzzy neural
- Prior art date
Links
- 238000013528 artificial neural network Methods 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims description 27
- 238000005520 cutting process Methods 0.000 claims abstract description 77
- 230000001186 cumulative effect Effects 0.000 claims abstract description 4
- 238000006243 chemical reaction Methods 0.000 claims description 66
- 239000013598 vector Substances 0.000 claims description 51
- 230000035772 mutation Effects 0.000 claims description 32
- 238000012937 correction Methods 0.000 claims description 22
- 238000004364 calculation method Methods 0.000 claims description 18
- 238000003062 neural network model Methods 0.000 claims description 18
- 238000012790 confirmation Methods 0.000 claims description 12
- 238000012360 testing method Methods 0.000 claims description 10
- 238000013519 translation Methods 0.000 claims description 10
- 238000013480 data collection Methods 0.000 claims description 7
- 230000000869 mutational effect Effects 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 4
- 241000283153 Cetacea Species 0.000 abstract 1
- 238000005457 optimization Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 6
- 238000000605 extraction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000012857 radioactive material Substances 0.000 description 1
- 230000002195 synergetic effect Effects 0.000 description 1
Images
Landscapes
- Feedback Control In General (AREA)
- Numerical Control (AREA)
Abstract
Description
本發明是關於一種刀具磨耗預測系統及其方法,特別是關於一種利用演化式模糊類神經網路之刀具磨耗預測系統及其方法。 The present invention relates to a tool wear prediction system and method, in particular to a tool wear prediction system and method using evolutionary fuzzy neural network.
現今的機械產業中,電腦數值控制(Computer Numerical Control;CNC)加工機佔有相當高的影響,在使用刀具加工的過程中,刀具必定會產生磨耗,而磨耗攸關著整體加工的品質與成本、更換刀具的時機,過早或過晚更換都會增加成本。而為了避免成本增加的問題,刀具磨耗的預測就有其重要性。 In today's machinery industry, Computer Numerical Control (CNC) processing machines have a very high influence. In the process of using tools to process, the tools will inevitably wear, and wear is related to the quality and cost of the overall processing. The timing of changing the tool, too early or too late can increase the cost. In order to avoid the problem of increased cost, the prediction of tool wear is important.
習知刀具磨耗的感測方式可分為兩種,其中一種是直接式感測,其可細分為:放射物質感測器、距離感測器及光學感測器等等。另一種則為間接式感測,其可依照接觸與否細分為接觸式與非接觸式,接觸式的感測器有:動力計、加速規、電流感測器等,而非接觸式則可以使用聲發射感測器。間接式量測取得的數據較難直接反應實際的 切削狀況,且習知刀具磨耗預測技術的演算法存在收斂速度過快而易陷入區域最佳解之問題。由此可知,目前此領域上缺乏一種可優化模型參數而得到較準確之預測刀具磨耗值的刀具磨耗預測系統及其方法,故相關研究者均在尋求其解決之道。 There are two conventional sensing methods for tool wear, one of which is direct sensing, which can be subdivided into: radioactive material sensor, distance sensor, optical sensor and so on. The other is indirect sensing, which can be subdivided into contact type and non-contact type according to the contact or not. Contact type sensors include: dynamometer, accelerometer, current sensor, etc., while non-contact type can be Use acoustic emission sensors. The data obtained by indirect measurement is difficult to directly reflect the actual cutting conditions, and the algorithm of the conventional tool wear prediction technology has the problem that the convergence speed is too fast and it is easy to fall into the regional optimal solution. It can be seen that there is currently a lack of a tool wear prediction system and method that can optimize the model parameters to obtain a more accurate prediction tool wear value. Therefore, relevant researchers are all looking for solutions.
因此,本發明之目的在於提供一種利用演化式模糊類神經網路之刀具磨耗預測系統及其方法,其先對切屑表面顏色進行取像,再將取得的圖像色彩資訊轉換到標準色度參數,並使用標準色度參數、切削參數、累積切削時間與刀具磨耗值來建立預測模型。然後以區間第二型模糊類神經網路作為預測模型,並使用動態分群協同式差分進化演算法來優化模型參數,以解決習知刀具磨耗預測技術中演算法存在收斂速度過快而易陷入區域最佳解之問題。 Therefore, the purpose of the present invention is to provide a tool wear prediction system and method using an evolutionary fuzzy neural network, which firstly takes an image of the chip surface color, and then converts the obtained image color information into standard chromaticity parameters , and use standard chromaticity parameters, cutting parameters, cumulative cutting time and tool wear values to build a predictive model. Then, the interval second type fuzzy neural network is used as the prediction model, and the dynamic grouping cooperative differential evolution algorithm is used to optimize the model parameters, so as to solve the problem that the algorithm in the conventional tool wear prediction technology has a too fast convergence speed and is easy to fall into the area. The problem of the best solution.
依據本發明的結構態樣之一實施方式提供一種利用演化式模糊類神經網路之刀具磨耗預測系統,其用以預測刀具切削工件所產生之實際刀具磨耗值。此利用演化式模糊類神經網路之刀具磨耗預測系統包含切削機台、攝影機以及運算處理器,其中切削機台驅動刀具切削工件而產生複數切屑。攝影機擷取各切屑之影像。運算處理器訊號連接切削機台與攝影機,且運算處理器包含參數規劃模組、時間記錄模組、色彩轉換模組及預測刀具磨耗值產生模組。參數規劃模組提供複數切削因子依據一田口直交表 規劃出複數切削參數,此些切削因子對應刀具。時間記錄模組記錄刀具切削過程之複數累積切削時間。色彩轉換模組接收切屑之影像並將影像轉換成複數標準色度參數。預測刀具磨耗值產生模組訊號連接參數規劃模組、時間記錄模組及色彩轉換模組。預測刀具磨耗值產生模組將切削參數、標準色度參數及累積切削時間依據一區間第二型模糊類神經網路運算而產生複數預測刀具磨耗值,區間第二型模糊類神經網路經由一動態分群協同式差分進化演算單元調整而產生一橫向演化預測刀具磨耗值與一縱向演化預測刀具磨耗值,且預測刀具磨耗值產生模組將預測刀具磨耗值、橫向演化預測刀具磨耗值及縱向演化預測刀具磨耗值進行比較而選擇出與實際刀具磨耗值相差之最小誤差者,以更新為一最佳預測刀具磨耗值。 According to an embodiment of the structural aspect of the present invention, a tool wear prediction system using an evolutionary fuzzy neural network is provided, which is used to predict the actual tool wear value generated by the tool cutting a workpiece. The tool wear prediction system using evolutionary fuzzy neural network includes a cutting machine, a camera and an arithmetic processor, wherein the cutting machine drives the tool to cut the workpiece to generate multiple chips. The camera captures images of each chip. The arithmetic processor signal is connected to the cutting machine and the camera, and the arithmetic processor includes a parameter planning module, a time recording module, a color conversion module and a predicted tool wear value generating module. The parametric planning module provides complex cutting factors based on the Itaguchi orthogonal table Complex cutting parameters are planned, and these cutting factors correspond to the tools. The time recording module records the complex cumulative cutting time of the tool cutting process. The color conversion module receives the image of the chips and converts the image into complex standard chromaticity parameters. The predicted tool wear value generation module signal is connected to the parameter planning module, the time recording module and the color conversion module. The predicted tool wear value generation module generates complex predicted tool wear values according to the cutting parameters, standard chromaticity parameters and accumulated cutting time according to the operation of an interval type 2 fuzzy neural network. The dynamic grouping synergistic differential evolution calculation unit is adjusted to generate a lateral evolution predicted tool wear value and a longitudinal evolution predicted tool wear value, and the predicted tool wear value generation module will predict the tool wear value, the lateral evolution predicted tool wear value and the longitudinal evolution The predicted tool wear value is compared and the one with the smallest error from the actual tool wear value is selected to be updated as an optimal predicted tool wear value.
藉此,本發明的利用演化式模糊類神經網路之刀具磨耗預測系統透過區間第二型模糊類神經網路作為預測模型,並使用動態分群協同式差分進化演算單元來優化模型參數,以解決習知刀具磨耗預測技術中演算法存在收斂速度過快而易陷入區域最佳解之問題。 Thereby, the tool wear prediction system using the evolutionary fuzzy neural network of the present invention uses the interval type II fuzzy neural network as the prediction model, and uses the dynamic grouping cooperative differential evolution calculation unit to optimize the model parameters to solve the problem. The algorithm in the conventional tool wear prediction technology has the problem that the convergence speed is too fast and it is easy to fall into the regional optimal solution.
依據本發明的方法態樣之一實施方式提供一種利用演化式模糊類神經網路之刀具磨耗預測方法,其用以預測一刀具切削一工件所產生之一實際刀具磨耗值。此利用演化式模糊類神經網路之刀具磨耗預測方法包含參數規劃步驟、切削步驟、數據收集步驟、色彩轉換步驟以及預測刀具磨耗值產生步驟。參數規劃步驟係提供複數切削因子 依據一田口直交表規劃出複數切削參數,此些切削因子對應刀具。切削步驟係驅動刀具切削工件而產生複數切屑,並記錄刀具於切削過程之複數累積切削時間。數據收集步驟係驅動一攝影機擷取各切屑之一影像。色彩轉換步驟係將切屑之影像轉換成複數標準色度參數。預測刀具磨耗值產生步驟係將切削參數、標準色度參數及累積切削時間依據一區間第二型模糊類神經網路模型運算而產生複數預測刀具磨耗值。區間第二型模糊類神經網路模型經由一動態分群協同式差分進化演算法調整而產生一橫向演化預測刀具磨耗值與一縱向演化預測刀具磨耗值,且預測刀具磨耗值產生步驟將預測刀具磨耗值、橫向演化預測刀具磨耗值及縱向演化預測刀具磨耗值進行比較而選擇出與實際刀具磨耗值相差之最小誤差者,以更新為一最佳預測刀具磨耗值。 An embodiment of a method aspect according to the present invention provides a tool wear prediction method using an evolutionary fuzzy neural network, which is used to predict an actual tool wear value generated by a tool cutting a workpiece. The tool wear prediction method using an evolutionary fuzzy neural network includes a parameter planning step, a cutting step, a data collection step, a color conversion step, and a predicted tool wear value generation step. The parametric planning step provides complex cutting factors Complex cutting parameters are planned according to a Taguchi orthogonal table, and these cutting factors correspond to tools. The cutting step is to drive the tool to cut the workpiece to generate multiple chips, and record the multiple accumulated cutting time of the tool during the cutting process. In the data collection step, a camera is driven to capture an image of each chip. The color conversion step converts the image of the chips into complex standard chromaticity parameters. In the step of generating the predicted tool wear value, the cutting parameter, the standard chromaticity parameter and the accumulated cutting time are calculated according to an interval type II fuzzy neural network model to generate a complex number of predicted tool wear value. The interval second type fuzzy neural network model is adjusted by a dynamic grouping collaborative differential evolution algorithm to generate a lateral evolution prediction tool wear value and a longitudinal evolution prediction tool wear value, and the predicted tool wear value generation step will predict the tool wear. value, the predicted tool wear value of lateral evolution and the predicted tool wear value of longitudinal evolution are compared to select the one with the smallest deviation from the actual tool wear value, and update it as an optimal predicted tool wear value.
藉此,本發明的利用演化式模糊類神經網路之刀具磨耗預測方法透過區間第二型模糊類神經網路模型作為預測模型,並使用動態分群協同式差分進化演算法來優化模型參數,以解決習知刀具磨耗預測技術中演算法存在收斂速度過快而易陷入區域最佳解之問題。 Thereby, the tool wear prediction method using the evolutionary fuzzy neural network of the present invention uses the interval second type fuzzy neural network model as the prediction model, and uses the dynamic grouping collaborative differential evolution algorithm to optimize the model parameters, so as to To solve the problem that the algorithm in the conventional tool wear prediction technology has too fast convergence speed and is easy to fall into the regional optimal solution.
100:利用演化式模糊類神經網路之刀具磨耗預測系統 100: A Tool Wear Prediction System Using Evolutionary Fuzzy Neural Networks
200:切削機台 200: Cutting machine
300:攝影機 300: Camera
400:運算處理器 400: arithmetic processor
410:參數規劃模組 410: Parameter planning module
420:時間記錄模組 420: Time Recording Module
430:色彩轉換模組 430: Color conversion module
431:範圍選定子模組 431: Scope selected submodule
432:色彩校正子模組 432: Color correction submodule
433:第一色彩轉換子模組 433: first color conversion submodule
434:第二色彩轉換子模組 434: Second color conversion submodule
435:第三色彩轉換子模組 435: The third color conversion submodule
440:預測刀具磨耗值產生模組 440: Predict tool wear value generation module
442:區間第二型模糊類神經網路 442: Interval Type II Fuzzy Neural Network
444:動態分群協同式差分進化演算單元 444: Dynamic Grouping Cooperative Differential Evolution Algorithm Unit
4441:初始化子模組 4441: Initialize submodule
4442:分群子模組 4442: Grouping submodules
4443:領導者確認子模組 4443: Leader Confirmation Submodule
4444:突變子模組 4444: Mutant Submodule
4445:交換子模組 4445: Swap submodules
4446:選擇子模組 4446: select submodule
4447:領導者調整子模組 4447: Leader adjustment submod
4448:更新子模組 4448: Update submodules
4449:迭代次數判斷子模組 4449: Iterations judgment submodule
Layer1:第一層 Layer1: the first layer
Layer2:第二層 Layer2: The second layer
Layer3:第三層 Layer3: The third layer
Layer4:第四層 Layer4: the fourth layer
Layer5:第五層 Layer5: fifth layer
X1,Xn:個體向量 X 1 , X n : individual vectors
Y:最佳預測刀具磨耗值 Y: Best predicted tool wear value
500:利用演化式模糊類神經網路之刀具磨耗預測方法 500: A Tool Wear Prediction Method Using Evolutionary Fuzzy Neural Networks
S02:參數規劃步驟 S02: Parameter planning step
S04:切削步驟 S04: Cutting step
S06:數據收集步驟 S06: Data collection steps
S08:色彩轉換步驟 S08: Color conversion steps
S081:範圍選定步驟 S081: Range selection step
S082:色彩校正步驟 S082: Color Correction Steps
S083:第一色彩轉換步驟 S083: The first color conversion step
S084:第二色彩轉換步驟 S084: Second color conversion step
S085:第三色彩轉換步驟 S085: The third color conversion step
S10:預測刀具磨耗值產生步驟 S10: Prediction of tool wear value generation step
S102:區間第二型模糊類神經網路模型 S102: Interval Type II Fuzzy Neural Network Model
S104:動態分群協同式差分進化演算法 S104: Dynamic Clustering Cooperative Differential Evolution Algorithm
S1041:初始化步驟 S1041: initialization step
S1042:分群步驟 S1042: Grouping step
S1043:領導者確認步驟 S1043: Leader Confirmation Step
S1044:突變步驟 S1044: Mutation step
S1045:交換步驟 S1045: Exchange step
S1046:選擇步驟 S1046: Selection step
S1047:領導者調整步驟 S1047: Leader Adjustment Steps
S1048:更新步驟 S1048: Update steps
S1049:迭代次數判斷步驟 S1049: Step of judging the number of iterations
第1圖係繪示本發明第一實施例之利用演化式模糊類神經網路之刀具磨耗預測系統的方塊示意圖; FIG. 1 is a block diagram illustrating a tool wear prediction system using an evolutionary fuzzy neural network according to a first embodiment of the present invention;
第2圖係繪示第1圖之利用演化式模糊類神經網路之刀具磨耗預測系統的色彩轉換模組之方塊示意圖; Fig. 2 is a block diagram of the color conversion module of the tool wear prediction system using evolutionary fuzzy neural network in Fig. 1;
第3圖係繪示第1圖之利用演化式模糊類神經網路之刀具磨耗預測系統的區間第二型模糊類神經網路之示意圖; FIG. 3 is a schematic diagram of the interval type 2 fuzzy neural network of the tool wear prediction system using the evolutionary fuzzy neural network of FIG. 1;
第4圖係繪示第1圖之利用演化式模糊類神經網路之刀具磨耗預測系統的動態分群協同式差分進化演算單元之方塊示意圖; Fig. 4 is a block schematic diagram of the dynamic grouping cooperative differential evolution calculation unit of the tool wear prediction system using the evolutionary fuzzy neural network of Fig. 1;
第5圖係繪示本發明第二實施例之利用演化式模糊類神經網路之刀具磨耗預測方法的流程示意圖; FIG. 5 is a schematic flowchart of a tool wear prediction method using an evolutionary fuzzy neural network according to a second embodiment of the present invention;
第6圖係繪示第5圖之利用演化式模糊類神經網路之刀具磨耗預測方法的色彩轉換步驟之流程示意圖;以及 FIG. 6 is a schematic flowchart showing the color conversion steps of the tool wear prediction method using the evolutionary fuzzy neural network in FIG. 5; and
第7圖係繪示第5圖之利用演化式模糊類神經網路之刀具磨耗預測方法的動態分群協同式差分進化演算法之流程示意圖。 FIG. 7 is a schematic flowchart of the dynamic grouping collaborative differential evolution algorithm of the tool wear prediction method using the evolutionary fuzzy neural network in FIG. 5 .
請一併參閱第1圖至第4圖,其中第1圖係繪示本發明第一實施例之利用演化式模糊類神經網路之刀具磨耗預測系統100的方塊示意圖;第2圖係繪示第1圖之利用演化式模糊類神經網路之刀具磨耗預測系統100的色彩轉換模組430之方塊示意圖;第3圖係繪示第1圖之利用演化式模糊類神經網路之刀具磨耗預測系統100的區間第二型模糊類神經網路442之示意圖;及第4圖係繪示第1圖之利用演化式模糊類神經網路之刀具磨耗預測系統100
的動態分群協同式差分進化演算單元444之方塊示意圖。如圖所示,此利用演化式模糊類神經網路之刀具磨耗預測系統100用以預測刀具切削工件所產生之實際刀具磨耗值。此利用演化式模糊類神經網路之刀具磨耗預測系統100包含切削機台200、攝影機300以及運算處理器400。
Please refer to FIG. 1 to FIG. 4 together. FIG. 1 is a block diagram of a tool
切削機台200驅動刀具切削工件而產生複數切屑。具體而言,切削機台200可為五軸加工機或其他適合的電腦數值控制(Computer Numerical Control;CNC)工具機,但本發明不以此為限。 The cutting table 200 drives the tool to cut the workpiece to generate a plurality of chips. Specifically, the cutting machine table 200 may be a five-axis machining machine or other suitable computer numerical control (Computer Numerical Control; CNC) machine tools, but the invention is not limited thereto.
攝影機300朝向切削機台200所產生的切屑,並擷取各切屑之影像。
The
運算處理器400訊號連接切削機台200與攝影機300,且運算處理器400包含參數規劃模組410、時間記錄模組420、色彩轉換模組430及預測刀具磨耗值產生模組440。
The
參數規劃模組410提供複數切削因子依據一田口直交表規劃出複數切削參數,此些切削因子對應刀具。具體而言,切削參數包含切削速度(m/min)、每刃進給量(mm/rev)、切削深度(mm),而田口直交表選擇使用L9(34)直交表。
The
時間記錄模組420記錄刀具切削過程之複數累積切削時間。
The
色彩轉換模組430接收切屑之影像並將影像轉換成複數標準色度參數。具體而言,色彩轉換模組430包含
範圍選定子模組431、色彩校正子模組432、第一色彩轉換子模組433、第二色彩轉換子模組434及第三色彩轉換子模組435。其中範圍選定子模組431選定各影像之一中心區域,例如選取影像中300×300像素(pixel)的範圍進行特徵提取。色彩校正子模組432訊號連接範圍選定子模組431,色彩校正子模組432針對中心區域依據一色彩校正模型執行色彩校正,以產生一標準色彩資訊。標準色彩資訊可為CIELAB色彩資訊。第一色彩轉換子模組433訊號連接色彩校正子模組432,第一色彩轉換子模組433將標準色彩資訊依據一第一標準光源轉換成複數第一刺激值,此些第一刺激值可為XYZD50之三刺激值。第二色彩轉換子模組434訊號連接第一色彩轉換子模組433,第二色彩轉換子模組434將第一刺激值依據一第二標準光源轉換成複數第二刺激值,此些第二刺激值可為XYZD65三刺激值。第三色彩轉換子模組435訊號連接第二色彩轉換子模組434,第三色彩轉換子模組435將第二刺激值依據一標準色度關係式轉換成標準色度參數,標準色度參數可為CIExy色彩資訊。
The
預測刀具磨耗值產生模組440訊號連接參數規劃模組410、時間記錄模組420及色彩轉換模組430。預測刀具磨耗值產生模組440將切削參數、標準色度參數及累積切削時間依據一區間第二型模糊類神經網路442運算而產生複數預測刀具磨耗值。區間第二型模糊類神經網路442經由一動態分群協同式差分進化演算單元444調整而
產生一橫向演化預測刀具磨耗值與一縱向演化預測刀具磨耗值,且預測刀具磨耗值產生模組440將預測刀具磨耗值、橫向演化預測刀具磨耗值及縱向演化預測刀具磨耗值進行比較而選擇出與實際刀具磨耗值相差之最小誤差者,以更新為一最佳預測刀具磨耗值Y。詳細地說,區間第二型模糊類神經網路442(Interval Type-II Fuzzy Neural Network,IT2FNN)包含第一層Layer1、第二層Layer2、第三層Layer3、第四層Layer4以及第五層Layer5。第一層Layer1、第二層Layer2、第三層Layer3、第四層Layer4以及第五層Layer5彼此依序連接。第一層Layer1的每個節點都為一個輸入節點,並將輸入值(個體向量X1至Xn)傳送至第二層Layer2。第二層Layer2進行模糊化運算,每個節點被定義為區間第二型模糊集合。第二層Layer2包含一區間第二型模糊平移量及一高斯函數之一平均值與一標準差。第三層Layer3之節點稱為規則節點,每一個節點代表一個模糊規則。第四層Layer4先將區間第二型模糊集合透過降階運算降階成一型模糊集合,再使用重心解模糊取得明確的輸出。第四層Layer4包含一後鑑部權重。第五層Layer5將第四層Layer4的輸出透過計算平均值來解模糊,以得到最佳預測刀具磨耗值Y。換言之,區間第二型模糊平移量、平均值、標準差及後鑑部權重經由動態分群協同式差分進化演算單元444調整,致使區間第二型模糊類神經網路442輸出最佳預測刀具磨耗值Y。
The predicted tool wear
另外,預測刀具磨耗值產生模組440可包含一動態分群協同式差分進化演算單元444,動態分群協同式差分進化演算單元444包含初始化子模組4441、分群子模組4442、領導者確認子模組4443、突變子模組4444、交換子模組4445、選擇子模組4446、領導者調整子模組4447、更新子模組4448及迭代次數判斷子模組4449。
In addition, the predicted tool wear
初始化子模組4441將區間第二型模糊平移量、平均值、標準差及後鑑部權重視為一個體並進行編碼,區間第二型模糊類神經網路442更包含複數個體。
The initialization sub-module 4441 regards the interval type 2 fuzzy translation amount, the average value, the standard deviation and the post-identification weight as an individual and encodes it, and the interval type 2 fuzzy
分群子模組4442訊號連接初始化子模組4441,分群子模組4442將個體依據一群組閾值分群成複數群組。具體而言,分群子模組4442先將所有個體依其適應值由高到低排序,並將個體的群組編號初始值設為0。排序後將適應值最高且群組編號為0的個體設定為領導者,並將群組編號更新為k,然後計算群組閾值,群組閾值包含距離閾值Dis(k)及適應值閾值Fit(k),如下式所示:
The grouping sub-module 4442 is connected to the
領導者確認子模組4443訊號連接分群子模組4442,領導者確認子模組4443確認各群組之各個體是否為一領導者,領導者代表各群組之個體之複數預測刀具磨耗值之最小者。具體而言,若各群組之其中一個體是領導者,則突變子模組4444、交換子模組4445及選擇子模組4446被執行而產生橫向演化預測刀具磨耗值。反之,若各群組之其中一個體不是領導者,則領導者調整子模組4447、突變子模組4444、交換子模組4445及選擇子模組4446被執行而產生縱向演化預測刀具磨耗值。
The leader confirming sub-module 4443 signal is connected to the
突變子模組4444訊號連接領導者確認子模組4443,突變子模組4444依據領導者執行一突變演化關係式而得到一突變向量。突變演化關係式包含突變向量Vi、隨機領導者XrL、突變權重因子F、第一隨機個體Xr1及第二隨機個體Xr2。突變演化關係式符合下式:Vi=XrL+F×(Xr1-Xr2) (7)。
The signal of the
交換子模組4445訊號連接突變子模組4444,交換子模組4445依據突變向量Vi執行一交換關係式而得到一試驗向量Ui。具體而言,交換關係式包含突變向量Vi、個體向量Xi及試驗向量Ui。交換關係式符合下式:
The signal of the
選擇子模組4446訊號連接交換子模組4445,選擇子模組4446依據試驗向量Ui執行一選擇關係式而得到選擇後的個體向量Xi,區間第二型模糊類神經網路442依據個體向量Xi運算而產生橫向演化預測刀具磨耗值。具體而言,選擇關係式包含試驗向量Ui與個體向量Xi,選擇關係式符合下式:
The
領導者調整子模組4447訊號連接領導者確認子模組4443與突變子模組4444,領導者調整子模組4447將個體排列成p×n個體向量,並將p×n個體向量分成n組p×1個體向量,然後尋找出n組p×1個體向量之n個縱向領導者。區間第二型模糊類神經網路442依據n個縱向領導者運算而產生縱向演化預測刀具磨耗值。個體的數量為p,各個體包含複數個體向量,各個體之個體向量的數量為n。
The
更新子模組4448訊號連接選擇子模組4446,更
新子模組4448將預測刀具磨耗值、橫向演化預測刀具磨耗值及縱向演化預測刀具磨耗值進行比較並選擇最小誤差者而更新為最佳預測刀具磨耗值Y。
Updated
迭代次數判斷子模組4449訊號連接更新子模組4448與分群子模組4442,迭代次數判斷子模組4449判斷分群子模組4442被執行的一迭代次數是否到達一預設次數;若否,則分群子模組4442與領導者確認子模組4443重新被執行;若是,則動態分群協同式差分進化演算單元444終止執行。
The number of iterations judging sub-module 4449 signals to connect the updating sub-module 4448 and the sub-module 4442, and the number of iterations judging sub-module 4449 judges whether the number of iterations executed by the sub-module 4442 reaches a preset number of times; if not, Then the
藉此,本發明之利用演化式模糊類神經網路之刀具磨耗預測系統100透過區間第二型模糊類神經網路442作為預測模型,並使用動態分群協同式差分進化演算單元444來優化模型參數,以解決習知刀具磨耗預測技術中演算法存在收斂速度過快而易陷入區域最佳解之問題。
Thereby, the tool
請一併參閱第1圖至第7圖,其中第5圖係繪示本發明第二實施例之利用演化式模糊類神經網路之刀具磨耗預測方法500的流程示意圖;第6圖係繪示第5圖之利用演化式模糊類神經網路之刀具磨耗預測方法500的色彩轉換步驟S08之流程示意圖;以及第7圖係繪示第5圖之利用演化式模糊類神經網路之刀具磨耗預測方法500的動態分群協同式差分進化演算法S104之流程示意圖。如圖所示,此利用演化式模糊類神經網路之刀具磨耗預測方法500用以預測刀具切削工件所產生之實際刀具磨耗值。此利用演化式模糊類神經網路之刀具磨耗預測方法500包含
參數規劃步驟S02、切削步驟S04、數據收集步驟S06、色彩轉換步驟S08以及預測刀具磨耗值產生步驟S10。
Please refer to FIG. 1 to FIG. 7 together, wherein FIG. 5 is a schematic flowchart of a tool
參數規劃步驟S02係提供複數切削因子依據一田口直交表規劃出複數切削參數,此些切削因子對應刀具。參數規劃步驟S02透過參數規劃模組410執行。
The parameter planning step S02 is to provide complex cutting factors to plan complex cutting parameters according to a Taguchi orthogonal table, and these cutting factors correspond to tools. The parameter planning step S02 is executed through the
切削步驟S04係驅動刀具切削工件而產生複數切屑,並記錄刀具於切削過程之複數累積切削時間。切削步驟S04透過切削機台200與時間記錄模組420執行。
The cutting step S04 is to drive the tool to cut the workpiece to generate multiple chips, and record the multiple accumulated cutting times of the tool during the cutting process. The cutting step S04 is performed by the cutting
數據收集步驟S06係驅動一攝影機300擷取各切屑之一影像。數據收集步驟S06透過攝影機300執行。
The data collection step S06 is to drive a
色彩轉換步驟S08係將切屑之影像轉換成複數標準色度參數。色彩轉換步驟S08透過色彩轉換模組430執行。具體而言,色彩轉換步驟S08包含範圍選定步驟S081、色彩校正步驟S082、第一色彩轉換步驟S083、第二色彩轉換步驟S084及第三色彩轉換步驟S085。範圍選定步驟S081係選定各影像之中心區域,範圍選定步驟S081透過範圍選定子模組431執行。色彩校正步驟S082係針對中心區域依據一色彩校正模型執行色彩校正,以產生一標準色彩資訊。色彩校正步驟S082透過色彩校正子模組432執行。第一色彩轉換步驟S083係將標準色彩資訊依據一第一標準光源轉換成複數第一刺激值。第一色彩轉換步驟S083透過第一色彩轉換子模組433執行。第二色彩轉換步驟S084係將第一刺激值依據一第二標準光源轉換成複數第二刺激值。第二色彩轉換步驟S084透過第
二色彩轉換子模組434執行。第三色彩轉換步驟S085係將第二刺激值依據一標準色度關係式轉換成此些標準色度參數。第三色彩轉換步驟S085透過第三色彩轉換子模組435執行。
The color conversion step S08 is to convert the image of the chips into complex standard chromaticity parameters. The color conversion step S08 is performed by the
預測刀具磨耗值產生步驟S10係將切削參數、標準色度參數及累積切削時間依據一區間第二型模糊類神經網路模型S102運算而產生複數預測刀具磨耗值。區間第二型模糊類神經網路模型S102經由動態分群協同式差分進化演算法S104調整而產生橫向演化預測刀具磨耗值與縱向演化預測刀具磨耗值,且預測刀具磨耗值產生步驟S10將預測刀具磨耗值、橫向演化預測刀具磨耗值及縱向演化預測刀具磨耗值進行比較而選擇出與實際刀具磨耗值相差之最小誤差者,以更新為一最佳預測刀具磨耗值Y。預測刀具磨耗值產生步驟S10透過預測刀具磨耗值產生模組440執行。區間第二型模糊類神經網路模型S102透過區間第二型模糊類神經網路442執行。動態分群協同式差分進化演算法S104透過動態分群協同式差分進化演算單元444執行。
The predicted tool wear value generating step S10 is to generate complex predicted tool wear values by operating the cutting parameters, the standard chromaticity parameters and the accumulated cutting time according to the second type fuzzy neural network model S102 in an interval. The interval second type fuzzy neural network model S102 is adjusted by the dynamic grouping collaborative differential evolution algorithm S104 to generate a lateral evolution predicted tool wear value and a longitudinal evolution predicted tool wear value, and the predicted tool wear value generation step S10 will predict the tool wear value, the predicted tool wear value of the lateral evolution and the predicted tool wear value of the longitudinal evolution are compared to select the one with the smallest difference from the actual tool wear value to update as an optimal predicted tool wear value Y. The predicted tool wear value generating step S10 is performed by the predicted tool wear
另外,動態分群協同式差分進化演算法S104可包含初始化步驟S1041、分群步驟S1042、領導者確認步驟S1043、突變步驟S1044、交換步驟S1045、選擇步驟S1046、領導者調整步驟S1047、更新步驟S1048及迭代次數判斷步驟S1049。 In addition, the dynamic grouping cooperative differential evolution algorithm S104 may include an initialization step S1041, a grouping step S1042, a leader confirmation step S1043, a mutation step S1044, an exchange step S1045, a selection step S1046, a leader adjustment step S1047, an update step S1048, and an iteration The number of times judgment step S1049.
初始化步驟S1041係將區間第二型模糊平移量、
平均值、標準差及後鑑部權重視為一個體並進行編碼,區間第二型模糊類神經網路模型S102包含複數個體。初始化步驟S1041透過初始化子模組4441執行。
The initialization step S1041 is to set the interval second type fuzzy translation amount,
The average value, standard deviation and post-identification weight are regarded as one individual and encoded, and the interval type II fuzzy neural network model S102 includes plural individuals. The initialization step S1041 is performed by the
分群步驟S1042係將此些個體依據一群組閾值分群成複數群組。分群步驟S1042透過分群子模組4442執行。
The grouping step S1042 is to group the individuals into plural groups according to a group threshold. The grouping step S1042 is performed by the
領導者確認步驟S1043係確認各群組之各個體是否為一領導者,領導者代表各群組之個體之複數預測刀具磨耗值之最小者。領導者確認步驟S1043透過領導者確認子模組4443執行。
The leader confirming step S1043 is to confirm whether each individual of each group is a leader, and the leader represents the minimum of the plurality of predicted tool wear values of the individuals of each group. The leader confirmation step S1043 is executed through the
突變步驟S1044係將此些個體執行一突變演化關係式而得到一突變向量。突變步驟S1044透過突變子模組4444執行。
The mutation step S1044 is to execute a mutation evolution relational expression on these individuals to obtain a mutation vector. The mutation step S1044 is performed by the
交換步驟S1045係依據突變向量執行一交換關係式而得到一試驗向量。交換步驟S1045透過交換子模組4445執行。
The exchange step S1045 is to execute an exchange relation according to the mutation vector to obtain a test vector. The exchange step S1045 is performed by the
選擇步驟S1046係依據試驗向量執行一選擇關係式而得到選擇後的一個體向量,區間第二型模糊類神經網路模型S102依據個體向量運算而產生橫向演化預測刀具磨耗值。選擇步驟S1046透過選擇子模組4446執行。
The selection step S1046 is to execute a selection relational expression according to the test vector to obtain a selected body vector, and the interval second type fuzzy neural network model S102 generates a lateral evolution prediction tool wear value according to the calculation of the individual vector. The selection step S1046 is performed through the
領導者調整步驟S1047係將此些個體排列成p×n個體向量,並將p×n個體向量分成n組p×1個體向量,然後尋找出n組p×1個體向量之n個縱向領導者。區間第二型模糊類神經網路模型S102依據n個縱向領導者運算
而產生縱向演化預測刀具磨耗值。領導者調整步驟S1047透過領導者調整子模組4447執行。
The leader adjustment step S1047 is to arrange these individuals into p×n individual vectors, and divide the p×n individual vectors into n groups of p×1 individual vectors, and then find n vertical leaders of the n groups of p×1 individual vectors . The interval second type fuzzy neural network model S102 is calculated according to n vertical leaders
The longitudinal evolution is generated to predict the tool wear value. The leader adjustment step S1047 is executed through the
更新步驟S1048係將預測刀具磨耗值、橫向演化預測刀具磨耗值及縱向演化預測刀具磨耗值進行比較並選擇最小誤差者而更新為最佳預測刀具磨耗值Y。更新步驟S1048透過更新子模組4448執行。
The updating step S1048 compares the predicted tool wear value, the lateral evolution predicted tool wear value, and the longitudinal evolution predicted tool wear value, and selects the one with the smallest error to update the best predicted tool wear value Y. The update step S1048 is performed by the
迭代次數判斷步驟S1049係判斷分群步驟S1042的一迭代次數是否到達一預設次數;若否,則重新執行分群步驟S1042與領導者確認步驟S1043;若是,則結束動態分群協同式差分進化演算法S104。迭代次數判斷步驟S1049透過迭代次數判斷子模組4449執行。 The iteration count judgment step S1049 is to judge whether an iteration count of the grouping step S1042 reaches a preset number of times; if not, re-execute the grouping step S1042 and the leader confirmation step S1043; if so, end the dynamic grouping cooperative differential evolution algorithm S104 . The step of determining the number of iterations S1049 is performed by the sub-module 4449 for determining the number of iterations.
藉此,本發明的利用演化式模糊類神經網路之刀具磨耗預測方法500透過區間第二型模糊類神經網路模型S102作為預測模型,並使用動態分群協同式差分進化演算法S104來優化模型參數,以解決習知刀具磨耗預測技術中演算法存在收斂速度過快而易陷入區域最佳解之問題。
Thereby, the tool
雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection of the present invention The scope shall be determined by the scope of the appended patent application.
100:利用演化式模糊類神經網路之刀具磨耗預測系統 100: A Tool Wear Prediction System Using Evolutionary Fuzzy Neural Networks
200:切削機台 200: Cutting machine
300:攝影機 300: Camera
400:運算處理器 400: arithmetic processor
410:參數規劃模組 410: Parameter planning module
420:時間記錄模組 420: Time Recording Module
430:色彩轉換模組 430: Color conversion module
440:預測刀具磨耗值產生模組 440: Predict tool wear value generation module
442:區間第二型模糊類神經網路 442: Interval Type II Fuzzy Neural Network
444:動態分群協同式差分進化演算單元 444: Dynamic Grouping Cooperative Differential Evolution Algorithm Unit
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109109057A TWI775059B (en) | 2020-03-18 | 2020-03-18 | Tool wear prediction system using evolutionary fuzzy neural network and method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109109057A TWI775059B (en) | 2020-03-18 | 2020-03-18 | Tool wear prediction system using evolutionary fuzzy neural network and method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202137024A TW202137024A (en) | 2021-10-01 |
| TWI775059B true TWI775059B (en) | 2022-08-21 |
Family
ID=79601279
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109109057A TWI775059B (en) | 2020-03-18 | 2020-03-18 | Tool wear prediction system using evolutionary fuzzy neural network and method thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI775059B (en) |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8781982B1 (en) * | 2011-09-23 | 2014-07-15 | Lockheed Martin Corporation | System and method for estimating remaining useful life |
| TW201834784A (en) * | 2017-03-24 | 2018-10-01 | 國立成功大學 | Tool wear monitoring and predicting method |
| CN110245689A (en) * | 2019-05-23 | 2019-09-17 | 杭州有容智控科技有限公司 | Shield cutter identification and position finding and detection method based on machine vision |
| CN110263474A (en) * | 2019-06-27 | 2019-09-20 | 重庆理工大学 | A kind of cutter life real-time predicting method of numerically-controlled machine tool |
| CN110355608A (en) * | 2019-07-18 | 2019-10-22 | 浙江大学 | Tool wear prediction method based on self-attention mechanism and deep learning |
| CN110488753A (en) * | 2019-08-29 | 2019-11-22 | 山东大学 | Whirling tool periscopic testing agency, forecasting system and method |
| CN110509109A (en) * | 2019-07-16 | 2019-11-29 | 西安交通大学 | Tool Wear Monitoring method based on multiple dimensioned depth convolution loop neural network |
| TW202006340A (en) * | 2018-07-18 | 2020-02-01 | 國立勤益科技大學 | Method for estimating tool wear by using color of chips estimating the tool wear generated when the chips are produced |
| TWM597429U (en) * | 2020-03-18 | 2020-06-21 | 百德機械股份有限公司 | Tool wear prediction system using evolutionary fuzzy neural network |
-
2020
- 2020-03-18 TW TW109109057A patent/TWI775059B/en active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8781982B1 (en) * | 2011-09-23 | 2014-07-15 | Lockheed Martin Corporation | System and method for estimating remaining useful life |
| TW201834784A (en) * | 2017-03-24 | 2018-10-01 | 國立成功大學 | Tool wear monitoring and predicting method |
| TW202006340A (en) * | 2018-07-18 | 2020-02-01 | 國立勤益科技大學 | Method for estimating tool wear by using color of chips estimating the tool wear generated when the chips are produced |
| CN110245689A (en) * | 2019-05-23 | 2019-09-17 | 杭州有容智控科技有限公司 | Shield cutter identification and position finding and detection method based on machine vision |
| CN110263474A (en) * | 2019-06-27 | 2019-09-20 | 重庆理工大学 | A kind of cutter life real-time predicting method of numerically-controlled machine tool |
| CN110509109A (en) * | 2019-07-16 | 2019-11-29 | 西安交通大学 | Tool Wear Monitoring method based on multiple dimensioned depth convolution loop neural network |
| CN110355608A (en) * | 2019-07-18 | 2019-10-22 | 浙江大学 | Tool wear prediction method based on self-attention mechanism and deep learning |
| CN110488753A (en) * | 2019-08-29 | 2019-11-22 | 山东大学 | Whirling tool periscopic testing agency, forecasting system and method |
| TWM597429U (en) * | 2020-03-18 | 2020-06-21 | 百德機械股份有限公司 | Tool wear prediction system using evolutionary fuzzy neural network |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202137024A (en) | 2021-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI773063B (en) | Image generation system and image generation method | |
| CN115860592B (en) | Quality detection and evaluation method and system for gypsum block | |
| CN109916913A (en) | A machine vision-based intelligent manufacturing product identification and detection method | |
| CN116385476B (en) | Quality analysis method of iron tower based on visual detection | |
| WO2025148572A1 (en) | Target detection method and apparatus, electronic device, and storage medium | |
| TWM597429U (en) | Tool wear prediction system using evolutionary fuzzy neural network | |
| CN117746055B (en) | Algorithm for extracting stereo features based on 3D point cloud data | |
| TWI775059B (en) | Tool wear prediction system using evolutionary fuzzy neural network and method thereof | |
| CN120095718A (en) | A hardware intelligent grinding system and method based on machine vision | |
| TW202109356A (en) | Clothing image classification and image classification methods and apparatuses, and device | |
| TWM550465U (en) | Semiconductor wafer analyzing system | |
| CN120595665A (en) | A metal processing error monitoring method and system based on situation awareness | |
| CN118682177A (en) | An adaptive CNC milling method and system for special-shaped thin-walled parts | |
| CN115049791B (en) | Numerical control lathe workpiece three-dimensional modeling method combined with image processing | |
| CN113360838B (en) | Nozzle casting monitoring method and system based on image processing | |
| CN119048875B (en) | Monitoring imaging system for oral care | |
| CN115421445A (en) | Processing method of hardware thin-wall part | |
| CN119668189B (en) | Efficient processing control method, device, equipment and storage medium based on cloud platform | |
| CN112862826A (en) | Normal sample nondestructive generation method for surface defect detection task | |
| CN115880645B (en) | Progress prediction system of jewelry chain loom based on multi-picture monitoring analysis | |
| CN119963544B (en) | Parts milling machine processing detection method and system | |
| CN120352028B (en) | A surface color difference control system for plastic products | |
| CN114111574B (en) | Binocular line laser vision three-dimensional measurement method for high-temperature red-hot targets | |
| CN117115143B (en) | Method and device for detecting wafer core particle, computer equipment and storage medium | |
| Fomin et al. | Improvement of the Quality of Wear Zones for Cutting Tools Textures Classes Recognition |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GD4A | Issue of patent certificate for granted invention patent |