A power supply adapted for supplying electrical power to a load (108), the power supply comprising: at least one powered
full bridge circuit (100), wherein the powered
full bridge circuit is adapted for being powered by a
direct current voltage supply(106), wherein the
full bridge circuit(100) comprises a first output connection (104a), and a first switching means (102a-102d) for controlling the application of electrical power to the output connection, at least one floating full
bridge circuit (110), wherein each floating full
bridge circuit comprises a
capacitor (116) adapted for powering the floating full
bridge circuit (110), wherein each floating full bridge circuit comprises a second output connection (114b), a second switching means (112a-112d) for controlling the application of electrical power to the output connection, a stack of bridge circuits (100, 110) comprising the at least one powered full bridge circuit and the at least one floating full bridge circuit, wherein the second output
convection (114b) and first output connection (104a) are connected in series, wherein the stack has a third output connection (114a), a passive filter(120) for averaging the
voltage across the third output connection (114a) and connected to the third output connection, a load connector (122a) adapted for connecting the passive filter (120) to the load(108), a modulator (124) adapted for modulating the first switching means and the second switching means such that the charging or discharging of the
capacitor (116) is controlled while electrical power is being supplied to or extracted from the load (108).