Chemical analysis method of lithium iron phosphate battery