該雙恒壓供水控制系統是以PLC控制為核心,變頻調速技術為基礎,并結合壓力傳感器、變頻器、水泵、繼電器、接觸器等組成。在此系統中,PLC將壓力設定值與測量值的偏差經PID運算后得到的控制量作用到變頻器,從而通過變頻器控制水泵的轉速調節管網的壓力,實現恒壓供水的目的
上傳時間: 2014-01-06
上傳用戶:zq70996813
在sco unix 下顯示前n天或后n天日期的處理程序。 printf("功能: 時間戳與時間格式字符串的轉換程序\n") printf(" -i 輸入的參數為時間戳\n") printf(" -s 輸入的參數為格式化時間\n") printf(" -t 輸入的時間取當前系統時間\n") printf(" -x 輸入的時間增加或減少的天數\n") printf(" -o 輸出的時間為時間戳格式\n") printf(" -O 輸出的時間為格式化時間\n") printf(" -h 幫助文件-查看[format]如何定義,例 %s -h\n",procname) printf("范例:1 取當前日期的前2天的時間顯示 %s -t -x -2\n",procname) printf(" 2 取20030101的前5天的時間顯示 %s -s 20030101000000 -x -5\n",procname) printf(" 3 取20031231的后5天的時間顯示 %s -s 20031231000000 -x 5 -O \"%%D %%T\"\n",procname) printf(" 4 取時間戳為1089619417的時間顯示 %s -i 1089619417 \n",procname) printf(" 5 取時間戳為1089619417的后4天的時間顯示 %s -i 1089619417 -x 4 \n",procname)
上傳時間: 2015-10-17
上傳用戶:TRIFCT
HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N lines contains two positive integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.
上傳時間: 2015-10-18
上傳用戶:三人用菜
處理程序,在使用單片機作為控制cpu時,請稍作簡化,具體的PID參數必須由具體對象通過實驗確定。由于單片機的處理速度和ram資源的限制,一般不采用浮點數運算,而將所有參數全部用整數,運算 到最后再除以一個2的N次方數據(相當于移位),作類似定點數運算,可大大提高運算速度,根據控制精度的不同要求,當精度要求很高時,注意保留移位引起的“余數”,做好余數補償。這個程序只是一般常用pid算法的基本架構,沒有包含輸入輸出處理部分。
上傳時間: 2013-12-19
上傳用戶:koulian
Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17
標簽: the contains integer number
上傳時間: 2015-10-27
上傳用戶:plsee
一個單片機控制直流電機的程序,可以調速、控制起停
上傳時間: 2015-10-30
上傳用戶:cc1015285075
一個單片機控制步進電機的小程序,可以調速
上傳時間: 2014-01-15
上傳用戶:exxxds
異步電機矢量控制,有MARS法,isq閉環測速法,可以運行有速度和無速度兩種模式。
上傳時間: 2013-12-12
上傳用戶:czl10052678
第一步:采用PID控制,在控制器啟動過程中,首先采用灰色估計器對不確定部分的模型參數建立GM(0,N) 模型進行估計,其中 控制算法為 第二步:按估計參數加上補償控制,估計器停止工作,灰色控制算法為
上傳時間: 2015-11-02
上傳用戶:天涯
直流電機可控硅調速源程序,利用按鍵來控制速度的大小。
上傳時間: 2015-11-04
上傳用戶:sz_hjbf