【正文】
Ta=25℃ ,除其他特殊說(shuō)明外 CS3020霍爾元件的介紹 CS3020是 CS系列霍爾傳感器中比較常用的一員,它的由電壓調(diào)整器,霍爾電壓發(fā)生器,差分放大電路,史密特觸發(fā)器及集電極開(kāi)路的輸 出級(jí)組成發(fā)磁敏傳感電路,其輸入為磁感應(yīng)強(qiáng)度,輸出為電壓。由于 1C 本身的電解比大,對(duì)高頻交流成分的濾波效果比較差, 所以為了改善濾波電路的高頻抑制特性,在 1C 傍邊并聯(lián)一個(gè)高頻濾波性能良好的小電容 2C 。這種電路波動(dòng)峰值將 低于 5mV ,響應(yīng)時(shí)間相對(duì)較快,但輸入頻率低于 200 ZH 時(shí),此電路的波動(dòng)要比圖 (a)大,一般需要對(duì)濾波時(shí)間常數(shù)既要滿足快速響應(yīng),又要滿足足夠小的波動(dòng)的要求。 圖 47 信號(hào)輸入隔離電路 長(zhǎng)春工程學(xué)院畢業(yè)設(shè)計(jì) (論文 ) 18 信號(hào)驅(qū)動(dòng)電磁閥部分 經(jīng)單片機(jī)處理前端輸入的信號(hào)后輸出有效的控制信號(hào)以控制電磁繼電器組件,控制信號(hào)必須經(jīng)過(guò)輸出放大電路放大后才能使控制組件動(dòng)作,輸出 放大電路主要由一些功率放大開(kāi)關(guān)管組成。系統(tǒng)啟動(dòng)時(shí)長(zhǎng)鳴提示機(jī)車(chē)進(jìn)入自動(dòng)換檔模式,查詢中斷有效位以設(shè)置標(biāo)志位,利用該標(biāo)志位貫穿被調(diào)用的顯示子程序,換檔子程序和報(bào)警子程序,返回后繼續(xù)跳至中斷查詢處,如此循環(huán)。通過(guò)這次鍛煉,使我鞏固了所學(xué)到的專業(yè)知識(shí)和提高了動(dòng)手能力。中斷查詢 jnb ie1,intermit setb 21h clr ie1 sjmp loop1 intermit1:setb 20h loop1: lcall display 。啟動(dòng) 2檔 換 1檔繼電器 clr clr shift4:mov r7,30h 。s plaint. In a statement the Russian side added: We found no racist insults from fans of CSKA. Age has reached the end of the beginning of a word. May be guilty in his seems to passing a lot of different life became the appearance of the same day。s about how he felt and I would like to speak to him first to find out what his experience was. Uefa has opened disciplinary proceedings against CSKA for the racist behaviour of their fans during City39。21H 為 0, 2檔換 1檔 shift2: clr 。初始化中斷寄存器 setb IT0 。 在設(shè)該計(jì)中,仍然有些問(wèn)題暫時(shí)無(wú)法解決,比如系統(tǒng)的抗干擾問(wèn)題,這需要在今后的實(shí)踐和學(xué)習(xí)中不斷改善。 本章將對(duì)該基于單片機(jī)機(jī)車(chē)自動(dòng)換檔的程序做具體長(zhǎng)春工程學(xué)院畢業(yè)設(shè)計(jì) (論文 ) 20 分析。當(dāng) 10 uu ?時(shí), 2F 的輸出端轉(zhuǎn)換為高電平,此時(shí)單穩(wěn)觸發(fā)器的輸入端 S端為低電平而 R 端為高電平,從而使觸發(fā)器的輸出為低電平,以為機(jī)車(chē)提供從 2 檔到 1 檔的換檔信號(hào)。電阻 LR 和電容 LC 組成低通濾波器。直流穩(wěn)壓電源又分成線性直流穩(wěn)壓電源和開(kāi)關(guān)型直流穩(wěn)壓電源,因?yàn)榫€性直流穩(wěn)壓電源電路成熟,穩(wěn)定度高,文波小,干擾小而且有很多成熟是集成元件可選擇,電路十分 簡(jiǎn)單。引腳 5( PIN5)為定時(shí)比較器正相輸入端。 圖 24 單片機(jī)換檔系統(tǒng)結(jié)構(gòu)簡(jiǎn)圖 本設(shè)計(jì)基于單片機(jī) 機(jī)車(chē)自動(dòng)換檔系統(tǒng)簡(jiǎn)單原理為: CS3020 檢測(cè)機(jī)車(chē)運(yùn)行速度和柴油機(jī)速度以脈沖形式輸出信號(hào)經(jīng)整形后輸入到頻率 /電壓轉(zhuǎn)換芯片 LM331 中轉(zhuǎn)換成電壓,輸出 6~ 8伏電壓信號(hào),再輸入到比較電路中比較,其比較原理在文后硬件系統(tǒng)論述中作介紹,把兩個(gè)速度比較后的 1 和 0 信號(hào)傳送到 AT89C2051 進(jìn)行處理,以此信號(hào)作程序處理輸出換檔控制信號(hào),同時(shí)讓 LED顯示換檔狀態(tài)。 AT89C105 AT89C2051 AT89C1051是一種帶 1K字節(jié)閃速可編程可擦除只讀存儲(chǔ)器 (FLASH ROM)的低電壓、高性能CMOS 8 位微控制器,該器 件采用 ATMEL 高密度、非易失存儲(chǔ)器制造技術(shù)制造,與工業(yè)標(biāo)準(zhǔn)的MCS51的指令集和輸出管腳相兼容,由于將多功能 8位 CPU和閃速存儲(chǔ)器組合在單個(gè)芯片中,ATMEL的 AT89C1051是一種高效微控制器,為很多嵌入式控制系統(tǒng)應(yīng)用提供了一種靈活性高且價(jià)廉的解決方案。因此,我們選用單片機(jī)作為本設(shè)計(jì)的控制核心。經(jīng)過(guò)脈沖整形之后,脈沖要轉(zhuǎn)換成電壓,再輸入到比較電路中進(jìn)行比較,頻率-電壓轉(zhuǎn)換可根據(jù)實(shí)際情況選擇不同 的芯片設(shè)計(jì),在該設(shè)計(jì)中轉(zhuǎn)換電壓以 6~ 8V 輸出。自動(dòng)換檔技術(shù)既可以減少司機(jī)經(jīng)常換檔的勞動(dòng)強(qiáng)度,又可以使機(jī)車(chē)大部分時(shí)間運(yùn)行在比較合理的檔位,這對(duì)節(jié)省 油料和保護(hù)環(huán)境都有比較好的效果。 關(guān)鍵詞 單片機(jī) 自動(dòng)換檔 機(jī)車(chē) 速度傳感器 自動(dòng)控制 Abstract: With the develop of science the technology , electric power industry is also trends to automation, lootive automatic mutating technology has bee one of the popular automation technology, lootive automatic mutating technology has a certain value of reserch on the position of the design. it can fetch up for the issues of traditional lootive mutating in energysaving and environmental protection or security .This design be mainly 長(zhǎng)春工程學(xué)院畢業(yè)設(shè)計(jì) (論文 ) Composed by 89C51 microcontroller as the core of the lootive automatic mutating system, This system includes the measurement of speed, pulseshaping, the paring of voltage and output to control. This paper introduces a kind of method of lootive automatic mutating based on SCM. Showing some relative application of speedsensor, and the basic principles and methods about signal sampling and paring ,It focus on the way of using the software produce a controlsignal, meanwhile introduces a method of regulating lootive stave with the realtime software processing and regulate the state of operation of lootive, providing an effective way to lootive automatic mutating control system. this system can reduce drivers’s labor intensity of the regular work, the lootive can run at the most of time in a more reasonable shift, which can save fuel and have relatively good results to protect the environment. Keyword: Microcontroller Automatic mutating Lootive Speed sensor Automatic control 長(zhǎng)春工程學(xué)院畢業(yè)設(shè)計(jì) (論文 ) I 目 錄 前言 ...................................................................................................................................1 1 系統(tǒng)工作原理分析 .....................................................................................................2 速度采集及處理 ...............................................2 輸出控制換檔的原理 ...........................................4 2 系統(tǒng)構(gòu)成 方案選擇 .....................................................................................................4 電路類型方案的選擇 ...........................................4 主控制單元方案的選擇 .........................................5 顯示管連接方式的選擇 .........................................7 總方案的確定 .................................................8 3 主要器件的介紹 .........................................................................................................8 LM331 芯片的介紹 .............................................8 CS3020 霍爾元件的介紹 .......................................11 4 系統(tǒng)的硬件設(shè)計(jì) .......................................................................................................13 電源設(shè)計(jì)部分 ................................................13 速度信號(hào)的前端處理部分 ......................................13 信號(hào)驅(qū)動(dòng)電磁閥部分 ..........................................18 顯示部分 ....................................................19 報(bào)警電路 ....................................................19 5 系統(tǒng)的軟件設(shè)計(jì) .......................................................................................................19 主程序 ......................................................20 顯示子程序 ..................................................21 換檔子程序 ..................................................21 報(bào)警子程序 ..................................................22 總 結(jié) ...............................................................................................................................23 參考文獻(xiàn): ...................................................