The function of the regulator of solar street lights