The invention relates to a method for drilling center holes in two end faces of a cylindrical roller by using a depth control device. The depth control device overall comprises a pedestal, a workpiece clamping device, a first motor, a belt, a center
drill, a nut base, a drilling shaft, a sliding base, a sliding block, a second motor, a shaft coupler, a bearing pedestal, a
ball screw, a screw nut, a guide rail, a linear guide sleeve, a reset spring, a bar hoop, a measuring bar, a rod clamp, a touch rod, a measuring head and a measuring head base. The depth control device accepts effective control of a controller, provides good guarantee for drilling the center holes in the two end faces of the cylindrical roller, and has the characteristics of simple structure, easiness in manufacturing and convenience in use. Through the depth control device, the center holes can be drilled in the two end faces of the cylindrical roller simultaneously, equal work speed and equal work depth can be guaranteed, the center holes in the two end faces of the cylindrical roller have high coaxiality, the
processing process is simplified, and the
processing precision and the production efficiency are improved.