I would start by making sure you have good ground connections everywhere, and that all electrical connections are tight. Measure resistance between some grounds and grounds to the machine frame - they should ALL be near zero.