基于GNU Radio平台的通信演示系统实现
发布时间:2018-04-10 05:10
本文选题:通信 切入点:演示系统 出处:《西安电子科技大学》2014年硕士论文
【摘要】:本文结合实验室承担的科研项目,通过对软件无线电GNU Radio平台的研究,同时结合Python脚本语言的特性,重点对通信系统的演示控制软件进行实现,从而达到演示验证通信的目的。本文首先在分析软件无线电技术领域的发展现状和趋势基础上,对演示系统实现过程中需要用到的技术及相关工具进行介绍。其次分析了演示控制软件的结构和功能,并利用MVC设计模式设计实现通信系统的演示控制软件。演示验证系统由控制平台和模拟器组成,其中控制平台为一个GUI软件,主要负责配置模拟器的通信参数、控制模拟器的运行状态以及收集来自模拟器的状态信息;每个模拟器作为通信系统中的一个端点,其硬件由运行Linux的高性能PC和USRP N210组成,其软件由一套基于GNU Radio平台的通信功能处理软件和GUI软件组成。本文的主要工作有:第一、设计并搭建通信演示系统模型。利用SWIG对已实现的C++通信功能子模块进行封装,并向Python域提供函数接口,通过XML语言提供可视化的参数配置界面,根据演示业务在GRC中搭建不同的流图,完成通信系统模型的构建。第二、设计并实现通信演示系统界面。利用Python中的wxPython图形库及matplotlib绘图库联合实现图形用户界面,主要包括参数的可视化配置、通信状态与统计信息的显示、对接收数据的可视化操作。利用wxPython图形库实现用户界面的主框架,利用matplotlib绘图库实现残余频偏、残余定时、均衡前星座等视图的绘制,从而为通信系统的物理层调试提供依据。第三、设计并实现通信演示系统控制。控制台配置的参数采用JSON格式下发到模拟器,实现了对模拟器的远程控制,并详细讨论了套接字、心跳、控制、监视等模块的实现过程。最后,本文在系统软件设计完成的基础上,结合演示系统搭载的业务对演示控制平台软件与控制器软件进行了功能测试和性能测试,测试结果表明:第一、演示控制平台软件能够实现对模拟器通信参数的配置、控制模拟器的运行状态、收集并显示状态与统计信息。第二、控制器软件能够响应用户操作,能够绘制通信过程中的残余偏差曲线、均衡前后星座等视图。
[Abstract]:Combined with the scientific research project undertaken by the laboratory, through the research of the software radio GNU Radio platform and the characteristics of the Python script language, this paper focuses on the realization of the demonstration and control software of the communication system, so as to achieve the purpose of demonstrating and verifying the communication.Based on the analysis of the present situation and trend of software radio technology, this paper introduces the technology and related tools that need to be used in the implementation of the demonstration system.Secondly, the structure and function of the demo control software are analyzed, and the demonstration control software of the communication system is designed by using the MVC design pattern.The demonstration and verification system consists of a control platform and a simulator, in which the control platform is a GUI software, which is mainly responsible for configuring the communication parameters of the simulator, controlling the running state of the simulator and collecting the state information from the simulator.Each simulator acts as an endpoint of the communication system. Its hardware consists of a high-performance PC and USRP N210 running Linux, and its software consists of a set of communication function processing software and GUI software based on GNU Radio platform.The main work of this paper is as follows: first, design and build communication demonstration system model.Using SWIG to encapsulate the realized C communication function sub-module, and provide function interface to Python domain, provide visual parameter configuration interface through XML language, and build different flow graph in GRC according to demonstration service.Complete the construction of communication system model.Second, design and implement the interface of communication demonstration system.The graphical user interface is realized by using wxPython graphics library and matplotlib drawing library in Python, which mainly include the visual configuration of parameters, the display of communication status and statistical information, and the visual operation of received data.The main frame of user interface is realized by using wxPython graphics library, and the views of residual frequency offset, residual timing and equalization front constellation are drawn by using matplotlib drawing library, so as to provide the basis for debugging the physical layer of communication system.Third, the design and implementation of communication demonstration system control.The parameters of the console configuration are sent to the simulator in JSON format. The remote control of the simulator is realized, and the implementation process of socket, heartbeat, control and monitoring module is discussed in detail.Finally, based on the completion of the system software design, the function test and performance test of the demo control platform software and the controller software are carried out in combination with the business carried out by the demonstration system. The test results show that: first,The software of the demo control platform can configure the communication parameters of the simulator, control the running state of the simulator, collect and display the state and statistics information.Second, the controller software can respond to user operation, draw residual deviation curve in communication process, equalize the front and back constellation views.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN92
【参考文献】
相关期刊论文 前1条
1 张涛;黄强;毛磊雅;高兴;;一个基于JSON的对象序列化算法[J];计算机工程与应用;2007年15期
,本文编号:1729793
本文链接:https://www.wllwen.com/kejilunwen/wltx/1729793.html