Adaptive voltage regulator design for synchronous generator