An electrical circuit for zero-voltage switching of a DC-DC converter comprising an n-port m-phase active bridge converter with n≥2 and m≥1, where each port can be operated as an input or an output port, wherein each of the n ports has m phase legs with multiple active switches with parallel connected snubber or resonant capacitors, wherein the n ports can convert a DC-voltage into an AC voltage and vice versa, wherein the n ports are connected via a m-phase transformer or over m separate transformers each connected to each of the m phase legs of each of the n ports to transfer power between the ports, wherein an auxiliary circuit is connected to the transformers to convert a part of a transformer input voltage and energy via an auxiliary voltage source into a DC mid-point capacitor of a DC-link of at least one of the n-port m-phase active bridge converters to recharge the DC mid-point capacitor enabling the auxiliary circuit to regulate the voltage of the mid-point capacitor providing under all load conditions zero-voltage soft-switching operation of the switches of the converter phase legs.