freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

水箱水位控制系統(tǒng)設(shè)計方案-在線瀏覽

2025-06-29 00:36本頁面
  

【正文】 nclude includevoid key(){ if(K1==0) { delayms(10)。 if(set_flag2) set_flag=0。 } } switch(set_flag) { case 1: if(K2==0) { delayms(10)。 while(!K2)。 if(K3==0) { if(H_lim0) H_lim。 } } break。 if(K2==0) { if(L_lim99) L_lim++。 } } else if(K3==0) { delayms(10)。 while(!K3)。 default: break。 if(i10) i++。 if(Water_datL_lim) { LED_H=0。 if(i5) beep=0。 } else if(Water_datH_lim) { LED_H=1。 if(i5) beep=0。 } else { LED_H=0。 beep=1。 uchar i=0。 while(1) { if(i10) // 濾 { i++。 // 波 } else // 算 { i=0。 if(ad_dat13) {Water_dat=(uchar)((ad_dat13)/)。 AD_DAT=0。 control()。 } }② AD轉(zhuǎn)化/***************************************************** 功能:將模擬信號轉(zhuǎn)換成數(shù)字信號***************************************************/sbit ADC0832_CS=P1^2。sbit ADC0832_DIO=P1^0。 ADC0832_CS=1。 //為第一個脈沖作準(zhǔn)備 ADC0832_CS=0。 //DIO置1,規(guī)定的起始信號 ADC0832_CLK=1。 //第一個脈沖的下降沿,此前DIO必須是高電平 ADC0832_DIO=1。 //第二個脈沖,第3個脈沖下沉之前,DI必須跟別輸入兩位數(shù)據(jù)用于選擇通道,這里選通道CH0 ADC0832_CLK=0。 //DI置0,選擇通道0 ADC0832_CLK=1。 //第三個脈沖下降沿 ADC0832_DIO=1。 //第四個脈沖 for(i=0。i++) //高位在前 { ADC0832_CLK=1。 dat=1。 //將輸出數(shù)據(jù)DIO通過或運算儲存在dat最低位 } ADC0832_CS=1。 //將讀書的數(shù)據(jù)返回 }③ 液晶顯示sbit EN=P2^7。sbit RW=P2^6。 //LCD1602顯示標(biāo)尺 0123456789abcdefunsigned char dis_tab1[]={Water level:cm}。void write_date(uchar date){ EN=0。 P0=date。 delayms(5)。}void write_(uchar date){ EN=0。 P0=date。 delayms(5)。}void init_1602(){ unsigned char i。 write_(0x38)。 write_(0x06)。 write_(0x80)。i16。} write_(0x80+0x40)。i16。}}void display(){ static unsigned char i。 if(i10) i=0。 write_date(LCD1602_Table[Water_dat%100/10])。 write_(0x80+3+0x40)。amp。 39。 write_date(39。)。 write_date(LCD1602_Table[H_lim%10])。 if(set_flag==2amp。i5) { write_date(39。)。 39。 } else { write_date(LCD1602_Table[L_lim%100/10])。 } } 結(jié) 論本文主要介紹了水箱水位的自動控制系統(tǒng),介紹了AT89C51單片機和其它一些單片機在水位控制系統(tǒng)中的應(yīng)用,并介紹了它們的引腳和在系統(tǒng)中的電路圖,本設(shè)計還采用了傳感器來實現(xiàn)對液位的信號采集,利用LCD來進行信號的輸出顯示。水箱水位控制在設(shè)定值上正常運行時不需要人工干預(yù),操作人員勞動強度小。通過這次的畢業(yè)設(shè)計,我運用到了大學(xué)四年所學(xué)知識去分析和解決問題,我深刻的了解和掌握了單片機的控制原理和設(shè)計方法。由于缺乏在實踐設(shè)計中的經(jīng)驗,所以在此次的設(shè)計中我也發(fā)現(xiàn)了自己很多不足的方面,從論文方面的總體結(jié)構(gòu)到具體設(shè)計中硬件的相關(guān)知識和經(jīng)驗的不足使得一開始設(shè)計和論文存在了很多的問題,但是在我的導(dǎo)師馬東老師的細心指導(dǎo)下,經(jīng)過前后多次的修改和完善,最終完成了畢業(yè)設(shè)計。致 謝本文是在馬東老師的細心指導(dǎo)下完成的。馬東老師淵博的專業(yè)知識,嚴謹?shù)闹螌W(xué)態(tài)度,精益求精的工作作風(fēng),誨人不倦的高尚師德,嚴以律己、寬以待人的崇高風(fēng)范,樸實無華、平易近人的人格魅力對我影響深遠。在此,謹向馬東老師致以深深的敬意和由衷的感謝。在這里,請你們接受我誠摯的謝意!參考文獻[1]、開發(fā)與應(yīng)用實例[M].北京:中國電力出版社,2008:27~54[2]李書旗,[J].北京電子工業(yè)出版社,2009:2131~2133[3][J].南京電子出版社,2007:44~45[4]陳霞,[J].武漢理工大學(xué)學(xué)報,2007:3~5[5]陳新昌,王萬章,[J].中國科技信息出版社,2006:89~94[6][M].陜西:西安電子科技大學(xué)出版社,2003:32~65[7][M].北京:電子工業(yè)出版社,2003:15~46[8][M].北京:中國電子出版社,2007:44~60[9]張慶國. 8051單片機在工業(yè)生產(chǎn)中的應(yīng)用[M].北京:電力電子技術(shù),2009:24~50[10]林青,[M].北京:中國北京大學(xué)出版社,2006:33~57[11][M].北京:綜合出版社,2008:22~53[12]孫清云,楊立波. 51系列單片機開發(fā)管理[M].北京:北京工業(yè)大學(xué)出版社,2009:23~47[13][M].北京:中國電子技術(shù)大學(xué)出版社,2005:27~40[14]孫領(lǐng)海,[M].北京:中國教育出版社,2006:13~38[15]青云山,[M].重慶:西南大學(xué)出版社,2009:26~41[16][M].哈爾濱:哈爾濱工業(yè)大學(xué)出版社,2003:43~62[17][M].山東:山東大學(xué)出版社,2004:33~54[18][M].北京:北京大學(xué)出版社,2009:56~72[19]Quarette J. Made the principle of thermal plant equipment concise manual. [J] . Evaluation,1999:22~25[20]Laugman R. Embedded System Control System. US Patent 2000:16~32附錄A 英文原文Programmable designed for electropneumatic systems controllerThis project deals with the study of electropneumatic systems and the programmable controller that provides an effective and easy way to control the sequence of the pneumatic actuators movement and the states of pneumatic system. The project of a specific controller for pneumatic applications join the study of automation design and the control processing of pneumatic systems with the electronic design based on microcontrollers to implement the resources of the controller.1. IntroductionThe automation systems that use electropneumatic technology are formed mainly by three kinds of elements: actuators or motors, sensors or buttons and control elements like valves. Nowadays, most of the control elements used to execute the logic of the system were substituted by the Programmable Logic Controller (PLC). Sensors and switches are plugged as inputs and the direct control valves for the actuators are plugged as outputs. An internal program executes all the logic necessary to the sequence of the movements, simulates other ponents like counter, timer and control the status of the system.With the use of the PLC, the project wins agility, because it is possible to create and simulate the system as many times as needed. Therefore, time can be saved, risk of mistakes reduced and plexity can be increased using the same elements.A conventional PLC, that is possible to find on the market from many panies, offers many resources to control not only pneumatic systems, but all kinds of system that uses electrical ponents. The PLC can be very versatile and robust to be applied in many kinds of application in the industry or even security system and automation of buildings.Because of those characteristics, in some applications the PLC offers to much resources that are not even used to control the system, electropneumatic system is one of this kind of application. The use of PLC, especially for small size systems, can be very expensive for the automation project.An alternative in this case is to create a specific controller that can offer the exactly size and resources that the project needs [3, 4]. This can be made using microcontrollers as the base of this controller. The controller, based on microcontroller, can be very specific and adapted to only one kind of machine or it can work as a generic controller that can be programmed as a usual PLC and work with logic that can be changed. All these charac
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1