| With the rapid development of science and technology today,cars have long been popular.However,traditional fuel vehicles will cause global fossil energy shortage and environmental pollution because of their use of fossil fuels.The storage and use of pollution-free and renewable new energy as the power source of vehicles has become the development trend of all countries in the world,among which the new energy electric vehicles with electric energy as the power source have a good development in many countries.As an energy storage component of electric vehicles,lithium-ion batteries have many advantages,such as high voltage,high energy density,good safety performance,long cycle life,no memory effect and so on.However,it also has some disadvantages,such as not withstanding over discharge and overcharge,and inconsistent voltage between different cells in the battery pack.Battery management system(BMS)is an important part of electric vehicle,it can manage the charge and discharge of battery pack,extend the service life of battery pack,improve the range of electric vehicle,and ensure the safe operation of electric vehicle.This paper mainly designs and implements a battery management system for lithiumion batteries.Firstly,it compares and analyzes the various functions of the current battery management system,and then designs a centralized design BMS based on Li Fe PO4 battery.This system has low design cost and good security,and can monitor the parameters,balance the batteries,and manage the battery for up to 12 lithium-ion batteries Battery protection and other functions.The design of battery management system mainly includes hardware circuit design and software program design.The hardware circuit is designed around the stm32f103zet6 main control chip.The voltage detection circuit uses ltc6803-4 chip,the current detection circuit uses Hall current sensor Dhab s/06,the temperature detection circuit uses DS18B20 temperature sensor,and the equalization circuit designs passive equalization and active equalization according to the different application scenarios,Passive equalization is designed based on the passive equalization module of ltc6803-4,while active equalization proposes an active equalizer for parallel battery pack charging and discharging,in addition to power supply circuit and communication circuit.The software program adopts modular programming,and the corresponding software program is written for each different hardware circuit.And based on the conditions of the laboratory,the experimental platform of the battery management system is built,the functions of the hardware circuit and software program of the battery management system are tested and verified,and the feasibility of the battery balanced management is verified by comparing the Simulink simulation software with the actual experiment. |