论文分类号:TP学校代码:13681毕业设计说明书(论文)题目:公交可视化语音自动报站器的设计——主控STC12系列学生姓名:郭璠学号:2611102系部:信息工程七系专业班级:电信1112班指导教师:陈明泽苏婕二〇一四年四月HAOJINGCOLLEGESHAANXIUNIVERSITYOFSCIENCE&TECHNOLOGYIAutomaticDesignofConverterStationBusVisualSpeech——MastercontrolSTC12SeriesABSTRACTInrecentyears,withthevigorousdevelopmentofChina'sinformationindustry,thestandardoflivingandimprovesecurityawareness,peopletravelforthesafetyandconveniencehavecreatednewdemand.Inadditiontothebus-stopsystemandoutofthestationbusstopoutside,howabouttoremindpassengerstothefrontofthestationnames,aswellastothosevulnerablegroupseffectivelyconveythestationinformationtofacilitatetheirtravel,isalsoanimportantpartofthesmart-stopsystem.Thedesignismainlytoaddresshoweasilyandaccuratelyinstructpassengersarrivingproblemwiththehumanvoicesimulationandforecastingstationsreportingstation,reportedonthenumberofstationsandstationnameandstationnamefortextdisplayandvoicemessagerecordingstationnameselectioncontrolfunction.Thesystemincludesamicrocontrollermodule,speechsynthesiscircuit,stationnumber,stationnamedisplaymodule,infraredinterfacecircuit,resetcircuitandpowersystems.STC12microcontrollertocontroltheuseofspeechsynthesischipandLCDmodules.SpeechsynthesischipSYN6288,usingsimulateddataisstoreddirectlypatentedsemiconductormemorytechnology,theupcominganalogvoicedataiswrittendirectlytoasinglestorageunit,eliminatetheneedforA/D,D/Aconversion,andthereforebetterabletoreproducethenaturaleffectsofrealspeechavoidthequantizationnoiseanddistortiongenerallysolidvoicecircuitsbecausequantizationandcompressioncaused.WithLCDdisplay,throughtheconstructionofmodelbuildingsimulationsystems,accesstorelevantinformationrelatedtothesensorandmicrocontrollercombinesknowledge,realizationstationVoicenewspaperstandanddisplay(LCDscreen)consistingstopsystem,giverelevantsites,remindingpreparetoenterthepassengertogetoff.Maximizetheuseofintelligentsystemsforefficientandconvenienttravelservices,thesystemwillgiveintelligentpeopletoimprovetravelefficiencyandimproveenvironmentalquality,itmakesthesystemmorepracticalnewspaperstand.KEYWORDS:Single-chipMicrocomputer,AudioPrompt,Bus-StopAuto-AnnounceII公交可视化语音自动报站器的设计——主控STC12系列摘要近些年来,随着我国信息事业的蓬勃发展,生活水平与安全防范意识的提高,人们对于出行的安全性和便利性都产生了新的需求。公交报站系统除了进行进出车站报站之外,如何提醒乘客前方即将到站名称,以及给那些弱势群体有效的传达车站信息,方便他们的出行,也是智能报站系统的重要组成部分。本设计主要解决如何方便、准确地指示乘客到站的问题,具有模拟人声进行报站和预报站,对所报站数和站名进行文字显示和站名语音信息录放及站名选择控制等功能。系统包括微控制器模块、语音合成电路、站数、站名显示模组、红外接口电路、复位电路及电源等系统。使用STC12单片机来控制语音合成芯片和液晶显示模组。语音合成芯片SYN6288,采用模拟数据半导体存储器直接存储的专利技术,即将模拟语音数据直接写入单个存储单元,不需经过A/D、D/A转换,因此能够较好地真实再现语音的自然效果,避免了一般固体语音电路因为量化和压缩造成的量化噪声和失真现象。配合液晶屏显示,通过建造模型,搭建仿真系统,查阅相关资料结合相关传感器与单片机知识,实现车站语音报站与显示屏(LCD显示屏)所组成的报站系统,给出相关站台提示,提醒乘车人员进入下车的准备。最大化的利用智能系统,实现高效便利的出行服务,系统智能化也会给人们提高出行的效率和改善环境质量,就使得该报站系统更加实用。关键词:单片机,语音合成,公交报站III目录1绪论..................................................................11.1课题研究背景与意义................................................11.2报站器的动态发展趋势..............................................11.3主要交通工具之一..................................................12系统方案设计...........................................................22.1系统设计的任务....................................................22.2统设计原理........................................................22.3系统方案选择......................................................22.4系统框图..........................................................32.5系统主控简介......................................................43系统主控...............................................................53.1主控模块..........................................................53.1.1主控芯片(单片机)应用领域..................................53.1.2主控的选择..................................................53.2STC12系列单片机特点..............................................53.2.112系列单片机的优点..........................................63.2.2引脚功能说明................................................64硬件设计...............................................................94.1电源模块设计......................................................94.1.1芯片介绍....................................................94.1.2稳压电路...................................................114.2系统主控设计.....................................................124.2.1单片机的最小系统...........................................134.2.2单片机硬件焊接.............................................134.2.3单片机下载电路设计.........................................134.2.4单片机下载程序的对应软件...................................145软件设计..............................................................155.1软件实现功能.....................................................15IV5.2软件实现.........................................................155.2.1开发软件工具...............................................155.2.2程序详细说明...............................................165.3功能代码.........................................................176模块检查与系统调试....................................................186.1模块检查.........................................................186.1.1断电检测线路连接...........................................186.1.2通电检测程序执行...........................................186.2系统调试......................