Alternator synchronization