A device for protecting the bearing of an electrical machine against the
damaging passage of current, wherein the electrical machine comprises a
stator and a rotor pivotally mounted relative to the stator by the
bearing. The device is provided with a compensation circuit which
produces a compensation current which compensates for a parasitic current
formed during operation of the electrical machine by the bearing and a
coupling element for directly or indirectly coupling the compensation
current into the bearing.