Design of lithium battery weighing system