Alternator surging

Defective diode in the alt. As rpms increase, the time interval between the occurrence decreases & gives the impression that it 'has smoothed out'...