【正文】
/void GPRS_SENDDATA(){ long int i。isizeof(GPRS_SEND1)1。} send_uart(0X22)。isizeof(GPRS_SEND3)1。339。 send_uart(GPRS_SEND3[i])。//分號(hào) send_uart(0X0D)。 delay_ms(100)。K39。K39。i500。 } i_TC35_RECE=0。for(i=0。i++){send_uart(GPRS_TCP5[i])。//回車(chē)send_uart(0X0A)。delay_ms(500)。K39。K39。i500。 } i_TC35_RECE=0。 /*選擇系統(tǒng)主時(shí)鐘為8MHz*/ BCSCTL1 amp。 //打開(kāi)XT2高頻晶體振蕩器 uchar i。= ~OFIFG。 i 0。 //等待8MHz晶體起振 } while ((IFG1 amp。 //晶振失效標(biāo)志仍然存在? BCSCTL2 |= SELM_2 + SELS。 _EINT()。 while(1) { GPRS_SENDDATA()。 GPRS_SENDDATA()。 GPRS_ACTIVE()。 }}pragma vector = UART0RX_VECTOR__interrupt void data_Receive(void) // UART接收中斷{ i_receive=RXBUF0。} 設(shè)計(jì)實(shí)物圖 電路原理圖結(jié) 論本文采用嵌入式TCP/IP協(xié)議,通過(guò)高速8位單片機(jī)實(shí)現(xiàn)GPRS業(yè)務(wù)的數(shù)據(jù)傳輸功能,具有外圍電路少,電路簡(jiǎn)單,系統(tǒng)成本低等優(yōu)點(diǎn)。系統(tǒng)軟件均使用C語(yǔ)言編寫(xiě),稍加改動(dòng)就可以在各種控制器上實(shí)現(xiàn),可移植性也較強(qiáng)。論文在分析了GPRS技術(shù)和無(wú)線通信技術(shù)之后,論述了系統(tǒng)的結(jié)構(gòu)組成,然后對(duì)數(shù)據(jù)采集終端部分進(jìn)行了硬件設(shè)計(jì),搭建了整個(gè)系統(tǒng)的硬件框架,最后對(duì)數(shù)據(jù)中心和數(shù)據(jù)采集終端兩部分軟件設(shè)計(jì)并進(jìn)行調(diào)試?;贕PRS的系統(tǒng)也有一定的缺點(diǎn),例如,現(xiàn)在的GPRS網(wǎng)還不夠穩(wěn)定,有丟包的現(xiàn)象;主控制器要實(shí)現(xiàn)IP協(xié)議,使用起來(lái)比較復(fù)雜;上位機(jī)基于互聯(lián)網(wǎng)的解決方案保密性較差等。 致 謝值此大學(xué)生涯即將結(jié)束之際,我要衷心感謝每一位幫助和關(guān)心過(guò)我的人。感謝我的指導(dǎo)教師老師,從課程學(xué)習(xí)到項(xiàng)目實(shí)踐、就業(yè)和論文寫(xiě)作,楊老師對(duì)我的指導(dǎo)和幫助都不厭其煩、親歷親為,貫穿于學(xué)習(xí)和生活中的點(diǎn)點(diǎn)滴滴、細(xì)枝末節(jié),通過(guò)讓我親身實(shí)踐,培養(yǎng)了我很多思考問(wèn)題和解決問(wèn)題的思維和方法。在我以后的人生道路上,楊老師永遠(yuǎn)是我的學(xué)習(xí)典范! 另外,系里的領(lǐng)導(dǎo)和老師也給了我們必要的指導(dǎo),我也向系和年級(jí)的同學(xué)們表示衷心的感謝,感謝你們?cè)谖掖髮W(xué)四年期間給我的幫助,是你們陪我走過(guò)青春!感謝學(xué)院對(duì)我這幾年的培養(yǎng)。 參考文獻(xiàn)[1] 周靜. MSC1210的GPRS無(wú)線通信系統(tǒng)設(shè)計(jì)[D]. 武漢大學(xué), 2010.[2] 百度文庫(kù). 使用單片機(jī)實(shí)現(xiàn)GPRS通信系統(tǒng)的設(shè)計(jì).[3] 蔣延彪. 單片機(jī)原理及應(yīng)用[M].重慶:重慶大學(xué)出版社,2005[4] 何立民. 單片機(jī)高級(jí)教程應(yīng)用于設(shè)計(jì)[M]. 北京:北航空航天大學(xué)出版社, 1999.[5] 林伸茂. 8051單片機(jī)徹底研究基礎(chǔ)篇[M]. 北京:人民郵電出版社, 2004.[6] 北京應(yīng)嘉興業(yè)科技介紹.[7] [8] [9] Bonner. InSitu Modbus Communication Protocol .2007[10] SIMCOM. SIM300 [11] Hardware Specfication 2006[12] GPS Receiver Familiy Designer Guide. 1999[13] 256Kb Bytewide FRAM Memory[14] , Information System for the EffectiveManagement of [15] Gregory JPEG Still Picture Compression Standard [J].IEEETransactions on Consumer Electronics, :26~27[16] YuWei Huang, Embedded Remote Power Mangement,Sensors for Industry :105[17] 的無(wú)線DDN ,2005(5): 23附錄A 英文原文 Research Report General packet radio service (GPRS) is a service available to users of GSM mobile phones of a mobile data. It provides moderate speed data transfer, by using unused TDMA channels in the GSM network. Originally there was some thought to extend GPRS to cover other standards, but instead those networks are being converted to use the GSM standard, so that is the only kind of network where GPRS is in use. GPRS is integrated into GSM standards releases starting with Release 97 and onwards. First it was standardised by ETSI but now that effort has been handed onto the 3GPP.GPRS basicsGPRS is different from the older Circuit Switched Data (or CSD) connection included in GSM standards releases before Release 97 (from 1997, the year the standard was feature frozen). In CSD, a data connection establishes a circuit, and reserves the full bandwidth of that circuit during the lifetime of the connection. GPRS is packetswitched which means that multiple users share the same transmission channel, only transmitting when they have data to send. This means that the total available bandwidth can be immediately dedicated to those users who are actually sending at any given moment, providing higher utilisation where users only send or receive data intermittently. Web browsing, receiving s as they arrive and instant messaging are examples of uses that require intermittent data transfers, which benefit from sharing the available bandwidth. Figure 1 GPRS network structure.Usually, GPRS data are billed per kilobytes of information transceiver while circuitswitched data connections are billed per second. The latter is to reflect the fact that even during times when no data are being transferred, the bandwidth is unavailable to other potential users.GPRS originally supported (in theory) IP, PPP and connections. The latter has been typically used for applications like wireless payment terminals although it has been removed as a requirement from the standard. can still be supported over PPP, or even over IP, but doing this requires either a router to do encapsulation or intelligence built into the end terminal. Figure 2 GPRS network poseGPRS speeds and profilePacketswitched data under GPRS is achieved by allocating unused cell bandwidth to transmit data. As dedicated voice (or data) channels are setup by phones, the bandwidth available for packet switched data shrinks. A consequence of this is that packet switched data has a poor bit rate in busy cells. The theoretical limit for packet switched data is approx. k bit/s (using 8 time slots and CS4). A realistic bit rate is 30–80 k bit/s, because it is possible to use max 4 time slots for downlink. A change to the radio part of GPRS called EDGE allows higher bit rates of between 160 and k bit/s. The maximum data rates are achieved only by allocation of more than one time slot in the TDMA frame. Also, the higher the data rate, the lower the error correction capability. Generally, the connection speed drops logarithmically with distance from the base station. This is not an issue in heavily populated areas with high cell density, but may bee an issue in sparsely populated/rural areas.In GSM system, there are 3 ways to bearing WAP: short message, circuitbased data, and GPRS packet data. Compared with GPRS, the first two ways have some limitations:Short message bearing WAP, the length only 160 bytes, it cannot adapt the WAP service data gradually increasing demand. Short message lack of QoS assurance, the time too long, so the short message bearing WAP is not remended.GPRS bearing WAP has a lot of advan