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

正文內(nèi)容

基于單片機(jī)的pid控制算法-資料下載頁(yè)

2025-06-27 19:22本頁(yè)面
  

【正文】 astError。 ppLastError = Error。 return (ppProportion * Error // 比例項(xiàng) + ppIntegral * ppSumError // 積分項(xiàng) + ppDerivative * dError // 微分項(xiàng) )。}//繼電器控制子程序//===========================================================//函數(shù): void active()//語(yǔ)法:void active()//描述:PID輸出值的處理//參數(shù):無(wú)//返回:無(wú)//===========================================================void active(){ if(Out=0){ turn_off_relay()。 //溫度高于設(shè)定值,關(guān)閉電爐 turn_off_timerB()。 //停止計(jì)時(shí) }Else{ if(Out30*) //溫度低于設(shè)定值2攝氏度 turn_on_relay()。 //開(kāi)電爐加熱 else { turn_on_relay()。SP_INT_TIMEB()} //初始化定時(shí)器,開(kāi)始定時(shí)加熱 }}//=======================================================//函數(shù): 主程序//語(yǔ)法:int main(void)//描述:鍵盤(pán)掃描、溫度控制//參數(shù):無(wú)//返回:無(wú)//=======================================================int main(void){ int KeyValue。 status = temperature_set。 System_Initial()。 PID_Initial()。 //PID初始化 while(1){ KeyValue = GetCh()。 //鍵盤(pán)掃描、去抖動(dòng)處理、取鍵值 key_value_process(KeyValue)。 //鍵值處理 if(status = temperature_control) display_AD_temperature()。 //測(cè)量溫度顯示、PID計(jì)算 if(Out=0) turn_off_timer()。 }}電路原理圖:參考文獻(xiàn) [1]黃智偉. 全國(guó)大學(xué)生電子設(shè)計(jì)競(jìng)賽電路設(shè)計(jì). 北京:北京航天航空大學(xué)出版社,2007 [2]譚浩強(qiáng). C程序設(shè)計(jì). 北京:清華大學(xué)出版社,2002 [3](第四版). 北京:科學(xué)出版社, 2000Microcontrollerbased temperature control system Li Hong (Physics ang Electrical Engineerring ,Anyang Nomal University ,Anyang,455002)Abstract: Temperature is the main control of industrial control of parameters, In temperature control, due to temperature controlled object properties (such as inertia big, big, lagging effect of nonlinear, etc.), to improve performance, some process temperature control of its direct impact on the quality of the product, and designed a kind of ideal temperature control system is a very valuable. In order to realize high precision temperature measurement and control, this paper introduces a meter taking Atmel pany lowpower highperformance CMOS chip as the core, and the PID control algorithm with PID parameters bination of control method to realize the temperature control system, the hardware circuit including temperature, temperature control, temperature gathering, keyboard input and RS232 interface circuits, etc. The system can realize the measurement for temperature, and can according to value of temperature adjustment, and realize the objective temperature control. Key words: AT89C51 microcontroller, Temperature control, PT1000 temperature sensor, PID algorith
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1