The invention discloses a tool
radius directional
compensation algorithm for slow slide
servo turning of a complex curved surface. The tool
radius directional
compensation algorithm comprises the following steps of: firstly, establishing an XZ coordinate
system on a contour section curve; carrying out point position discrete
processing on the contour section curve to obtain discrete point positions, representing a
Z coordinate value with Di,j, wherein in subscripts, i represents times of compensation and j represents a
point sequence; then obtaining a subdivided
radius compensation point D1,jat a compensated point D0,j; repeating the steps until obtaining a final compensated point Dn,j; and finally, obtaining the
Z coordinate value of Dn,j at D0,j. according to the invention, the curve isdirectly subject to discrete
subdivision, and the compensated point is obtained on the basis of the rapid directional
compensation algorithm; and compared to existing algorithms in the current literature, the tool radius directional compensation
algorithm only needs to carry out square and radication operations without carrying out equation solution or
curve reconstruction, meanwhile, is also applicable to directional compensation of a first-order discontinuous function, meets the requirements of actual ultraprecision
machining engineering application and solves problems of solving efficiencyand solving accuracy.