c语言智能公交系统,基于单片机智能公交小车控制系统设计(含电路图,程序清单)...
基于單片機智能公交小車控制系統設計(含電路圖,程序清單)(任務書,論文6800字)
摘要 本文設計了一款基于ST89C52單片機的智能公交小車控制系統,文中首先提出系統的設計目標,通過對設計目標的分析,確定控制系統的設計方案。整個系統由單片機最小系統、光電感應尋跡模塊,電機驅動模塊、超聲測距模塊和紅外接收模塊組成。光電感應器尋跡模塊檢用于檢測道路上的黑線,主控器將采集的信號進行處理后,控制電機驅動模塊工作,驅動小車底盤上的兩個電機工作,實現對小車速度和運動方向的控制。本設計由硬件設計和軟件設計兩部分組成,利用Protel軟件設計電路原理圖,根據原理圖焊接的器件,搭建系統執行平臺,采用Keil軟件設計編寫系統的驅動程序,實現對執行平臺的實時控制,通過軟件和硬件的協調工作實現智能公交小車的系統設計。本設計具有操作簡單、智能化程度高、抗干擾性強的特點,可在危險或人工作業的惡劣的環境中,替代人工作業完成生產任務,避免造成人員傷亡,減少經濟損失。
關鍵詞 單片機 智能小車小車 電機驅動
The design of intelligent car system bus
Abstract? In this paper, we design a control system of smart car for bus based on ST89C52 MCU. The first proposed the design target of the system, through analysis of the design objectives, determine the design scheme of the control system. The system is composed of MCU minimum system, photoelectric induction found trace die block, motor driver module, ultrasonic ranging module and the infrared receiving module. Photoelectric sensors to find trace examination module for road detection on the black line, main controller will collect the signal processing, control the motor drive module, drive the car chassis two motor to work, to realize the control of the car speed and direction of motion. This design by hardware Design and software design of two parts, using the software of Protel circuit design schematic diagram, according to the schematic diagram of the welding device, build the system execution platform, using keil software design system prepared by the driver, to realize the real time control of the execution platform, through the coordination of the software and hardware system design of intelligent bus car. This design has the advantages of simple operation, high intelligence, strong anti-interference characteristics, in the harsh environment of dangerous or manual operation, replace the manual work finish production tasks, to avoid causing casualties, and to reduce the economic loss.
Keywords intelligent car car motor drive
1.1 設計目標
(1)實現小車自動尋跡功能;
(2)通過測距,通過對測距信息的處理達到避障的目的;
(3)當檢測到行駛到終點時,具備自動停止功能了;
(4)實現小車加減速控制;
1.2 設計思想
使用單片機作為主控芯片,利用紅外光電傳感器對地面的黑色軌跡進行檢測,從而實現自動循跡功能,并且小車通過超聲波測距來獲得小車與障礙物的距離,通過距離的判斷與比較以達到避障的目的,在小車與障礙物距離小于安全距離時,小車會自動減速前行;當小車與障礙物的距離小于危險距離時,小車會停止行駛等待知道前方障礙物被移除后小車才恢復正常行駛狀態。當小車行駛到固定的終點時,通過接受站點的紅外信號,小車會停止行駛。本智能小車系統由一下幾個模塊組成:單片機控制模塊、超聲波測距避障模塊、自動循跡模塊、電機驅動模塊、蜂鳴器提示模塊和紅外接受模。
目? 錄
引言??? 1
第一章 系統整體設計方案??? 2
1.1 設計目標??? 2
1.2 設計思想??? 2
1.3 總體設計方案??? 2
第二章 系統硬件電路設計??? 4
2.1系統主要器件介紹??? 4
2.2 硬件電路設計??? 5
第三章 系統軟件設計??? 9
3.1 主程序設計??? 9
3.2 掃描程序設計??? 10
3.3 電機控制程序設計??? 10
結束語??? 12
參考文獻??? 13
附錄??? 14
總結
以上是生活随笔為你收集整理的c语言智能公交系统,基于单片机智能公交小车控制系统设计(含电路图,程序清单)...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: html 分页_JQuery堪称完美的分
- 下一篇: 开发发布npm module包