畢業(yè)論文 基于單片機的交通燈模糊控制器的設(shè)計.doc
約43頁DOC格式手機打開展開
畢業(yè)論文 基于單片機的交通燈模糊控制器的設(shè)計,內(nèi)容摘要:針對當(dāng)前城市交通系統(tǒng)中的被控對象具有較大的隨機性和偶然性問題,設(shè)計了一個交通燈模糊控制系統(tǒng),該系統(tǒng)以at89s52單片機為控制核心,通過引入不需要建立精確數(shù)學(xué)模型的模糊控制,根據(jù)十字路口車輛計數(shù)傳感器測得車輛的多少,自適應(yīng)地確定各路口紅、綠燈延長時間。實驗表明,該系統(tǒng)能夠較好地解決交通流量不均衡、不穩(wěn)定所帶來...
內(nèi)容介紹
此文檔由會員 ljjwl8321 發(fā)布
內(nèi)容摘要:針對當(dāng)前城市交通系統(tǒng)中的被控對象具有較大的隨機性和偶然性問題,設(shè)計了一個交通燈模糊控制系統(tǒng),該系統(tǒng)以AT89S52單片機為控制核心,通過引入不需要建立精確數(shù)學(xué)模型的模糊控制,根據(jù)十字路口車輛計數(shù)傳感器測得車輛的多少,自適應(yīng)地確定各路口紅、綠燈延長時間。實驗表明,該系統(tǒng)能夠較好地解決交通流量不均衡、不穩(wěn)定所帶來的車輛延誤等問題,提高了道路的通行能力。
關(guān)鍵詞:交通燈;模糊控制器;車輛計數(shù)傳感器;車流量
Abstract: (參照中文摘要進行修改)With the development of economy, the quantity of automobile grows sharply, the urban road crowds day after day, the pounding of traffic has become an international question. Usually in the situation, the street-traffic control lights controller has the flaw: When the traffic lane allows to pass the vehicles, the time setting is the same and is fixed, the intersection presents the main traffic lane vehicles to be many frequently, allows to pass the time to be short, the stream of vehicles is unable in the scheduled time to pass, but the vice-traffic lane vehicles are few, allows to pass the time obviously long and so on. Therefore, the design reliable, safe, the convenient multi-purpose traffic light control system has the enormous necessity.
The traffic signal control generally established the fixed time to control the traffic light, but the fuzzy control transportation was summarizes traffic police to direct the traffic the experience, realized the real-time control traffic light through the monolithic integrated circuit with the software. The fuzzy control has the very good application prospect, the fuzzy control is not only suitable for the small scale linearity single variable system, moreover to large-scale, the misalignment complicated system expands gradually, the fuzzy control is suitable specially for the uncertainty complex object model. The fuzzy transportation controller's research and the application have the important status and the significance in the modern traffic control domain.
Has the big randomness and fortuitousness in view of the current municipal transportation system's in controlled plant, introduced has not needed to establish the precise mathematical model the fuzzy control. Obtains vehicles' how many according to the intersection vehicles counting sensor, determines each group lipstick, the green light extension of time by the fuzzy controller. Has solved questions well and so on vehicles delay which the traffic flow imbalanced, does not stabilize brings, sharpened path's traveling capability.
Key words: Traffic light; Fuzzy control; Vehicles counting sensor; Traffic flow magintude
目 錄
內(nèi)容摘要 I
關(guān)鍵詞 I
ABSTRACT II
KEY WORDS III
1 引言 1
1.1 研究現(xiàn)狀與發(fā)展前景 1
1.2 研究意義和內(nèi)容 1
2 模糊控制器設(shè)計 3
2.1 模糊控制理論簡介 3
2.2 模糊控制器的基本結(jié)構(gòu)和組成 3
2.3 模糊控制器的設(shè)計 4
2.3.1 輸入、輸出及其模糊化 4
2.3.2 模糊控制規(guī)則 5
2.3.3 模糊控制矩陣計算 6
2.3.4 模糊量精確化 6
3 系統(tǒng)硬件設(shè)計 7
3.1總體方案設(shè)計 7
3.2單片機控制器的設(shè)計 7
3.3 鍵盤與顯示電路設(shè)計 11
3.4 車輛計數(shù)傳感器的選擇 15
3.5 紅綠燈電路 17
4 軟件設(shè)計 19
4.1 主程序設(shè)計 19
4.2 T0中斷程序設(shè)計 19
4.3 鍵盤中斷程序設(shè)計 21
4.4 顯示子程序設(shè)計 21
4.5 模糊推理查表子程序設(shè)計 22
4.6 車流量檢測處理子程序設(shè)計 23
5 系統(tǒng)調(diào)試 25
5.1 硬件調(diào)試 25
5.2 軟硬件聯(lián)調(diào) 25
結(jié)論與展望 26
參考文獻 27
附錄一 原理圖 29
附錄二 主要源程序 30
致謝 37
關(guān)鍵詞:交通燈;模糊控制器;車輛計數(shù)傳感器;車流量
Abstract: (參照中文摘要進行修改)With the development of economy, the quantity of automobile grows sharply, the urban road crowds day after day, the pounding of traffic has become an international question. Usually in the situation, the street-traffic control lights controller has the flaw: When the traffic lane allows to pass the vehicles, the time setting is the same and is fixed, the intersection presents the main traffic lane vehicles to be many frequently, allows to pass the time to be short, the stream of vehicles is unable in the scheduled time to pass, but the vice-traffic lane vehicles are few, allows to pass the time obviously long and so on. Therefore, the design reliable, safe, the convenient multi-purpose traffic light control system has the enormous necessity.
The traffic signal control generally established the fixed time to control the traffic light, but the fuzzy control transportation was summarizes traffic police to direct the traffic the experience, realized the real-time control traffic light through the monolithic integrated circuit with the software. The fuzzy control has the very good application prospect, the fuzzy control is not only suitable for the small scale linearity single variable system, moreover to large-scale, the misalignment complicated system expands gradually, the fuzzy control is suitable specially for the uncertainty complex object model. The fuzzy transportation controller's research and the application have the important status and the significance in the modern traffic control domain.
Has the big randomness and fortuitousness in view of the current municipal transportation system's in controlled plant, introduced has not needed to establish the precise mathematical model the fuzzy control. Obtains vehicles' how many according to the intersection vehicles counting sensor, determines each group lipstick, the green light extension of time by the fuzzy controller. Has solved questions well and so on vehicles delay which the traffic flow imbalanced, does not stabilize brings, sharpened path's traveling capability.
Key words: Traffic light; Fuzzy control; Vehicles counting sensor; Traffic flow magintude
目 錄
內(nèi)容摘要 I
關(guān)鍵詞 I
ABSTRACT II
KEY WORDS III
1 引言 1
1.1 研究現(xiàn)狀與發(fā)展前景 1
1.2 研究意義和內(nèi)容 1
2 模糊控制器設(shè)計 3
2.1 模糊控制理論簡介 3
2.2 模糊控制器的基本結(jié)構(gòu)和組成 3
2.3 模糊控制器的設(shè)計 4
2.3.1 輸入、輸出及其模糊化 4
2.3.2 模糊控制規(guī)則 5
2.3.3 模糊控制矩陣計算 6
2.3.4 模糊量精確化 6
3 系統(tǒng)硬件設(shè)計 7
3.1總體方案設(shè)計 7
3.2單片機控制器的設(shè)計 7
3.3 鍵盤與顯示電路設(shè)計 11
3.4 車輛計數(shù)傳感器的選擇 15
3.5 紅綠燈電路 17
4 軟件設(shè)計 19
4.1 主程序設(shè)計 19
4.2 T0中斷程序設(shè)計 19
4.3 鍵盤中斷程序設(shè)計 21
4.4 顯示子程序設(shè)計 21
4.5 模糊推理查表子程序設(shè)計 22
4.6 車流量檢測處理子程序設(shè)計 23
5 系統(tǒng)調(diào)試 25
5.1 硬件調(diào)試 25
5.2 軟硬件聯(lián)調(diào) 25
結(jié)論與展望 26
參考文獻 27
附錄一 原理圖 29
附錄二 主要源程序 30
致謝 37