Diagnosis of Electrochemical Impedance Spectroscopy in Lithium Ion Batteries