機(jī)電一體化專(zhuān)業(yè)畢業(yè)設(shè)計(jì)
十字路口車(chē)輛穿梭,行人熙攘,車(chē)行車(chē)道,人行人道,有條不紊。那么靠什么來(lái)實(shí)現(xiàn)這井然秩序呢?靠的就是交通信號(hào)燈的自動(dòng)指揮系統(tǒng)。交通信號(hào)燈控制方式很多。本系統(tǒng)采用mcs-51系列單片機(jī)at89c51為中心器件來(lái)設(shè)計(jì)交通燈控制器,實(shí)現(xiàn)了能根據(jù)實(shí)際車(chē)流量通過(guò)8051芯片的p3口設(shè)置紅、綠燈燃亮?xí)r間的功能;紅綠燈循環(huán)點(diǎn)亮,倒計(jì)時(shí)剩5秒時(shí)黃燈閃爍警示(交通燈信號(hào)通過(guò)p1口輸出,顯示時(shí)間通過(guò)p0口輸出至雙位數(shù)碼管)。本系統(tǒng)設(shè)計(jì)周期短、可靠性高、實(shí)用性強(qiáng)、操作簡(jiǎn)單、維護(hù)方便、擴(kuò)展功能強(qiáng)。
關(guān)鍵詞: 交通燈;單片機(jī);mcs-51
abstract
in recent years, with the rapid development of science and technology, the application of scm is going deep, driving the traditional detection techniques to renew day by day. in the real-time examination and in the automatic control monolithic integrated circuit application system, the monolithic integrated circuit often took a core part uses. the monolithic integrated circuit aspect knowledge is only insufficient, but should also act according to the concrete hardware architecture software and hardware union, to be improved.
the intersection vehicles shuttle, the pedestrian is bustling, car dealership traffic lane, person sidewalk, methodical. then depending on what to realizes this orderly order? the traffic lights on the automatic control system. there are great number kinds of modes to control the traffic lights. the system uses a series of mcs-51 as the center at89c51 single-chip device designed to control the traffic lights, so as to realize the function of setting red, green light time by 8051 chip’s p3 port according to the actual traffic flows, lighting the red-light and green-light by turn and lighting the yellow-light to warm while 5 secondsleft(outputting the traffic light signal by p1,outpuing the time by p0 and showing the time on double-digits nixie tube). short of the design cycle, high reliability, practical, simple operation, easy maintenance, the expansion of powerful is this system.
key words : scm mcu; traffic light;mcs-51
目 錄
畢業(yè)設(shè)計(jì)任務(wù)書(shū) i
畢業(yè)設(shè)計(jì)進(jìn)度計(jì)劃表 ii
摘 要 iii
第一章 緒論 1
1.1課題研究背景與意義 1
1.2論文研究?jī)?nèi)容及結(jié)構(gòu)安排 1
第2章 系統(tǒng)總體方案 3
2.1總體方案設(shè)計(jì) 3
2.2軟硬件平臺(tái)介紹 4
第3章 系統(tǒng)設(shè)計(jì)與仿真 10
3.1顯示部分電路模塊設(shè)計(jì) 10
3.2時(shí)鐘部分電路模塊設(shè)計(jì) 10
3.3按鍵模塊設(shè)計(jì) 11
第4章 總結(jié) 12
致 謝 13
參考文獻(xiàn) 14
【附錄1】 i 15
【附錄2】 ii 16
第一章 緒論
1.1課題研究背景與意義.
1.1.1背景:
隨著工業(yè)化水平與經(jīng)濟(jì)的提高,交通問(wèn)題成為我國(guó)社會(huì)主義發(fā)展的重大問(wèn)題,交通事故也在我們身邊出現(xiàn)的次數(shù)越來(lái)越多,而城市道路交通問(wèn)題的核心就是對(duì)十字交叉路口交通信號(hào)的控制。
1.1.2意義:
人們對(duì)十字路口交通信號(hào)的控制方法大致有如下兩種方式:其一是建立城市交通流的數(shù)學(xué)模型,提出優(yōu)化算法,二是根據(jù)模糊控制的方法,根據(jù)十字路口交通的車(chē)輛數(shù)確定某一相位的綠燈初始時(shí)間和綠燈延長(zhǎng)時(shí)間,對(duì)交通燈的控制實(shí)現(xiàn)了一定的模糊化。因此,結(jié)合我國(guó)城市道路交通的實(shí)際情況,開(kāi)發(fā)出真正適合我們自身特點(diǎn)的智能信號(hào)燈控制系統(tǒng)是當(dāng)前的主要任務(wù),以最大限度地減少了十字路口的車(chē)輛平均延誤時(shí)間,提高了路口通行能力,從而達(dá)到緩解交通擁擠的目的。因此,有許多設(shè)計(jì)上作者為改善城市交通環(huán)境設(shè)計(jì)了許多方案,而大多數(shù)都為交通指揮燈,本電路也正是基于前人設(shè)計(jì)的基礎(chǔ)上進(jìn)行改進(jìn)的。由于交通的各種矛盾的不斷出現(xiàn),人們總是盡可能的把各個(gè)歷史階段當(dāng)時(shí)最新科技成果應(yīng)用到交通控制系統(tǒng)中來(lái),從而促進(jìn)了交通控制技術(shù)的不斷發(fā)展。
1.2論文研究?jī)?nèi)容及結(jié)構(gòu)安排
1.2.1研究?jī)?nèi)容
1.由一條主干道和一條支干道的匯合點(diǎn)形成十字交叉路口,為確保車(chē) 輛安。全、迅速地通行,在交叉路口的每個(gè)入口處設(shè)置紅、綠、黃三色信號(hào)燈。紅燈亮靜止通行;綠燈亮允許通行;黃燈亮則給行使中的車(chē)輛有時(shí)間停靠到禁行線外。按下列7點(diǎn)要求設(shè)計(jì)一交通燈控制系統(tǒng):