【正文】
stributed by traffic light,the problen may appered such as tuiti on time ofdirection of more vehicles iS lack, while one of fewervehicles is excessive. Because of this problem,an unreasonable situation which is on one direction the traffic is jam which another dricetion is not jam is made. This is difference that automative control is inferior to manual cotr01. That according to the vehicle flow to changes swicthing time of red and green traffic light in crossroad is mainly studied in thearticle. The 5cm is used as center controller in the system. On thebase ofminimized scm system, data memory,program memory,FO interface, A/ D converter ale extended in order to have hardware circuit achieves control function. 111e successi~;ely switch ofred,green and yellow tvdmC light by time Can be cotrolled and attached function is read the seconds. All ofthese adapted LED display. On this basis, data on amount of vehicle flow is collected by sensor. By A/ D converting the collected datas a transmited to control center. analysed and pared. According to results,concrete vehicle flow will be convened into ratio of vehicle flow on both dircetion.,based on which switch time of red and green traffic lights canbe controlled. traffic efficiency can be increased. Keywords: intelligent; transportation; scm; traffic light; controller 專科生畢業(yè)設(shè)計(jì)(論文) III 目 錄 第 1 章 緒 論 ........................................................................................................... 1 選題依據(jù)和背景 ......................................................................................... 1 智能交通燈研究的意義 ............................................................................. 1 第 2 章 交通燈智能控制系統(tǒng)方案設(shè)計(jì) ............................................................... 3 信號(hào)燈基本情況 ......................................................................................... 3 交通信號(hào)控制的基本參數(shù) ........................................................................ 3 城市道路平面交叉路口的類型 ................................................................ 4 交通信號(hào)的控制類型 ................................................................................. 4 交通流信息的檢測方法 ............................................................................. 4 2. 6 單交叉路口多相位交通信號(hào)的控制方案 .............................................. 5 第 3 章 硬件電路設(shè)計(jì) ............................................................................................. 7 本系統(tǒng)電路 的組成和原理 ......................................................................... 7 信號(hào)轉(zhuǎn)換部分的設(shè)計(jì) ................................................................................. 8 控制部分的設(shè)計(jì) ....................................................................................... 11 3. 4 顯示部分的設(shè)計(jì) .................................................................................... 17 3. 5 電源部分的設(shè)計(jì) .................................................................................... 19 3. 6 控制器的延時(shí)設(shè)計(jì) ................................................................................ 20 3. 7 看門狗技術(shù)和掉電保護(hù)在系統(tǒng)中的應(yīng)用 ............................................ 23 第 4 章 軟件設(shè)計(jì) ................................................................................................... 26 系統(tǒng)軟件總體設(shè)計(jì) ................................................................................... 26 車流量采樣程序設(shè)計(jì) ............................................................................... 26 單元程序塊的設(shè)計(jì) ................................................................................... 28 第五章 總 結(jié) ......................................................................................................... 35 參考文獻(xiàn) ................................................................................................................. 36 致 謝 ....................................................................................................................... 37 ??粕厴I(yè)設(shè)計(jì)(論文) 1 第 1 章 緒 論 選題依據(jù)和背景 隨著城市化速度的加快,機(jī)動(dòng)車日益普及,人們在賺取由機(jī)動(dòng)車輛所帶來的巨額利潤以及充分享受汽車巨大便利的同時(shí),也越來越受到交通擁堵、交通事故頻發(fā)、環(huán)境污染加劇和燃油損耗上升所帶來的困擾。提高了交叉口的通行 效率。根據(jù)比值轉(zhuǎn)換成對 紅綠燈時(shí)間的控制。 通過 A/ D 轉(zhuǎn)換將采集的數(shù)據(jù)傳送還給控制中心,進(jìn)行分析比較。 均采用 LED 顯示器。在單片機(jī)最小系統(tǒng)的基礎(chǔ)上擴(kuò)展了 數(shù)據(jù)存儲(chǔ)器、程序存儲(chǔ)器、 I/ O 接口、 A/ D 轉(zhuǎn)換器,使硬件電路能適應(yīng)所完成 的控制功能。本論文主要對十 字路口交通燈可根據(jù)車流量的大小而改變紅綠燈的時(shí)長加以研究。 定時(shí)式并不符合實(shí)際要求。這是目前城市交通亟待解決的問題。堵車地點(diǎn)多為交叉路口。而 城市道路中交通擁堵有多方面的原因:車輛多,道路少;道路設(shè)置不合理; 平面交通多,立體交通少:交叉路口交通燈時(shí)間設(shè)置不合理等等。 ??粕厴I(yè)設(shè)計(jì)(論文) I 摘 要 交通燈的智能控制是目前智能交通系統(tǒng) ITS 領(lǐng)域中的一個(gè)分支。隨著城市 化速度的加快,機(jī)動(dòng)車日益普及,人們受到越來越多的交通擁堵的困擾。而城市交 通中平面交通占得比重非常大。主要是由于車流量 大,等燈時(shí)間不合理造成的。 目前我國城市街道交叉路口的交通信號(hào)燈雖然是自動(dòng)的,但是仔細(xì)觀察 就會(huì)發(fā)現(xiàn)紅綠燈的交 替轉(zhuǎn)換是定時(shí)式的,即轉(zhuǎn)換的間隔時(shí)間是固定不變的。因?yàn)?,如果東西和南北兩方向車流量相差很大, 而信號(hào)燈還是平均分配導(dǎo)通時(shí)間,就會(huì)出現(xiàn)這樣的問題:車多的方向?qū)〞r(shí) 間不足,而車少的方向?qū)〞r(shí)間剩余,造成一方向車擠另一方向車松的不合 理的局面,這就是機(jī)器自動(dòng)控制不如人工現(xiàn)場指揮的差別。 本系統(tǒng)采用單片機(jī)作為中心控制器。該系統(tǒng)可控制紅、綠、黃燈按時(shí)間依次變換,并有倒讀秒功能。在此基礎(chǔ)上,通過傳感器對車流量的情況進(jìn)行數(shù)據(jù)采集。根據(jù)比較的 結(jié)果,將具體的車流量轉(zhuǎn)換成兩相位車流量大小的比值。使交通信號(hào)燈可根據(jù)車流量改變。 關(guān)鍵詞: 智能交通;單片機(jī);交通燈;控制器 ??粕厴I(yè)設(shè)計(jì)(論文) II Abstract The intelligent control of traffic light is a branch in ITS of intelligenttransportation system. As the accelerating of urbanization,motor vehicle is popularized day and day,there is apuzzles to people by traffic jam which is more and more serious. But there ale many reasons for jam ofurban tramcmore automobiles,fewer roads, unsuitable arrangement ofroads, more plane traffic, fewer stereo trafficunsuitable arrangement on time of tramc light in crossroad, etc. Plane tVd 伍 C takes up a great proportion of urban traffic. The place where jamoccuredfrequently iS crossroad. This is resulted frommore vehicle flow and unreasonable time ofwaitting traffic light. This is qproblem needed to be solved in urban tlafnc. Although,the control of ti39。國內(nèi)外城市中的交通阻塞主要發(fā)生在交叉口,交叉口是兩條道路相互交叉而產(chǎn)生的作為方向轉(zhuǎn)換的樞紐,是道路網(wǎng)中道路通行能力的“咽喉”交通阻塞和事故的多發(fā)地。作為經(jīng)濟(jì)和科技都很發(fā)達(dá)的美國,每年因?yàn)榻煌▎栴}導(dǎo)致的經(jīng)濟(jì)損失也高達(dá) 2370 億美元,而美國交通事故約有一半發(fā)生在交叉口。如果我們不及早采取綜合措施加以管理,則城市交通必影響我國經(jīng)濟(jì)發(fā)展和城市功能正常的發(fā)揮。然而修建路橋的巨額資金和城市有限空間的嚴(yán)格限制,使這一有效的方法大打折