Electrochemical model based condition monitoring of a Li-ion battery using fuzzy logic