The principle of charger is suply must high voltage then voltage of accu voltage. The bulb function is for voltage compensation and current flow control. For better charger circuit the must have capacitor at diode rectifier. Electronics Capacitor about 2200uF/63Volt DC or higher capita and voltage.
Some picture:
﻿