| This thesis is under research funded by the Changsha Science and Technology Project.Since 2009,China has become the world’s largest automobile production country.As one of the key components of China’s automotive engines,camshaft grinding and processing equipment has been restricted.The development of China’s automobile industry.How to improve the machining accuracy and machining cycle of the camshaft has been a hot topic in the field of grinding equipment in China.Therefore,the control system and optimization of the NC camshaft grinder studied in this paper is of great significance.Therefore,the topic selection of the thesis has a certain theoretical significance and important use value.First of all,in order to solve the problem that the current cam processing cycle is not high,this paper proposes a cam rotation speed prediction algorithm based on TS fuzzy controller.This algorithm is programmed with C # through MATLAB simulation and transplanted to CNC cams based on Siemens 840D-SL CNC system In the shaft grinding machine,the cam rotation speed can be predicted and the C-axis displacement CNC machining subroutine can be generated.After grinding and testing,the camshaft contour error is within 0.02 mm,the cam surface roughness reaches Ra0.25μm,and each cam The machining efficiency is improved by more than 0.3s,which realizes precise,efficient and stable grinding of camshaft machining.Secondly,in order to solve the problem of local overshoot of the cam lift,the difference between the original cam lift value and the lifterror value detected after the cam is multiplied by the coefficient is used,and then the new cam lift value is obtained by using the m-th polynomial local smooth.The algorithm was programmed with C # for the first time,and transplanted into a CNC camshaft grinder based on Siemens840D-SL CNC system.It can realize the error compensation of cam lift value and generate a new X-axis displacement CNC machining subroutine,which will effectively improve In order to improve the machining accuracy of the cam,the cam lift error value is controlled within the range of 0.015 mm.Finally,the Siemens 840D-SL numerical control system is used as the software and hardware platform.The open advantages of the human-computer interaction interface of the 840D-SL numerical control system are added,and customized interfaces that can realize special processes and operations are added.Realize automatic programming of X-axis and C-axis CNC machining and intelligent machining of camshafts. |