[go: up one dir, main page]

TWI761258B - Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine - Google Patents

Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine Download PDF

Info

Publication number
TWI761258B
TWI761258B TW110125541A TW110125541A TWI761258B TW I761258 B TWI761258 B TW I761258B TW 110125541 A TW110125541 A TW 110125541A TW 110125541 A TW110125541 A TW 110125541A TW I761258 B TWI761258 B TW I761258B
Authority
TW
Taiwan
Prior art keywords
thermal
error value
error
model
feature subset
Prior art date
Application number
TW110125541A
Other languages
Chinese (zh)
Other versions
TW202303316A (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 TW110125541A priority Critical patent/TWI761258B/en
Application granted granted Critical
Publication of TWI761258B publication Critical patent/TWI761258B/en
Publication of TW202303316A publication Critical patent/TW202303316A/en

Links

Images

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Control Of Position Or Direction (AREA)
  • Feedback Control In General (AREA)

Abstract

An intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine are provided. The system includes an input module receiving the measurement information of a temperature sensor and a thermal displacement sensor; a process module establishing an initial thermal error calculation model and a plurality of feature subsets, obtaining an adaptive error value, then comparing the adaptive error value with a tolerance value, and obtaining an optimal feature subset when the adaptive error value is smaller than the tolerance value, or adjusting the feature subset otherwise; an output module establishing an optimal thermal error calculation model based on the optimal feature subset; and a compensation module selecting a temperature sensing point information to input to the optimal thermal error calculation model, estimating the actual thermal error variable to produce a compensation result, and accordingly compensating the thermal displacement of the processing machine.

Description

加工機之智能型熱位移補償系統及熱位移模型建立及補償方法Intelligent thermal displacement compensation system for processing machine and thermal displacement model establishment and compensation method

本發明係關於一種熱位移補償相關技術,尤指一種加工機之智能型熱位移補償系統及熱位移模型建立方法。The present invention relates to a related technology of thermal displacement compensation, in particular to an intelligent thermal displacement compensation system of a processing machine and a method for establishing a thermal displacement model.

工具機相關產業為追求加工機的高產能與產量,在不影響產品品質的前提下,會提高加工機運作效率以在一定的稼動時間內生產更多的工件。然而,加工機在高速運轉的過程中產生的熱能,加工機機構間的熱轉移、熱擴散與熱分部,以及環境溫度等多種熱源影響因素而產生的熱誤差(Thermal Error),會導致加工機之金屬鑄件因熱而膨脹變形,以及導致刀具與工件的相對位置發生偏移。In order to pursue high productivity and output of processing machines, machine tool related industries will improve the operating efficiency of processing machines to produce more workpieces within a certain operating time without affecting product quality. However, the thermal energy generated by the processing machine in the process of high-speed operation, the heat transfer, thermal diffusion and thermal division between the processing machine mechanisms, and thermal errors caused by various heat source factors such as ambient temperature, will lead to processing. The metal casting of the machine expands and deforms due to heat, and causes the relative position of the tool and the workpiece to shift.

加工機因熱誤差而導致的變形以及偏移,進而影響整體加工機40~70%的加工精度,因此,業者通常會對加工機進行熱誤差補償(Thermal Error Compensation),以減少熱誤差對加工精度的影響。熱誤差補償技術分為主動式補償以及被動式補償,主動式補償通常指加工機之結構改良,被動式補償指以電腦軟體控制進行補償。The deformation and offset of the processing machine due to thermal error will affect the processing accuracy of the overall processing machine by 40~70%. Therefore, the industry usually performs thermal error compensation (Thermal Error Compensation) on the processing machine to reduce the thermal error. The effect of precision. Thermal error compensation technology is divided into active compensation and passive compensation. Active compensation usually refers to the structural improvement of the processing machine, and passive compensation refers to the compensation by computer software control.

主動式補償手段雖然可以從源頭解決或抑制熱誤差影響,但因涉及加工機的設計、組裝與測試,除了所需成本高、耗費時間外也無法進行熱誤差補償效果的快速驗證;被動式補償方法透過在機台上裝設多組溫度感測器以及佈置位移感測器,並依此建立一熱誤差模型,熱誤差模型可以根據當前溫度變化推估熱誤差變量以進行補償,而能立即確認補償效果。Although the active compensation method can solve or suppress the influence of thermal error from the source, because it involves the design, assembly and testing of the processing machine, in addition to the high cost and time-consuming, it is impossible to quickly verify the thermal error compensation effect; passive compensation method By installing multiple sets of temperature sensors and arranging displacement sensors on the machine, and establishing a thermal error model accordingly, the thermal error model can estimate the thermal error variable according to the current temperature change for compensation, and can be confirmed immediately Compensation effect.

然而,為了提高模型的預測準確率,需要先篩選出關鍵的溫度量測位置,而後再進入如模型相關參數調整的模型建立與訓練程序,而關鍵的量測位置以及模型相關參數只能透過人員介入以試誤法(Try and Error)反覆調整直到精度達標,因此,除了建模過程繁瑣且花費許多人力外,模型的可靠度亦難以衡量。However, in order to improve the prediction accuracy of the model, it is necessary to screen out the key temperature measurement positions first, and then enter into the model establishment and training procedures such as model-related parameter adjustment, and the key measurement positions and model-related parameters can only be obtained by personnel The intervention is repeatedly adjusted by try and error until the accuracy reaches the standard. Therefore, in addition to the tedious and labor-intensive modeling process, the reliability of the model is also difficult to measure.

本發明主要目的在於能夠在模型建立與訓練的程序中,同時篩選出關鍵的溫度量測位置以及讓模型進行自我相關參數調整,不必透過人工介入即可建立出最佳的模型,並達到最佳的熱位移補償效果。The main purpose of the present invention is to screen out the key temperature measurement positions and adjust the self-correlated parameters of the model in the process of model establishment and training. thermal displacement compensation effect.

為達上述目的,本發明之一項實施例提供一種加工機之智能型熱位移補償系統,加工機上具有位於不同位置的複數溫度感測器以及一熱位移感測器,熱位移補償系統與複數溫度感測器以及熱位移感測器耦接,熱位移補償系統包含:一輸入模組、一處理模組、一輸出模組以及一補償模組;輸入模組用以接收複數溫度感測器以及熱位移感測器之量測資訊;處理模組與輸入模組耦接,處理模組包含一模型建立單元、一特徵子集建立單元以及一訓練單元,模型建立單元用以建立一依溫度變化的初始熱誤差演算模型,特徵子集建立單元根據複數溫度感測器以及初始熱誤差演算模型而取得複數特徵子集,每一特徵子集包含有複數溫度感測點資訊以及一相關初始熱誤差演算模型的模型參數,訓練單元由初始熱誤差演算模型獲得每一特徵子集之一模擬熱誤差變量,並以模擬熱誤差變量為基礎進一步取得一適應誤差值,訓練單元比對每一特徵子集之適應誤差值而取得一較佳特徵子集,當較佳特徵子集之適應誤差值小於一容忍值時,以較佳特徵子集作為一最佳特徵子集,當較佳特徵子集之適應誤差值大於容忍值時,則重新調整複數特徵子集;輸出模組與處理模組耦接,輸出模組依據最佳特徵子集以及初始熱誤差演算模型建立一最佳熱誤差演算模型;補償模組與輸入模組以及輸出模組耦接,補償模組能夠選擇溫度感測點資訊並輸入至最佳熱誤差演算模型,估測實際熱誤差變量以產生一補償結果,並根據補償結果對加工機進行熱位移補償。In order to achieve the above object, an embodiment of the present invention provides an intelligent thermal displacement compensation system for a processing machine. The processing machine has a plurality of temperature sensors located at different positions and a thermal displacement sensor. The plurality of temperature sensors and the thermal displacement sensors are coupled, and the thermal displacement compensation system includes: an input module, a processing module, an output module and a compensation module; the input module is used for receiving a plurality of temperature sensing The measurement information of the device and the thermal displacement sensor; the processing module is coupled to the input module, the processing module includes a model building unit, a feature subset building unit and a training unit, and the model building unit is used to build a The initial thermal error calculation model of temperature change, the feature subset establishment unit obtains complex feature subsets according to the complex temperature sensor and the initial thermal error calculation model, each feature subset includes complex temperature sensing point information and a related initial The model parameters of the thermal error calculation model, the training unit obtains a simulated thermal error variable for each feature subset from the initial thermal error calculation model, and further obtains an adaptive error value based on the simulated thermal error variable, and the training unit compares each The adaptive error value of the feature subset is used to obtain a better feature subset. When the adaptive error value of the better feature subset is less than a tolerance value, the better feature subset is used as an optimum feature subset. When the adaptive error value of the subset is greater than the tolerance value, the complex feature subset is re-adjusted; the output module is coupled with the processing module, and the output module establishes an optimal thermal error according to the optimal feature subset and the initial thermal error calculation model Calculation model; the compensation module is coupled with the input module and the output module, the compensation module can select the temperature sensing point information and input it into the optimal thermal error calculation model, estimate the actual thermal error variable to generate a compensation result, and Thermal displacement compensation is performed on the processing machine according to the compensation result.

本發明之一項實施例提供一種加工機之智能型熱位移模型建立方法,加工機上具有位於不同位置的複數溫度感測器以及一熱位移感測器,熱位移模型建立方法包含以下步驟:一模型建立步驟、一資料擷取步驟、一熱誤差模擬步驟、一模型訓練步驟以及一最佳化步驟;模型建立步驟:建立一依溫度變化的初始熱誤差演算模型;資料擷取步驟:根據加工機上的複數溫度感測器以及初始熱誤差演算模型而取得複數特徵子集,每一特徵子集包含有複數由溫度感測器所取得的溫度感測點資訊以及一相關初始熱誤差演算模型的模型參數;熱誤差模擬步驟:初始熱誤差演算模型依據複數特徵子集而各獲得一模擬熱誤差變量,並以模擬熱誤差變量為基礎進一步取得一適應誤差值;模型訓練步驟:比對每一特徵子集之適應誤差值而取得一較佳特徵子集,當較佳特徵子集之適應誤差值小於一容忍值時,以較佳特徵子集作為一最佳特徵子集,並以最佳特徵子集以及初始熱誤差演算模型建立一最佳熱誤差演算模型,當較佳特徵子集之適應誤差值大於容忍值時,則進行後續步驟;最佳化步驟:重新調整複數特徵子集的參數選擇,並回到熱誤差模擬步驟,依此循環直到在模型訓練步驟中,較佳特徵子集之適應誤差值小於容忍值。An embodiment of the present invention provides a method for establishing an intelligent thermal displacement model of a processing machine. The processing machine has a plurality of temperature sensors located at different positions and a thermal displacement sensor. The method for establishing the thermal displacement model includes the following steps: A model establishment step, a data acquisition step, a thermal error simulation step, a model training step, and an optimization step; the model establishment step: establishing an initial thermal error calculation model according to temperature changes; the data acquisition step: according to The complex temperature sensors and the initial thermal error calculation model on the processing machine are used to obtain complex feature subsets, each feature subset includes the temperature sensing point information obtained by the temperature sensor and a related initial thermal error calculation Model parameters of the model; thermal error simulation step: the initial thermal error calculation model obtains a simulated thermal error variable according to the complex feature subset, and further obtains an adaptive error value based on the simulated thermal error variable; model training step: comparison The adaptive error value of each feature subset is used to obtain a better feature subset. When the adaptive error value of the better feature subset is less than a tolerance value, the better feature subset is used as an optimal feature subset, and the The optimal feature subset and the initial thermal error calculation model establish an optimal thermal error calculation model. When the adaptive error value of the best feature subset is greater than the tolerance value, the subsequent steps are performed; the optimization step: readjust the complex features parameter selection of the set, and return to the thermal error simulation step, and so on until in the model training step, the adaptive error value of the preferred feature subset is less than the tolerance value.

藉此,本發明透過處理模組建立一依溫度變化的初始熱誤差演算模型與特徵子集,並進一步取得一適應誤差值,處理模組比對適應誤差值以及一容忍值,當適應誤差值小於容忍值時得一最佳特徵子集,當適應誤差值大於容忍值時則重新調整特徵子集,以此方式同時選出最關鍵的溫度感測點以及令模型進行自我模型參數調整,進而達到建模流程簡化、模型可靠度提升的功效。Thereby, the present invention establishes an initial thermal error calculation model and feature subset according to the temperature change through the processing module, and further obtains an adaptive error value. The processing module compares the adaptive error value and a tolerance value, and when the adaptive error value is used When it is less than the tolerance value, an optimal feature subset is obtained. When the adaptation error value is greater than the tolerance value, the feature subset is re-adjusted. In this way, the most critical temperature sensing points are simultaneously selected and the model is adjusted to its own model parameters, so as to achieve The effect of simplifying the modeling process and improving the reliability of the model.

為便於說明本發明於上述發明內容一欄中所表示的中心思想,茲以具體實施例表達。實施例中各種不同物件係按適於說明之比例、尺寸、變形量或位移量而描繪,而非按實際元件的比例予以繪製,合先敘明。In order to facilitate the description of the central idea of the present invention expressed in the column of the above-mentioned summary of the invention, specific embodiments are hereby expressed. Various objects in the embodiments are drawn according to proportions, sizes, deformations or displacements suitable for description, rather than the proportions of actual elements, which will be described first.

請參閱圖1至圖3所示,本發明提供一種加工機之智能型熱位移補償系統以及熱位移模型建立及補償方法,加工機1上具有位於不同位置的複數溫度感測器2以及一熱位移感測器3,其中,加工機1上每一位於不同位置的溫度感測器2各代表一溫度感測點;熱位移補償系統100與複數溫度感測器2以及熱位移感測器3耦接。Please refer to FIG. 1 to FIG. 3 , the present invention provides an intelligent thermal displacement compensation system and a thermal displacement model establishment and compensation method for a processing machine. The processing machine 1 has a plurality of temperature sensors 2 located at different positions and a thermal Displacement sensor 3, wherein each temperature sensor 2 located at a different position on the processing machine 1 represents a temperature sensing point; the thermal displacement compensation system 100 and the plurality of temperature sensors 2 and the thermal displacement sensor 3 coupled.

熱位移補償系統100包含:一輸入模組10、一處理模組20、一輸出模組30以及一補償模組40,其中,輸入模組10用以接收複數溫度感測器2以及熱位移感測器3之量測資訊;處理模組20與輸入模組10耦接,處理模組20包含一模型建立單元21、一特徵子集建立單元22以及一訓練單元23;輸出模組30與處理模組20耦接;補償模組40與輸入模組10以及輸出模組30耦接。The thermal displacement compensation system 100 includes: an input module 10 , a processing module 20 , an output module 30 and a compensation module 40 , wherein the input module 10 is used for receiving a plurality of temperature sensors 2 and thermal displacement sensors The measurement information of the measuring device 3; the processing module 20 is coupled to the input module 10, and the processing module 20 includes a model building unit 21, a feature subset building unit 22 and a training unit 23; the output module 30 and processing The module 20 is coupled; the compensation module 40 is coupled to the input module 10 and the output module 30 .

本實施例之熱位移模型建立及補償方法200,包括一模型建立步驟201、一資料擷取步驟202、一熱誤差模擬步驟203、一模型訓練步驟204、一最佳化步驟205以及一補償步驟206。The thermal displacement model establishment and compensation method 200 of this embodiment includes a model establishment step 201 , a data acquisition step 202 , a thermal error simulation step 203 , a model training step 204 , an optimization step 205 and a compensation step 206.

在模型建立步驟201中,模型建立單元21建立一依溫度變化的初始熱誤差演算模型211。In the model building step 201 , the model building unit 21 builds an initial thermal error calculation model 211 depending on the temperature.

接著,在資料擷取步驟202中,特徵子集建立單元22根據複數溫度感測點資訊以及初始熱誤差演算模型211而取得複數特徵子集X,每一特徵子集X包含有複數溫度感測點資訊以及一相關初始熱誤差演算模型211的模型參數。Next, in the data acquisition step 202, the feature subset creation unit 22 obtains a complex feature subset X according to the complex temperature sensing point information and the initial thermal error calculation model 211, and each feature subset X includes a complex temperature sensing Point information and model parameters of an associated initial thermal error calculation model 211 .

於本實施例中,每一特徵子集X選擇採用不同的模型參數資訊,以及各由所有溫度感測點資訊中選擇至少一關鍵溫度點資訊,並排除其他溫度感測點資訊對特徵子集X的影響。In this embodiment, different model parameter information is selected for each feature subset X, and at least one key temperature point information is selected from all the temperature sensing point information, and other temperature sensing point information is excluded from the feature subset. The effect of X.

其中,本實施例之模型參數為建立初始熱誤差演算模型211,其係以支援向量回歸(SVR,Support Vector Regression)演算法建立模型為例,模型參數為使用SVR演算法時需定義kernel function、C以及gamma等函數或超參數;SVR透過kernal function將特徵子集X投影由二維投影至三維,經由超平面切割後再映射回二維進行分類;透過調整參數C以及gamma可調整SVR建立模型的容許誤差與SVR擬合效果。Among them, the model parameters of this embodiment are the establishment of the initial thermal error calculation model 211, which is based on the support vector regression (SVR, Support Vector Regression) algorithm establishment of the model as an example, the model parameters are to define the kernel function when using the SVR algorithm, Functions or hyperparameters such as C and gamma; SVR projects the feature subset X from 2D to 3D through the kernal function, cuts it through the hyperplane and then maps it back to 2D for classification; By adjusting the parameters C and gamma, the SVR can be adjusted to build a model The allowable error and the SVR fitting effect.

如圖3所示,為本發明實施例之加工機1溫度感測點篩選示意圖,在選擇溫度感測點為關鍵溫度點時,溫度感測點資訊係以0或1之方式呈現,當某一溫度感測點之特徵為1時,表示選擇此溫度感測點為關鍵溫度點,特徵子集X採用此關鍵溫度點之關鍵溫度點資訊;當特徵為0時,則表示不選擇此溫度感測點為關鍵溫度點,特徵子集X不採用此溫度感測點之溫度感測點資訊。As shown in FIG. 3, it is a schematic diagram of the temperature sensing point selection of the processing machine 1 according to the embodiment of the present invention. When the temperature sensing point is selected as the key temperature point, the temperature sensing point information is displayed in the form of 0 or 1. When a certain temperature sensing point is selected as the key temperature point When the feature of a temperature sensing point is 1, it means that the temperature sensing point is selected as the key temperature point, and the feature subset X uses the key temperature point information of the key temperature point; when the feature is 0, it means that the temperature is not selected The sensing point is a key temperature point, and the feature subset X does not use the temperature sensing point information of this temperature sensing point.

接著,在熱誤差模擬步驟203中,訓練單元23依據複數特徵子集X由初始熱誤差演算模型211而各獲得一模擬熱誤差變量,每一特徵子集X以此模擬熱誤差變量為基礎進一步取得一適應誤差值231。其中,訓練單元23將模擬熱誤差變量與熱位移感測器3量測之一位移資訊進行比對,以計算取得一測試誤差值,並以此測試誤差值作為適應誤差值231進行後續步驟處理。Next, in the thermal error simulation step 203 , the training unit 23 obtains a simulated thermal error variable from the initial thermal error calculation model 211 according to the complex feature subset X, and each feature subset X is further based on the simulated thermal error variable. An adaptive error value 231 is obtained. The training unit 23 compares the simulated thermal error variable with a displacement information measured by the thermal displacement sensor 3 to obtain a test error value, and uses the test error value as the adaptive error value 231 to perform subsequent step processing .

於本實施例中,在熱誤差模擬步驟203訓練單元23依據複數特徵子集X,可計算取得各特徵子集X之適應誤差值231,其中,各特徵子集X之適應誤差值231為測試誤差值與一溫度點誤差值之和。In this embodiment, in the thermal error simulation step 203, the training unit 23 can calculate and obtain the adaptive error value 231 of each feature subset X according to the complex feature subset X, wherein the adaptive error value 231 of each feature subset X is a test. The sum of the error value and the error value of a temperature point.

進一步說明,訓練單元23依據複數特徵子集X而獲得複數模擬熱誤差變量,將每一模擬熱誤差變量與熱位移感測器3量測之位移資訊進行比對,以計算取得每一特徵子集X之測試誤差值,而定義溫度點誤差值為(關鍵溫度點數目除以溫度感測點數目)。Further description, the training unit 23 obtains complex analog thermal error variables according to the complex feature subset X, and compares each analog thermal error variable with the displacement information measured by the thermal displacement sensor 3 to calculate and obtain each feature Set the test error value of X, and define the temperature point error value (the number of critical temperature points divided by the number of temperature sensing points).

更進一步說明,本實施例考量到各使用者對不同加工機1之熱位移模型建模需求,更定義適應誤差值231=w1*測試誤差值+w2*溫度誤差值,其中,w1為測試誤差值權重,w2為溫度誤差值權重,權重w1與權重w2之和為1。To further illustrate, in this embodiment, considering the needs of each user for modeling thermal displacement models of different processing machines 1, an adaptation error value 231=w1*test error value+w2*temperature error value is further defined, where w1 is the test error Value weight, w2 is the temperature error value weight, and the sum of weight w1 and weight w2 is 1.

接著,在模型訓練步驟204中,訓練單元23比對每一特徵子集之適應誤差值231,依據每一適應誤差值231數值大小判斷而取得一較佳特徵子集,當較佳特徵子集之適應誤差值231小於一容忍值時,代表整體熱位移模擬結果已經達到預定目標,跟實際狀況相符,以此較佳特徵子集作為一最佳特徵子集X’,輸出模組30以最佳特徵子集X’以及初始熱誤差演算模型211建立一最佳熱誤差演算模型31。Next, in the model training step 204 , the training unit 23 compares the adaptive error values 231 of each feature subset, and determines a better feature subset according to the magnitude of each adaptive error value 231 . When the adaptive error value 231 is smaller than a tolerance value, it means that the overall thermal displacement simulation result has reached the predetermined target, which is consistent with the actual situation. The optimal feature subset X' and the initial thermal error calculation model 211 establish an optimal thermal error calculation model 31 .

在模型訓練步驟204中,當較佳特徵子集之適應誤差值231大於容忍值時,代表整體熱位移模擬結果還達不到預定目標,將進行後續最佳化步驟205。在最佳化步驟205中,訓練單元23重新調整複數特徵子集X的參數選擇,並回到熱誤差模擬步驟203,依此循環重複調整特徵子集X,直到在模型訓練步驟204中,較佳特徵子集之適應誤差值231小於容忍值而獲得最佳特徵子集X’為止。In the model training step 204 , when the adaptation error value 231 of the preferred feature subset is greater than the tolerance value, it means that the overall thermal displacement simulation result has not reached the predetermined target, and the subsequent optimization step 205 will be performed. In the optimization step 205, the training unit 23 re-adjusts the parameter selection of the complex feature subset X, and returns to the thermal error simulation step 203, and repeats the adjustment of the feature subset X in this cycle until in the model training step 204, the more The adaptation error value 231 of the best feature subset is less than the tolerance value until the best feature subset X' is obtained.

其中,本實施例之最佳化步驟205中,調整複數特徵子集X之方法係以粒子群(Particle Swarm Optimization)演算法為例,複數特徵子集X透過速度向量修正,而使其逐漸達最佳化,速度向量則基於比量常數項、隨機範圍、較佳特徵子集及最佳特徵子集X’進行更新,更新方式如下所示:Among them, in the optimization step 205 of this embodiment, the method for adjusting the complex feature subset X is to take the Particle Swarm Optimization algorithm as an example, and the complex feature subset X is modified by the velocity vector so that it gradually reaches For optimization, the velocity vector is updated based on the ratio constant term, the random range, the best feature subset and the best feature subset X', and the update method is as follows:

Figure 02_image001
Figure 02_image001
;

Figure 02_image003
Figure 02_image003
;

Figure 02_image005
為特徵子集X,
Figure 02_image007
為速度向量,
Figure 02_image009
Figure 02_image011
為比例常數項,
Figure 02_image013
Figure 02_image015
為介於0~1之隨機範圍常數,t為當前迭代次數,
Figure 02_image017
為該次迭代之較佳特徵子集,
Figure 02_image019
為截至該次迭代之當前所有特徵子集X中之最佳特徵子集X’,當
Figure 02_image017
之適應誤差值231小於
Figure 02_image019
之適應誤差值231,即更新成為新的
Figure 02_image019
,而
Figure 02_image019
小於容忍值時即成為最佳特徵子集X’。
Figure 02_image005
is the feature subset X,
Figure 02_image007
is the velocity vector,
Figure 02_image009
and
Figure 02_image011
is the proportional constant term,
Figure 02_image013
and
Figure 02_image015
is a random range constant between 0 and 1, t is the current iteration number,
Figure 02_image017
is the best feature subset for this iteration,
Figure 02_image019
is the best feature subset X' among all feature subsets X up to the current iteration, when
Figure 02_image017
The adaptive error value 231 is less than
Figure 02_image019
The adaptation error value is 231, that is, the update becomes the new
Figure 02_image019
,and
Figure 02_image019
When it is less than the tolerance value, it becomes the best feature subset X'.

最後,在補償步驟206中,補償模組40能夠依據由最佳特徵子集X’以及初始熱誤差演算模型211所建立的最佳熱誤差演算模型31,輸入關鍵溫度點的關鍵溫度點資訊至最佳熱誤差演算模型31,最佳熱誤差演算模型31能估測實際熱誤差變量以產生一補償結果,並依補償結果對加工機1進行熱位移補償。Finally, in the compensation step 206, the compensation module 40 can input the critical temperature point information of the critical temperature point to the optimal thermal error calculation model 31 established by the optimal feature subset X' and the initial thermal error calculation model 211. The optimal thermal error calculation model 31 can estimate the actual thermal error variable to generate a compensation result, and perform thermal displacement compensation on the processing machine 1 according to the compensation result.

藉此,本發明透過處理模組20建立一依溫度變化的初始熱誤差演算模型211與複數特徵子集X,每一特徵子集X包含有複數溫度感測點資訊以及相關初始熱誤差演算模型211的模型參數。處理模組20透過評估適應誤差值231,不斷更新特徵子集X直到獲得最佳特徵子集X’,更新特徵子集X的過程可同時篩選最關鍵的溫度感測點以及令模型進行自我模型參數調整,且不必透過人工介入即可建立出具有最佳的熱位移補償效果的模型,進而達到建模流程簡化、模型可靠度提升的功效。In this way, the present invention establishes an initial thermal error calculation model 211 according to temperature changes and a complex feature subset X through the processing module 20, and each feature subset X includes complex temperature sensing point information and a related initial thermal error calculation model 211 model parameters. The processing module 20 continuously updates the feature subset X by evaluating the adaptation error value 231 until the best feature subset X' is obtained. The process of updating the feature subset X can simultaneously screen the most critical temperature sensing points and make the model perform self-modeling Parameter adjustment, and without manual intervention, a model with the best thermal displacement compensation effect can be established, thereby achieving the effect of simplifying the modeling process and improving the reliability of the model.

以上所舉實施例僅用以說明本發明而已,非用以限制本發明之範圍。舉凡不違本發明精神所從事的種種修改或變化,俱屬本發明意欲保護之範疇。The above-mentioned embodiments are only used to illustrate the present invention, but not to limit the scope of the present invention. All the modifications or changes that do not violate the spirit of the present invention belong to the intended protection category of the present invention.

1:加工機1: Processing machine

2:溫度感測器2: temperature sensor

3:熱位移感測器3: Thermal displacement sensor

100:熱位移補償系統100: Thermal Displacement Compensation System

10:輸入模組10: Input module

20:處理模組20: Processing modules

21:模型建立單元21: Model building unit

211:初始熱誤差演算模型211: Initial Thermal Error Calculation Model

22:特徵子集建立單元22: Feature subset establishment unit

23:訓練單元23: Training Unit

231:適應誤差值231: adaptation error value

30:輸出模組30: Output module

31:最佳熱誤差演算模型31: Best Thermal Error Calculation Model

40:補償模組40: Compensation module

200:熱位移模型建立方法200: Thermal Displacement Modeling Methods

201:模型建立步驟201: Model building steps

202:資料擷取步驟202: Data Capture Steps

203:熱誤差模擬步驟203: Thermal Error Simulation Steps

204:模型訓練步驟204: Model training steps

205:最佳化步驟205: Optimization Steps

206:補償步驟206: Compensation step

X:特徵子集X: feature subset

X’:最佳特徵子集X': best feature subset

圖1係本發明實施例之加工機之智能型熱位移補償系統方塊圖。 圖2係本發明實施例之加工機之智能型熱位移模型建立方法流程圖。 圖3係本發明實施例之加工機溫度感測點篩選示意圖。 FIG. 1 is a block diagram of an intelligent thermal displacement compensation system of a processing machine according to an embodiment of the present invention. FIG. 2 is a flowchart of a method for establishing an intelligent thermal displacement model of a processing machine according to an embodiment of the present invention. FIG. 3 is a schematic diagram of screening of temperature sensing points of a processing machine according to an embodiment of the present invention.

200:熱位移模型建立方法 200: Thermal Displacement Modeling Methods

201:模型建立步驟 201: Model building steps

202:資料擷取步驟 202: Data Capture Steps

203:熱誤差模擬步驟 203: Thermal Error Simulation Steps

204:模型訓練步驟 204: Model training steps

205:最佳化步驟 205: Optimization Steps

206:補償步驟 206: Compensation step

Claims (13)

一種加工機之智能型熱位移補償系統,該加工機上具有位於不同位置的複數溫度感測器以及一熱位移感測器,該熱位移補償系統與該複數溫度感測器以及該熱位移感測器耦接,該熱位移補償系統包含:一輸入模組,其用以接收該複數溫度感測器以及該熱位移感測器之量測資訊;一處理模組,其與該輸入模組耦接,該處理模組包含一模型建立單元、一特徵子集建立單元以及一訓練單元,該模型建立單元用以建立一依溫度變化的初始熱誤差演算模型,該特徵子集建立單元根據各該溫度感測器以及該初始熱誤差演算模型而取得複數特徵子集,每一特徵子集包含有各溫度感測點資訊以及一相關該初始熱誤差演算模型的模型參數,該訓練單元由該初始熱誤差演算模型獲得每一特徵子集之一模擬熱誤差變量,並以該模擬熱誤差變量為基礎進一步取得一適應誤差值,該訓練單元比對每一特徵子集之適應誤差值而取得一較佳特徵子集,當該較佳特徵子集之該適應誤差值小於一容忍值時,以該較佳特徵子集作為一最佳特徵子集,當該較佳特徵子集之該適應誤差值大於該容忍值時,則重新調整各該特徵子集;一輸出模組,其與該處理模組耦接,該輸出模組依據該最佳特徵子集以及該初始熱誤差演算模型建立一最佳熱誤差演算模型;以及一補償模組,其與該輸入模組以及該輸出模組耦接,該補償模組能夠選擇該些溫度感測點資訊並輸入至該最佳熱誤差演算模型,估測實際熱誤差變量以產生一補償結果,並根據該補償結果對該加工機進行熱位移補償。 An intelligent thermal displacement compensation system for a processing machine, the processing machine has a plurality of temperature sensors located at different positions and a thermal displacement sensor, the thermal displacement compensation system, the plurality of temperature sensors and the thermal displacement sensor The detector is coupled, and the thermal displacement compensation system includes: an input module for receiving the plurality of temperature sensors and measurement information of the thermal displacement sensor; a processing module, which is connected with the input module Coupling, the processing module includes a model building unit, a feature subset building unit and a training unit, the model building unit is used to build an initial thermal error calculation model according to temperature changes, the feature subset building unit is based on each The temperature sensor and the initial thermal error calculation model obtain complex feature subsets, each feature subset includes information of each temperature sensing point and a model parameter related to the initial thermal error calculation model, the training unit is composed of the The initial thermal error calculation model obtains a simulated thermal error variable for each feature subset, and further obtains an adaptive error value based on the simulated thermal error variable, and the training unit compares the adaptive error value of each feature subset to obtain A better feature subset, when the adaptation error value of the better feature subset is less than a tolerance value, the better feature subset is used as an optimum feature subset, when the adaptation error value of the better feature subset is When the error value is greater than the tolerance value, each feature subset is readjusted; an output module is coupled to the processing module, and the output module is established according to the optimal feature subset and the initial thermal error calculation model an optimal thermal error calculation model; and a compensation module coupled to the input module and the output module, the compensation module can select the temperature sensing point information and input it to the optimal thermal error calculation The model estimates the actual thermal error variable to generate a compensation result, and performs thermal displacement compensation on the processing machine according to the compensation result. 如請求項1所述之加工機之智能型熱位移補償系統,其中,各該 特徵子集中各由該些溫度感測點資訊中選擇至少一關鍵溫度點資訊,並排除其他溫度感測點資訊對該特徵子集的影響。 The intelligent thermal displacement compensation system for a processing machine as claimed in claim 1, wherein each of the In each feature subset, at least one key temperature point information is selected from the temperature sensing point information, and the influence of other temperature sensing point information on the feature subset is excluded. 如請求項1所述之加工機之智能型熱位移補償系統,其中,各該特徵子集中選擇採用不同的模型參數資訊。 The intelligent thermal displacement compensation system for a processing machine as claimed in claim 1, wherein different model parameter information is selected and used in each of the feature subsets. 如請求項1所述之加工機之智能型熱位移補償系統,其中,該訓練單元用以將該模擬熱誤差變量與量測之一位移資訊進行比對,以計算取得一測試誤差值,並以該測試誤差值作為該適應誤差值進行後續處理。 The intelligent thermal displacement compensation system for a processing machine as claimed in claim 1, wherein the training unit is used for comparing the simulated thermal error variable with a measured displacement information to calculate and obtain a test error value, and The test error value is used as the adaptive error value for subsequent processing. 如請求項1所述之加工機之智能型熱位移補償系統,其中,該訓練單元將該模擬熱誤差變量與量測之一位移資訊進行比對,以計算取得一測試誤差值,並定義一溫度點誤差值為(關鍵溫度點數目除以溫度感測點數目),該適應誤差值為該測試誤差值與該溫度點誤差值之和。 The intelligent thermal displacement compensation system for a processing machine as claimed in claim 1, wherein the training unit compares the simulated thermal error variable with measured displacement information to calculate and obtain a test error value, and define a The temperature point error value is (the number of critical temperature points divided by the number of temperature sensing points), and the adaptive error value is the sum of the test error value and the temperature point error value. 如請求項1所述之加工機之智能型熱位移補償系統,其中,該訓練單元用以將該模擬熱誤差變量與量測之一位移資訊進行比對,以計算取得一測試誤差值,並定義一溫度點誤差值為(關鍵溫度點數目除以溫度感測點數目),並定義該適應誤差值=w1*測試誤差值+w2*溫度誤差值,其中,w1為測試誤差值權重,w2為溫度誤差值權重,權重w1與權重w2之和為1。 The intelligent thermal displacement compensation system for a processing machine as claimed in claim 1, wherein the training unit is used for comparing the simulated thermal error variable with a measured displacement information to calculate and obtain a test error value, and Define a temperature point error value (the number of key temperature points divided by the number of temperature sensing points), and define the adaptive error value = w1*test error value+w2*temperature error value, where w1 is the weight of the test error value, w2 is the weight of the temperature error value, and the sum of the weight w1 and the weight w2 is 1. 一種加工機之智能型熱位移模型建立方法,該加工機上具有位於不同位置的複數溫度感測器以及一熱位移感測器,該熱位移模型建立方法包含以下步驟:一模型建立步驟:建立一依溫度變化的初始熱誤差演算模型;一資料擷取步驟:根據該加工機上的各該溫度感測器以及該初始熱誤差演算模型而取得複數特徵子集,每一特徵子集包含有複數由該溫度感測器所取得 的各溫度感測點資訊以及一相關該初始熱誤差演算模型的模型參數;一熱誤差模擬步驟:該初始熱誤差演算模型依據各該特徵子集而各獲得一模擬熱誤差變量,並以該模擬熱誤差變量為基礎進一步取得一適應誤差值;一模型訓練步驟:比對每一特徵子集之適應誤差值而取得一較佳特徵子集,當該較佳特徵子集之該適應誤差值小於一容忍值時,以該較佳特徵子集作為一最佳特徵子集,並以該最佳特徵子集以及該初始熱誤差演算模型建立一最佳熱誤差演算模型,當該較佳特徵子集之該適應誤差值大於該容忍值時,則進行後續步驟;以及一最佳化步驟:重新調整各該特徵子集的參數選擇,並回到該熱誤差模擬步驟,依此循環直到在該模型訓練步驟中,該較佳特徵子集之該適應誤差值小於該容忍值。 A method for establishing an intelligent thermal displacement model of a processing machine. The processing machine has a plurality of temperature sensors located at different positions and a thermal displacement sensor. The method for establishing a thermal displacement model comprises the following steps: a model building step: establishing an initial thermal error calculation model according to temperature change; a data acquisition step: obtaining complex feature subsets according to each of the temperature sensors on the processing machine and the initial thermal error calculation model, each feature subset includes The complex number is obtained by the temperature sensor information of each temperature sensing point and a model parameter related to the initial thermal error calculation model; a thermal error simulation step: the initial thermal error calculation model obtains a simulated thermal error variable according to each of the feature subsets, and uses the Based on the simulated thermal error variable, an adaptive error value is further obtained; a model training step: comparing the adaptive error value of each feature subset to obtain a better feature subset, when the adaptive error value of the better feature subset is When it is less than a tolerance value, the better feature subset is used as an optimum feature subset, and an optimum thermal error calculation model is established with the optimum feature subset and the initial thermal error calculation model. When the adaptive error value of the subset is greater than the tolerance value, the following steps are performed; and an optimization step: readjust the parameter selection of each feature subset, and return to the thermal error simulation step, and the cycle is repeated until the In the model training step, the adaptive error value of the preferred feature subset is smaller than the tolerance value. 如請求項7所述之加工機之智能型熱位移模型建立方法,其中,於該資料擷取步驟中,各該特徵子集中各由該些溫度感測點資訊中選擇至少一關鍵溫度點資訊,並排除其他溫度感測點資訊對該特徵子集的影響。 The method for establishing an intelligent thermal displacement model for a processing machine according to claim 7, wherein, in the data acquisition step, at least one key temperature point information is selected from the temperature sensing point information in each of the feature subsets , and exclude the influence of other temperature sensing point information on this feature subset. 如請求項7所述之加工機之智能型熱位移模型建立方法,其中,於該資料擷取步驟中,各該特徵子集中選擇採用不同的模型參數資訊。 The method for establishing an intelligent thermal displacement model for a processing machine according to claim 7, wherein, in the data acquisition step, different model parameter information is selected and used in each of the feature subsets. 如請求項7所述之加工機之智能型熱位移模型建立方法,其中,於該熱誤差模擬步驟中,將該模擬熱誤差變量與該熱位移感測器量測之一位移資訊進行比對,以計算取得一測試誤差值,並以該測試誤差值作為該適應誤差值進行後續步驟處理。 The method for establishing an intelligent thermal displacement model of a processing machine according to claim 7, wherein, in the thermal error simulation step, the simulated thermal error variable is compared with displacement information measured by the thermal displacement sensor , to obtain a test error value by calculation, and use the test error value as the adaptive error value to perform subsequent steps. 如請求項7所述之加工機之智能型熱位移模型建立方法,其中,於該熱誤差模擬步驟中,將該模擬熱誤差變量與該熱位移感測器量測之一位移 資訊進行比對,以計算取得一測試誤差值,並定義一溫度點誤差值為(關鍵溫度點數目除以溫度感測點數目),該適應誤差值為該測試誤差值與該溫度點誤差值之和。 The method for establishing an intelligent thermal displacement model of a processing machine as claimed in claim 7, wherein, in the thermal error simulation step, a displacement measured by the simulated thermal error variable and the thermal displacement sensor The information is compared to calculate and obtain a test error value, and define a temperature point error value (the number of critical temperature points divided by the number of temperature sensing points), the adaptive error value is the test error value and the temperature point error value Sum. 如請求項7所述之加工機之智能型熱位移模型建立方法,其中,於該熱誤差模擬步驟中,將該模擬熱誤差變量與該熱位移感測器量測之一位移資訊進行比對,以計算取得一測試誤差值,並定義一溫度點誤差值為(關鍵溫度點數目除以溫度感測點數目),並定義該適應誤差值=w1*測試誤差值+w2*溫度誤差值,其中,w1為測試誤差值權重,w2為溫度誤差值權重,權重w1與權重w2之和為1。 The method for establishing an intelligent thermal displacement model of a processing machine according to claim 7, wherein, in the thermal error simulation step, the simulated thermal error variable is compared with displacement information measured by the thermal displacement sensor , obtain a test error value by calculation, and define a temperature point error value (the number of critical temperature points divided by the number of temperature sensing points), and define the adaptive error value=w1*test error value+w2*temperature error value, Among them, w1 is the weight of the test error value, w2 is the weight of the temperature error value, and the sum of the weight w1 and the weight w2 is 1. 一種利用請求項7之熱位移模型進行熱位移補償的方法,其中更具有一補償步驟:選擇該些溫度感測點資訊輸入至該最佳熱誤差演算模型,估測實際熱誤差變量以產生一補償結果,並根據該補償結果對該加工機進行熱位移補償。A method for thermal displacement compensation using the thermal displacement model of claim 7, further comprising a compensation step: selecting the temperature sensing point information to input into the optimal thermal error calculation model, and estimating the actual thermal error variable to generate a Compensation results, and thermal displacement compensation is performed on the processing machine according to the compensation results.
TW110125541A 2021-07-12 2021-07-12 Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine TWI761258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110125541A TWI761258B (en) 2021-07-12 2021-07-12 Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110125541A TWI761258B (en) 2021-07-12 2021-07-12 Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine

Publications (2)

Publication Number Publication Date
TWI761258B true TWI761258B (en) 2022-04-11
TW202303316A TW202303316A (en) 2023-01-16

Family

ID=82199210

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110125541A TWI761258B (en) 2021-07-12 2021-07-12 Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine

Country Status (1)

Country Link
TW (1) TWI761258B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245002A (en) * 2021-08-09 2023-06-09 财团法人精密机械研究发展中心 Thermal Displacement Compensation System and Thermal Displacement Model Establishment and Compensation Method of Processing Machine
TWI848796B (en) * 2023-08-14 2024-07-11 國立勤益科技大學 Thermal displacement prediction method for machine tool based on prefix and time series signal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201021959A (en) * 2008-12-11 2010-06-16 Ind Tech Res Inst A thermal error compensation method for machine tools
CN102122146A (en) * 2011-01-06 2011-07-13 上海交通大学 Thermal-error real-time compensation system for high-speed precise machining and compensation method thereof
TW201209382A (en) * 2010-08-25 2012-03-01 Nat Univ Chung Cheng An error compensation apparatus for the built-in motor spindle
CN105759719A (en) * 2016-04-20 2016-07-13 合肥工业大学 A Method and System for Predicting Thermal Error of CNC Machine Tool Based on Unbiased Estimation Split Model
CN106444628A (en) * 2016-09-28 2017-02-22 大连理工大学 Numerically-controlled machine tool spindle thermal extension error real-time compensation method
TW201925937A (en) * 2017-12-05 2019-07-01 財團法人工業技術研究院 Thermal compensation control system for machine tool and method thereof
TWM620045U (en) * 2021-07-12 2021-11-21 財團法人精密機械研究發展中心 Intelligent Thermal Displacement Compensation System of Processing Machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201021959A (en) * 2008-12-11 2010-06-16 Ind Tech Res Inst A thermal error compensation method for machine tools
US8255075B2 (en) * 2008-12-11 2012-08-28 Industrial Technology Research Institute Thermal error compensation method for machine tools
TW201209382A (en) * 2010-08-25 2012-03-01 Nat Univ Chung Cheng An error compensation apparatus for the built-in motor spindle
CN102122146A (en) * 2011-01-06 2011-07-13 上海交通大学 Thermal-error real-time compensation system for high-speed precise machining and compensation method thereof
CN105759719A (en) * 2016-04-20 2016-07-13 合肥工业大学 A Method and System for Predicting Thermal Error of CNC Machine Tool Based on Unbiased Estimation Split Model
CN106444628A (en) * 2016-09-28 2017-02-22 大连理工大学 Numerically-controlled machine tool spindle thermal extension error real-time compensation method
TW201925937A (en) * 2017-12-05 2019-07-01 財團法人工業技術研究院 Thermal compensation control system for machine tool and method thereof
TWM620045U (en) * 2021-07-12 2021-11-21 財團法人精密機械研究發展中心 Intelligent Thermal Displacement Compensation System of Processing Machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245002A (en) * 2021-08-09 2023-06-09 财团法人精密机械研究发展中心 Thermal Displacement Compensation System and Thermal Displacement Model Establishment and Compensation Method of Processing Machine
TWI848796B (en) * 2023-08-14 2024-07-11 國立勤益科技大學 Thermal displacement prediction method for machine tool based on prefix and time series signal

Also Published As

Publication number Publication date
TW202303316A (en) 2023-01-16

Similar Documents

Publication Publication Date Title
CN112926152B (en) Digital twin-driven thin-wall part clamping force precise control and optimization method
CN110532591B (en) A method for analyzing the strain field at the crack tip based on DIC-EFG co-simulation
Balcaen et al. Stereo-DIC calibration and speckle image generator based on FE formulations
EP3026632A2 (en) Improvements in or relating to digital image correlation systems
TWI761258B (en) Intelligent thermal displacement compensation system and thermal displacement model establishment and compensation method of processing machine
CN109834136A (en) The method of automatic flattening weld assembly
CN110186570B (en) Additive manufacturing laser 3D printing temperature gradient detection method
CN105976356B (en) A Robust Digital Image Correlation Method Based on Correlation Entropy Criterion
CN117790300B (en) Dynamic etching compensation method for fine circuit
CN102721380B (en) Radium-shine flatness measurement system and method
KR20210110661A (en) Analysis system and analysis method
CN120083737B (en) Automated cylinder clamping system and method
CN111210877A (en) Method and device for deducing physical property parameters
TWM620045U (en) Intelligent Thermal Displacement Compensation System of Processing Machine
CN110222428A (en) A kind of reliability analysis system and method for system-oriented grade encapsulation SIP device
JP5286337B2 (en) Semiconductor manufacturing apparatus management apparatus and computer program
CN115592063A (en) Workpiece forming springback parameter and precision control method
CN120831385B (en) Temperature difference-deformation decoupling method for in-situ monitoring of thermal expansion coefficient
Li et al. Research on the accuracy of dieless single point incremental forming based on machine vision
CN116245002A (en) Thermal Displacement Compensation System and Thermal Displacement Model Establishment and Compensation Method of Processing Machine
CN118780139B (en) A load application method and load analysis system based on profiling load
TW201301071A (en) System and method for establishing three-dimension safety level
CN119940229A (en) Titanium alloy radial forging method and system based on radial reduction rate and feed rate
Harsch et al. Observability of quality features of sheet metal parts based on metamodels
CN118247236A (en) Multidimensional evaluation and optimization method and device for temperature-sensitive speckle image quality based on statistical characteristics