The lens materials are diverse, such as glass, resin, etc. The spindle motor can drive the grinding tool to grind the blank of the lens with high precision, so that it can achieve the required curvature and accuracy, and ensure the optical performance of the lens. At the same time, it can precisely control the speed and torque of the motor according to different lens materials and processing requirements, and improve the processing efficiency and quality.