A device for controlling the functioning of a cardiac prosthesis, the device for controlling includes a control path, the control path having a control system designed and arranged to monitor and regulate the electrical supply of a cardiac prosthesis a first insulating system designed and arranged to electrically insulate the cardiac prosthesis from the electrical supply and a controller designed and arranged to monitor and regulate the electrical supply.