I started building one following the steps:
AC Transformer with 45V secondary 90w power
bridge rectifier 5 amps connected to 4700 microfarad 80 volt capacitor
Lm317 connected in current source mode adjusted to 1 amps. will charge for five hours in constant current.
Measuring the voltage of unloaded and charged stopped battery I will start charging with constant voltage mode of Lm317 at the measured voltage measured above.
Finally I will set constant voltage to 13.5V and charge for 3 hours more. This voltage is applicable forever as you don't use your bicycle in winter to protect your battery from dying.
I will drive my bicycle 8 hours later for a long battery life.
Check LM317 in catalogs.
cenapcevli@gmail.com
best regards
Cenap
October 2007