基于北斗技術(shù)的小型衛(wèi)星通信系統(tǒng)的設(shè)計與實現(xiàn)_第1頁
基于北斗技術(shù)的小型衛(wèi)星通信系統(tǒng)的設(shè)計與實現(xiàn)_第2頁
基于北斗技術(shù)的小型衛(wèi)星通信系統(tǒng)的設(shè)計與實現(xiàn)_第3頁
基于北斗技術(shù)的小型衛(wèi)星通信系統(tǒng)的設(shè)計與實現(xiàn)_第4頁
基于北斗技術(shù)的小型衛(wèi)星通信系統(tǒng)的設(shè)計與實現(xiàn)_第5頁
已閱讀5頁,還剩24頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

摘要系統(tǒng)旨在探索基于北斗系統(tǒng)的精準(zhǔn)定位與數(shù)據(jù)通信技術(shù)。隨著北斗衛(wèi)星導(dǎo)航系統(tǒng)全球服務(wù)能力的全面開通,其在全球范圍內(nèi)的應(yīng)用前景被進一步拓寬,對提升定位精度、擴展應(yīng)用場景具有重要意義。系統(tǒng)選取STM32單片機作為控制中心,結(jié)合NEO-M8N北斗數(shù)據(jù)接收模塊收集北斗衛(wèi)星數(shù)據(jù),通過對接收到的數(shù)據(jù)進行精確解析,獲取當(dāng)前終端的經(jīng)緯度、速度及時間信息,并將這些信息通過OLED顯示屏展示出來,同時支持通過HC-05串口模塊將數(shù)據(jù)發(fā)送至其他終端,實現(xiàn)信息共享。在研究過程中發(fā)現(xiàn)了系統(tǒng)功耗相對較高、設(shè)備體積有待進一步縮小、數(shù)據(jù)傳輸?shù)陌踩院涂垢蓴_能力需要加強等問題,通過采用低功耗設(shè)計技術(shù)和微型化設(shè)計理念,進一步降低系統(tǒng)功耗,縮小設(shè)備體積,其次加強數(shù)據(jù)加密和信號處理技術(shù)的應(yīng)用,提升數(shù)據(jù)傳輸?shù)陌踩院涂煽啃?。研究為北斗技術(shù)在小型衛(wèi)星通信領(lǐng)域的應(yīng)用提供了一種新的解決方案,對推動北斗系統(tǒng)的民用和商用應(yīng)用具有重要的參考價值。未來,隨著技術(shù)的不斷進步和創(chuàng)新,期待北斗衛(wèi)星導(dǎo)航系統(tǒng)能在更廣闊的領(lǐng)域發(fā)揮更大的作用。關(guān)鍵詞:北斗衛(wèi)星;單片機;數(shù)據(jù)解析AbstractThissystemaimstoexploreprecisepositioninganddatacommunicationtechnologiesbasedontheBeiDousystem.WiththeglobalservicecapabilityoftheBeiDouSatelliteNavigationSystemfullyoperational,itsapplicationprospectsworldwidehavebeenfurtherexpanded,playingasignificantroleinenhancingpositioningaccuracyandextendingapplicationscenarios.ThesystemselectstheSTM32microcontrollerasthecontrolcenter,combinedwiththeNEO-M8NBeiDoudatareceivingmoduletocollectBeiDousatellitedata.Bypreciselyanalyzingthereceiveddata,itacquiresthecurrentterminal'slatitude,longitude,speed,altitude,andtimeinformation.ThesedetailsarethendisplayedonanOLEDscreen,whilealsosupportingdatatransmissiontootherterminalsviatheHC-05serialportmodule,enablinginformationsharing.Duringtheresearch,issuessuchasrelativelyhighsystempowerconsumption,theneedforfurtherminiaturizationofdevicevolume,andthenecessitytostrengthenthesecurityandanti-interferencecapabilityofdatatransmissionwereidentified.Byadoptinglow-powerdesigntechniquesandmicro-designconceptstoreducesystempowerconsumptionandshrinkdevicevolume,andbyenhancingdataencryptionandsignalprocessingtechniques,thesecurityandreliabilityofdatatransmissionhavebeenimproved.ThisresearchprovidesanewsolutionfortheapplicationofBeiDoutechnologyinthefieldofsmallsatellitecommunication,offeringsignificantreferencevalueforpromotingthecivilianandcommercialapplicationsoftheBeiDousystem.Lookingforward,withcontinuoustechnologicalprogressandinnovation,theBeiDouSatelliteNavigationSystemisexpectedtoplayagreaterroleinabroaderrangeoffields.Keywords:BeiDouSatellite,Microcontroller,DataAnalysis 目錄1緒論 附錄#include"stm32f10x.h"#include"Delay.h"#include"OLED.h"#include<stdio.h>#include<stdarg.h>#include<string.h>#defineRX_BUFFER_SIZE200intUSART_RX_BUF[RX_BUFFER_SIZE];uint8_ti=0;uint8_tk=0;uint8_tflag=0;floattime=0,v=0,longitude=0,latitude=0,speed=0;floata=0,b=0,f=0;intp=0,c=0,d=0,e=0,H=0,MIN=0,S=0;inthigh=1;chardata='V';voidSerial_SendByte(uint8_tByte){ USART_SendData(USART1,Byte); while(USART_GetFlagStatus(USART1,USART_FLAG_TXE)==RESET);}voidSerial_SendString(char*String){ uint8_ti; for(i=0;String[i]!='\0';i++) { Serial_SendByte(String[i]); }}voidSerial_Printf(char*format,...){ charString[100]; va_listarg; va_start(arg,format); vsprintf(String,format,arg); va_end(arg); Serial_SendString(String);}uint32_tSerial_Pow(uint32_tX,uint32_tY){ uint32_tResult=1; while(Y--) { Result*=X; } returnResult;}voidSerial_SendNumber(uint32_tNumber,uint8_tLength){ uint8_ti; for(i=0;i<Length;i++) { Serial_SendByte(Number/Serial_Pow(10,Length-i-1)%10+'0'); }}voidSerial_Init(void){GPIO_InitTypeDefGPIO_InitStructure; USART_InitTypeDefUSART_InitStructure; NVIC_InitTypeDefNVIC_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1|RCC_APB2Periph_GPIOA,ENABLE); GPIO_InitStructure.GPIO_Pin=GPIO_Pin_9;GPIO_InitStructure.GPIO_Speed=GPIO_Speed_50MHz;GPIO_InitStructure.GPIO_Mode=GPIO_Mode_AF_PP;GPIO_Init(GPIOA,&GPIO_InitStructure);GPIO_InitStructure.GPIO_Pin=GPIO_Pin_10;//PA10GPIO_InitStructure.GPIO_Mode=GPIO_Mode_IN_FLOATING;GPIO_Init(GPIOA,&GPIO_InitStructure);NVIC_InitStructure.NVIC_IRQChannel=USART1_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=3; NVIC_InitStructure.NVIC_IRQChannelSubPriority=3; NVIC_InitStructure.NVIC_IRQChannelCmd=ENABLE; NVIC_Init(&NVIC_InitStructure); USART_InitStructure.USART_BaudRate=9600; USART_InitStructure.USART_WordLength=USART_WordLength_8b; USART_InitStructure.USART_StopBits=USART_StopBits_1; USART_InitStructure.USART_Parity=USART_Parity_No; USART_InitStructure.USART_HardwareFlowControl=USART_HardwareFlowControl_None; USART_InitStructure.USART_Mode=USART_Mode_Rx|USART_Mode_Tx;USART_Init(USART1,&USART_InitStructure);USART_ITConfig(USART1,USART_IT_RXNE,ENABLE);USART_Cmd(USART1,ENABLE);}voidUSART1_IRQHandler(void){u8res; res=USART_ReceiveData(USART1); if(res=='$'||USART_RX_BUF[0]=='$') { if(res=='$') i=0; flag=1; USART_RX_BUF[i]=res; i++; } if(USART_RX_BUF[4]=='M'&&USART_RX_BUF[5]=='C') { if(res==',') k++; switch(k) { case1: if(flag==1&&res!=','&&res!='.') { time*=10; time+=res-48;} break; case2: if(flag==1&&res!=','&&res!='.') {v*=10; v+=res-48;} break; case3: if(flag==1&&res!=','&&res!='.') { longitude*=10; longitude+=res-48;} break; case5: if(flag==1&&res!=','&&res!='.') {latitude*=10; latitude+=res-48;} break; case7: if(flag==1&&res!=','&&res!='.') {speed*=10; speed+=res-48;} break; } } if(USART_RX_BUF[4]=='G'&&USART_RX_BUF[5]=='A') { if(res==',') p++; switch(p) { case9: if(res!=','&&res!='.') { high*=10; high+=res-48; } break; } if(res==0x0A) { memset(USART_RX_BUF,0x00,200); i=0; k=0; a=time/100; b=v; c=longitude; d=latitude; e=speed; Serial_SendString("UTC=");Serial_SendNumber(a/10000,2); Serial_SendString(":"); Serial_SendNumber((uint32_t)(a/100)%100,2); Serial_SendString(":"); Serial_SendNumber((uint32_t)a%10000,2); Serial_SendString("N=");Serial_SendNumber(c/100000,5); Serial_SendString("."); Serial_SendNumber(c%100000,5); Serial_SendString("E=");Serial_SendNumber(d/100000,5); Serial_SendString("."); Serial_SendNumber(d%100000,5); Serial_SendString("speed=");Serial_SendNumber(e/1000,1); Serial_SendString("."); Serial_SendNumber(e%1000,3); longitude=0; latitude=0; speed=0; time=0; v=0; } } }

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論