The invention provides a controller of an alternating-
current generator for a motorcar, which can simultaneously provide a
high voltage (42V) and a
low voltage (14V) power sources. The controller comprises a rectification circuit (1), a
high voltage (42V) division circuit (2), a
high voltage (42V) comparison circuit (3), an excitation circuit (4), a
low voltage (14V) division circuit (5), a
low voltage (14V) comparison circuit (6) and a low
voltage (14V) trigger circuit (7). The controller is characterized in that
voltage obtained by division by a second
resistor (R2) in the high
voltage (42V)division circuit (2) is compared with a reference voltage by the high voltage (42V) comparison circuit (3) so as to control the excitation circuit (4) to be opened or closed, namely that 42 V directcurrent is guaranteed to be outputted by controlling the level of exciting current; voltage obtained by division by a seventh
resistor (R7) of the low voltage (14V) division circuit (5) is compared with the reference voltage by the low voltage (14V) comparison circuit (6), and the low voltage (14V) trigger circuit (7) is utilized for controlling the opening and the closing of a low voltage (14V) output end so that the outputted average voltage can be stabilized on 14V; and the low voltage (14V) output end of the motor is led out from the neutral point O of an exciting winding, and the voltageof the neutral point and the pulse coefficient of the outputted 14V voltage are low. The controller can simultaneously output the high voltage (42V) and the low voltage (14V) power sources, and has stable voltage and low cost.