A device for driving an electromagnet, for operating pumps, including a
primary winding and a moving element, power switching electronic means, a
control logic unit to control the power switching electronic means and to
detect a value of an excitation current. A power supply of the control
logic unit provided by a corresponding shunt (PP) of the primary winding,
the control logic unit controlling the power switching electronic means
depending on the detected value of the excitation current to make the
electromagnet operate as an auto-transformer for providing the power
supply to the control logic unit and maintaining the function of
attracting the moving element substantially unchanged. Further disclosed
are the corresponding driven electromagnet and the related method for
driving the electromagnet.