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

正文內(nèi)容

基于ds18b20分組方式測溫系統(tǒng)設(shè)計外文翻譯(完整版)

2025-07-11 13:20上一頁面

下一頁面
  

【正文】 的分組的方法,并在軟件上采取一定措施,從而明顯的提高交替檢測速度。溫度變換為數(shù)字可在 720ms內(nèi)完成,每一個 DS18B20具有唯一的 64位的序列號(圖 1), DS18B20內(nèi)部有兩個 8位存儲器 RAM用來儲存溫度值( 0號和 1號),其中 0號存儲器存放溫度值的補(bǔ)碼, 1號存儲器存儲溫度值的符號。 圖 2 DS18B20連線圖 基于 DS18B20 分組方式測溫系統(tǒng)設(shè)計 3 圖 3 DS18B20分組方式溫度采集流程 現(xiàn)在來分析單總線方式和分組方式測試系統(tǒng)耗時,圖 圖 圖 6分別為DSl8B20的復(fù)位時序、單片機(jī)寫一位和讀一位的時序。上位機(jī)采用 PC機(jī),主要負(fù)責(zé)接收下位機(jī)發(fā)送過來的溫度數(shù)據(jù),并進(jìn)行顯示,存儲等數(shù)據(jù)管理工作以及簡單的人機(jī)交互。 圖 7 系統(tǒng)硬件框圖 系統(tǒng)軟件功能和流程 溫度測試系統(tǒng)軟件部分,負(fù)責(zé)完成對 DSl8820的編號、數(shù)據(jù)采集及轉(zhuǎn)換、無線通訊及鍵盤管理等,為了調(diào)試程序方便,提高可靠性,采用了模塊化設(shè)計,主基于 DS18B20 分組方式測溫系統(tǒng)設(shè)計 6 要有鍵盤處理模塊、無線通訊模塊、溫度采集和處理模塊、顯示模塊等,軟件流程具體如圖 8所示。i8。j++) { match_ rom(j)。 temp_lsb |=temp_msb。Automation 2020,(2):2526 基于 DS18B20 分組方式測溫系統(tǒng)設(shè)計 9 (英文原文) A Design of the Temperature Test System Based on Grouping DS18B20 LI Ping ZHOU Yucai Xiangjun ZENG YANG Tingfang Changsha University of Science and Technology, Changsha 410077, Hunan, P. R. China. Abstract All the DS18B20 sensors, used for the multipoint test temperature, are connected with MCU on one of IO bus, and temperature data are collected by turns. If the system has a large amount of sensors, the time of MCU used in processing the temperature data is obviously prolonged, so the cycle of alternate test gets longer. In this paper, a new method that DS18B20 are rationally grouped is presented, and some measures are taken in software。i8。j15。 temp_msb = 4 。Automation 2020,(2):2526 。 temp_msb = (temp_lsb/10) 。 read_ scratchpads (j)。//skip over the serial numbers to check 基于 DS18B20 分組方式測溫系統(tǒng)設(shè)計 17 write_bytes(0x44 )。the writing period of one bit is 60us120us。 temp_msb =4 。 } for(j=0。//跳過序列號檢驗 write_bytes(0x44 )。主程序負(fù)責(zé)鍵盤管理、系統(tǒng) 初始化及各功能模塊的調(diào)用。因為要對 DS18B20的序列號進(jìn)行區(qū)分和編碼,所以增加了液晶模塊和鍵盤模塊 ,無線數(shù)傳部分則選用收發(fā)一體式無線模塊 PTR2020,該模塊可以有兩個業(yè)余頻段選擇 (),波特率可調(diào) (最高可達(dá) 20Kbit/s),可以直接接收單片機(jī)串 I:I收據(jù)。因為 A/D轉(zhuǎn)換時間為 ( 9位精度) ,如果按最短時間計算,整個交替檢測時間分別為 : (1)單總線 495us+2*(8*60+7)us++495us+100*(64*60+63+8*60+7+9*60+8)us=4ms (31) (2)分組模式 495us+2*(8*60+7)us++20(64*60+63+8*60+7+9*60+8)us= (32) 因為數(shù)制轉(zhuǎn)換和存儲時間占整個交替檢測時間很小,以及無法 確定晶振頻基于 DS18B20 分組方式測溫系統(tǒng)設(shè)計 4 率,這里就不計算數(shù)制轉(zhuǎn)換和存儲時間。有兩種供電方式:利用信號線高電平時借電供電,或直接用 +5V電源。由于多點溫度測試系統(tǒng)采用的是單總線方式,所有的 DS18B20 傳感器掛在一根總線上,然后輪流讀取每一個測試點的溫度轉(zhuǎn)換值。 關(guān)鍵詞: DS18B20分組 /溫度測試 /交替檢測時間 1 引言 DS18B20 溫度傳感器由于其結(jié)構(gòu)簡單、安裝方便、低損耗以及測溫范圍寬而被廣泛應(yīng)用于需要多點測溫的地方,像化工,糧食,環(huán)境監(jiān)測等等。用戶可以定義非易失性的溫度告警設(shè)置并且區(qū)分告警搜索命令,尋求組件溫度警報狀態(tài)以外的預(yù)定的限制。 DS18B20的復(fù)位時間為495us一 1020us,寫一位時間為 60us一 120us,讀一位時間為 60us以上,讀寫相臨一位時間間隔為 1us。 系統(tǒng)硬件 考慮到主控芯片需存儲多點的溫度值并進(jìn)行數(shù)值轉(zhuǎn)換,需要較多內(nèi)部 RAM,因此采用 ATMEL公司 89C52單片機(jī),其帶有 256字節(jié) RAM和 8KB E2PROM程序存儲器。加電源復(fù)位后, 89C52首先自檢,當(dāng)自檢結(jié)束后調(diào)用各子程序模塊。i++) {skip_rom(i)。 read_ scratchpads (j)。 temp_msb = (temp_lsb/10) 。 as a result, the speed of alternate test advances distinctly. Key words DS18B20 Group ,temperature test, time spent on the alternate test. I. INTRODUCTION As the simple structure, convenient installment, low loss and wide range of temperature test, DS18B20 temperature test sensors are applied to the fields which need the multipoint temperature test, such as the chemical industry, the grain, the environment supervision and so on. Because of the adoption of one bus in the DS18B20 multipoint temperature test system, all DS18B20 are hung on one bus, and then the temperature conversion value of each test point is read by turns. As the conversion value must be read after readingpin state for 8 times, and position and store data must be moved, so time spend much in reading one point of the data system by every time. If the temperature test system is largescaled, the system loss caused by it is rather much, and then the alternate test speed of the system decreases obviously, 基
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1