【正文】
摘 要智能作為現(xiàn)代的新發(fā)明,他可以按照預(yù)先設(shè)定的模式自動(dòng)的運(yùn)行,不需要人的參與。自動(dòng)小車就是其中的一個(gè)體現(xiàn),本系統(tǒng)就是以小車自動(dòng)搬運(yùn)為目的進(jìn)行研究的。在這個(gè)系統(tǒng)中,使用鐵片來(lái)模擬貨物。自動(dòng)小車主要實(shí)現(xiàn)小車的自動(dòng)循跡及定點(diǎn)取物,卸物功能,同時(shí)執(zhí)行計(jì)數(shù)計(jì)時(shí)功能。系統(tǒng)主要采用 AT89C51 單片機(jī)為控制核心,利用紅外傳感器檢測(cè)道路,把感應(yīng)到的信號(hào)送給單片機(jī),使小車沿固定軌跡自動(dòng)行駛,到達(dá)要求地點(diǎn)后使用電感式接近開(kāi)關(guān)檢測(cè)鐵片,并用電磁鐵實(shí)現(xiàn)自動(dòng)取物,并在此過(guò)程中可以自動(dòng)記錄時(shí)間、個(gè)數(shù)。整個(gè)系統(tǒng)的電路結(jié)構(gòu)簡(jiǎn)單,可靠性能高。通過(guò)不斷調(diào)試,系統(tǒng)實(shí)現(xiàn)結(jié)果滿足要求,本文著重介紹了該系統(tǒng)硬件設(shè)計(jì)方法及功能的實(shí)現(xiàn)。 關(guān)鍵詞: AT89C51 單片機(jī);小車;智能;搬運(yùn)IAbstractThe invention of modern intelligent as he can, according to the predetermined pattern automatic operation, don39。t need anyone39。s participation. Intelligent vehicle is one of this system is to reflect, for the purpose of carrying automatic car research. Smart cars mainly realizes the automatic car tracing and follow the fetch things, dot, and count timer function. System mainly USES AT89C51 as control core, using infrared sensor, the induction of road to the microcontroller, signal to drive along the path, fixed location requirements after use inductive proximity switch detection, and the realization of automatic electromag iron, and take in this process can automatically record time, number. The whole system of the circuit structure is simple, reliable performance. Through constant adjustment, experimental implementation result meet the requirements, the paper introduces the hardware design method and function.Keywords:AT89C51。 Dolly。Wisdom。 handlingII目 錄1 緒 論 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????1 課題研究的目的和意義 ????????????????????????????????????????????????????????????????????????????????????????????1 設(shè)計(jì)任務(wù)與要求 ????????????????????????????????????????????????????????????????????????????????????????????????????????3 本文內(nèi)容安排 ????????????????????????????????????????????????????????????????????????????????????????????????????????????32 方案論證 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????4 系統(tǒng)工作 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????4 方案設(shè)計(jì) ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????43 硬件設(shè)計(jì) ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????7 元器件選擇 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????7 ????????????????????????????????????????????????????????????????????????????????????7 ??????????????????????????????????????????????????????????????????????????????????????????????????????11 ??????????????????????????????????????????????????????????????????????????????12 ??????????????????????????????????????????????????????????????????????????????????????????12 ??????????????????????????????????????????????????????????????????????????????????????????????????14 各單元電路設(shè)計(jì) ??????????????????????????????????????????????????????????????????????????????????????????????????????15 ??????????????????????????????????????????????????????????????????????????????????15 ??????????????????????????????????????????????????????????????????????????17 ??????????????????????????????????????????????????????????????????????????????????????????17 ??????????????????????????????????????????????????????????????????????????????????19 ??????????????????????????????????????????????????????????????????????????????????????????????????20 ??????????????????????????????????????????????????????????????????????????????????????????214 軟件設(shè)計(jì) ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????23 循跡子程序 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????23 小車位置確定及物體搬運(yùn) ??????????????????????????????????????????????????????????????????????????????????????25 顯示子程序 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????26 計(jì)數(shù)/計(jì)時(shí)子程序 ?????????????????????????????????????????????????????????????????????????????????????????????????????27III5 設(shè)計(jì)調(diào)試 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????28 軟件調(diào)試 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????28 硬件調(diào)試 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????29 軟硬件聯(lián)調(diào) ??????????????????????????????????????????????????????????????????????????????????????????????????????????????29結(jié) 論 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????31經(jīng)濟(jì)效益分析 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????32致 謝 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????33參考文獻(xiàn) ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????34附錄Ⅰ 電路原理圖 ????????????????????????????????????????????????????????????????????????????????????????????????????????????35附錄Ⅱ 程序清單 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????36附錄Ⅲ 硬件實(shí)物圖 ????????????????????????????????????????????????????????????????????????????????????????????????????????????4001 緒 論 課題研究的目的和意義智能作為現(xiàn)代社會(huì)的新發(fā)明,是以后的發(fā)展方向。而本文主要介紹的是智能機(jī)器人范疇內(nèi)的一部分,即自動(dòng)搬運(yùn)小車?!叭斯ぶ悄堋币辉~最初是在 1956 年 Dartmouth 學(xué)會(huì)上提出的。從那以后,研究者們發(fā)展了眾多理論和原理,人工智能的概念也隨之?dāng)U展。人工智能是一門極富挑戰(zhàn)性的科學(xué),從事這項(xiàng)工作的人必須懂得計(jì)算機(jī)知識(shí),心理學(xué)和哲學(xué)。人工智能是包括十分廣泛的科學(xué),它由不同的領(lǐng)域組成,如機(jī)器學(xué)習(xí),計(jì)算機(jī)視覺(jué)等等,總的說(shuō)來(lái),人工智能