南昌工程学院毕业设计(论文)机械与电气工程学院系(院)电气工程及其自动化专业毕业设计(论文)题目基于单片机的锂离子电池电量检测系统设计学生姓名纪炜焕班级电气工程及其自动化(1)班学号2009100106指导教师饶繁星完成日期2013年5月20日基于单片机的锂离子电池电量检测系统设计Lithium-ionbatterydetectionsystemdesignbasedonMCU总计毕业设计(论文)34页表格7个插图15幅I摘要锂离子电池与其他种类的电池相比有着诸多优势,已经成为我们日常生活中必不可少的一部分。相信在使用锂离子电池的过程中,我们常会考虑还剩多少电量的问题,但是又找不到好的电量检测方法,针对该要求,本文设计了一种基于单片机的锂离子电池电量检测系统,该检测系统可以满足我们日常生活中对锂离子电池电量检测的需求,以全面掌握锂离子电池的电量状态。本文主要叙述了基于单片机的锂离子电池电量检测系统的研究和设计,该系统主要由模拟量采集、锂离子电池检测模块、单片机模块、以及LED驱动显示电量等相应的部分组成,介绍了锂离子电池的特点、电池电量检测原理、系统的结构及性能,重点介绍了该系统的软硬件设计等。考虑到检测系统的复杂程度、精确性、可靠性等各个方面,本文介绍的设计方案能够满足我们对锂离子电池电量检测的要求。关键字:锂离子电池BQ2040电池检测单片机LED显示IIAbstractComparedwithothertypesofbatteries,thelithium-ionbatteryhavemanyadvantages,becominganindispensablepartofourdailylives.Ibelievethatintheprocessofusinglithium-ionbattery,weoftenconsiderthequestionofhowmuchpowerisleft,buttheycannotfindagoodpowerdetectionmethod.fortherequirements,wedesignalithium-ionbatterydetectionsystembasedonMCU,thedetectionsystemcanmeetthedemandforlithium-ionbatterydetectioninourdailylives,inordertofullygraspthechargestatusofthelithium-ionbattery.Thispaperdescribestheresearchanddesignoflithium-ionbatterydetectionsystembasedonMCUThesystemconsistsofaAnalogacquisitionmodule,batterydetectionmodule,MCUmoduleandLEDdrivepowerdisplaymodules.thearticledescribesthecharacteristicsofthelithium-ionbattery,thebatterydetectionprinciple,structureandperformanceofthesystem,,focusingonthesystemhardwareandsoftwaredesign.Takingintoaccountthecomplexityofthedetectionsystem,accuracy,reliability,andotheraspects,thearticledescribesthedesigncanmeettherequirementsofourlithium-ionbatterydetection.Keywords:Lithium-ionbatteryBQ2040BatterydetectionMCULEDdisplayIII目录摘要.............................................................................................................................................IAbstract.....................................................................................................................................II第一章绪论.............................................................................................................................11.1本课题研究的目的及意义............................................................................................11.2本课题研究内容............................................................................................................11.3锂离子电池的放电及温度特性....................................................................................21.4锂离子电池电量检测系统的发展方向........................................................................3第二章系统总体结构设计.................................................................................................42.1系统总体结构框图........................................................................................................42.2单片机的选择................................................................................................................52.2.1W78E365A40PL引脚说明................................................................................52.2.2W78E365特性介绍............................................................................................62.3电池电量检测芯片BQ2040.........................................................................................72.3.1BQ2040引脚说明.............................................................................................72.3.2BQ2040的检测原理..........................................................................................82.4LED驱动控制芯片TM1629........................................................................................92.4.1TM1629引脚说明..............................................................................................92.4.2TM1629特性介绍............................................................................................102.5数据传输存储芯片24C64..........................................................................................112.5.124C64概述.......................................................................................................112.5.224C64引脚说明...............................................................................................112.5.324C64特性介绍...............................................................................................122.6时钟芯片DS1302........................................................................................................122.6.1DS1302概述.....................................................................................................122.6.2DS1302引脚说明.............................................................................................12第三章硬件系统设计.........................................................................................................143.1单片机与时钟电路部分..............................................................................................14IV3.1.1W78E365概述..................................................................................................143.1.2电路图设计.......................................................................................................143.2BQ2040部分..................................