本論文研究主要在發展一套熱變形誤差補償系統,可應用於一般CNC工具機以減少工具機的主軸之熱變形誤差。為了達此目的,研究中使用PT100鉑溫度感測器結合應用電路取得CNC機台上主軸各點的溫度變化量,同時用高精度位移計來擷取機台及主軸在X、 Y 、Z三方向之熱變形量,再以所測得之溫度變化量與位移變化量,建立出溫度與變溫升形量之回歸數學模型,進而利用C語言將此模型植入PIC單晶片中,製作成機上溫升變形監控系統,此系統可與PT100聯結,直接安裝於CNC工具機上,當工具機進行切削時,溫度感測器回授溫升量給監控晶片,系統計算出溫升變形量後,透過光耦合電路輸出變形量至CNC控制器,利用數值控制器上之機械座標原點偏移功能進行補正,以降低立式綜合加工機熱變形誤差的目的。經由實機測試證明該系統可有效將溫升熱變形誤差由40μm之變形補償至10μm以下。
This study mainly developed an error compensation system which can be applied to reduce the thermal expansion error of the spindle of a CNC machine tool. Temperature variations at 5 locations on the spindle were measured by PT-100 thermal sensors and self-designed electric circuit, and the deviations of the spindle in x, y and z directions due to thermal expansion were measured by high precision displacement sensors. Based on the measured temperatures and deviations, a regression mathematic model was calculated and implanted into the PIC chip to form a system for on-line thermal expansion monitoring system. When a machine tool is working, PT100 sensors can on-line measure the temperature variations of the spindle and feedback to the monitoring system to predict the thermal expansion of the spindle. The predicted expansions are then outputted to CNC controller for error compensation through an optical coupling circuit. The experimental results have shown that the system can effectively reduced the thermal expansion error from 40m to less than 10 m.