Journal of Shanghai Jiaotong University ›› 2014, Vol. 48 ›› Issue (05): 629-635.

• Metallography and Metallurgical Technology • Previous Articles     Next Articles

A Data Compression Algorithm Based on  G2 Continuous  Bézier Curves for Tool Paths

ZHAO Sheng1,BI Qingzhen1,WANG Yuhan1,SHI Jing1,LIU Gang2
  

  1. (1. School of Mechanical Engineering, Shanghai Jiaotong University, Shanghai 200240, China;2. Shanghai Top Numerical Control Technology Co. Ltd., Shanghai 201111, China)
  • Received:2013-09-02

Abstract:

The machining of continuous short blocks is a hot and difficult point for CNC machining. In this paper, a data compression algorithm based on the Bézier curve was proposed. First, the areas suitable for compression were screened out based on the geometric characteristics of continuous short blocks. Then, G01 points in each area were converted to special 3 order Bézier curves. To decrease the fluctuation of curvature and increase the compression ratio, the least square method was chosen to fit points. By adjusting the control points and inserting transition curves, the machining path was made G2 continuous. The fitting error was estimated by 2-order Taylor formula. Without iteration, the algorithm was realtime. The experiment proved that the compression ratio was high. The errors estimated by Taylor formula was extremely close to the real ones, indicating that the fitting accuracy could be controlled effectively.
 

Key words: computer numerical control (CNC) system, data compression, parametric curve, G2 continuity, fitting error estimation

CLC Number: