2010届毕业生毕业论文题目:智能交通灯的设计及其FPGA实现院系名称:国际学院专业班级:电子信息工程技术07级03班学生姓名:李鹏飞学号:20073930320指导教师:付麦霞教师职称:讲师2010年06月02日I摘要交通灯是城市交通监管系统的重要组成部分,对于保证机动车辆的安全运行,维持城市道路的顺畅起到了重要作用。随着车辆的日益增多,交通问题将日趋严重。可通过多修建道路或限制车辆的办法来解决,但道路的增加是有限的,而限制车辆会使汽车及其相关产业受到压制。目前,发达国家的交通主要是向智能化交通方向发展。如给汽车装上导航仪等办法,充分利用电子设备提高现有道路交通系统的运输能力。交通灯是管理城市交通的重要工具,交通灯对道路交通流的影响近年来引起广大学者的广泛注意。目前绝大部分交通灯其时间都是设定好的,不管是车流高峰还是低谷,红绿灯的时间都固定不变,还有一些交通灯能根据简单划分的时间段来调整时间,但控制起来都不是很灵活,这使得城市车流的调节不能达到最优。本论文在EDA技术的基础上,利用FPGA的相关知识设计了智能交通灯控制系统,可以根据实际情况对灯亮时间进行自由调整,整个设计系统通过Max+PlusⅡ软件进行了模拟仿真,并下载到FPGA器件中进行硬件的调试,验证了设计的交通信号灯控制电路完全可以实现预定的功能,具有一定的实用性。关键词:智能交通灯EDA技术FPGAMax+PlusⅡIITitleThedesignofIntelligentTrafficLightsbasedonFPGAAbstractThetrafficlightsinurbantrafficcontrolsystemplaysanimportantpartofensuringthesafeoperationofmotorvehiclesandplayedanimportantroleinkeepingsmoothurbanroads.Withtheincreasingnumberofvehicles,trafficproblemswillbecomeincreasinglyserious.Itcouldbesolvedbyconstractingmoreroadorlimitethetraveloftraffic,buttheincreaseintheroadlimitedwillsuppresseautomotiveindustry.Atpresent,thetrafficindevelopedcountriesismainlytointelligencetrafficdirection.Suchasfitingacarwithnavigationsystemsandmakingfulluseofelectronicequipmenttoimprovetheexistingroadtransportsystemtodeliver.Trafficlightplaysanimportanttoolforurbantrafficmanagementandtrafficlightsontheimpactofroadtrafficarousedwideattentionofscholarsinrecentyears.Atpresentmostoftheirtimetrafficlightsaresetandsometrafficlightsdividethetimebyasimpletoadjustthetime,butcontrolthemunflexible,whichmakestheregulationofurbantrafficworse.ThisarticleinEDAtechnologydesignanintelligenttrafficlightcontrolsystembasedontheuseofFPGA-relatedknowledge.ItcouldadjustfreelyaccordingtotheactualsituationonthelightstimeThisdesignofsystemusedforsimulationthroughtheMax+PlusⅡ,anddownloadtotheFPGAhardwaredevicestodebug.Itcouldverifythedesignofthetrafficlightcontrolcircuitcanachievetheexpectedfunctionandhasacertainpracticality.Keywords:IntelligentTrafficLightsEDAFPGAMax+PlusⅡIII目录1绪论...................................................................................................................................................................-1-1.1智能交通的国内外发展状况.....................................................................................................................-1-1.1.1国内的研究现状.................................................................................................................................-1-1.1.2国外的研究现状.................................................................................................................................-2-1.2本课题的研究目的和意义.........................................................................................................................-4-1.3本文的主要工作.........................................................................................................................................-4-2EDA相关知识介绍.........................................................................................................................................-5-2.1FPGA概述.................................................................................................................................................-5-2.1.1FPGA的基本结构.............................................................................................................................-5-2.1.2FPGA编程开发.................................................................................................................................-5-2.1.3FPGA设计流程.................................................................................................................................-6-2.2VHDL硬件描述语言.................................................................................................................................-8-2.2.1VHDL语言特点...............................................................................................................................-10-2.2.2VHDL语言的基本结构...................................................................................................................-10-2.2.3结构体的描述方式...........................................................................................................................-11-2.2.4自上而下(TOPDOWN)的设计方法..........................................................................................-11-2.3MAX+PLUSII..........................................................................................................................................-12-2.3.1Max+plusⅡ概述..............................................................................................................................-12-2.3.2Max+plusⅡ设计过程......................................................................................................................-13-3智能交通灯控制系统设计及主要功能模块设计与仿真.............................................................................-15-3.1智能交通灯系统设计要求.......................................................................................................................-15-3.2智能交通灯系统整体设计.........................................