A system for controlling an inductor freewheeling voltage comprising: a first switch and a second switch, wherein the at least one from the first switch and the second switch is a unipolar transistor or IGBT transistor, a first diode, an inductor, wherein in conducting state, the first switch connects a first terminal of the inductor with a power bus (+) and wherein the first switch is controlled by a first control signal, wherein a first terminal of the first diode is connected to a ground (-) and a second terminal of the first diode is connected to the first terminal of the inductor, wherein the first diode is connected to the ground allowing an electric current to pass from the ground (-) to the first terminal of the inductor, wherein the second switch, in conducting state, connects a second terminal of the inductor with the ground (-), the system further comprises a switch control circuit, wherein the switch control circuit is configured to be controlled with a second control signal, delivered to an input terminal of the switch control circuit,and wherein in a first state of the second control signal the switch control circuit keeps the second switch open and in a second state of the second control signal the switch control circuit keeps the second switch causing a voltage drop across the second switch, the system is characterized in that the switch control circuit comprises a second resistor, a third resistor, a fourth resistor, a third diode, a transistor and at least one Zener diode wherein, a first terminal of a first Zener diode is connected to the second terminal of the inductor, a second terminal of a last Zener diode is connected to a first terminal of a third diode, all Zener diodes are connected in series, in the same direction and a forward direction of the Zener diodes from the first terminal of the third diode to the second terminal of the inductor, a second terminal of the third diode is connected to a first terminal of the second resistor, and to a base terminal of the transistor, wherein a forward direction of the third diode is from the second terminal of the last Zener diode to the first terminal of the second resistor, a second terminal of the second resistor is connected to the ground (-), a collector terminal of the transistor is connected to an auxiliary power supply configured to provide stable DC voltage, an emitter terminal of the transistor is connected to the diode and to a first terminal of the third resistor, a second terminal of the third resistor is connected to a first terminal of the fourth resistor, and to a gate terminal of the second switch, a second terminal of the fourth resistor is connected to the ground (-). a first switch and a second switch, wherein the at least one from the first switch and the second switch is a unipolar transistor or IGBT transistor, a first diode, an inductor, wherein in conducting state, the first switch connects a first terminal of the inductor with a power bus (+) and wherein the first switch is controlled by a first control signal, wherein a first terminal of the first diode is connected to a ground (-) and a second terminal of the first diode is connected to the first terminal of the inductor, wherein the first diode is connected to the ground allowing an electric current to pass from the ground (-) to the first terminal of the inductor, wherein the second switch, in conducting state, connects a second terminal of the inductor with the ground (-), the system further comprises a switch control circuit, wherein the switch control circuit is configured to be controlled with a second control signal, delivered to an input terminal of the switch control circuit,and wherein in a first state of the second control signal the switch control circuit keeps the second switch open and in a second state of the second control signal the switch control circuit keeps the second switch causing a voltage drop across the second switch, the system is characterized in that the switch control circuit comprises a second resistor, a third resistor, a fourth resistor, a third diode, a transistor and at least one Zener diode wherein, a first terminal of a first Zener diode is connected to the second terminal of the inductor, a second terminal of a last Zener diode is connected to a first terminal of a third diode, all Zener diodes are connected in series, in the same direction and a forward direction of the Zener diodes from the first terminal of the third diode to the second terminal of the inductor, a second terminal of the third diode is connected to a first terminal of the second resistor, and to a base terminal of the transistor, wherein a forward direction of the third diode is from the second terminal of the last Zener diode to the first terminal of the second resistor, a second terminal of the second resistor is connected to the ground (-), a collector terminal of the transistor is connected to an auxiliary power supply configured to provide stable DC voltage, an emitter terminal of the transistor is connected to the diode and to a first terminal of the third resistor, a second terminal of the third resistor is connected to a first terminal of the fourth resistor, and to a gate terminal of the second switch, a second terminal of the fourth resistor is connected to the ground (-).