当前位置:主页 > 科技论文 > 电力论文 >

任意波形发生器SCPI服务程序及参数自动校正系统设计

发布时间:2018-02-04 00:43

  本文关键词: 任意波形发生器 SCPI 参数校正 Cython 解释器 出处:《电子科技大学》2014年硕士论文 论文类型:学位论文


【摘要】:任意波形发生器是现代自动测试系统中广泛应用的通用信号源。本文来源于“4通道600MSPS任意波形发生器”研发子项目,为该任意波形发生器设计实现支持可程控仪器标准命令(SCPI)的软件部分即“SCPI服务程序”,并在该服务程序的基础上建立了任意波形发生器的“参数自动校正系统”,为任意波形发生器的模拟通道的相关参数实现自动校正,节省大量的测试校正人力和时间。本课题主要重点包括以下几个方面:(1)SCPI命令解释程序设计。将“4通道600MSPS任意波形发生器”的SCPI命令解释分成“通用解释”及“专用解释”两部分。其中“通用解释”部分与具体仪器命令无关,“专用解释”则与该任意波形发生器具体命令紧密结合,二者相结合完成任意波形发生器SCPI命令的完整解释。这样不仅便于软件维护,而且提高了软件的可重用性和可扩展性。(2)任意波形发生器状态报告系统设计。按照SCPI标准规范定义的最小状态报告系统,为任意波形发生器设计一套任意波形发生器执行SCPI命令过程中的状态信息报告系统。(3)软件接口封装。为了使任意波形发生器中不同软件语言编写的软件接口兼容,将SCPI命令解释程序以及IVI(可互换虚拟仪器)函数发生器类驱动的C标准接口再次封装,从而实现不同语言的软件数据信息交互。(4)任意波形发生器波形输出参数系统误差的自动校正。利用SCPI命令与SCPI服务程序,设计实现任意波形发生器参数自动校正系统,完成对任意波形发生器4个通道多个参数的自动校正,节省了参数测试校正时间,也验证了SCPI服务程序的可行性。随着任意波形发生器更新速度的加快,任意波形发生器软件的可重用性显得越来越重要。本软件作为任意波形发生器配套软件,软件复用率高,能够缩短任意波形发生器的开发时间。经过在仪器上整机联调测试,本次设计的SCPI服务程序及参数自动校正系统,完成了项目的各项功能要求,达到了预期目标。
[Abstract]:Arbitrary waveform generator is a general signal source widely used in modern automatic test system. This paper comes from the research and development sub-project of "4-channel 600MSPS arbitrary waveform generator". The software part "SCPI Service Program" is designed and implemented for the arbitrary waveform generator to support the standard command of programmable instrument. On the basis of the service program, a "parameter automatic correction system" for arbitrary waveform generator is established, which can automatically correct the parameters of analogue channel of arbitrary waveform generator. Save a lot of manpower and time for testing and correction. The main focus of this project includes the following aspects: 1). SCPI command interpretation program design. The SCPI command interpretation of "4-channel 600MSPS arbitrary waveform generator" is divided into two parts: "general interpretation" and "special interpretation". Part of it has nothing to do with specific instrument orders. The "special interpretation" is closely combined with the specific command of the arbitrary waveform generator, and the complete interpretation of the SCPI command of the arbitrary waveform generator is completed, which is not only convenient for software maintenance. It also improves the reusability and extensibility of the software. It also improves the design of the arbitrary waveform generator status report system. The minimum state report system is defined according to the SCPI standard specification. Design a state information report system for arbitrary waveform generator during the execution of SCPI command. Software interface encapsulation. In order to make the software interface written in different software languages in arbitrary waveform generator compatible. The SCPI command interpreter and the C standard interface driven by the class of IVI (interchangeable virtual instrument) function generator are encapsulated again. In order to realize the automatic correction of the system error of the waveform output parameters of the arbitrary waveform generator, the software data and information interaction in different languages. The SCPI command and the SCPI service program are used. The automatic correction system of arbitrary waveform generator parameters is designed and implemented. The automatic correction of multiple parameters of 4 channels of arbitrary waveform generator is completed, and the time of parameter testing and correction is saved. It also verifies the feasibility of SCPI service program. With the acceleration of the update speed of arbitrary waveform generator. The reusability of arbitrary waveform generator software is becoming more and more important. As an auxiliary software of arbitrary waveform generator, the software reuse rate is high. It can shorten the development time of arbitrary waveform generator. After testing the whole machine on the instrument, the SCPI service program and parameter automatic correction system are designed, and the function requirements of the project are fulfilled. The target was achieved.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TM935

【参考文献】

相关期刊论文 前2条

1 王学伟;相艳;陈小荣;;数据采集模块SCPI解释器的研究与实现[J];电测与仪表;2008年01期

2 井涛;郭永瑞;;一种实用的SCPI语法分析设计方法[J];国外电子测量技术;2006年02期



本文编号:1488812

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/dianlilw/1488812.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户41fbe***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com