thank you for your answers.
As has DanCT86 written, it makes sense to separate the charging of the battery and the motor control.
The generator can also be bought in a bundle with a rectifier. If that worked, that would be an easy solution for battery charging. Could this work?
I want to build a pedal generator for a lightweight vehicle.
I have a PMSM generator, from a small wind turbine (Rated power 300W, 600 RPM, 48 V), that I can run with a 1 to 5 gear ratio from the pedals.
Ideally, the generator should be used to charge the battery and control the drive-motors...