Research on real time compensation of thermal errors of CNC lathe based on linear regression theory
In the field of precision machining, thermal error is one of the main error sources in CNC machining. The thermal error compensation of CNC lathe can effectively improve the machining accuracy of machine tools. On the basis of the research of local thermal error compensation technology in NC lathe,the temperature of the key points in CNC machining is real time measured by platinum resistance temperature sensor. And the thermal error model is established by means of the fit of the measured temperature and linear regression theory. According to the thermal error model, the experiment of thermal error compensation is conducted, and the experimental results indicate that better surface quality is achieved with the implementation of the thermal error compensation. Introduction With the development of science and technology, the requirements for the accuracy of product are higher and higher. The methods of improving the machining accuracy of CNC lathe have mainly error avoidance method and error compensation method [1 2] Error avoidance method which improves the machining accuracy of the lathe by improving the accuracy of parts of machine tools, using constant temperature workshop and so on will lead to an increase in the cost of workpiece. Error compensation method which is both economical and reliable has been a focal point of the research of CNC machining technology [3 4] There are many factors which affect the machining accuracy of machine tools. And the thermal error which accounts for 40% 70% of the total machining error is one of the biggest error sources [5 6] The influence of thermal error on the machining accuracy is more obvious for the CNC lathe of machining rotary parts because of the temperature of the workpiece is raising fast in the process of machining. The temperature of the motor, the rotary shaft, the feed shaft and the cutting tool and so on are measured by the platinum resistance temperature sensor. The thermal error model of CNC lathe is established based on linear regression theory. The temperature of the same measuring point is measured real time in the CNC lathe machining, and real time thermal error is calculated by thermal error model. Real time compensation of thermal errors for CNC lathe is realized through thermal error compensation system. Placement of temperature sensor Both the friction heat between the moving parts and the environment temperature have some effects on the machining accuracy of the lathe. The machining point of the lathe can not be accurately positioned due to the thermal expansion of the lathe guide, thermal expansion of workpiece and so on. The machining error caused by the temperature change is called thermal error. The thermal error of the workpiece in lathe machining is mainly reflected in the machining accuracy of the Z axis, as shown in fig.1. 2nd International Conference on Machinery, Materials Engineering, Chemical Engineering and Biotechnology (MMECEB 2015) (c) 2016. The authors Published by Atlantis Press 530 Fig.1 SJ320 oblique body CNC lathe The placement of the temperature sensor is the key of the thermal error compensation effect. For CNC lathe machining, the main heat sources: heat of electric motor, friction heat between gears in the spindle box, cutting heat between the cutting tool and the workpiece, the friction heat between the guide rail and the ball screw, and so on. Therefore, the heat source affecting the accuracy of the workpiece is mainly concentrated in the spindle box, X axis guide, cutting tools, electric motor and so on. These heat sources are the key positions placing temperature sensor. The temperature sensor should be placed as close as possible to the heat source, and its number should be more than the number of heat source of the CNC lathe. If the conditions permit, the more temperature sensors are placed at the key point and the better the statistical effect. Thermal error model of CNC lathe The linear relationship between thermal error and temperature is established by using multiple linear regression theory, which is a common method of thermal error modeling.The thermal error model established by this method has good reliability and high accuracy of prediction. According to the distribution of the heat source of the CNC lathe, n temperature measuring points are placed on the lathe. The temperature measured at each measuring point is recorded as: 1 2 n T T T Observe the change of the temperature, the K(k=1,2,,m) group sample observation data were recorded as: 1 2 k k nk T T T At the same time, the machining error of the workpiece in the direction of the Z axis is recorded: 1 2 k z z z .Linear equations can be obtained as follows: