【正文】
專業(yè)班級: 機電 一體化 107班 指導教師: 2020年 6 月 15日 畢業(yè)論文任務書 專業(yè) 機電一體化技術 班級 107 姓名 趙風華 下發(fā)日期 2020 年 3 月 01 日 題目 基于單片機的轉速測量儀 專題 電子系統(tǒng)設計 主 要 內 容 及 要 求 將霍爾傳感器產生的脈沖信號輸出入到單片機的外部中斷 0 口,單片機工作在內部定時器工作方式 0,對周期信號進行內部記數(shù),調用計算公式算出轉速,調用顯示程序顯示在 LED 上,同時通過串口向上位機發(fā)送轉速數(shù)據。 主要內容: ( 1)單片機部分主要完成電機轉速的測量 ( 2) LED 部分主 要是把轉速顯示出來,顯示范圍 6036000r/min ( 3)發(fā)送部分主要是完成電平轉換,送 RS232 向 PC 發(fā)送數(shù)據。 開發(fā)環(huán)境: μ Vison 匯編語言 ﹑ C51。 系主任簽字 日期 教研室主任簽字 日期 指導教師簽字 日期 指 導 教 師 評 語 論文選題符合專業(yè)培養(yǎng)目標畢業(yè)論文,能夠達到綜合訓練目標,題目有難度,工作量較大,選題具有一定的指導實踐意義。 該同學能在老師的嚴格要求下順利完成整個畢業(yè)設計工作和論文的撰寫,程序能正確的運行,界面安排合理,論文符合要求,在整個畢業(yè)設計的過程中,態(tài)度端正,學習也比較認真,時間安排合理,能按時完成任務,能基本在每個階段完成相應的任務,希望該同學在以后的工作中,有更大的進步。 綜合看來,本人認為,該論文達到了??飘厴I(yè)水平,同意論文答辯。 10 10 9 8 7 ≤6 綜合運用能力 研究方案設計合理;設計方法科學 ;技術線路先進可行;理論分析和計算正確;動手能力強;能獨立完成設計(論文);能綜合運用所學知識發(fā)現(xiàn)和解決實際問題;研究結果客觀真實。 15 15 1314 1112 10 ≤9 總分 是否同意將該設計(論文)提交答辯:是( ) 否( ) 具體評閱及修改意見: 評閱人: 年 月 日 注: A 級標準,評出設計(論文)各項目的具體得分,并填寫在相應項目的評分欄中; 。 該設計(論文)須限期修改合格后重新申請答辯。 答 辯 委 員 會 評 語 評 定 成 績 周 記 論文 程序 答 辯 總 評 答辯委員會主席簽字 日 期 ( 5%) ( 65%) ( 30%) 百分制 等級制 I 摘 要 在工程實踐中,經常會遇到各種需要測量轉速的場合,測量轉速的方法分為模擬式和數(shù)字式兩種。數(shù)字式通常采用光電編碼器、霍爾元件等為檢測元件,得到的信號是脈沖信號。 本文便是運用 AT89C51 單片機控制的智能化轉速測量儀。本系統(tǒng)就是對電機轉速進行測量,并可以和 PC 機進行通信,顯示電機的轉速,并觀察電機運行的基本狀況。 詳細介紹了 單片機的測量轉速系統(tǒng)及 PC機與單片機之間的串行通訊。 本文重點是測量速度并顯示在 5位 LED 數(shù)碼管 上。 關鍵詞: MSC51 單片機,轉速,傳感器 II ABSTRACT In the project practice, we will meet each kind to need frequently to survey the rotational speed the situation, the survey rotational speed method divides into the simulation type and the digital two kinds. The simulation type uses measured that the fast generator is the detecting element, obtains the signal simulates the quantity. Digital usually uses the electrooptical encoder, the Hall part and so on is the detecting element, obtains the signal is the signal impulse. Along with microputer39。s appearance, the tachometric survey uses generally take the monolithic integrated circuit as the core digital measuring technique I graduated from the Design of the issue is control of the intelligent use of SCM speed measuring instrument. The system is the motor speed measurement, and PC and can municate that the motor speed, and to observe the motor running the basic situation. The main design AT89C51 control as the core, by the Hall sensor, LED digital CRT, HIN232CPElevel conversion, and a RS232. Detailed measurements of the speed of the SCM system and PC and the serial munication between the microcontroller. Give full play to the performance of the SCM. This paper is to measure the speed and displayed in five LED digital pipe. The advantage of a simple hardware and software capabilities improve, measuring speed, high precision and control system reliable, costeffective and so on. KEY WORDS: MSC51 Onechip puter,Sensor,Tachometer III 目 錄 摘 要 ................................................................................................................................ I ABSTRACT...........................................................................................................................II 前 言 ............................................................................................................................... 1 第 1 章 緒 論 ................................................................................................................. 2 課題的研究背景 .................................................................................................... 2 課題研究的目的和意義 ........................................................................................ 2 轉速測量在國內外的研究 .................................................................................... 3 主要內容 ................................................................................................................. 4 第 2 章 系統(tǒng)功能分析 ..................................................................................................... 5 系統(tǒng)功能概述 ........................................................................................................ 5 系統(tǒng)要求及主要內容 ............................................................................................ 5 系統(tǒng)技術指標 ........................................................................................................ 6 第 3 章 系統(tǒng)總體設計 ..................................................................................................... 7 轉速測量的一般方法 ............................................................................................. 7 硬件電路設計思路 ................................................................................................. 9 軟件設計思路 .................................................... 9 第 4 章 硬件電路設計 ................................................................................................... 11 單片機模塊 ........................................................................................................... 11 處理執(zhí)行元件 ................................................................................................ 11 時鐘電路 ........................................................................................................ 14 復位電路 ........................................................................................................ 15 顯示電路 ........................................................................................................ 16 HD7279 接口 ................................................................................................... 18