Compensation capacitor discharge circuit diagram