Capacitor welding principle