C#编程实现的网络化多输入信号频谱监测设备
2018-10-29伍文平
伍文平



摘要:大型卫星通信地球站具有多频段、多系统工作特点,信号测量手续复杂,仪表频繁搬动和电缆反复插拔耗费人力,容易造成电缆及接头损耗。设计了多输入信号频谱监测设备,采用Visual C#可视化编程语言,通过TCP/IP协议编程,实现SCPI规范的频谱模块控制,使用Measurement Studio控件操作和显示频谱仪状态及数据,实现网络化频谱监测。使用基于MODBUS协议的TCP/IP数据转换板,结合射频切换开关,实现多个射频输入端口的远程网络化切换。该设备适用于大型卫星通信地球站,能远程完成信号监测任务。
关键词:MODBUS;TCP/IP;SCPI;射频切换;频谱监测
DOIDOI:10.11907/rjdk.173252
中图分类号:TP393
文献标识码:A 文章编号:1672-7800(2018)008-0208-04
英文摘要Abstract:The large scale satellite earth stations have the features of mulitband signals, multi-systems and complex signal measurement methods. Frequent removal of equipment and cable pluging cause has labor cost, and it can easily lead to loss of cable and sockets. The networking device to monitor the multi-input signals' spectrum is designed. Through the TCP/IP protocol programming, Visual C# programming language is adopted to realize the control of spectrum module with SCPI specification. First,the programm gets data from the spectrum module,then it plots the signal on screen using the Measurement Studio controls,finally it monitors the signal spectrum via the TCP/IP network. Remote networking switch of multiple RF ports is realised based on the board from TCP/IP to ON/OFF logical stutas and MODBUS protocol.The device is suitable for the large scale satellite communication earth station, and can meet the demand of remote control and remote monitor of signal selected from many antennas.
英文關键词Key Words:MODBUS; TCP/IP; SCPI; RF switch; spectrum monitor
0 引言
大型卫星通信地球站具有多付天线,工作于不同频段,提供不同的通信体制和通信业务,频繁插拔电缆成为影响地球站测试效能的重要因素。
TCP/IP技术在仪表控制及工业自动控制领域已使用,基于SCPI语法和IEEE488.2标准的TCP/IP仪表控制与操作应用广泛[1-5],VISA控件为虚拟仪表技术提供了快速开发途径, NI VISA和Agilent VISA已在仪表开发中应用[6-10]。仪表控制接口已经由以前的RS-232、GPIB发展到USB、Ethernet接口,控制和操作仪表速度更快,读取信息的内容更丰富,实时性更强,为跨地域远程控制和操作仪表提供了最佳途径;工业控制领域已应用基于MODBUS协议的TCP/IP协议于RS-232、RS-485及开关量转换。因此,通过单一网络接口和TCP/IP编程,可实现多路输入信号的远程切换和信号的远程测量。
虚拟仪表编程技术是目前较先进的仪表技术,基于SCPI、VISA,再借助一些专用控件和开发工具,使用图形控件如GRAPH控件用于频谱或波形显示,可显著节约开发时间。……
