Automatic voltage regultor of generator