测试系统中用于测量和仪器控制的基于VISA的USB通信

作者
Felipe Serrano Martinez
导师
YangXiQuan
学校
东北师范大学
专业
计算机软件与理论
分类号
TP311.52 软件开发
学位
硕士学位论文
年份
2012
下载次数
23
被引次数
0

摘要

Nowadays the electronic units are found in almost every single device used in daily life.Smartphones, remote controls or more complex units like electronic circuits that theautomotive industry uses to manufacture safety systems, are good examples of products thatneed of a testing process before their release to the market.Automotive electronic systems are being used by companies in different locationsaround the world. New equipment for testing is being designed to use the USB port as ameans to communicate with the measurement instruments needed in test plans. Nonetheless,many of the functions developed to control these instruments are not using USB to programtheir modules. During the last years, many technologies based on Software Common forProgrammable Instruments (SCPI) have been launched into the market, and it is among themthat Virtual Instrument Software Architecture (VISA) outstands as one of the most completeand structured interfaces for USB communication. In this thesis dissertation, we present anovel model designed under Object-oriented design principles for instrument control in TestSystems. We focus on a simple device as is the Digital Multimeter, which is indispensable fortaking measurements.We design and implement some of the basic measurement operations for the DMM.These functions are the result of an extensive study on the area of instrumentation andcalibration. Although we have focused on a particular instrument, it is demonstrated how theframework developed for this thesis can be easily adapted to other instruments with similarproperties, and the most important, this model can be used as the basis to generate newinstances of objects aiming to use USB to communicate in a Test system with instruments.Finally, the results of our model are tested and applied in a production environment.

目录

Abstract 4-5 Table of Contents 5-7 Chapter 1 Introduction 7-12 1.1 Overview 7-8 1.2 Background 8 1.3 I/O Interfaces 8-9 1.3.1 GPIB 8-9 1.3.2 LAN 9 1.3.3 VXI 9 1.4 USB Interface 9-10 1.4.1 Features 9-10 1.5 VISA Overview 10-11 1.5.1 IEEE-488.2 10 1.5.2 SCPI at a glance 10-11 1.6 Outline 11-12 Chapter 2 Related Work 12-14 2.1 Available Test systems 12 2.2 Communication based on USB Interface 12-13 2.3 LabView to program instruments 13 2.4 VISA as a means to control instruments 13 2.5 Nature of the problem 13-14 Chapter 3 Hardware Handler Prototype 14-21 3.1 Introduction 14 3.2 Modeling the handler 14-17 3.2.1 Data Structure 14-15 3.2.2 Instrument Operations 15-17 3.3 Routines Definition 17-18 3.3.1 Instrument Handler 17-18 3.4 Methodology 18-21 3.4.1 Design Description 19-20 3.4.2 Interaction in a Test system 20-21 Chapter 4 Action Implementation 21-33 4.1 Introduction 21-22 4.1.1 Actions Basis 21-22 4.1.2 C Actions 22 4.2 APIs and Functions 22-24 4.2.1 Test System API 22-23 4.2.2 MFC API 23-24 4.3 VISA Implementation 24-27 4.3.1 Console Application 24 4.3.2 Opening a Session 24-25 4.3.3 Programming the VISA structure 25-26 4.3.4 Programming the Generic Class 26-27 4.3.5 Programming the Derived Class 27 4.4 NPLC 27-29 4.4.1 Resolution for DC Measurements 28-29 4.4.2 Programming the Internal Function 29 4.5 Action Definition 29-33 4.5.1 Obtaining USB address 30 4.5.2 Loading the hardware handler 30-31 4.5.3 Linking Routines to functions 31-32 4.5.4 Summary 32-33 Chapter 5 Experiments and Results 33-36 5.1 Measuring ACI Test 33 5.2 Measuring ACV Test 33-34 5.3 Measuring DCI Test 34 5.4 Measuring DCV Test 34 5.5 Comparison of Models 34-36 5.5.1 Advantages 35 5.5.2 Disadvantages 35-36 Conclusions and further work 36-37 References 37-39 Glossary 39-40 Acknowledgements 40

相关论文

  1. 基于Web的英语自助学习系统的设计与实现
    吴春华 ·电子科技大学 ·2013 ·硕士学位论文
  2. 装修行业电子商务网站设计与实现
    邱振毅 ·电子科技大学 ·2013 ·硕士学位论文
  3. 东营市河口社区房产信息管理系统设计与实现
    宋玉新 ·电子科技大学 ·2013 ·硕士学位论文
  4. 公务员在线考试系统的设计与实现
    丁然 ·天津大学 ·2012 ·硕士学位论文
  5. 基于LTE及北斗导航的物联网终端位置系统的研究与仿真
    颉啟奎 ·北京交通大学 ·2014 ·硕士学位论文
  6. 基于物联网技术的企业固定资产管理系统的设计与实现
    胡健 ·电子科技大学 ·2013 ·硕士学位论文
  7. 基于VMAS汽车尾气检测控制系统的研究
    赵巍 ·河北科技大学 ·2014 ·硕士学位论文
  8. 基于STM32的数据采集存储系统的设计与实现
    赵圣飞 ·中北大学 ·2014 ·硕士学位论文
  9. 基于DSP的试验机测控系统设计
    王晓亮 ·齐鲁工业大学 ·2014 ·硕士学位论文
  10. 模块化质谱信号采集系统研究
    范晓光 ·哈尔滨工业大学 ·2012 ·硕士学位论文
  11. 基于FPGA的反射差分光谱仪控制系统设计
    夏祥龙 ·天津大学 ·2012 ·硕士学位论文
  12. 基于WinControl平台的机加工教学系统设计
    李妍 ·天津大学 ·2012 ·硕士学位论文
  13. 多相流CT系统成像算法研究及软件设计
    薛倩 ·天津大学 ·2010 ·硕士学位论文
  14. 湖北邮政客户积分营销管理系统的设计和实现
    陈刚 ·华中科技大学 ·2012 ·硕士学位论文
  15. 数字化超声波探伤检测系统的设计与研究
    丁伟 ·沈阳理工大学 ·2012 ·硕士学位论文
  16. 基于USB总线的低功耗数字涡街流量计手操器研究
    刘建 ·天津大学 ·2012 ·硕士学位论文
  17. 基于Cortex-M3和μC/OS-Ⅱ操作系统的学习机的设计与实现
    蔡雄 ·华南理工大学 ·2012 ·硕士学位论文
  18. 浙江省公安厅办公信息化平台的分析与设计
    薛松 ·北京邮电大学 ·2011 ·硕士学位论文
  19. 电网故障信息系统测试策略研究
    李瑞华 ·上海交通大学 ·2012 ·硕士学位论文
  20. Android手机软件测试方法与实践
    甘恬 ·北京邮电大学 ·2011 ·硕士学位论文