The module regulates voltage through a closed-loop control system that uses feedback from the generator or motor to adjust the excitation current.