Filter capacitor grounding method