Thinking about the OP and the replies:
There is a DC source 27V / 6A. This source drives a DC motor. The DC motor in turn drives an AC generator. The output of the system is an AVC voltage from the generator.
The output of the AC generator will vary in voltage and frequency depending on the load. A high load will reduce the frequency and the voltage. A small loaw will increase voltage and frequency. Unfortunately voltage and freqeuncy do not necessarily follow the same load charactersitic. While controlling the RPM of the generator reliably controls the frequency, the voltage depends on otherfactors, too, like e.g. magnetizing current in the stator windings.
Therefore, you will
either have to accept stability in only one variable (V,f) while the other is unregulated
or you will need two control loops, one for frequency (via RPM of the generator) and another for voltage (via e.g. stator current).
I found this
useful information on AC generators.
Another option you have is to forego the motor-generator setup completely and use an
inverter.. This will be much more efficient than the motor-generator setup.