【正文】
rcuit design of digital control of traffic system practical,simple,extending strong function. Keywords: Traffic signal ,Deconder 哈爾濱工業(yè)大學(xué) 華德應(yīng)用技術(shù)學(xué)院 畢業(yè)設(shè)計(jì)(論文) 1 摘 要 .................................................... I Abstract ................................................. II 第 1 章 緒 論 ............................................. 1 課題背景 .................................................................................... 1 目的意義 .................................................................................... 2 技術(shù)要求 .................................................................................... 2 本章小結(jié) ...................................................................................... 2 第 2 章 設(shè)計(jì)方案 .......................................... 3 第 2 章 設(shè)計(jì)方案 .......................................... 3 設(shè)計(jì)方案選擇 ............................................................................ 3 系統(tǒng)總框圖 ................................................................................. 4 系統(tǒng)框圖 ......................................................................... 4 整機(jī)電 路圖 ..................................................................... 5 系統(tǒng)工作原理 ................................................................. 5 本章小結(jié) .................................................................................... 6 第 3 章 AT89S52 單片機(jī) .................................... 7 單片機(jī)的發(fā)展及應(yīng)用 ................................................................. 7 AT89S52 單片機(jī)引腳圖 ................................................................ 7 單片機(jī)最小系統(tǒng) ......................................................................... 8 復(fù)位電路 ......................................................................... 8 晶振電路 ......................................................................... 9 本章小結(jié) ...................................................................................... 9 第 4 章 單元電路設(shè)計(jì) ..................................... 10 驅(qū)動(dòng)電路 .................................................................................. 10 74LS245 芯片引腳圖 .................................................... 10 74LS245 芯片功能 ........................................................ 10 LED 顯示電路 ..............................................................................11 本章小結(jié) .................................................................................. 13 第 5 章 軟件流程設(shè)計(jì) ..................... 錯(cuò)誤 !未定義書簽。 十字路口車輛穿梭,行人熙攘,車行車道,人行人道,有條不紊。 本章小結(jié) ...................................................... 錯(cuò)誤 !未定義書簽。 交通燈發(fā)展至今,已經(jīng)歷了上百年漫長(zhǎng)的時(shí)間。這種紅綠燈由紅綠黃三色圓形的投光器組成,安裝在紐約市 5 號(hào)大街的一座高塔上。最重要的是交通燈的存在大大的減少了交通事故的發(fā)生保證人們?cè)诮煌ǖ缆飞系娜松戆踩? 4)在交通繁忙時(shí),交通信號(hào)燈控制系統(tǒng)應(yīng)有手控開關(guān),可人為的改變信號(hào)燈的狀態(tài),以緩解交通擁擠狀況。以下簡(jiǎn)單介紹對(duì)于三種方案的比較和選擇。 方案三: PLC 控制交通燈。 驅(qū)動(dòng)電路用集成模塊,信號(hào)經(jīng)過驅(qū)動(dòng)電路放大后送入 LED 顯示電路和兩個(gè)道口的紅黃綠燈顯示電路中。在本章對(duì)各部分電路都進(jìn)行了簡(jiǎn)單的闡述。 1976 年 intel 公司研制出 MCS48 系列 8 位的單片機(jī),這也是單片機(jī)的問世 。單片機(jī)其他用到的引腳功能介紹如下: RST 復(fù)位輸入。 單片機(jī)最小系統(tǒng) ( 1) 復(fù)位電路 復(fù)位電路 可以實(shí)現(xiàn)手動(dòng)復(fù)位和上電復(fù)位。 電路中將片選端 /CE 接地,將 DIR 置 1,信號(hào)從單片機(jī)的 P0, P1 或 P2口輸出,送入 A0~A7,經(jīng) 74LS245 芯片將其放大,從而帶動(dòng)負(fù)載,即發(fā)光二極管和數(shù)碼管。顏色有紅,綠,藍(lán),黃等幾種。 位元選通由各自獨(dú)立的 I/O 線控制,當(dāng)單片機(jī)輸出字形碼時(shí),所有數(shù)碼管都接收到相同的字形碼,但究竟是那個(gè)數(shù)碼管會(huì)顯示出字 形,取決于單片機(jī)對(duì)位元選通 COM 端電路的控制,所以我們只要將需要顯示的數(shù)碼管的選通控制打開,該位元就顯示出字形,沒有選通的數(shù)碼管就不會(huì)亮。本系統(tǒng) 采用 AT89S52 單片機(jī) 和 驅(qū)動(dòng)芯片 74LS245 為中心器件來設(shè)計(jì)交通燈控制器,實(shí)現(xiàn)了能通過 單片機(jī) 的 P1, P2 口設(shè)置 紅綠燈循環(huán)點(diǎn)亮,倒計(jì)時(shí)剩 5 秒時(shí)黃燈閃爍警示,所剩時(shí)間可通過 2 位數(shù)碼管顯示燈功能。 本次設(shè)計(jì)所做的準(zhǔn)備充足,涉及到的內(nèi)容比較全面。還不斷向我們傳授分析問題和解決問題的辦法,并指出了正確的努力方向,使我在畢設(shè)過程中少走很多彎路。隨著大規(guī)模集成電路及計(jì)算機(jī)技術(shù)的迅速發(fā)展,以及人工智能在控制技術(shù)方面的廣泛運(yùn)用,智能設(shè)備有了很大的發(fā)展,是現(xiàn)代科技發(fā)展的主流方向。特別是在一些發(fā)展中國(guó)家,不僅沒有在城市規(guī)劃布局、城市交通發(fā)展模式選擇與運(yùn)營(yíng)機(jī)制等方面吸取發(fā)達(dá)國(guó)家城市交通發(fā)展的經(jīng)驗(yàn)與教訓(xùn),而且重復(fù)著它們?cè)诟咚贆C(jī)動(dòng)化發(fā)展中所犯過的許多錯(cuò)誤,無論是大中城市還是新興的中小城市,幾乎都沒有前瞻性地解決好城市交通問題。隨著經(jīng)濟(jì)的發(fā)展和社會(huì)的進(jìn)步,道路交通已愈來愈成為社會(huì)活動(dòng)的重要組成部分。對(duì)交通的管控能力,也就從一個(gè)側(cè)面體現(xiàn)了這個(gè)國(guó)家對(duì)整個(gè)社會(huì)的管理控制能力,因此各國(guó)都很重視用各種高科技手段來強(qiáng)化對(duì)交通的管控能力。智能交通系統(tǒng)能大大提高城市有限道路面積的利用率,創(chuàng)造最大效益;還能節(jié)約人力 、物力資源,勝任和收集復(fù)雜的交通信息等許多人力所無法完成的任務(wù)。s turn to be able to e true has: The crossing carries out supervisory control on four main traffic of some dow ntow n area。s economic construction and the size of the city have been the rapid development of urbanization in the process of gradually accelerated, a sharp increase in urban population, a large number of floating population into the city, staff travel and the frequent exchange of goods, so that the city is facing traffic A serious situation. At present, large and medium cities in the prevalence of road congestion, traffic congestion, traffic disorder. How to solve urban traffic problems have bee the focus of attention of the public and the urgent calls. Explore the development o f urban transportation that exist in the cause of the problem, be it from a macro or a microanalysis of the fundamental reason lies in the urban traffic management system adapted. Different cities have different cities, but in mon is the problem o f mixed traffic flow . How to solve the intersection in the mixed traffic flow in the interaction with each other or the interaction is the key to solve the problem! As China39。s public security traffic management departments and rese arch institutes began to study how the various systems of information exchange and sharing of decision making on how to achieve rapid response, with the pletion of the unified mand to t