The invention discloses an automatic online drilling device for a rim. The automatic online drilling device for the rim comprises a rack, an air cylinder, a profiling drilling jig, drilling bushings, a
servo electric cylinder, a drilling power
drill bit and the like, wherein a sensor carries out locating on a wheel, the air cylinder drives a left clamping block to move rightwards through two guide rods and guide sleeves, the left clamping block tightly clamps the wheel together with a right clamping block, a
drilling system gets close to the wheel through the
servo electric cylinder, the profiling drilling jig can make good contact with the rim, then the
servo electric cylinder continues moving to compress an upper spring and a lower spring, the drilling power
drill bit can enter the drilling bushings, a drilling power head drives the drilling power
drill bit to rotate at the moment, and drilling carried out on the rim of the wheel begins. When the automatic online drilling device for the rim is used, automatic drilling marking can be carried out on an X-
ray waste product of the wheel, and the automatic online drilling device for the rim can adapt to a
spin casting blank with the thick rim; due to the guiding function of the drilling bushings, the phenomenon that a
drill bit is frequently broken when drilling is carried out on the cambered surface on the outer side of a rim can be effectively avoided.