Adjustable 3-Terminal Regulator for Low-Cost Battery Charging Systems