Regulation of salient pole alternator