construction of a battery charge control for photovoltaic systems. battery pack