Switching power supply comprising: a plurality of parallel branches (401, 402, 403), each parallel branch comprising two serially connected controllable switches (111, 112) and a coil connected between the two switches (111, 112) and an output node; a capacitor connected between the output node of the parallel branches and ground, and a controller configured to switch the two serially connected controllable switches (111, 112) of each parallel branch (401, 402, 403) such that a first switch of a parallel branch is switched from a conducting state to a non-conducting state when a current (I 1) flowing through a coil of the parallel branch reaches a first current value larger than 5 A, and such that the second switch (S 2) is switched from a conducting state to a non-conducting state when the current flowing through the coil of the parallel branch reaches a second current value smaller than 0 A, an LC filter (410, 412) comprising a filter capacitor and a filter coil and being connected upstream from the plurality of parallel branches (401, 402, 403), so that an input node of each parallel branch is connected to a first terminal of the filter capacitor and to a first terminal of the filter coil, a second terminal of the filter capacitor being connected to a ground terminal, and a second terminal of the filter coil being connected to an input node of the switching power supply, wherein the filter capacitor further comprises a third terminal for contacting the switches from the plurality of parallel branches connected to the ground, a board, the filter capacitor being arranged on a top side of the board and the switches and the coils being arranged on a rear side of the board, the first terminal of the filter capacitor extending through a bore from the top side to the rear side of the board, wherein the third terminal of the filter capacitor comprises an elongated lead connected to the second terminal and extends partly along the first terminal lead and is insulated from the first terminal lead, wherein the said third terminal comprises a ground path and the third terminal is arranged, on the said top side of the board, whereas the second terminal of the capacitor is used for contacting the actual circuit ground of the entire circuit, and wherein one or several ground terminals of the second switches (S 2, S 4, S 6) extend from the rear to the top side of the board and are connected to the third terminal of the filter capacitor. a plurality of parallel branches (401, 402, 403), each parallel branch comprising two serially connected controllable switches (111, 112) and a coil connected between the two switches (111, 112) and an output node; a capacitor connected between the output node of the parallel branches and ground, and a controller configured to switch the two serially connected controllable switches (111, 112) of each parallel branch (401, 402, 403) such that a first switch of a parallel branch is switched from a conducting state to a non-conducting state when a current (I 1) flowing through a coil of the parallel branch reaches a first current value larger than 5 A, and such that the second switch (S 2) is switched from a conducting state to a non-conducting state when the current flowing through the coil of the parallel branch reaches a second current value smaller than 0 A, an LC filter (410, 412) comprising a filter capacitor and a filter coil and being connected upstream from the plurality of parallel branches (401, 402, 403), so that an input node of each parallel branch is connected to a first terminal of the filter capacitor and to a first terminal of the filter coil, a second terminal of the filter capacitor being connected to a ground terminal, and a second terminal of the filter coil being connected to an input node of the switching power supply, wherein the filter capacitor further comprises a third terminal for contacting the switches from the plurality of parallel branches connected to the ground, a board, the filter capacitor being arranged on a top side of the board and the switches and the coils being arranged on a rear side of the board, the first terminal of the filter capacitor extending through a bore from the top side to the rear side of the board, wherein the third terminal of the filter capacitor comprises an elongated lead connected to the second terminal and extends partly along the first terminal lead and is insulated from the first terminal lead, wherein the said third terminal comprises a ground path and the third terminal is arranged, on the said top side of the board, whereas the second terminal of the capacitor is used for contacting the actual circuit ground of the entire circuit, and wherein one or several ground terminals of the second switches (S 2, S 4, S 6) extend from the rear to the top side of the board and are connected to the third terminal of the filter capacitor.