【正文】
設置等強大功能, 以方便人們的 生活需求 。而在我國,智能交通系統(tǒng)則剛剛處于起步階段。從 1868年英國倫敦首次使用燃汽色燈信號以來,城市交通信號機由手動到自動,交通信號由固定周期到可變周期,系統(tǒng)控制方式由點控到面控,從無車輛檢測器到有車輛檢測器,經歷了近百年的歷史 [1]。交通燈是城市交通中的重要指揮系統(tǒng),它與人們日常生活密切相關。 Detect traffic IV 目 錄 1 引言 ................................................................................................................... 1 2 系統(tǒng)總體方案 ................................................................................................... 2 交通管理的方案論證 .................................................................................... 2 交通燈控制的功能要求 ................................................................................ 4 系統(tǒng)總框圖 .................................................................................................... 5 系統(tǒng)工作原理 ................................................................................................ 6 3 系統(tǒng)硬件設計 ................................................................................................... 7 AT89C51 單片機簡介 .................................................................................... 7 89C51 單片機復位電路 ................................................................................. 9 時鐘電路 ...................................................................................................... 10 鍵盤接口電路 .............................................................................................. 11 8255A 與 74LS373 簡 介 .............................................................................. 12 八段 LED 數(shù)碼管顯示電路 ......................................................................... 15 看門狗硬件電路 .......................................................................................... 17 紅外對管檢測電路 ...................................................................................... 18 驅動和放大電路 .......................................................................................... 19 交通指示燈電路 ........................................................................................ 21 報警電路和按鍵控制電路 ......................................................................... 22 4 系統(tǒng)軟件設計 ................................................................................................. 24 1 秒的設定和 T0 定時器 ............................................................................. 24 東西、南北路口紅外檢測中斷子程序 ...................................................... 26 1ms 軟件延時子程序 ................................................................................... 27 時間顯示子程序 .......................................................................................... 28 黃燈閃爍 5s 子程序 ..................................................................................... 29 檢測車流量與顯示子程序 .......................................................................... 30 報警子程序 .................................................................................................. 31 主程序 .......................................................................................................... 31 結 論 ................................................................................................................. 33 致 謝 ................................................................................................................. 34 參考文獻 ............................................................................................................... 35 附錄 A 總硬件電路圖 ........................................................................................ 36 附錄 B 十字路口交通燈控制器的代碼 ............................................................ 37 1 1 引言 交通運輸是城市功能活動的命脈,它直接影響社會經濟、生產與生活的各個方面。 by setting the gatekeeper dog circuit to prevent crashes MCU, MCU system to improve noise immunity。 關鍵詞 : 單片機;交通燈;闖紅燈;檢測車流量 III Title MCUbased design of intersection traffic signal controller Abstract With the rapid development of science and technology in recent years, the application of MCU is a growing, while driving more traditional control detection technology updates. In realtime detection and automatic control of microputer application system, the microcontroller is often used as a core ponent, only the microcontroller is not enough knowledge, but also according to the specific bination of hardware architecture of hardware and software, to be improved. Crossroads shuttle vehicles, pedestrians bustling, car dealers lane, one pedestrian and orderly. Then rely on to achieve this discipline of the order it?Is the traffic lights by the automatic control system. Many traffic lights control. This system uses the MSC51 Series MCU ATSC51 and programmable parallel I/O interface chip 8255Acentered design of traffic light controller device to realize the actual traffic flow according to the P1 port through AT89C51 to set the red, green brighten time function。那么靠什么來實現(xiàn)這井然秩序呢?靠的就是交通信號燈的自動指揮系統(tǒng)。 I 2021 屆畢業(yè)生 畢業(yè)論文 題 目 : 基于單片機的十字路口交通燈控制器的設計 院系名稱: 電氣工程學院 專業(yè)班級: 自動 F0704 學生姓名: 學 號: 指導教師: 教師職稱: 副教授 2021 年 5 月 25 日 II 摘 要 近年來隨著科技的飛速發(fā)展,單片機的應用正在不斷深入,同時帶動傳統(tǒng)控制檢測技術日益更新。交通信號燈控制方式很多。 traffic light cycle lights, countdown 5 seconds left when the yellow light flashing warning (traffic signal through the PA port output, display the time directly through the 825539。 green time of traffic flow can be detected by doubledigit digital display. This system is practical, simple and strong extensions. Keywords: MCU。 我國機動車輛發(fā)展迅速,而城鎮(zhèn)道路建設由于歷史等各種原因相對滯后。隨著人們生活水平的提高,對交通管制也提出了更高的要 求,因此提供一個可靠、安全、便捷的 多功能 交通燈控制系統(tǒng)有著現(xiàn)實的必要性 。到 1963年加拿大多倫多市建立了一套使用 IBM650型計算的集中協(xié)調感應控制信號系統(tǒng),從而標志 著城市道路交通信號系統(tǒng)的發(fā)展進入了一個新的階段。在 20世紀 90年代初,我國的相關學者開始意識到研究和開發(fā) ITS的重要性。 2 2 系統(tǒng)總體方案 交通管理的方案論證 方案設想 東 西、南北兩干