| Due to the global energy shortage and severe environmental pollution,people mainly focus on using small new energy electric vehicles without pollution and using less energy,especially pure electric vehicles.The battery safety management control system(BMS)is still an important part of electric vehicles.The battery safety management system can effectively increase the service life of the driving battery and prevent the abnormality of the rechargeable battery of the electric vehicle or the state of charge and discharge explosion.The battery safety management system is very important for the subsequent development of new energy electric vehicles.Microcontroller(microcontroller unit,MCU)is an important part of automotive battery power management and control system.Usually it is mainly responsible for important tasks such as battery system control,data acquisition,and information exchange.Research on the use of microcontrollers to promote automotive battery power management control The continuous development of the system and the continuous optimization and improvement of the performance of electric vehicle batteries have important practical application valuesThis thesis originates from the production project "Research and Design of a 16-Cell Lithium Battery Management System" by the internship unit,and conducts research and design on the integrated chip of the BMS system of electric vehicles.Using a bottom-up design idea,using the 8051 microcontroller IP core OC8051,starting from the underlying functional modules,an 8-bit chip based on the 8051 microcontroller(MCU)was designed.First according to the basic structure and functional characteristics of OC8051.Starting from the port definition,the basic on-chip resources of OC8051 are introduced.Starting from the basic functions of OC8051,the main functional modules of OC8051 are introduced,and a series of system-level tests are performed for their functions,and the corresponding simulation results are given.This ensures that the IP core can be used normally and provides a research basis for subsequent work.Based on the structural characteristics of OC8051,a bus interface based on Wishbone bus protocol was designed and the bus interface simulation test was performed.Then,according to the performance requirements of the microcontroller chip in the electric vehicle BMS,the SPI and I2 C serial bus modules were researched and designed.The CAN bus controller and other modules were researched and verified.The basic working principles and simulation results of the above modules were introduced.The microcontroller and the designed peripheral module are connected together through a bus interface to complete the overall chip design.Then use Xilinx Artix-7 series NESY4 development board to verify the FPGA hardware platform,test the basic functions of the chip and give the output waveform.Finally,the back-end implementation research and design of the chip was carried out.The design compiler of Synopsys was used to complete the circuit synthesis.The chip layout and wiring design was completed based on the GSMC 0.18μm process library,and the chip layout file was obtained.After the above simulation and verification,the chip system designed this time works normally and basically reaches the design goal... |