Programmable logic controller based lithium-ion battery management system for accurate state of charge estimation. (July 2021)