需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字?jǐn)?shù):15509 | ![]() | |
折扣與優(yōu)惠:團(tuán)購最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘 要:目前,我國一部分城鄉(xiāng)居民用戶依舊采用的是人工讀表的計量方式。人工讀表是比較落后的,因為它需要很多的人力和物力,同時,人工讀表要花費很長的時間,容易出錯,準(zhǔn)確率不高。這也就直接導(dǎo)致了數(shù)據(jù)處理的滯后,不能及時發(fā)現(xiàn)、解決問題。人工讀表阻礙了電力行業(yè)向智能電網(wǎng)發(fā)展,要突破這一瓶頸就需要采用較為先進(jìn)的讀表系統(tǒng)。 本文主要介紹了一種基于單片機(jī)的讀表系統(tǒng)研究。本次所研究的讀表系統(tǒng)功能設(shè)計有實時時鐘顯示,電能表數(shù)據(jù)的顯示。其中,實時時鐘顯示功能的實現(xiàn)是對DS1302芯片進(jìn)行編程,在LCD1602上顯示時間。本次研究最重要的部分就是AT89S52單片機(jī)與單相電子式多費率電能表DDSF211之間的RS485通信。它們之間的通信是建立在DL/T645-1997多功能電能表通信協(xié)議上的。AT89S52單片機(jī)為主站,通過一個RS232/RS485轉(zhuǎn)換器與電能表連接,電能表為從站。主站發(fā)出讀數(shù)據(jù)命令,從站正常應(yīng)答,主站接收數(shù)據(jù)然后將其顯示在LCD1602上。 關(guān)鍵詞:單片機(jī) 電能表 RS485通信
ABSTRACT:Currently, part of the urban and rural residents in China still uses manual meter reading method. This way is slow, not only wasted a lot of manpower, material and caused large time span of data collection, low accuracy, human error, but also led directly to a data processing lag, so the problems can not be found in time to solve. Manual meter reading has hindered the development of the power industry to the smart grid, to break through this bottleneck needs to adopt more advanced meter reading system. This paper describes the study of a microcontroller-based meter reading system. The meter reading system designed has some functions, such as the display of real time clock and the power meter data. The programming of a DS1302 chip achieves real-time clock display functions, LCD1602 will display time finally. In this study, the most important part is the RS485 communication of AT89S52 microcontroller and single-phase electronic multi-rate the energy meter DDSF211. Their communication satisfies DL/T645-1997 multifunction energy meter communication protocol. As a master, The AT89S52 microcontroller connected with energy meter via an RS232/RS485 converter, energy meter is the station. The Master sends a read data command to the station, the station will response normally. The main station receives the data and then displays them on the LCD1602. Keywords: MCU;energy meter;RS485 communication |