Hi,
In order to help you, we need some specifications for the generator. ALso, this term can mean anything from a motor-generator to an electronic inverter to a signal generator. So please be as specific as possible on what you are trying to build.
Thanks.
Good luck,
Kamran Kazem