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

正文內(nèi)容

計(jì)算機(jī)溫度控制系統(tǒng)課程設(shè)計(jì)報(bào)告書(參考版)

2025-05-26 18:19本頁面
  

【正文】 拼一個(gè)春夏秋冬!贏一個(gè)無悔人生!早安!—————獻(xiàn)給所有努力的人. 學(xué)習(xí)好幫手。不奮斗就是每天都很容易,可一年一年越來越難。是狼就要練好牙,是羊就要練好腿。Delay(20)。 //顯示3 P1=0xf7。 P0=DUAN_TABLE[3]。Delay(20)。 //顯示1 P1=0xfd。 //位碼左邊第1個(gè) P0=DUAN_TABLE[1]。 } while(n)。i23。 //段碼 void Delay(unsigned char n) //*n毫秒 0 { unsigned char i。i8。 /*存轉(zhuǎn)換結(jié)果*/ ad_adr++。 while(ad_busy==0)。 /*啟動(dòng)轉(zhuǎn)換*/ i=i。i8。IN0。 uchar idata * ad_adr。j144。 //啟動(dòng)定時(shí)器1 uchar j。 //開定時(shí)器1中斷 ET1 = 1。 //定時(shí)器1賦初值 TL1 = (65536 – 50000)%256。 TMOD = 0X10。 }void main(void){ static char xdata ad[10]。 //定時(shí)器1賦初值 TL1 = (65536 – 50000)%256。 ad_adr++。 /*查詢等待轉(zhuǎn)換結(jié)束*/ x[i]=*ad_adr。 /*延時(shí)等待EOC變低*/ i=i。i++) /*處理8通道*/ { *ad_adr=0。 for(i=0。 ad_adr=amp。 /*T1中斷次數(shù)初值*/ void ad0809(uchar xdata * x) /*采樣函數(shù),結(jié)果x[]放外部數(shù)據(jù)存儲(chǔ)器*/{ uchar i。 // Set PID Setpoint } endif(3)ADC0809轉(zhuǎn)換子程序define uchar unsigned chardefine uint unsigned intdefine IN0 XBYTE[0x7ff8] /*設(shè)置ADC0809的通道0地址*/sbit ad_busy=P3^3。 =6。 // Initialize Structure = 10。 PIDInit ( amp。 high_time=50。 ET0=1。 TL0=0x40。 }void PIDBEGIN() { TMOD=0x01。 TH0=0x2f。 else if(count=100) { output=0。//EA=1。 else high_time=0。spid,rin )。 rin = s。i10。 low_time=100。 low_time= (100high_time)。 // Perform PID Interation } if (high_time=100) high_time=(unsigned char)(rout/800)。 // Read Input rout = PIDCalc ( amp。i++) { get_temper()。 } else { for(i=0。if(set_tempertemper) { if(set_tempertemper1) { high_time=100。 // 微分項(xiàng) } /*********************************************************** 溫度比較處理子程序 ***********************************************************/ pare_temper() { unsigned char i。 ppLastError = Error。 // 積分 dError = ppLastError ppPrevError。 Error = ppSetPoint NextPoint。 void PIDInit (struct PID *pp) { memset ( pp,0,sizeof(struct PID))。 unsigned char high_time,low_time,count=0。 // PID Response (Output) unsigned int rin。 // Sums of Errors } struct PID spid。 // Error[1] unsigned int PrevError。 // 積分常數(shù) Integral Const unsigned int Derivative。 // 設(shè)定目標(biāo) Desired Value unsigned int Proportion。 //溫度顯示; pare_temper()。 counter = 20。 PIDBEGIN()。 unsigned char shu[3]={13,13,0}。 // PID參數(shù)初始化// void main(){ unsigned char key1=0,i,k。azzo amp。也只有這樣,我們才能成為一個(gè)見多識(shí)廣、淵博的人。經(jīng)過去圖書館大量的查閱書籍,我也學(xué)到了很多在課本上沒有的知識(shí),收獲頗豐。在設(shè)計(jì)程序時(shí),不能妄想一次將整個(gè)程序設(shè)計(jì)好,反復(fù)修改、不斷改進(jìn)是程序設(shè)計(jì)的必經(jīng)之路;要養(yǎng)成注釋程序的好習(xí)慣,這樣為資料的保留和交流提供了方便;在設(shè)計(jì)中遇到的問題要記錄,以免下次遇到同樣的問題。這是我做這次課程設(shè)計(jì)的又一收獲。其次,在這次課程設(shè)計(jì)中,我們運(yùn)用了以前學(xué)過的專業(yè)課知識(shí),如:Proteus繪圖仿真、C語言、模擬和數(shù)字電路知識(shí)等。本次課程設(shè)計(jì),我的題目是計(jì)算機(jī)溫度控制系統(tǒng)。6. 各子程序設(shè)計(jì)及流程圖 PID控制程序流程圖取給定值取
點(diǎn)擊復(fù)制文檔內(nèi)容
物理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1