特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

聯(lián)機(jī)車間工件計(jì)數(shù)系統(tǒng).doc

約46頁(yè)DOC格式手機(jī)打開展開

聯(lián)機(jī)車間工件計(jì)數(shù)系統(tǒng),頁(yè)數(shù):46字?jǐn)?shù):18592摘要21世紀(jì)光電子技術(shù)、電子技術(shù)和計(jì)算機(jī)的發(fā)展,帶來(lái)了許多學(xué)科的革命。在現(xiàn)代工業(yè)生產(chǎn)和物流過程中,提供準(zhǔn)確的原材料或成品的數(shù)量是比較關(guān)鍵的問題,尤其是對(duì)大批量的小件產(chǎn)品的計(jì)數(shù)。由于在許多生產(chǎn)場(chǎng)所,物品是通過傳送帶傳送的,本文介紹了一種利用單片機(jī)對(duì)產(chǎn)品數(shù)目自動(dòng)計(jì)數(shù)的方法,論述...
編號(hào):45-62879大小:630.00K
分類: 論文>其他論文

內(nèi)容介紹

此文檔由會(huì)員 cnlula 發(fā)布

聯(lián)機(jī)車間工件計(jì)數(shù)系統(tǒng)


頁(yè)數(shù):46 字?jǐn)?shù):18592

摘要
21世紀(jì)光電子技術(shù)、電子技術(shù)和計(jì)算機(jī)的發(fā)展,帶來(lái)了許多學(xué)科的革命。在現(xiàn)代工業(yè)生產(chǎn)和物流過程中,提供準(zhǔn)確的原材料或成品的數(shù)量是比較關(guān)鍵的問題,尤其是對(duì)大批量的小件產(chǎn)品的計(jì)數(shù)。由于在許多生產(chǎn)場(chǎng)所,物品是通過傳送帶傳送的,本文介紹了一種利用單片機(jī)對(duì)產(chǎn)品數(shù)目自動(dòng)計(jì)數(shù)的方法,論述了計(jì)數(shù)系統(tǒng)的硬件構(gòu)成與軟件設(shè)計(jì)。本文參閱國(guó)內(nèi)外的一些先進(jìn)檢測(cè)技術(shù),基于現(xiàn)代光電檢測(cè)技術(shù)、微電子技術(shù)和計(jì)算機(jī)技術(shù),用發(fā)光二極管、光敏三極管與單片機(jī)設(shè)計(jì)一個(gè)車間工件計(jì)數(shù)系統(tǒng)。當(dāng)有工件通過時(shí)光被遮擋住,光敏三極管截止使單片機(jī)計(jì)數(shù)器產(chǎn)生下降沿,單片機(jī)對(duì)此信號(hào)進(jìn)行計(jì)數(shù)即為工件數(shù),解決了小工件計(jì)數(shù)的難點(diǎn)。該系統(tǒng)計(jì)數(shù)準(zhǔn)確、檢測(cè)速度快,實(shí)用性強(qiáng)。
目前,PC 機(jī)已廣泛應(yīng)用于各領(lǐng)域,PC 機(jī)與單片機(jī)按一定的方式結(jié)合,構(gòu)成分布式微機(jī)系統(tǒng)則是智能化實(shí)時(shí)控制的技術(shù)核心 ,它在機(jī)器人、生產(chǎn)流水線、大型自動(dòng)化裝置中有著越來(lái)越多的應(yīng)用。本系統(tǒng)由PC機(jī)作為上層主機(jī) ,進(jìn)行協(xié)調(diào)、調(diào)度、發(fā)布操作命令 ,從而控制分布于不同控制點(diǎn)的下層從機(jī)。主機(jī)向從機(jī)發(fā)指令或數(shù)據(jù) ,從機(jī)除實(shí)時(shí)控制不同地點(diǎn)的對(duì)象外 ,也可向主機(jī)發(fā)回?cái)?shù)據(jù)。串行通信因連線少、成本低、又有調(diào)制/解調(diào)功能而特別適合距離較遠(yuǎn)、通信點(diǎn)多的場(chǎng)合。本文中廠長(zhǎng)辦公室的PC機(jī)通過串行接口與單片機(jī)相連,每天定時(shí)與各單片機(jī)通信一次以便了解各車間生產(chǎn)的產(chǎn)品數(shù)量。該部分設(shè)計(jì)使用高級(jí)語(yǔ)Borland C++ Builder 提供的ComPort控件實(shí)現(xiàn)實(shí)時(shí)高可靠性、高效率的串行通信。
關(guān)鍵詞:串行通信 單片機(jī) 計(jì)數(shù)
Abstract
With the development of photoelectron technology, electronic technology and the computer in the 21st century, many subjects have developed into a new stage. In modern industry produce and the logistics process, quantity that provides the accurate and original material or finished products is the key, particularly to product large quantity measure of scaling. While in many places, the product is to pass to deliver on the transmission band . This design made use of a single-chip computer to introduce a kind of the product number auto-count of method, and discussed the hardware composing and software designs of the scaling system. This text draws some lessons of detect at home and abroad, combining with modern photoelectron technology, micro-electronics technique and the computer, design a scaling of a work of car system with photodiode, the phototransisitor and a single-chip computer. When a work piece passes through the light area the light will be blocked by the work piece and the photoelectric tube will emit a pulse signal, the counting for the passing work piece just is the work piece number, thus solving the difficulty in counting for small work piece. The instrument has the advantages of precision counting, fast detection speed and strong practicability.
Currently, the PC is been already extensive to apply in each realm. PC and a single-chip computer press certain mode to combine, then constitute the rayleing distribution rayleigh on the decline machine system. The intelligence turns the technique nucleus of the real time control. It has more and more applications in robot, produce pipeline, large automation equip. The system make the PC as the upper level host, carrying on the coordination, scheduling and releasing the crayleigh in the bottom layer of different control point from the machine. Host to deliver the command or data from the machine, from the machine in addition to the object of the real time control different location, also can send back the data toward host. The special in keeping with distance of the string row communication is farther because the on-line is little, the cost is low, and it has the modulation/ demodulation function again, the multi-dot communication situation. The PC of managers office connects with each other through the serial communication interface and a single-chip computer in the thesis, correspond by letter with a machine once while settling everyday in order to understand a product quantity for produce of each car.
Key words: Serial communication Single-chip Computer ComPort
目錄
摘要 I
Abstract II
引言 V
第一章 緒論 1
1.1 課題的意義 1
1.2 課題的主要工作 1
1.2.1 計(jì)數(shù)部分軟硬件設(shè)計(jì) 1
1.2.2 串行通信部分軟硬件設(shè)計(jì) 2
第二章 系統(tǒng)總體設(shè)計(jì)及相關(guān)理論 3
2.1 基礎(chǔ)理論簡(jiǎn)介 3
2.1.1 單片機(jī)計(jì)數(shù)系統(tǒng)理論基礎(chǔ) 3
2.1.2 利用光電檢測(cè)原理計(jì)數(shù) 7
2.1.3 單片機(jī)與PC機(jī)串行通信原理 8
2.2 系統(tǒng)總體方案及工作過程 14
2.2.1 硬件電路的整體方案以及硬件框圖 14
2.2.2 系統(tǒng)工作過程 15
第三章 下位機(jī)軟硬件設(shè)計(jì) 16
3.1 下位機(jī)硬件設(shè)計(jì) 16
3.1.1 計(jì)數(shù)部分硬件示意圖及框圖 16
3.1.2 PC 機(jī)與多個(gè)單片機(jī)通信的硬件設(shè)計(jì) 18
3.2 下位機(jī)軟件設(shè)計(jì) 21
3.2.1 下位機(jī)主程序設(shè)計(jì)及流程 21
3.2.2 中斷服務(wù)程序設(shè)計(jì)及流程 23
第四章