Implementation Of A Battery Regenerator