a regulating device for regulating the output voltage of a generator ; in particular a vehicle generator is described . to improve protection of the voltage regulation from failure , for normal operation it is proposed to perform the regulation using a main regulator which is implemented as software in a control unit , and in the event of a malfunction of the main regulator , to perform the regulation using an auxiliary regulator .