




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算GPS卫星位置 实验任务书题 目: 计算GPS卫星位置 专 业: 测绘工程 班 级: 12-01 学 号: 2012212600 姓 名: 王威 指导教师: 陶庭叶 时间:2014.10 目录1、 实验目的.22、 实验过程流程图.23、 实验过程代码.34、 实验效果图.85、 实验心得.89 1 实验目的:加深理解对在课堂上对GPS卫星坐标的计算,并复习以前大地测量学的相关公式和算法,提高我们的程序操作能力和知识转化能力。2 实验流程图计算卫星平均角速度 计算归化时间 计算平近点角 计算偏近点角 计算真近点角 计算升交距角 计算改正项计算改正后的升交距角、卫星矢径、轨道倾角计算卫星在平面坐标系的坐标升交角点经度的计算得出卫星在地固坐标系下的坐标3、 实验代码Private Sub Command1_Click() = 398600500000000#e = 0.0000729211567卫星运行平均角速度n0 = Sqr() / Val(Text5.Text) / Val(Text5.Text) / Val(Text5.Text)n = n0 + Val(Text11.Text)归化时间t = Val(Text1.Text) + Val(Text2.Text) * (Val(Text20.Text) - Val(Text4.Text) + Val(Text3.Text) * (Val(Text20.Text) - Val(Text4.Text) 2t = Val(Text20.Text) - ttk = t - Val(Text4.Text)偏近点角Mk = Val(Text10.Text) + n * tkEk = MkFor j = 1 To 100Ek = Mk + Val(Text6.Text) * Sin(Ek)Next jEk = -0.2922365358真近点角Vk = Atn(Sqr(1 - Val(Text6.Text) 2) * Sin(Ek) / (Cos(Ek) - Val(Text6.Text)升角距角k = Vk + Val(Text8.Text)Text21.Text = k摄动改正项的计算u = Val(Text15.Text) * Cos(2 * k) + Val(Text14.Text) * Sin(2 * k)r = Val(Text19.Text) * Cos(2 * k) + Val(Text18.Text) * Sin(2 * k)i = Val(Text17.Text) * Cos(2 * k) + Val(Text16.Text) * Sin(2 * k)改正后的升交距角、卫星矢径、轨道倾角uk = k + urk = Val(Text5.Text) 2 * (1 - Val(Text6.Text) * Cos(Ek) + rik = Val(Text7.Text) + Val(Text13.Text) * tk + i卫星在轨道平面上的坐标xk = rk * Cos(uk)yk = rk * Sin(uk)升交点经度kk = Val(Text9.Text) + (Val(Text12.Text) - e) * tk - e * Val(Text4.Text)w卫星在地固坐标系的坐标XXK = xk * Cos(k) - yk * Cos(ik) * Sin(k)YYK = xk * Sin(k) + yk * Cos(ik) * Cos(k)ZZK = yk * Sin(ik)Text21.Text = n0Text22.Text = nText23.Text = tkText24.Text = MkText25.Text = EkText26.Text = VkText27.Text = kText28.Text = uText29.Text = rText30.Text = iText31.Text = ukText32.Text = rkText33.Text = ikText34.Text = xkText35.Text = ykText36.Text = kText37.Text = XXKText38.Text = YYKText39.Text = ZZKEnd SubPrivate Sub Command2_Click()Text1.Text = Text2.Text = Text3.Text = Text4.Text = Text5.Text = Text6.Text = Text7.Text = Text8.Text = Text9.Text = Text10.Text = Text11.Text = Text12.Text = Text13.Text = Text14.Text = Text15.Text = Text16.Text = Text17.Text = Text18.Text = Text19.Text = Text20.Text = Text21.Text = Text22.Text = Text23.Text = Text24.Text = Text25.Text = Text26.Text = Text27.Text = Text28.Text = Text29.Text = Text30.Text = Text31.Text = Text32.Text = Text33.Text = Text34.Text = Text35.Text = Text36.Text = Text37.Text = Text38.Text = Text39.Text = End Sub读取文件Private Sub Command3_Click()CommonDialog1.ShowOpenOpen Me.CommonDialog1.FileName For Input As #2Do While Not EOF(2)Line Input #2, Texttextbuff = textbuff + Text + vbCrLfLoopClose #2Dim aReDim a(20)a = Split(textbuff, vbCrLf)Text1.Text = a(0)Text2.Text = a(1)Text3.Text = a(2)Text4.Text = a(3)Text5.Text = a(4)Text6.Text = a(5)Text7.Text = a(6)Text8.Text = a(7)Text9.Text = a(8)Text10.Text = a(9)Text11.Text = a(10)Text12.Text = a(11)Text13.Text = a(12)Text14.Text = a(13)Text15.Text = a(14)Text16.Text = a(15)Text17.Text = a(16)Text18.Text = a(17)Text19.Text = a(18)Text20.Text = a(19)End SubPrivate Sub Form_Load()Text1.Text = Text2.Text = Text3.Text = Text4.Text = Text5.Text = Text6.Text = Text7.Text = Text8.Text = Text9.Text = Text10.Text = Text11.Text = Text12.Text = Text13.Text = Text14.Text = Text15.Text = Text16.Text = Text17.Text = Text18.Text = Text19.Text = Text20.Text = Text21.Text = Text22.Text = Text23.Text = Text24.Text = Text25.Text = Text26.Text = Text27.Text = Text28.Text = Text29.Text = Text30.Text = Text31.Text = Text32.Text = Text33.Text = Text34.Text = Text35.Text = Text36.Text = Text37.Text = Text38.Text = Text39.Text = End Sub三、实验效果图四、
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026届山东省德州市经济开发区抬头寺镇中学数学九年级第一学期期末学业水平测试试题含解析
- 临时用工安全协议书
- 新能源领域AI技术突破:智能节能行业的未来展望
- 中国互联网安全行业发展研究报告
- 2025汽车零部件采购销售合同范本
- 2026届吉林省松原市宁江四中学数学七年级第一学期期末质量跟踪监视模拟试题含解析
- 中国银行阜新市海州区2025秋招英文群面案例角色分析
- 中国银行西安市周至县2025秋招笔试银行特色知识专练及答案
- 工商银行安庆市宜秀区2025秋招笔试英语选词填空题专练50题及答案
- 工商银行北海市海城区2025秋招笔试银行特色知识专练及答案
- 2025既有办公建筑体检评价标准
- 买卖山岭合同标准文本
- 生产型企业工人的薪酬设计方案
- 高考化学复习清单
- 初中数学考试中常用的70条二级结论
- 【MOOC】英汉交替传译-东北大学 中国大学慕课MOOC答案
- 音乐情感及情绪 课件-2024-2025学年高中音乐人音版(2019)必修 音乐鉴赏
- DB14T 2922-2023 公路机电工程标准工程量清单及计量规范
- 新苏教版科学五年级上册《热对流》课件
- 2024年03月黑龙江省绥化市2024年度“市委书记进校园”引才活动引进1523名人才(第一阶段)笔试历年典型考题及考点研判与答案解析
- 喉癌“一病一品”
评论
0/150
提交评论