百度文库-让每个人平等地提升自我0本科生毕业设计(论文)学院(系):电子与电气工程系专业:电气工程及其自动化学生:王志宾指导教师:唐晓燕完成日期2011年5月百度文库-让每个人平等地提升自我0本科生毕业设计(论文)基于单片机的蓄电池性能测试电路的设计TestCircuitofAccumulator’sFunctionBasedonMCU总计:毕业设计(论文)27页表格:0个插图:18幅百度文库-让每个人平等地提升自我I本科毕业设计(论文)基于单片机的蓄电池性能测试电路的设计TestCircuitofAccumulator’sFunctionBasedonMCU学院(系):电子与电气工程系专业:电气工程及其自动化学生姓名:王志宾学号:097409028指导教师(职称):唐晓燕(讲师)评阅教师:完成日期:百度文库-让每个人平等地提升自我II基于单片机的蓄电池性能测试电路的设计电气工程及其自动化专业王志宾[摘要]阀控铅酸蓄电池作为后备电源已经广泛应用于工业生产,交通、通信和军事领域。如何高效率管理这些蓄电池,提高后备电源系统的可靠性是一个很现实的重要课题。因此,本课题设计一基于单片机的蓄电池性能检测系统。该系统采用精密电阻和电池构成串联电路,用交流注入法对蓄电池注入微弱正弦波信号,通过对输出响应进行一系列的放大、幅相检测、AD转换和采集,然后根据测量到的电压比来推算电池内阻。试验结果表明:该方法能够被有效地用于铅酸电池内阻测量,测量结果稳定有效。[关键词]幅相检测;AD转换;单片机;电池内阻TestCircuitofAccumulator’sFunctionBasedonMCUElectricalEngineeringandAutomationSpecialtyWANGZhi—binAbstract:Valvecontroloflead-acidbatteriesasabackuppowersupplyhasbeenwidelyusedinindustrialproduction,transportation,communicationsandmilitaryareas.Howtoefficientmanagementthesebatteries,improvethereliabilityofbackuppowersystemisaveryrealisticimportanttopic.Therefore,thesubjectisbasedonsinglechipdesignabatteryperformancetestingsystem.Thesystemadoptsthepreciseresistanceandbatteryconstituteaseriescircuit,usingacinjectionmethodtoinjectweakbatterysinewavesignal,aseriesofoutputresponsebytheamplification,amplitudeandphasedetection,ADtransformandacquisition,andthenbasedonthemeasuredresistancecalculationbatteryvoltageboard.Testresultsshowthatthemethodcanbeusedeffectivelyaslead-acidbatteryresistancemeasurement,themeasuredresultsstableandeffective.Keywords:Amplitudeandphasedetection;ADtransform;SCM;batteryresistance百度文库-让每个人平等地提升自我III目录1引言...............................................................................................................................11.1研究背景..............................................................................................................11.2蓄电池研究现状..................................................................................................11.3蓄电池的性能指标..............................................................................................21.4蓄电池性能的判断因素......................................................................................31.5本论文所做的主要工作......................................................................................42测试方法研究...............................................................................................................42.1内阻参数的相对性与绝对性..............................................................................42.2蓄电池内阻与容量的关系................................................................................52.3蓄电池等效电路..................................................................................................62.4设计方案论证......................................................................................................62.5交流法..................................................................................................................73硬件电路的设计...........................................................................................................93.1总体框架..............................................................................................................93.2主处理器模块....................................................................................................103.3探测电路............................................................................................................133.4差分放大电路....................................................................................................143.4.1INA321芯片简化图...................................................................................143.4.2INA2321电路图.........................................................................................153.5幅相检测电路....................................................................................................153.5.1AD8302介绍...............................................................................................153.5.2AD8302电路图...........................................................................................163.6模数转换模块设计............................................................................................17百度文库-让每个人平等地提升自我IV3.6.1模数转换芯片AD0809...............................................................................173.6.2ADC0809与单片机的接口电路.................................................................183.7液晶显示............................................................................................................183.7.1LCD1602介绍.............................................................................................183.7.2LCD1602与单片机的接口电路.................................................................214软件部分.....................................................................................................................224.1主程序................................................................................................................224.2A/D转换子程序................................................................................................234.3LCD1602初始化部