AP10_1.vp 1 Introduction From the point of view of temperature measurements, machine tools can be divided into two groups. The first group consists of so-called intelligent (advanced) machines, in which all required sensors are implanted directly within machine production. A machine spindle with temperature sensors built in to the bearings, motor, etc., is a typical representative of this group. This machine can solve deformation problems using mechatronic methods. Unfortunately, these machines are not very common. They are also relatively expensive to produce. The second group comprises conventional ma- chines that have only a limited number of built-in sensors (about five). These sensors are specially added to the surface of the machine frame. The spindle is generally not sufficiently monitored. Machines of this type are preferred nowadays [1, 2 and 3]. Conventional machine tools can be supplemented by ad- ditional sensors. However, placement of the sensors can be extremely problematic, see [4]. The problems can be summed as follows: � The sensor cannot be placed directly inside the heat source. � The sensor cannot be placed in the correct position be- cause of the equipment and structure of the machine. � The sensor is too big for the chosen measuring place. � The sensor cannot be sunk into the material. � The contact surface between the sensor and the frame is not perfect. An example of sensor mounting is shown in Fig. 1. These problems are most visible in spindle thermal behav- ior analysis. As mentioned, it is not possible to disassemble the spindle. In addition, the spindle is not designed for installing additional elements, due to its very sophisticated inner struc- ture. Nowadays the most commonly applied option is to in- stall the required sensors on the spindle head, as close as pos- sible to the spindle. Another option is to place the sensors on the spindle tube. In terms of heat generation, the spindle is the major source of heat, and its thermal deformation is a ma- jor cause of overall machine deformation. This effect is multi- plied when an electro-spindle with an integrated electro- -motor is used. The high deformation of this type of spindle is caused by its typical mechanical structure with a group of front and rear bearings and the electro-motor winding. It is placed between the two bearing groups. These three parts of the spindle form a considerable source of heat, but they are covered by other spindle mass (lubricating and cooling circuits, spindle tube, etc.). If the sensors are placed on the outer surface of the spindle tube, there is a relatively large traffic time delay of the transferred heat on the way out from the heat source to the temperature sensors. This delay can cancel the thermal compensation of machine deformation. The sensors fail to react when the spin- dle (and also the machine frame) is already deformed by heat [5]. The cutting accuracy is lower than expected. The effort to eliminate this negative effect is a basic challenge for engineers working on machine tools. An unexplored approach to the problem is to use the spindle cooling liquid as a carrier of information about the thermal state inside the spindle. © Czech Technical University Publishing House http://ctn.cvut.cz/ap/ 19 Acta Polytechnica Vol. 50 No. 1/2010 Using the Spindle Cooling Temperature as a Tool for Compensating the Thermal Deformation of Machines J. Vyroubal Thermal error compensation of machine tools is a relatively complex problem nowadays. Machine users have very high expectations, and it is necessary to use all means to improve the cutting accuracy of existing machines. This paper deals with a novel approach, which combines standard temperature measurement of a machine tool and new temperature measurement of the spindle cooling liquid. A multinomial re- gression equation is then used to calculate the compensation correction of the position of the tool. This calculation does not critically overload the control system of the machines, so no external computing hardware is required. The cooling liquid approach improves the accuracy of the machine tool over an operational time of several hours. Keywords: Machine tool, thermal compensation. Fig. 1: Example of sensor mounted on a spindle 2 Making use of the spindle cooling liquid Our task is to find a method for obtaining information about the inner thermal behavior of the spindle by measuring the temperature outside the spindle. The only option is to use the spindle cooling liquid. This liquid flows close around the groups of bearings and around the electromotor – Fig. 2. It removes the generated heat by circulating through the spin- dle. If the temperature sensor is placed in the liquid tube at the exit of the spindle, it can determine the conditions inside the spindle. An advantage of this measurement is speed with which the liquid takes temperature information from the bearings to the sensor. This delivery time is shorter than the time taken by heat passing through the mass of material, from the bearings to the outer surface of the spindle, where sensors are standardly placed. Our experiments prove, that the reaction of the sensor to the temperature change is much faster (in the case of outgo- ing spindle cooling liquid) than for other sensors installed on the machine frame. The time results are given below. 3 Machine tool thermal behavior monitoring Experiments aimed at verifying our hypothesis were per- formed on the MCFV 5050LN 3-axis machining center, equipped with an electro-spindle and a linear motor in all three axes. This machine has a type C frame, the most com- mon type of frame. The goal of our project was to eliminate the thermal deformation of the vertical Z-axis, caused by the spindle. The overall machine deformation was monitored in the place of the tool in the direction of the Z-axis. The machine was repeatedly thermally loaded by the rota- tion of the spindle. The analysis began from the cool state, af- ter the machine had been switched off 48 hours before the ex- periment. In this way, the machine was brought to room tem- perature. Then the machine was started, referenced and spin- dle was set in motion at a constant rotation speed of 7500 rpm (50 % nmax). Fig. 3. shows that the test ran for about 10 hours. This warmed the structure sufficiently to show the direction and amount of heat flux flowing from the spindle to the machine frame. The deformation of this type of thermal load in the Z direction is shown in Fig. 4. The initial very fast phase is caused by the spindle itself. The middle phase, between “50 min” and “150 min” is a mixture of influences from the spindle and from the column deformation. The last phase, from “150 min” is created by the column only. Another problem in implementing a compensation mech- anism for the machine is its cost. It is necessary to offer solu- 20 © Czech Technical University Publishing House http://ctn.cvut.cz/ap/ Acta Polytechnica Vol. 50 No. 1/2010 Fig. 2: Cooling circuits of the tested spindle 0 100 200 300 400 500 600 18 20 22 24 26 28 30 32 34 Time [s] T e m p e ra tu re [d e g .] Temperature behavior of MCFV 5050LN Fig. 3: Thermal behavior of MCFV 5050LN tions that are inexpensive but still function well . A typical solution is a multiregression analysis. Even without additional hardware, the machine control system is not overloaded. 4 Multiregression compensation Multiregression compensation is based on the principle of results calculated from several inputs. These can be written as equation: � � � � � a Tn n n m 1 . (1) � calculated deformation, T measured temperatures, a calculated coefficients, m number of used sensors. For a better overview of the complete thermal behavior, of the machine, many sensors are installed on the frame and spindle. The sensors are selected by comparative analysis, using two parameters: The first parameter is a match between increased defor- mation and increased temperature at a specific place. The second parameter is the reaction speed to the defined temperature change of the measured place. The reaction limit was set up to 0.5 deg for this experiment. Four sensors were chosen. The sensors covered the spindle (2 sensors), the vertical machine column and the influence of the Z-axis linear motor. The sensors are shown in Table 1, and their placement is shown in Fig. 5. The temperature data serve as an input for proper com- pensation (Eq. 1) through the machine control system. The result of Eq. 1, calculated in a given time cycle, presents a correction signal for the control system of the machine. Instead of the time-deformation characteristic, the special temperature deformation characteristic is used to form multi- nomial compensation. The heating process can vary in time but from the physical point of view the temperature change is dominant for the deformation magnitude. © Czech Technical University Publishing House http://ctn.cvut.cz/ap/ 21 Acta Polytechnica Vol. 50 No. 1/2010 0 100 200 300 400 500 600 �10 �5 0 5 10 15 20 25 Time [min] D e fo rm a ti o n [ m ] � Z-axis deformation Fig. 4: Z-axis deformation in the place of the tool Senzors Time reaction C10 32 min C9 25 min A67 3 min C11 8 min 0086 6 min Table 1: Sensors and their reaction time Fig. 5: Chosen sensors placement 0 100 200 300 400 500 600 �20 �10 0 10 20 30 Thermal Behavior and Residuum after Compensation Time [min] D e fo rm a ti o n � [� m ] calculated measured residuum Fig. 6: First thermal measurement The resulting deformation equation for the Z-axis for four inputs has the following form: �Z T T T T � � � � � � � � � 236 81 0 27 1193 23 98 26 85 1 2 3 4 . . . . . This equation was determined by calculating the defor- mation and temperature tract during the first machine ther- mal behavior analysis, Fig. 6. The calculation was checked by another machine measurement, with different initial condi- tions. The machine was in a different initial thermal state, due to the different room temperature. In addition, the frame itself was in a semi-warm state, due to incomplete cooling down from the previous working day. The cooling process had taken place only overnight, which is not long enough for this type of machine. The thermal load of the spindle was the same as in the first analysis. 5 Compensation results The residual deformation after compensation is shown in Fig. 7. Clearly, the applied compensation has a positive in- fluence. A good improvement can be seen in the middle tran- sient phase, where the influences of the spindle deformation and of the column deformation are opposite. It is always diffi- cult to describe this phase, because the superposition of the two deformations plays a significant role. Also, during the first phase, when the big spindle deformation takes place, we can see the good quality of the compensation mechanism. There is a very fast increase in the spindle deformation. Multinomial compensation with spindle cooling liquid mea- surement eliminates this effect in a shorter time than without compensation. The principle of multinomial regression calculation, to- gether with the small number of sensors that have to be installed, limits the reaction speed when there are unexpected changes in machine behavior. This effect can be seen in Fig. 6. around time “470 min”. A sudden spindle cooling failure causes deformation variation. The compensation mechanism reacts, but not sufficiently. This is due to the sensors that are included in the compensation calculation. To improve this compensation type, a special multinomial approach is necessary for the spindle. 6 Conclusion Using the spindle cooling liquid improves the multi- nomial regression compensation mechanism. The resulting residual deformation of the MCFV 5050LN machining cen- ter, in the Z-axis, is better than when a standard regression calculation is made, using only a machine frame temperature measurement. The deformation can be eliminated faster, in the critical first phase. Because the calculation is com- pounded from four sensors: the machine frame, the spindle and cooling liquid, the reaction of the compensation is not fast enough for special unexpected events such as a cooling failure. Acknowledgment This research has been supported by the Ministry of Edu- cation of the Czech Republic – project 1M6840770003. Reference [1] Vyroubal, J.: Elimination of Thermal Deformation Due to CNC Machine Tool Spindles. In: 4th International Con- ference and Exhibition on Design and Production of Machines and Dies/Molds, Middle East Technical University, 2007, p. 251–257. [2] Ko, T. J. et al.: Particular Behavior of Spindle Thermal deformation by Thermal Bending. IJMT, Vol. 43 (2003), p. 17–23. [3] Ramesh, R. et al.: Thermal Error Measurement and Modeling in Machine Tools. Part I. Influence of Vary- ing Operating Conditions. IJMT, Vol. 43 (2003), p. 391–404. [4] Lo, Ch. H.: Optimal Temperature Variable Selection by Grouping approach for Thermal Error Modeling and Compensation. IJMT, Vol. 39 (1999), p. 1383–1396. [5] Hornych, J., Vyroubal, J.: Inteligentní chladicí systém – část I: tepelné chování izolované pinoly. Report V-07-055. Research Centre of Manufacturing Technology, 2007. Ing. Jiří Vyroubal phone: +420 221 990 930 Fax: +420 221 990 999 e-mail: j.vyroubal@rcmt.cvut.cz Czech Technical University in Prague Research Centre of Manufacturing Technology Horská 3 128 00, Prague 2, Czech Republic 22 © Czech Technical University Publishing House http://ctn.cvut.cz/ap/ Acta Polytechnica Vol. 50 No. 1/2010 0 100 200 300 400 500 600 �20 �15 �10 �5 0 5 10 Time [min] R e s id u u m [� m ] without cooling liquid with cooling liquid Residual Deformation Comparison Fig. 7: Residual deformation after compensation