Maybe there's something wrong with the generator regulator.
According to your description, this is mainly caused by a problem with the generator carbon brush or the generator regulator. It's advisable to remove the generator first and check the carbon brushes for wear. Replace the carbon brush if it wears out.