PROGRAMMABLE LOGIC CONTROLLED LITHIUM ION BATTERY MANAGEMENT SYSTEM