摘要I摘要铅酸蓄电池组是许多交通工具的动力源或应急电源,因此电池组的性能将直接关系到交通工具的正常运行。为了提高蓄电池的使用寿命,保证其可靠运行,需要经常对蓄电池参数进行严格测量,以确保蓄电池组处于最佳的工作状况。以往,蓄电池参数的测量都是人工完成的。人工测量速度慢,测量精度不高,而且有害气体影响人体健康。为减少工人的劳动强度,保障测量人员身体健康,提高测量速度和测量精度,对蓄电池参数进行自动测量显得尤为重要。由于受环境限制,要求系统简小而且实用,方便对单一电池进行维修和日常的维护,因此本次设计的是检测一路蓄电池端电压的系统。监测系统是以AT89C51单片机为核心,其工作性能优良,使用灵活、功耗低,是一个性价比较高的芯片。数据采集完成后选用ADC0809进行电压信号的模数转换,测量数据在LCD1602上显示,通过MAX232电平转换电路将测得的电压数据传到PC机上显示、存储。关键词:单片机;铅酸蓄电池;智能检测;显示;通讯AbstractIIAbstractThelead-acidstoragebatterygroupisthedrivepowersupplyorcontingencypowersupplyformanytraffictools.Sotheperformanceofthestoragebatterygroupisdirectlyrelatedtothenormalrunningoftraffictools.Itisnecessarytomeasurebatteries’parametersaccuratelyandfrequentlyinordertoenhancetheirlives,runthemreliablyandensurethebatteriesintheoptimalworkingstates.Inthepastthetestingofthestoragebatteries’parameterswascompletedartificially.Howeverthismethodhasmanydisadvantages.It’sslowtotestbatteriesartificially,themeasurementprecisionislow,andthesurroundingsofstoragebatterycabinareveryharmfultopeople’shealth.Soit’sveryimportanttodesignadevicewhichcantestbatteriesautomatically.Becausesufferenvironmentalrestrictions,requestsystem,convenientandpracticalJanesmallonasinglebatteryforrepairandroutinemaintenanceofthedesign,sothebatteryvoltageisthesystemtestalltheway.MonitoringsystembasedonAT89C51,itsworkfineperformance,useagile,lowpowerconsumption,isahighcostperformancechip.DatacollectionafterthecompletionoftheADC0809voltagesignalselectioninfrequency-fieldonLCD1602,measurementdatadisplay,throughMAX232levelmeasuredtransformcircuitwillthevoltageuploaddataPCcomputerdisplay,storage.KeyWords:Single—chipcomputer;Lead-acidbattery;Intellectualdetectionsystem;Display;communication目录目录摘要..............................................................................................................................................................IAbstract......................................................................................................................................II1绪论........................................................................................................................................11.1铅酸蓄电池的简单介绍...........................................................................................................11.2铅酸蓄电池检测系统简介......................................................................................................31.3进行铅酸蓄电池研究的主要意义.........................................................................................32硬件部分主要芯片简介......................................................................................................................52.1单片机AT89C51..........................................................................................................................52.2液晶显示芯片LCD1602............................................................................................................82.3模数转换芯片ADC0809..........................................................................................................102.4锁存器扩展并行输出口74LS373........................................................................................122.5电平转换芯片MAX232............................................................................................................143硬件部分设计......................................................................................................................................163.1硬件部分原理框图..................................................................................................................163.2最小系统电路...........................................................................................................................183.3电压测量电路...........................................................................................................................203.4显示电路....................................................................................................................................213.5通讯电路....................................................................................................................................234软件部分设计......................................................................................................................................254.1系统总程序设计.......................................................................................................................254.2电压测量A/D转换程序设计................................................................................................264.3显示程序设计...........................................................................................................................294.4通讯程序设计...........................................................................................................................32结论...........................................................................................................................................................34致谢...............................................................................................................................