TW202405591A - A spindle temperature measurement and compensation system - Google Patents

A spindle temperature measurement and compensation system Download PDF

Info

Publication number
TW202405591A
TW202405591A TW111127421A TW111127421A TW202405591A TW 202405591 A TW202405591 A TW 202405591A TW 111127421 A TW111127421 A TW 111127421A TW 111127421 A TW111127421 A TW 111127421A TW 202405591 A TW202405591 A TW 202405591A
Authority
TW
Taiwan
Prior art keywords
machine tool
temperature
spindle
sensor
compensation
Prior art date
Application number
TW111127421A
Other languages
Chinese (zh)
Other versions
TWI811033B (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 TW111127421A priority Critical patent/TWI811033B/en
Application granted granted Critical
Publication of TWI811033B publication Critical patent/TWI811033B/en
Publication of TW202405591A publication Critical patent/TW202405591A/en

Links

Images

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

A spindle temperature measurement and compensation system includes a cloud computing unit and two machine tools. A multi-axis optical detection device installed between the main shaft and the platform of each machine tool, and more than one temperature sensor installed on each machine tool. When the main shaft of each machine tool rotates, the multi-axis optical detection device measures the displacement change data of the main shaft, together with the temperature change data measured by each temperature sensor, is used to construct a temperature compensation model and transmit it to the cloud computing unit, The cloud computing unit integrates and extracts characteristic data of each temperature compensation model to establish an updated temperature compensation model and update it to each tool machine compensation, so as to achieve the effect of optimizing the thermal temperature rise compensation of the spindle.

Description

主軸熱溫升量測遠端溫升修模補償系統與優化方法Spindle thermal temperature rise measurement remote temperature rise mold repair compensation system and optimization method

本發明涉及一種工具機精度補償手段,尤其涉及一種主軸熱溫升量測遠端溫升修模補償系統與優化方法。The invention relates to a machine tool accuracy compensation method, and in particular to a spindle thermal temperature rise measurement remote end temperature rise mold repair compensation system and optimization method.

現有的熱溫升補償技術,是金屬桿安裝於主軸,再配合金屬桿的主球周圍設置多個探測頭,接著啟動工具機台運作,在機台於不同溫度時,以多個探測頭逐次探測金屬桿的主球的方式,獲得主軸相應主軸因熱而溫度上升時造成的位移。The existing thermal temperature rise compensation technology is to install a metal rod on the spindle, and then set multiple probe heads around the main ball of the metal rod. Then the machine tool is started to operate. When the machine table is at different temperatures, multiple probe heads are used one after another. By detecting the main ball of the metal rod, the displacement of the corresponding spindle caused by the temperature rise due to heat is obtained.

藉由上述的量測,專業人員能夠以獲得的數據,補償工具機因熱溫度上升所造成的偏移。但上述的方法有一些缺點存在,例如此種方式無法預測未知溫度時,機台因熱溫度升高後產生的誤差,需要安裝多個探測頭的方式也造成量測的裝置安裝的不便,有待進一步的改良。Through the above-mentioned measurements, professionals can obtain accurate data to compensate for the deviation of the machine tool caused by the increase in thermal temperature. However, the above method has some shortcomings. For example, when this method cannot predict the unknown temperature, the error caused by the increase in thermal temperature of the machine, and the need to install multiple probe heads also cause inconvenience in the installation of the measurement device. This needs to be done further improvements.

由於現有熱溫升補償技術無法預測未知溫度時主軸的偏移,本發明藉由雲端收集不同工具機的溫度補償模型,藉此整合、提取不同溫度補償模型的特徵資料建立預測精度更佳的模型更新至各工具機,達到主軸熱溫補優化的功效。Since the existing thermal temperature rise compensation technology cannot predict the deflection of the spindle at an unknown temperature, the present invention collects temperature compensation models of different machine tools through the cloud, thereby integrating and extracting the characteristic data of different temperature compensation models to establish a model with better prediction accuracy. Updated to each machine tool to achieve the effect of spindle thermal compensation optimization.

為達到上述創作目的,本發明提供一種主軸熱溫升量測遠端溫升修模補償系統,包括一位於遠端的雲端運算單元、兩個以上位於本地端的工具機,以及分別安裝於各工具機的一多軸光學檢測裝置、一個以上的溫度感測器以及一訊號處理模組,其中:In order to achieve the above creative purpose, the present invention provides a spindle thermal temperature rise measurement and remote temperature rise mold repair compensation system, which includes a remote cloud computing unit, two or more locally located machine tools, and a machine tool installed on each tool respectively. A multi-axis optical detection device, more than one temperature sensor and a signal processing module of the machine, including:

各工具機具有一控制器以及分別受該控制器運作的一平台以及一位於各平台上方的主軸,於各主軸安裝一刀把;Each machine tool has a controller, a platform operated by the controller, and a spindle above each platform, and a tool handle is installed on each spindle;

各多軸光學檢測裝置包括一球形透鏡裝置以及一感測頭模組,各球形透鏡裝置結合於各工具機的刀把並且於自由端形成一球形透鏡,各感測頭模組具有一固定於各平台上的固定座,於各固定座的頂部設有一支架,於各支架設有一光學非接觸式的感測器組,於該感測器組的中央形成一量測點;當各工具機將各球形透鏡移動至各量測點後,能量測各工具機的主軸與各球形透鏡因主軸運作產生的熱而造成的位移變化數據;Each multi-axis optical detection device includes a spherical lens device and a sensing head module. Each spherical lens device is combined with the tool handle of each machine tool and forms a spherical lens at the free end. Each sensing head module has a sensor fixed on each machine tool. The fixed base on the platform has a bracket on the top of each fixed base, and an optical non-contact sensor group is installed on each bracket to form a measurement point in the center of the sensor group; when each machine tool After each spherical lens moves to each measurement point, the displacement change data of the main shaft of each machine tool and each spherical lens caused by the heat generated by the operation of the main shaft is measured;

各溫度感測器分別固定於各工具機,用以量測溫度變化數據;Each temperature sensor is fixed on each machine tool to measure temperature change data;

各訊號處理模組與安裝於同一工具機的各感測頭模組以及各溫度感測器訊號連接,各訊號處理模組並與各工具機的控制器訊號連接,當各工具機的主軸運作時,各訊號處理模組抓取對應各工具機的多組位移變化數據以及溫度變化數據輸入模型,建置一溫度補償模型傳輸至該雲端運算單元;Each signal processing module is connected with signals of each sensing head module and each temperature sensor installed on the same machine tool. Each signal processing module is also connected with a signal of the controller of each machine tool. When the spindle of each machine tool operates, At this time, each signal processing module captures multiple sets of displacement change data and temperature change data corresponding to each machine tool and inputs the data into the model, builds a temperature compensation model and transmits it to the cloud computing unit;

該雲端運算單元收集各工具機的溫度補償模型,整合提取各溫度補償模型的特徵資料建立一更新溫度補償模型,將該更新溫度補償模型傳回各訊號處理模組並更新至各工具機的控制器進行補償。The cloud computing unit collects the temperature compensation models of each machine tool, integrates and extracts the characteristic data of each temperature compensation model to create an updated temperature compensation model, and transmits the updated temperature compensation model back to each signal processing module and updates it to the control of each machine tool. device to compensate.

為達到上述創作目的,本發明提供一種主軸熱溫升量測遠端溫升修模補償優化方法,其方法的步驟包括:In order to achieve the above creative purpose, the present invention provides a spindle thermal temperature rise measurement remote end temperature rise mold repair compensation optimization method. The steps of the method include:

於兩個以上本地端的工具機分別架設一光學檢測裝置以及結合一個以上的溫度感測器,各光學檢測裝置包括一結合於各工具機主軸的球形透鏡裝置以及一結合於各工具機的平台的感測頭模組,該球形透鏡裝置設有一球形透鏡,該感測頭模組設有一光學非接觸式的感測器組,於該感測器組的中央形成一量測點;An optical detection device and one or more temperature sensors are respectively installed on more than two local machine tools. Each optical detection device includes a spherical lens device combined with the main axis of each machine tool and a platform combined with each machine tool. A sensing head module, the spherical lens device is provided with a spherical lens, the sensing head module is provided with an optical non-contact sensor group, forming a measurement point in the center of the sensor group;

各工具機將各球形透鏡移動至各量測點後,各工具機的主軸開始旋轉,在各主軸旋轉的過程中,各感測頭模組量測該球形透鏡因其所在主軸旋轉升高溫度而產生的位移變化數據,各工具機的各溫度感測器量測溫度變化數據,以軟體抓取各工具機的位移變化數據以及溫度變化數據輸入模型,建置一本地端的溫度補償模型;以及After each machine tool moves each spherical lens to each measurement point, the main shaft of each machine tool begins to rotate. During the rotation of each main shaft, each sensor head module measures the temperature increase of the spherical lens due to the rotation of the main shaft. The generated displacement change data is measured by each temperature sensor of each machine tool, and software is used to capture the displacement change data and temperature change data of each machine tool and input it into the model to build a local temperature compensation model; and

將各工具機的溫度補償模型傳輸至一位於遠端的雲端運算單元,該雲端運算單元收集各工具機的溫度補償模型,整合提取各溫度補償模型的特徵資料建立一更新溫度補償模型,將該更新溫度補償模型傳回本地端的各工具機進行補償。The temperature compensation model of each machine tool is transmitted to a remote cloud computing unit. The cloud computing unit collects the temperature compensation model of each machine tool, integrates and extracts the characteristic data of each temperature compensation model to establish an updated temperature compensation model, and integrates the temperature compensation model of each machine tool. The updated temperature compensation model is sent back to each local machine tool for compensation.

本發明藉由上述的系統與方法,在各工具機處訓練對應各工具機的溫度補償模型後,能收集來自各種環境、參數條件產生的模型至遠端的雲端運算單元,經由雲端運算單元整合、提取不同溫度補償模型的特徵資料建立預測精度更佳的模型更新至各工具機,達到主軸熱溫補優化的功效,同時由於在遠端的雲端運算單元僅提取各溫度補償模型的特徵資料,沒有接觸原始的位移變化數據以及溫度變化數據,因此各工具機本地端的數據具備隱私性。Through the above-mentioned system and method, after training the temperature compensation model corresponding to each machine tool at each machine tool, the present invention can collect the models generated from various environments and parameter conditions to the remote cloud computing unit, and integrate them through the cloud computing unit. , extract the characteristic data of different temperature compensation models to build models with better prediction accuracy and update them to each machine tool to achieve the effect of spindle thermal compensation optimization. At the same time, because the remote cloud computing unit only extracts the characteristic data of each temperature compensation model, There is no contact with the original displacement change data and temperature change data, so the local data of each machine tool is private.

為能詳細瞭解本發明的技術特徵及實用功效,並可依照說明書的內容來實施,進一步以如圖式所示的較佳實施例,詳細說明如下。In order to understand the technical features and practical effects of the present invention in detail and implement it according to the content of the description, the preferred embodiments as shown in the drawings are further described in detail as follows.

如圖2至圖7所示的較佳實施例,本發明提供一種主軸熱溫升量測遠端溫升修模補償系統,用以實施如圖1所示的主軸熱溫升量測遠端溫升修模補償優化方法;請參看圖2至圖4以及圖7所示,該系統包括一設於網際網路的雲端運算單元100以及兩個以上的工具機10,該雲端運算單元100所在處稱為遠端,各工具機10所在處稱為本地端,較佳的,各工具機10位於異地,於各工具機10安裝一多軸光學檢測裝置A、多個溫度感測器40以及一訊號處理模組50,設於各工具機10的訊號處理模組50透過網際網路與該雲端運算單元100訊號連接,其中:As shown in the preferred embodiments shown in Figures 2 to 7, the present invention provides a spindle thermal temperature rise measurement remote end temperature rise mold repair compensation system to implement the spindle thermal temperature rise measurement remote end as shown in Figure 1 Temperature rise mold repair compensation optimization method; please refer to Figures 2 to 4 and Figure 7. The system includes a cloud computing unit 100 located on the Internet and more than two machine tools 10. The cloud computing unit 100 is located The location is called the remote end, and the location of each machine tool 10 is called the local end. Preferably, each machine tool 10 is located in a different place, and a multi-axis optical detection device A, multiple temperature sensors 40 and A signal processing module 50. The signal processing module 50 provided in each machine tool 10 is connected to the cloud computing unit 100 via a signal through the Internet, wherein:

請參看圖3至圖6所示,各工具機10可以是X軸、Y軸的工具機或多軸工具機,在本較佳實施例中是設有三部分別具有X軸、Y軸、Z軸、A軸以及C軸且型號相同的五軸工具機,相同型號的工具機10更適用於相同的補償模型。各工具機10設有一底座11,於各底座上設有一個可沿X軸、Y軸移動的滑座12,於各滑座12的頂部設有一可沿A軸擺動的搖擺座13,於各搖擺座13的頂部設有一可沿C軸旋轉的平台14,於各底座11後側的頂部設有一立柱15,於各立柱15的前面結合可沿Z軸移動的刀頭16,各刀頭16位於各平台14的正上方,於各刀頭16設有一主軸17,於各主軸17的底部安裝一刀把171,於各工具機10還設有一控制器18,用於數值控制各滑座12、各搖擺座13、各平台14各刀頭16以及各主軸17的動作。Please refer to FIGS. 3 to 6 . Each machine tool 10 can be an X-axis, Y-axis machine tool or a multi-axis machine tool. In this preferred embodiment, there are three parts with X-axis, Y-axis, and Z-axis respectively. For five-axis machine tools with the same model of axis, A-axis and C-axis, the same model of machine tool 10 is more suitable for the same compensation model. Each machine tool 10 is provided with a base 11. Each base is provided with a slide seat 12 that can move along the X-axis and the Y-axis. A swing seat 13 that can swing along the A-axis is provided at the top of each slide seat 12. The top of the swing base 13 is provided with a platform 14 that can rotate along the C-axis. A column 15 is provided at the top of the rear side of each base 11. A cutter head 16 is combined with a cutter head 16 that can move along the Z-axis in front of each upright column 15. Each cutter head 16 Located directly above each platform 14, each tool head 16 is provided with a spindle 17, and a tool handle 171 is installed at the bottom of each spindle 17. Each machine tool 10 is also provided with a controller 18 for numerically controlling each slide 12, The movements of each swing seat 13, each platform 14, each cutter head 16, and each spindle 17.

安裝於各工具機10的多軸光學檢測裝置A包括一球形透鏡裝置20以及一感測頭模組30,各球形透鏡裝置20設有一插桿21,各插桿21是直桿體並且豎直地***結合於各工具機10的刀把171,於各插桿21底部的自由端形成一球形透鏡22,各球形透鏡裝置20配合各感測頭模組30組成一多軸光學檢測裝置A。各感測頭模組30設有一固定座31,用於固定在該工具機10的平台14上,在本較佳實施例中各固定座31是磁力座並以磁吸的方式結合固定於各平台14上,於各固定座31的頂部設有一環繞設置的支架32,於各支架32設有一光學非接觸式的感測器組33,各感測器組33是在各支架32對應X軸方向的相反兩側設有一第一雷射頭331與一第一光點位移感測器333,於各支架32對應Y軸方向的相反兩側設有一第二雷射頭332與一第二光點位移感測器334,於各第一雷射頭331與各第一光點位移感測器333連線與各第二雷射頭332與各第二光點位移感測器334連線的交叉點形成一量測點B,各量測點B位於各感測器組33的中央。The multi-axis optical detection device A installed on each machine tool 10 includes a spherical lens device 20 and a sensing head module 30. Each spherical lens device 20 is provided with an insertion rod 21. Each insertion rod 21 is a straight rod and is vertical. The tool handle 171 is inserted into the tool handle 171 combined with each machine tool 10, and a spherical lens 22 is formed at the free end of the bottom of each insertion rod 21. Each spherical lens device 20 cooperates with each sensing head module 30 to form a multi-axis optical detection device A. Each sensor head module 30 is provided with a fixing base 31 for fixing on the platform 14 of the machine tool 10. In this preferred embodiment, each fixing base 31 is a magnetic base and is coupled and fixed to each sensor head 31 by magnetic attraction. On the platform 14, a surrounding bracket 32 is provided on the top of each fixed base 31. An optical non-contact sensor group 33 is provided on each bracket 32. Each sensor group 33 is located on each bracket 32 corresponding to the X-axis. A first laser head 331 and a first light point displacement sensor 333 are provided on opposite sides of the direction. A second laser head 332 and a second light spot displacement sensor 333 are provided on opposite sides of each bracket 32 corresponding to the Y-axis direction. The point displacement sensor 334 is connected to each first laser head 331 and each first light point displacement sensor 333 and to each second laser head 332 and each second light point displacement sensor 334. The intersection points form a measurement point B, and each measurement point B is located in the center of each sensor group 33 .

當各工具機10將所在處的球形透鏡22移動至各感測頭模組30的量測點B,並將此座標設定為座標原點後,若該主軸17因旋轉而受熱升高溫度產生偏移,使得該球形透鏡22移動至座標原點時也產生相同程度的偏移時,由於原本從各感測頭模組30的第二雷射頭332以及第二雷射頭332分別射出穿過各球形透鏡22中心的雷射光不再穿過各球形透鏡22的中心,使得同一感測頭模組30的第一光點位移感測器333以及第二光點位移感測器334能分別偵測到穿過各球形透鏡22的兩道雷射光產生了偏離,藉由各道雷射光偏離的程度,該多軸光學檢測裝置A可計算出各工具機10的主軸17與結合於該主軸17的球形透鏡22因主軸17運作產生的熱而造成的位移變化數據。When each machine tool 10 moves the spherical lens 22 there to the measurement point B of each sensor head module 30 and sets this coordinate as the coordinate origin, if the spindle 17 is heated due to rotation and the temperature rises, a When the spherical lens 22 is shifted to the same degree when it moves to the coordinate origin, the original laser beams from the second laser head 332 and the second laser head 332 of each sensor head module 30 are respectively emitted. The laser light passing through the center of each spherical lens 22 no longer passes through the center of each spherical lens 22, so that the first light point displacement sensor 333 and the second light point displacement sensor 334 of the same sensor head module 30 can respectively It is detected that the two laser lights passing through each spherical lens 22 have deviated. Based on the degree of deviation of each laser light, the multi-axis optical detection device A can calculate the main axis 17 of each machine tool 10 and the relationship between the spindle and the spindle. Displacement change data of the spherical lens 22 caused by the heat generated by the operation of the spindle 17.

安裝於各工具機10的多個溫度感測器40分別是能感測溫度,並將溫度數據無線向外發送的裝置。於各溫度感測器40設有一磁吸底座41,以各磁吸底座41能將安裝於同一工具機10的多個溫度感測器40磁吸固定在該工具機10的不同位置量測溫度,於各磁吸底座41上設有一天線42,透過各天線42可將各溫度感測器40所量測到的同一工具機10不同處的溫度變化數據向外無線輸出;在本較佳實施例中,安裝於同一工具機10的多個溫度感測器40分別結合在該工具機10的立柱15、刀頭16以及主軸17的不同位置。The plurality of temperature sensors 40 installed on each machine tool 10 are devices capable of sensing temperature and wirelessly transmitting temperature data to the outside. Each temperature sensor 40 is provided with a magnetic base 41, and each magnetic base 41 can magnetically fix multiple temperature sensors 40 installed on the same machine tool 10 to different positions of the machine tool 10 to measure temperature. , an antenna 42 is provided on each magnetic base 41, and through each antenna 42, the temperature change data measured by each temperature sensor 40 at different places of the same machine tool 10 can be output wirelessly to the outside; in this preferred implementation In this example, multiple temperature sensors 40 installed on the same machine tool 10 are respectively coupled to different positions of the column 15 , the cutter head 16 and the spindle 17 of the machine tool 10 .

在本發明的其他實施例中,可僅於一工具機10僅設有一個或數個的溫度感測器40,但至少有一個溫度感測器40安裝在該主軸17,例如僅於該主軸17安裝一個溫度感測器40,或在該主軸17、該刀頭16各設有一個以上不等數量的溫度感測器40;於同一工具機40設置的溫度感測器40越多表示取得該工具機40不同位置的溫度變化數據越多,不限於本較佳實施例設置位置的例示,甚至可設於各工具機40本地端的環境中;並且各溫度感測器40除了選用具有無線傳輸功能的溫度感測器以外,各溫度感測器40也可以是有線傳輸訊號的溫度感測器。In other embodiments of the present invention, a machine tool 10 may be provided with only one or several temperature sensors 40 , but at least one temperature sensor 40 is installed on the spindle 17 , for example, only on the spindle 17 . 17 Install a temperature sensor 40, or have more than one temperature sensor 40 in different numbers on the spindle 17 and the tool head 16; the more temperature sensors 40 installed on the same machine tool 40, the more temperature sensors 40 are installed on the same machine tool 40. The more temperature change data at different positions of the machine tool 40, the more it is not limited to the example of the installation location of this preferred embodiment, and can even be installed in the environment of the local end of each machine tool 40; and each temperature sensor 40 has a wireless transmission function. In addition to functional temperature sensors, each temperature sensor 40 may also be a temperature sensor that transmits signals via wires.

請參看圖3、圖7所示,安裝於各工具機10的訊號處理模組50可安裝在該工具機10內或可拆卸地設置於該工具機10的外部。各訊號處理模組50包括一通訊模組51以及一資料擷取卡52,在本較佳實施例中該訊號處理模組50是以通訊模組51透過網際網路與該雲端運算單元100訊號連接,各資料擷取卡52是以無線的方式與其所在工具機10的各溫度感測器40訊號連接,接收各溫度感測器40量測到的溫度變化數據,各資料擷取卡52以有線或無線的方式與該感測頭模組30訊號連接,用以接收該主軸17的位移變化數據,各資料擷取卡52並與其所在工具機10的控制器18電連接。當各溫度感測器40改設為有線傳輸訊號的溫度感測器時,各工具機10的訊號處理模組50的資料擷取卡52是以有線的方式與各溫度感測器40訊號連接。Referring to FIGS. 3 and 7 , the signal processing module 50 installed on each machine tool 10 can be installed inside the machine tool 10 or detachably provided outside the machine tool 10 . Each signal processing module 50 includes a communication module 51 and a data acquisition card 52. In this preferred embodiment, the signal processing module 50 uses the communication module 51 to communicate with the cloud computing unit 100 through the Internet. connection, each data acquisition card 52 is wirelessly connected to each temperature sensor 40 of the machine tool 10 where it is located, and receives the temperature change data measured by each temperature sensor 40. Each data acquisition card 52 uses The sensor head module 30 is connected to the signal in a wired or wireless manner to receive the displacement change data of the spindle 17 . Each data acquisition card 52 is electrically connected to the controller 18 of the machine tool 10 where it is located. When each temperature sensor 40 is changed to a temperature sensor that transmits signals via wires, the data acquisition card 52 of the signal processing module 50 of each machine tool 10 is signal-connected to each temperature sensor 40 in a wired manner. .

各訊號處理模組50能在該工具機10的主軸17旋轉運作的過程中,接收各多軸光學檢測裝置A的感測頭模組30感測到的主軸17的位移變化數據,以及對應各位移變化時由各溫度感測器40接收的該工具機10各處的溫度變化數據,如此以軟體持續抓取多組位移變化數據與溫度變化數據輸入模型,例如類神經網路的模型,建置本地端可用於預測不同溫度變化時產生位移變化的溫度補償模型A1,可將溫度補償模型A1輸入各訊號處理模組50其所在工具機10的控制器18進行補償,各訊號處理模組50將其所在工具機10處訓練出的溫度補償模型A1傳輸至該雲端運算單元100進行聯盟式學習。Each signal processing module 50 can receive the displacement change data of the main shaft 17 sensed by the sensing head module 30 of each multi-axis optical detection device A during the rotation operation of the main shaft 17 of the machine tool 10, and corresponding When the displacement changes, the temperature change data received by each temperature sensor 40 at various places in the machine tool 10 is used. In this way, the software is used to continuously capture multiple sets of displacement change data and temperature change data and input them into a model, such as a neural network-like model, to build The temperature compensation model A1 is set locally and can be used to predict the displacement changes caused by different temperature changes. The temperature compensation model A1 can be input into the controller 18 of each signal processing module 50 of the machine tool 10 for compensation. Each signal processing module 50 The temperature compensation model A1 trained on the machine tool 10 is transmitted to the cloud computing unit 100 for federated learning.

遠端的雲端運算單元100收集位於不同工具機10處訓練出的溫度補償模型A1進行聯盟式學習,收集各工具機10的溫度補償模型A1並整合、提取各溫度補償模型A1的特徵資料,例如趨勢、梯度、方程式等特性,整合所有本地端的溫度補償模型A1建立一具高強度、高預測補償精度的更新溫度補償模型A2,再將更新溫度補償模型A2傳回各訊號處理模組50,各訊號處理模組50將該更新溫度補償模型A2更新至其所在的工具機10的控制器18進行補償。The remote cloud computing unit 100 collects the temperature compensation models A1 trained at different machine tools 10 for federated learning, collects the temperature compensation models A1 of each machine tool 10 and integrates and extracts the characteristic data of each temperature compensation model A1, for example Features such as trends, gradients, equations, etc., integrate all local temperature compensation models A1 to establish an updated temperature compensation model A2 with high strength and high prediction compensation accuracy, and then transmit the updated temperature compensation model A2 back to each signal processing module 50, each The signal processing module 50 updates the updated temperature compensation model A2 to the controller 18 of the machine tool 10 where it is located for compensation.

由於各工具機10於本地端是在不同條件下建立模型,因此配合該雲端運算單元100參與聯盟式學習的工具機10越多,能使該雲端運算單元100進行聯盟式學習後所產生的更新溫度補償模型A2的預測結果更加強健精準,回傳至各工具機10更新校正後能提升工具機10的加工精度。此外,由於該雲端運算單元100只提取各本地端的溫度補償模型A1的特徵資料,故本地端的數據具備隱私性。Since each machine tool 10 builds a model locally under different conditions, the more machine tools 10 that cooperate with the cloud computing unit 100 to participate in federated learning, the more updates the cloud computing unit 100 can generate after performing federated learning. The prediction results of the temperature compensation model A2 are more robust and accurate. After being sent back to each machine tool 10 for update and correction, the processing accuracy of the machine tool 10 can be improved. In addition, since the cloud computing unit 100 only extracts the characteristic data of the temperature compensation model A1 of each local terminal, the data of the local terminal is private.

當本發明以上述的系統執行該主軸熱溫升量測遠端溫升修模補償優化方法時,是執行如圖1所示的以下步驟:When the present invention uses the above-mentioned system to perform the spindle thermal temperature rise measurement remote end temperature rise mold repair compensation optimization method, the following steps are performed as shown in Figure 1:

(S01)架設多軸光學檢測裝置與溫度感測器:於兩個以上的工具機10分別架設一光學檢測裝置A以及結合一個以上的溫度感測器40,如本較佳實施例是設有三個工具機10,並於各工具機10結合多個溫度感測器40。各光學檢測裝置A的球形透鏡裝置20結合於各工具機10的主軸17,各光學檢測裝置A的感測頭模組30結合於各工具機10的平台14上,各感測頭模組30的中央設有一量測點B,並且將多個溫度感測器40可拆卸地結合於該工具機10。(S01) Set up a multi-axis optical detection device and a temperature sensor: Set up an optical detection device A and combine more than one temperature sensor 40 on two or more machine tools 10 respectively. For example, in this preferred embodiment, three A machine tool 10 is provided, and a plurality of temperature sensors 40 are combined with each machine tool 10 . The spherical lens device 20 of each optical detection device A is coupled to the main shaft 17 of each machine tool 10 , and the sensing head module 30 of each optical sensing device A is coupled to the platform 14 of each machine tool 10 . Each sensing head module 30 There is a measuring point B in the center, and a plurality of temperature sensors 40 are detachably combined with the machine tool 10 .

(S02)各工具機的主軸旋轉:各工具機10將各球形透鏡裝置20的球形透鏡22移動至各感測頭模組30的量測點B後,各工具機10的主軸17開始旋轉。(S02) Spindle rotation of each machine tool: After each machine tool 10 moves the spherical lens 22 of each spherical lens device 20 to the measurement point B of each sensor head module 30, the main shaft 17 of each machine tool 10 starts to rotate.

(S03)抓取位移變化與溫度變化數據:在各主軸17旋轉的過程中,該感測頭模組30量測該球形透鏡22因該主軸17旋轉升高溫度而產生的位移變化數據,各工具機10的多個溫度感測器40則量測該工具機10各部位在此期間的溫度變化數據,以軟體抓取各工具機10的位移變化數據以及溫度變化數據。(S03) Capture displacement change and temperature change data: During the rotation of each spindle 17, the sensing head module 30 measures the displacement change data of the spherical lens 22 due to the increase in temperature due to the rotation of the spindle 17. Each The plurality of temperature sensors 40 of the machine tool 10 measure the temperature change data of each part of the machine tool 10 during this period, and software is used to capture the displacement change data and temperature change data of each machine tool 10 .

(S04)建立本地端模型:將由各工具機10得到的多組位移變化數據與溫度變化數據輸入模型,例如類神經網路的模型,建置本地端可用於預測不同溫度變化時產生位移變化的溫度補償模型A1。(S04) Establish a local end model: Input multiple sets of displacement change data and temperature change data obtained from each machine tool 10 into a model, such as a neural network-like model, and build a local end that can be used to predict displacement changes caused by different temperature changes. Temperature compensated model A1.

(S05)將模型傳至雲端:將各工具機10的溫度補償模型A1傳輸至一位於遠端的雲端運算單元100進行聯盟式學習。(S05) Transmit the model to the cloud: transmit the temperature compensation model A1 of each machine tool 10 to a remote cloud computing unit 100 for federated learning.

(S06)訓練雲端模型:遠端的該雲端運算單元100收集不同工具機10訓練出的溫度補償模型A1進行聯盟式學習,整合、提取各溫度補償模型A1的特徵資料,例如趨勢、梯度、方程式等特性,建立一具高強度、高預測補償精度的更新溫度補償模型A2。(S06) Training cloud models: The remote cloud computing unit 100 collects the temperature compensation models A1 trained by different machine tools 10 for federated learning, integrates and extracts the characteristic data of each temperature compensation model A1, such as trends, gradients, equations and other characteristics, establish an updated temperature compensation model A2 with high strength and high prediction compensation accuracy.

(S07)更新本地端模型:將該雲端運算單元100訓練好的更新溫度補償模型A2傳回各工具機10處更新。(S07) Update the local model: Send the updated temperature compensation model A2 trained by the cloud computing unit 100 back to each machine tool 10 for update.

(S08)補償機台誤差:各工具機10以該雲端運算單元100訓練好的更新溫度補償模型A2校正、補償加工的誤差。(S08) Compensate machine errors: Each machine tool 10 uses the updated temperature compensation model A2 trained by the cloud computing unit 100 to correct and compensate for processing errors.

運用本發明的方法,能於該雲端運算單元100收集不同工具機10訓練出的溫度補償模型進行聯盟式學習,由於各工具機20其所在的環境以及加工的參數或機器的狀態不同,因此配合該雲端運算單元100參與聯盟式學習的工具機10越多,能使該雲端運算單元100進行聯盟式學習後所產生的更新溫度補償模型的預測結果更加強健精準,如此將更新溫度補償模型回傳至各工具機10更新後,利用模型校正、補償工具機10加工時主軸17誤差的效果,優於各工具機10處自行訓練的本地端的溫度補償模型。Using the method of the present invention, the temperature compensation models trained by different machine tools 10 can be collected in the cloud computing unit 100 for federated learning. Since the environment and processing parameters or machine status of each machine tool 20 are different, the cooperation The more machine tools 10 that the cloud computing unit 100 participates in federated learning, the more robust and accurate the prediction results of the updated temperature compensation model generated by the cloud computing unit 100 after performing federated learning will be. In this way, the updated temperature compensation model will be returned. After each machine tool 10 is updated, the effect of using the model to correct and compensate for the error of the spindle 17 during processing of the machine tool 10 is better than the local temperature compensation model trained by each machine tool 10 .

再者,於建立本地端模型的步驟前,可重複以軟體抓取各工具機10的位移變化數據以及溫度變化數據的操作,用以將重複抓取的多組位移變化數據與溫度變化數據輸入模型進行訓練,增強各工具機10本地端的溫度補償模型A1強健性,在不同條件下的適應性,使各本地端的溫度補償模型A1的預測精度提升,再傳至雲端運算單元100進行聯盟式學習。Furthermore, before the step of establishing the local model, the software can be used to repeatedly capture the displacement change data and temperature change data of each machine tool 10 to input the repeatedly captured sets of displacement change data and temperature change data. The model is trained to enhance the robustness and adaptability of the temperature compensation model A1 of each local end of each machine tool 10 under different conditions, thereby improving the prediction accuracy of the temperature compensation model A1 of each local end, and then transmits it to the cloud computing unit 100 for federated learning. .

以上所述僅為本發明的較佳實施例而已,並非用以限定本發明主張的權利範圍,凡其它未脫離本發明所揭示的精神所完成的等效改變或修飾,均應包括在本發明的申請專利範圍內。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the scope of rights claimed by the present invention. All other equivalent changes or modifications that do not depart from the spirit disclosed in the present invention shall be included in the present invention. within the scope of the patent application.

100:雲端運算單元 10:工具機 11:底座 12:滑座 13:搖擺座 14:平台 15:立柱 16:刀頭 17:主軸 171:刀把 18:控制器 20:球形透鏡裝置 21:插桿 22:球形透鏡 30:感測頭模組 31:固定座 32:支架 33:感測器組 331:第一雷射頭 332:第二雷射頭 333:第一光點位移感測器 334:第二光點位移感測器 40:溫度感測器 41:磁吸底座 42:天線 50:訊號處理模組 51:通訊模組 52:資料擷取卡 A:多軸光學檢測裝置 A1:溫度補償模型 A2:溫度補償模型 B:量測點 S01至S08:步驟 100:Cloud computing unit 10: Machine tools 11: Base 12:Sliding seat 13:Swing seat 14:Platform 15:Pillar 16: Knife head 17:Spindle 171: Knife handle 18:Controller 20: Spherical lens device 21:insert rod 22: Spherical lens 30: Sensor head module 31: Fixed seat 32:Bracket 33: Sensor group 331:The first laser head 332:Second laser head 333: First light point displacement sensor 334: Second light point displacement sensor 40:Temperature sensor 41:Magnetic base 42:antenna 50:Signal processing module 51:Communication module 52:Data capture card A:Multi-axis optical detection device A1: Temperature compensation model A2: Temperature compensation model B: Measuring point S01 to S08: Steps

圖1是本發明較佳實施例方法的步驟流程圖。 圖2是本發明較佳實施例的方塊示意圖。 圖3是本發明較佳實施例的工具機的立體圖。 圖4是本發明較佳實施例的感測頭模組配合球形透鏡裝置的側視圖。 圖5是本發明較佳實施例的感測頭模組配合球形透鏡裝置的立體圖。 圖6是本發明較佳實施例的感測頭模組的立體圖。 圖7是本發明較佳實施例的訊號處理模組的方塊圖。 Figure 1 is a step flow chart of the method according to the preferred embodiment of the present invention. Figure 2 is a block diagram of a preferred embodiment of the present invention. Figure 3 is a perspective view of the machine tool according to the preferred embodiment of the present invention. Figure 4 is a side view of the sensing head module and the spherical lens device according to the preferred embodiment of the present invention. FIG. 5 is a perspective view of the sensing head module and the spherical lens device according to the preferred embodiment of the present invention. FIG. 6 is a perspective view of the sensing head module according to the preferred embodiment of the present invention. FIG. 7 is a block diagram of a signal processing module according to a preferred embodiment of the present invention.

S01至S08:步驟 S01 to S08: Steps

Claims (8)

一種主軸熱溫升量測遠端溫升修模補償系統,包括一位於遠端的雲端運算單元、兩個以上位於本地端的工具機,以及分別安裝於各工具機的一多軸光學檢測裝置、一個以上的溫度感測器以及一訊號處理模組,其中: 各工具機具有一控制器以及分別受該控制器運作的一平台以及一位於各平台上方的主軸,於各主軸安裝一刀把; 各多軸光學檢測裝置包括一球形透鏡裝置以及一感測頭模組,各球形透鏡裝置結合於各工具機的刀把並且於自由端形成一球形透鏡,各感測頭模組具有一固定於各平台上的固定座,於各固定座的頂部設有一支架,於各支架設有一光學非接觸式的感測器組,於該感測器組的中央形成一量測點;當各工具機將各球形透鏡移動至各量測點後,能量測各工具機的主軸與各球形透鏡因主軸運作產生的熱而造成的位移變化數據; 各溫度感測器分別固定於各工具機,用以量測溫度變化數據; 各訊號處理模組與安裝於同一工具機的各感測頭模組以及各溫度感測器訊號連接,各訊號處理模組並與各工具機的控制器訊號連接,當各工具機的主軸運作時,各訊號處理模組抓取對應各工具機的多組位移變化數據以及溫度變化數據輸入模型,建置一溫度補償模型傳輸至該雲端運算單元; 該雲端運算單元收集各工具機的溫度補償模型,整合提取各溫度補償模型的特徵資料建立一更新溫度補償模型,將該更新溫度補償模型傳回各訊號處理模組並更新至各工具機的控制器進行補償。 A spindle thermal temperature rise measurement remote temperature rise mold repair compensation system includes a remote cloud computing unit, two or more locally located machine tools, and a multi-axis optical detection device installed on each machine tool respectively. More than one temperature sensor and a signal processing module, including: Each machine tool has a controller, a platform operated by the controller, and a spindle above each platform, and a tool handle is installed on each spindle; Each multi-axis optical detection device includes a spherical lens device and a sensing head module. Each spherical lens device is combined with the tool handle of each machine tool and forms a spherical lens at the free end. Each sensing head module has a sensor fixed on each machine tool. The fixed base on the platform has a bracket on the top of each fixed base, and an optical non-contact sensor group is installed on each bracket to form a measurement point in the center of the sensor group; when each machine tool After each spherical lens moves to each measurement point, the displacement change data of the main shaft of each machine tool and each spherical lens caused by the heat generated by the operation of the main shaft is measured; Each temperature sensor is fixed on each machine tool to measure temperature change data; Each signal processing module is connected with signals of each sensing head module and each temperature sensor installed on the same machine tool. Each signal processing module is also connected with a signal of the controller of each machine tool. When the spindle of each machine tool operates, At this time, each signal processing module captures multiple sets of displacement change data and temperature change data corresponding to each machine tool and inputs the data into the model, builds a temperature compensation model and transmits it to the cloud computing unit; The cloud computing unit collects the temperature compensation models of each machine tool, integrates and extracts the characteristic data of each temperature compensation model to create an updated temperature compensation model, and transmits the updated temperature compensation model back to each signal processing module and updates it to the control of each machine tool. device to compensate. 如請求項1所述之主軸熱溫升量測遠端溫升修模補償系統,其中分別安裝於各工具機的一個以上的溫度感測器,其中至少一溫度感測器固定在各工具機的主軸。The spindle thermal temperature rise measurement remote temperature rise mold repair compensation system as described in claim 1, wherein more than one temperature sensor is installed on each machine tool, and at least one temperature sensor is fixed on each machine tool. the main axis. 如請求項2所述之主軸熱溫升量測遠端溫升修模補償系統,其中所述各感測頭模組的固定座是磁力座,該固定座以磁吸的方式結合固定於各平台上。The spindle thermal temperature rise measurement remote temperature rise mold repair compensation system as described in claim 2, wherein the fixing base of each sensor head module is a magnetic base, and the fixing base is magnetically coupled and fixed to each sensor head module. on the platform. 如請求項1至3中任一項所述之主軸熱溫升量測遠端溫升修模補償系統,其中於所述各溫度感測器設有一磁吸底座,以各磁吸底座磁吸固定在各工具機,於各磁吸底座上設有一天線,透過各天線將量測的溫度變化數據向外無線輸出;該訊號處理模組是以無線的方式與各溫度感測器訊號連接。The spindle thermal temperature rise measurement remote temperature rise mold repair compensation system as described in any one of claims 1 to 3, wherein each temperature sensor is provided with a magnetic base, and each magnetic base is magnetically attracted Fixed on each machine tool, an antenna is provided on each magnetic base, and the measured temperature change data is output wirelessly through each antenna; the signal processing module is wirelessly connected to each temperature sensor signal. 如請求項1至3中任一項所述之主軸熱溫升量測遠端溫升修模補償系統,其中所述各溫度感測器是有線傳輸訊號的溫度感測器,該訊號處理模組是以有線的方式與各溫度感測器訊號連接。The spindle thermal temperature rise measurement remote temperature rise modification and compensation system as described in any one of claims 1 to 3, wherein each of the temperature sensors is a wired signal transmission temperature sensor, and the signal processing module The group is connected to each temperature sensor signal in a wired manner. 一種主軸熱溫升量測遠端溫升修模補償優化方法,其方法的步驟包括: 於兩個以上本地端的工具機分別架設一光學檢測裝置以及結合一個以上的溫度感測器,各光學檢測裝置包括一結合於各工具機主軸的球形透鏡裝置以及一結合於各工具機的平台的感測頭模組,該球形透鏡裝置設有一球形透鏡,該感測頭模組設有一光學非接觸式的感測器組,於該感測器組的中央形成一量測點; 各工具機將各球形透鏡移動至各量測點後,各工具機的主軸開始旋轉,在各主軸旋轉的過程中,各感測頭模組量測該球形透鏡因其所在主軸旋轉升高溫度而產生的位移變化數據,各工具機的各溫度感測器量測溫度變化數據,以軟體抓取各工具機的位移變化數據以及溫度變化數據輸入模型,建置一本地端的溫度補償模型;以及 將各工具機的溫度補償模型傳輸至一位於遠端的雲端運算單元,該雲端運算單元收集各工具機的溫度補償模型,整合提取各溫度補償模型的特徵資料建立一更新溫度補償模型,將該更新溫度補償模型傳回本地端的各工具機進行補償。 A spindle thermal temperature rise measurement remote end temperature rise mold repair compensation optimization method, the method steps include: An optical detection device is installed on more than two local machine tools and is combined with more than one temperature sensor. Each optical detection device includes a spherical lens device combined with the spindle of each machine tool and a platform combined with each machine tool. A sensing head module, the spherical lens device is provided with a spherical lens, the sensing head module is provided with an optical non-contact sensor group, forming a measurement point in the center of the sensor group; After each machine tool moves each spherical lens to each measurement point, the spindle of each machine tool begins to rotate. During the rotation of each spindle, each sensor head module measures the temperature increase of the spherical lens due to the rotation of the spindle where it is located. The generated displacement change data is measured by each temperature sensor of each machine tool, and software is used to capture the displacement change data and temperature change data of each machine tool and input it into the model to build a local temperature compensation model; and The temperature compensation model of each machine tool is transmitted to a remote cloud computing unit. The cloud computing unit collects the temperature compensation model of each machine tool, integrates and extracts the characteristic data of each temperature compensation model to establish an updated temperature compensation model, and integrates the temperature compensation model of each machine tool. The updated temperature compensation model is sent back to each local machine tool for compensation. 如請求項6所述之主軸熱溫升量測遠端溫升修模補償優化方法,其中所述的特徵資料包括趨勢、梯度以及方程式。The spindle thermal temperature rise measurement remote end temperature rise mold repair compensation optimization method described in claim 6, wherein the characteristic data includes trends, gradients and equations. 如請求項6或7所述之主軸熱溫升量測遠端溫升修模補償優化方法,其中重複以軟體抓取各工具機的位移變化數據以及溫度變化數據輸入模型,建置各本地端的溫度補償模型的操作,藉此訓練各溫度補償模型,增將其強健性與適應性並提升預測精度。The spindle thermal temperature rise measurement remote end temperature rise mold repair compensation optimization method as described in request item 6 or 7, wherein the software is repeatedly used to capture the displacement change data and temperature change data input model of each machine tool, and build each local end The operation of temperature compensation models, thereby training each temperature compensation model, increasing its robustness and adaptability and improving prediction accuracy.
TW111127421A 2022-07-21 2022-07-21 A spindle temperature measurement and compensation system TWI811033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111127421A TWI811033B (en) 2022-07-21 2022-07-21 A spindle temperature measurement and compensation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111127421A TWI811033B (en) 2022-07-21 2022-07-21 A spindle temperature measurement and compensation system

Publications (2)

Publication Number Publication Date
TWI811033B TWI811033B (en) 2023-08-01
TW202405591A true TW202405591A (en) 2024-02-01

Family

ID=88585612

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111127421A TWI811033B (en) 2022-07-21 2022-07-21 A spindle temperature measurement and compensation system

Country Status (1)

Country Link
TW (1) TWI811033B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7481112B2 (en) * 2019-12-26 2024-05-10 ファナック株式会社 Thermal Displacement Compensation Device
TWI754562B (en) * 2021-03-12 2022-02-01 國立虎尾科技大學 Spindle temperature measurement and compensation system and method

Also Published As

Publication number Publication date
TWI811033B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN102019620B (en) To the measurement of executor
RU2431804C2 (en) Positioning pattern
US8064686B2 (en) Method and device for the contactless optical determination of the 3D position of an object
EP1015845B1 (en) System for determining spatial coordinates and method for its calibration
US6826299B2 (en) Photogrammetric image correlation and measurement system and method
CN101239469B (en) Calibration device and method for robot mechanism
CN103020952A (en) Information processing apparatus and information processing method
JP2001515236A (en) Method for calibrating a robot inspection system
JP2019052983A (en) Calibration method and calibrator
CN1980775A (en) Robot-controlled optical measurement array, and method and auxiliary mechanism for calibrating said measurement array
CN109202538A (en) thermal displacement correction device
TWI754562B (en) Spindle temperature measurement and compensation system and method
CN112288823B (en) Calibration method of standard cylinder curved surface point measuring equipment
CN112361958B (en) Line laser and mechanical arm calibration method
US9644936B2 (en) Measurement method with improved precision in measurement point capture
TWI811033B (en) A spindle temperature measurement and compensation system
CN112697074B (en) Dynamic object to be measured angle measuring instrument and measuring method
KR101901483B1 (en) System and method for measuring tracker system accuracy
WO2006114216A1 (en) Method and device for scanning an object using robot manipulated non-contact scannering means and separate position and orientation detection means
TWM508389U (en) Image three-dimensional spatial error detection system
CN113134848A (en) Measurement mode based on six-axis robot repeated positioning precision
CN203719666U (en) Combined navigation system
JP2666512B2 (en) Machine coordinate system correction device
CN108107882B (en) Automatic calibration and detection system of service robot based on optical motion tracking
JP2016191663A (en) Calibration method of optical sensor, and three-dimensional coordinate measuring instrument