Application of capacitors in converters