Abstract:Based on CCD sensor, online diameter measurement system for ordinary economic CNC lathe was realized, and the measurement error caused by measuring system was analyzed briefly, to meet the requirement of high precision of modern industry. At the present stage that economic CNC machine tools still occupy a larger proportion,it is a economic measure to transform economical CNC to machining equipment with high machining accuracy.