Here is a fascinating schematic for a battery charging bicycle using a 12V Ford alternator. Notice that no inverter is needed. The rear wheel is raised off the ground driving the alternator. A 49" V-belt takes the place of the tire. This prevents slipping, wearing out and overheating.
Two great books are Pedal Power by James McCullough-using bicycle power for everything imaginable and VERY illustrated.
Human Powered Home; Choosing Muscles Over Motors by Tamara Dean