| The grinding patterns of rail is the primary operation in grinding operation,its setting is one of the key grinding techniques in rail grinding.At present,our country still relies too much on manual operation in this respect,so there is an urgent need to improve its automation,intelligence and precision.This paper studies the automatic generation algorithm of rail grinding patterns,designing a complete grinding patterns generation algorithm,and analyse and explain detailedly of each key step.Make the calculation and simulation of actual profile data,and evaluate the feasibility of the algorithm.Considering the characteristic structure of rail profile,designing the profile datum algorithm with Hof transform and affine transformation,and compile the program to calculate actual profile data.Considering the profile data characteristics,Fitting the curve with B spline curve approximation method.Using the weighted sum of average deviation and standard deviation of curvature as the evaluation index to measure the fitting quality,on the basis of this,designing the profile data fitting subalgorithm.According to the structure of the grinding mechanism,making the geometric simplification of the process of grinding wheels for grinding rail,analysing the effect of grinding depth and grinding area of single grinding wheel and multiple grinding wheel based on the standard profile.On this basis,a complete setting algorithm for grinding patterns is designed,and the results of the alignment algorithm and the fitting processing algorithm are used.Making the simulation and calculation of actual data,considering the actual grinding process and analysing of the error factors,analysing grinding result by introducing random error,discussing the feasibility of the algorithm.Finally,the Matlab and C#hybrid programming technology is used to write the grinding patterns software,and the algorithm designed in this paper is applied to the engineering practice. |